:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f7f7f7;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  isolation: isolate;
  background:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(18deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 140px),
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.13), transparent 26rem),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.09), transparent 24rem),
    linear-gradient(145deg, #000, var(--bg) 48%, #111);
  background-attachment: fixed;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  background-size: 360px 100%, 100% 320px;
  animation: line-drift 18s linear infinite;
  pointer-events: none;
}

main,
footer {
  position: relative;
  z-index: 1;
}

.cursor-fluid {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.032) 44%, transparent 70%);
  filter: blur(24px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 360ms ease;
  pointer-events: none;
}

.cursor-fluid.active {
  opacity: 0.72;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 0;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.nav {
  width: min(100% - 12px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.brand {
  position: static;
  transform: none;
  width: 168px;
  height: 58px;
  display: grid;
  place-items: center;
}

.brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.social-links::-webkit-scrollbar {
  display: none;
}

.icon-button,
.glass-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 16px 40px var(--shadow);
  backdrop-filter: blur(18px);
  color: #000;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform-style: preserve-3d;
}

.icon-button svg {
  width: 25px;
  height: 25px;
  fill: #fff;
  transition: transform 220ms ease;
}

.glass-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.icon-button:hover,
.icon-button:focus-visible,
.glass-button:hover,
.glass-button:focus-visible {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(255, 255, 255, 0.12), 0 18px 48px rgba(0, 0, 0, 0.62);
  outline: none;
}

.icon-button:hover svg {
  transform: rotate(-8deg) scale(1.12);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: transparent;
  box-shadow: none;
}

.section {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 92px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  align-items: center;
  gap: 54px;
  padding-top: 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-kicker .eyebrow {
  margin-bottom: 0;
}

.audio-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.audio-toggle svg {
  width: 23px;
  height: 23px;
  fill: #fff;
}

.audio-toggle .sound-off {
  display: none;
}

.audio-toggle.muted .sound-on {
  display: none;
}

.audio-toggle.muted .sound-off {
  display: block;
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  transform: translateY(-3px) scale(1.08);
  outline: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.name-glow {
  animation: name-soft-glow 3.6s ease-in-out infinite;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.lead {
  max-width: 680px;
  color: #dfdfdf;
  font-size: clamp(1.04rem, 1.8vw, 1.3rem);
}

.red-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.red-underline::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -3px;
  bottom: -4px;
  height: 7px;
  background:
    linear-gradient(90deg, transparent 0 2%, #d71920 8% 94%, transparent 100%),
    radial-gradient(circle at 12% 56%, #d71920 0 2px, transparent 3px),
    radial-gradient(circle at 58% 42%, #d71920 0 1.5px, transparent 3px);
  clip-path: polygon(0 54%, 10% 40%, 22% 58%, 37% 46%, 52% 62%, 69% 45%, 86% 57%, 100% 47%, 100% 76%, 0 82%);
  transform-origin: left center;
  transform: rotate(-1.5deg) scaleX(0);
  opacity: 0;
}

#about.visible .red-underline::after {
  animation: hand-draw-redline 2.2s ease-out 0.35s both;
}

@keyframes hand-draw-redline {
  0% {
    transform: rotate(-1.5deg) scaleX(0);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  62%, 100% {
    transform: rotate(-1.5deg) scaleX(1);
    opacity: 1;
  }
}

.earth-visual {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.earth-visual::before {
  content: none;
}

.earth-system {
  position: relative;
  width: min(94%, 410px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.satellite-orbit {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  --orbit-x: 64deg;
  --orbit-start: -18deg;
  animation: satellite-spin 9s linear infinite;
}

.orbit-one {
  --orbit-x: 64deg;
  --orbit-start: -18deg;
}

.orbit-two {
  inset: 16%;
  animation-duration: 6.5s;
  animation-direction: reverse;
  --orbit-x: 58deg;
  --orbit-start: 48deg;
}

.orbit-three {
  inset: 2%;
  animation-duration: 12s;
  --orbit-x: 72deg;
  --orbit-start: 86deg;
}

.orbit-four {
  inset: 24%;
  animation-duration: 5.2s;
  animation-direction: reverse;
  --orbit-x: 42deg;
  --orbit-start: -78deg;
}

.orbit-five {
  inset: 34%;
  animation-duration: 7.8s;
  --orbit-x: 76deg;
  --orbit-start: 140deg;
}

.satellite {
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.58);
}

.orbit-two .satellite {
  width: 7px;
  height: 7px;
}

.orbit-three .satellite {
  width: 13px;
  height: 13px;
}

.orbit-four .satellite {
  width: 5px;
  height: 5px;
}

.orbit-five .satellite {
  width: 9px;
  height: 9px;
}

.space-dot {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0.72;
  animation: dot-float 4s ease-in-out infinite;
}

.dot-one {
  width: 4px;
  height: 4px;
  left: 24%;
  top: 18%;
}

.dot-two {
  width: 6px;
  height: 6px;
  right: 19%;
  top: 34%;
  animation-delay: 1.1s;
}

.dot-three {
  width: 3px;
  height: 3px;
  left: 54%;
  bottom: 18%;
  animation-delay: 2s;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: start;
}

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  overflow: visible;
}

.panel.pad {
  padding: 24px;
}

.photo-carousel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.photo-slide {
  position: absolute;
  top: 24px;
  left: 10%;
  width: 72%;
  height: 86%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  animation: photo-swap 7s ease-in-out infinite;
  transform-origin: center;
}

.photo-b {
  animation-delay: -3.5s;
}

.skill-card,
.link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.education-path {
  position: relative;
  min-height: 390px;
  width: min(100%, 980px);
  margin: 44px auto 0;
}

.path-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.path-svg path {
  fill: none;
  stroke-linecap: round;
}

.path-shadow {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 10;
}

.path-line {
  stroke: #fff;
  stroke-width: 4;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: draw-path 4.8s ease-in-out infinite;
}

.edu-node {
  position: absolute;
  z-index: 2;
  width: min(220px, 34vw);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(14px);
  text-align: center;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  animation: node-pulse 4.8s ease-in-out infinite;
}

.edu-node p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.edu-logo {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-weight: 900;
  font-size: 1.4rem;
  overflow: hidden;
  padding: 8px;
}

.edu-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.edu-university {
  left: 0;
  bottom: 18px;
}

.edu-college {
  left: 50%;
  top: 88px;
  transform: translateX(-50%);
  animation-delay: 600ms;
}

.edu-school {
  right: 0;
  top: 0;
  animation-delay: 1200ms;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.skill-card,
.link-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.skill-card:hover,
.link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.skill-card:hover .skill-icon {
  transform: rotate(-6deg) scale(1.08);
}

.skill-card p,
.link-card p,
.edu-node p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.skill-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background: #f7f7f7;
  color: #000;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  filter: grayscale(1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.startup-showcase {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.startup-logo-wrap {
  position: relative;
  width: min(100%, 620px);
  padding: 22px 54px 10px;
  overflow: hidden;
  animation: startup-logo-float 7s ease-in-out infinite;
}

.startup-logo-wrap img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.startup-tagline {
  width: min(100%, 860px);
  margin: 0 auto -8px 0;
  color: #e8e8e8;
  font-size: clamp(0.98rem, 1.55vw, 1.12rem);
  text-align: left;
}

.startup-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.document-buttons {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.certificate-flow {
  position: relative;
  padding-bottom: 152px;
}

.certificate-cards {
  position: relative;
  z-index: 2;
}

.certificate-lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 190px;
  z-index: 1;
  width: 100%;
  height: 160px;
  overflow: visible;
  pointer-events: none;
}

.cert-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
  animation: cert-line-flow 4.8s ease-in-out infinite;
}

.cert-line-two {
  animation-delay: 240ms;
}

.cert-line-three {
  animation-delay: 480ms;
}

.certificate-button {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translateX(-50%) !important;
  transition: border-color 220ms ease, background 220ms ease;
}

.certificate-button:hover,
.certificate-button:focus-visible {
  transform: translateX(-50%) !important;
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.035);
  outline: none;
}

.documents-note {
  max-width: 720px;
  margin: 0 0 20px;
  color: #dfdfdf;
  font-size: clamp(1rem, 2vw, 1.18rem);
  text-align: left;
}

.iphone-button {
  min-width: 210px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -18px 30px rgba(255, 255, 255, 0.05),
    0 20px 55px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px) saturate(1.45);
  color: #fff;
  font-weight: 850;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, background 220ms ease;
}

.iphone-button:hover,
.iphone-button:focus-visible {
  transform: translateY(-4px) scale(1.035);
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.035);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.visible .stagger > *,
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.visible .stagger > *:nth-child(2),
.stagger.visible > *:nth-child(2) { transition-delay: 70ms; }
.visible .stagger > *:nth-child(3),
.stagger.visible > *:nth-child(3) { transition-delay: 140ms; }
.visible .stagger > *:nth-child(4),
.stagger.visible > *:nth-child(4) { transition-delay: 210ms; }
.visible .stagger > *:nth-child(5),
.stagger.visible > *:nth-child(5) { transition-delay: 280ms; }
.visible .stagger > *:nth-child(n + 6),
.stagger.visible > *:nth-child(n + 6) { transition-delay: 320ms; }

.float-card {
  animation: soft-float 6s ease-in-out infinite;
}

.hero-copy {
  animation: slide-in 850ms ease both;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 14px 40px;
  color: var(--muted);
  text-align: center;
}

@keyframes soft-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes name-soft-glow {
  0%, 100% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.34), 0 0 24px rgba(255, 255, 255, 0.16);
  }
}

@keyframes satellite-spin {
  from {
    transform: rotateX(var(--orbit-x)) rotateZ(var(--orbit-start));
  }
  to {
    transform: rotateX(var(--orbit-x)) rotateZ(calc(var(--orbit-start) + 360deg));
  }
}

@keyframes dot-float {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.42;
  }
  50% {
    transform: translateY(-12px);
    opacity: 1;
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes photo-swap {
  0%, 42% {
    opacity: 1;
    z-index: 2;
    transform: translateX(-10%) rotate(-3deg) scale(1);
    filter: brightness(1);
  }
  50%, 92% {
    opacity: 0.28;
    z-index: 1;
    transform: translateX(24%) rotate(4deg) scale(0.9);
    filter: brightness(0.68);
  }
  100% {
    opacity: 1;
    z-index: 2;
    transform: translateX(-10%) rotate(-3deg) scale(1);
    filter: brightness(1);
  }
}

@keyframes draw-path {
  0% {
    stroke-dashoffset: 560;
    opacity: 0.4;
  }
  45%, 70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -560;
    opacity: 0.35;
  }
}

@keyframes cert-line-flow {
  0% {
    stroke-dashoffset: 500;
    opacity: 0.18;
  }
  45%, 70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -500;
    opacity: 0.18;
  }
}

@keyframes node-pulse {
  0%, 100% {
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  }
  50% {
    box-shadow: 0 22px 80px rgba(255, 255, 255, 0.1), 0 18px 70px rgba(0, 0, 0, 0.4);
  }
}

@keyframes startup-logo-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes line-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 360px 0, 0 320px;
  }
}

/* Tablet Layout */
@media (max-width: 920px) {
  .nav {
    padding: 12px 0;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .earth-visual {
    width: min(100%, 420px);
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile Layout */
@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    position: static;
    transform: none;
    width: 146px;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: 3.15rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .certificate-flow {
    padding-bottom: 210px;
  }

  .certificate-lines {
    top: auto;
    bottom: 34px;
    height: 300px;
  }

  .photo-carousel {
    min-height: 420px;
  }

  .education-path {
    min-height: 620px;
  }

  .edu-node {
    width: min(300px, 82vw);
  }

  .edu-university,
  .edu-college,
  .edu-school {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .edu-university {
    top: 0;
    bottom: auto;
  }

  .edu-college {
    top: 210px;
  }

  .edu-school {
    top: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .stagger > * {
    opacity: 1;
    transform: none;
  }
}
/* Footer social buttons */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0 14px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, background 220ms ease;
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  flex-shrink: 0;
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.footer-copy {
  margin: 0;
}

/* Certificate button without connecting lines */
.certificate-flow {
  position: relative;
  padding-bottom: 0;
}

.certificate-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Nodology button in startup section */
.nodology-button {
  margin-top: 4px;
}

/* Hide the cert-lines SVG */
.certificate-lines {
  display: none;
}

@media (max-width: 620px) {
  .footer-social-btn {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .certificate-flow {
    padding-bottom: 0;
  }
}

/* Vertical education column */
.education-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 680px;
  margin: 44px auto 0;
}

.edu-node-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  animation: node-pulse 4.8s ease-in-out infinite;
  transition: background 220ms ease, border-color 220ms ease;
}

.edu-node-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.edu-node-row:nth-child(3) { animation-delay: 600ms; }
.edu-node-row:nth-child(5) { animation-delay: 1200ms; }

.edu-node-row .edu-logo {
  flex-shrink: 0;
  margin: 0;
}

.edu-text h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.edu-text p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.edu-connector {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0.1));
  margin: 0 auto;
  border-radius: 2px;
}
