/* Sameera Ajaz — sameeraajaz.net v3
   Dark cosmic theme · shared by every page.
   Perf rules: animate only transform/opacity; no animated filter/blur/box-shadow on big layers;
   no backdrop-filter on scrolling chrome; will-change only on the few layers that move. */
:root {
  --bg: #05060d;
  --bg-2: #080a16;
  --card: #0b0e1b;
  --card-2: #10142a;
  --ink: #eef2fa;
  --ink-soft: #bcc4d6;
  --muted: #8e97ad;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --cyan: #00d4ff;
  --cyan-hi: #6be6ff;
  --cyan-deep: #00a8cc;
  --cyan-soft: rgba(0, 212, 255, 0.14);
  --violet: #8b6cff;
  --violet-soft: rgba(139, 108, 255, 0.14);
  --radius: 18px;
  --radius-pill: 999px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-ui: "DM Sans", system-ui, sans-serif;
  --font-display: "Syne", "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --max: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: auto; scroll-padding-top: 90px; scroll-padding-bottom: 96px; }
html.anchor-off { overflow-anchor: none; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(0, 212, 255, 0.35); color: #fff; }

/* Everything that is real content sits above the fixed cosmos backdrop */
main, .site-footer { position: relative; z-index: 1; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: #02030a; padding: .6rem 1rem; font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ——— Focus: always obvious ——— */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cyan-hi);
  outline-offset: 4px;
  border-radius: 8px;
  box-shadow: 0 0 0 6px rgba(0, 212, 255, 0.22);
}
.btn:focus-visible, .float-nav a:focus-visible, .topnav-cta .pill:focus-visible, .topnav-replay:focus-visible { border-radius: var(--radius-pill); }

/* ——— Ambient cosmos (injected by js/cosmos.js on every page) ——— */
.cosmos {
  position: fixed; left: 0; top: 0; width: 100%;
  height: 100vh; height: 100lvh;
  z-index: 0; pointer-events: none; overflow: hidden;
  contain: strict;
}
.cosmos-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nebula-wrap { position: absolute; inset: -20%; will-change: transform; }
.nebula {
  position: absolute; border-radius: 50%;
  will-change: transform;
  animation: neb-drift 46s ease-in-out infinite alternate;
}
.nebula.n1 { width: 75vmax; height: 60vmax; left: -10%; top: -5%;
  background: radial-gradient(closest-side, rgba(0, 212, 255, 0.13), rgba(0, 212, 255, 0.04) 55%, transparent 100%); }
.nebula.n2 { width: 80vmax; height: 70vmax; right: -15%; top: 25%;
  background: radial-gradient(closest-side, rgba(139, 108, 255, 0.16), rgba(103, 61, 230, 0.05) 55%, transparent 100%);
  animation-duration: 58s; animation-direction: alternate-reverse; }
.nebula.n3 { width: 55vmax; height: 45vmax; left: 30%; bottom: -10%;
  background: radial-gradient(closest-side, rgba(255, 92, 190, 0.07), transparent 100%);
  animation-duration: 38s; }
@keyframes neb-drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(6vmax, -3vmax, 0) rotate(14deg) scale(1.08); }
  100% { transform: translate3d(-4vmax, 4vmax, 0) rotate(-10deg) scale(0.96); }
}
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgba(107, 230, 255, 0.55);
  opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s;
  will-change: transform;
}
.cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hot { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: rgba(139, 108, 255, 0.8); }
.warp-curtain {
  position: fixed; inset: 0; z-index: 150; background: #02030a; pointer-events: none;
  opacity: 0; transition: opacity .28s ease;
}
.warp-curtain.is-on { opacity: 1; pointer-events: auto; }

/* ——— Top nav ——— */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem);
  padding: 1rem clamp(1rem, 3vw, 2.25rem);
  transition: opacity .5s var(--ease), visibility .5s, background-color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.topnav.is-scrolled {
  background: linear-gradient(180deg, rgba(5, 6, 13, 0.94), rgba(5, 6, 13, 0.78));
  border-bottom-color: var(--line);
}
.topnav .brand {
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; letter-spacing: .04em; font-weight: 600; color: var(--ink);
  margin-right: auto;
}
.topnav .brand picture { display: block; width: 30px; height: 30px; flex: none; }
.topnav .brand img { display: block; width: 30px; height: 30px; object-fit: contain; }
.topnav-links {
  display: flex; gap: clamp(.75rem, 2vw, 1.6rem);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.topnav-links a { position: relative; padding: .35rem 0; transition: color .2s; }
.topnav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.topnav-links a:hover, .topnav-links a[aria-current="page"] { color: #fff; }
.topnav-links a:hover::after, .topnav-links a[aria-current="page"]::after { transform: scaleX(1); }
.topnav-replay {
  display: inline-flex; align-items: center; gap: .35rem;
  font: inherit; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  background: rgba(0, 212, 255, 0.08); color: var(--cyan-hi); cursor: pointer;
  border: 1px solid rgba(0, 212, 255, 0.45); border-radius: var(--radius-pill);
  padding: .5rem .9rem;
  transition: background .25s, border-color .25s, color .25s;
}
.topnav-replay .spark { display: inline-block; animation: spark-spin 6s linear infinite; }
.topnav-replay:hover { background: rgba(0, 212, 255, 0.18); border-color: var(--cyan); color: #fff; }
@keyframes spark-spin { to { transform: rotate(360deg); } }
.topnav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.topnav-cta .pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1rem; border-radius: var(--radius-pill);
  background: var(--ink); color: #05060d; margin-left: .45rem; font-weight: 700;
  transition: background .25s, color .25s;
}
.topnav-cta:hover .pill { background: var(--cyan); }
@media (max-width: 860px) { .topnav-links { display: none; } }
@media (max-width: 480px) {
  .topnav { gap: .5rem; padding: .85rem 1rem; }
  .topnav .brand span { display: none; }
  .topnav-cta { font-size: 0; gap: 0; }
  .topnav-cta .pill { font-size: .68rem; margin-left: 0; }
  .topnav-replay { padding: .45rem .75rem; font-size: .66rem; }
}

/* ——— Hero (final frame of the voyage on index) ——— */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr auto auto auto 1fr auto;
  align-items: center;
  padding: calc(var(--nav-h) + 1rem) clamp(1rem, 4vw, 3rem) 6.75rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 50% 46%, rgba(0, 212, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 40% 30% at 82% 82%, rgba(139, 108, 255, 0.10), transparent 65%);
}
.hero-kicker {
  grid-column: 1 / -1; grid-row: 2; justify-self: center; position: relative; z-index: 3;
  margin: 0 0 1rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan-hi); font-weight: 650;
}
.hero-core { grid-column: 1 / -1; grid-row: 3; position: relative; display: grid; place-items: center; }
.hero-word {
  position: relative; z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 10vw, 10rem);
  line-height: .9;
  letter-spacing: -0.045em;
  text-align: center;
  color: #f6f8fd;
  user-select: none;
  white-space: nowrap;
  text-shadow: 0 6px 40px rgba(2, 3, 10, 0.65);
}
.hero-word .period { color: var(--cyan); }
/* glitch copies (only visible during short bursts) */
.glitchable { position: relative; }
.glitchable::before, .glitchable::after {
  content: attr(data-text);
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0; text-shadow: none;
}
.glitchable::before { color: var(--cyan); }
.glitchable::after { color: #ff4fd8; }
.glitchable.is-glitching::before { opacity: .8; animation: glitch-a .45s steps(2, end) both; }
.glitchable.is-glitching::after { opacity: .7; animation: glitch-b .45s steps(2, end) both; }
@keyframes glitch-a {
  0% { transform: translate(-6px, 0); clip-path: inset(10% 0 62% 0); }
  25% { transform: translate(5px, -2px); clip-path: inset(55% 0 20% 0); }
  50% { transform: translate(-3px, 2px); clip-path: inset(30% 0 45% 0); }
  75% { transform: translate(4px, 0); clip-path: inset(70% 0 5% 0); }
  100% { transform: none; clip-path: inset(0 0 100% 0); opacity: 0; }
}
@keyframes glitch-b {
  0% { transform: translate(6px, 1px); clip-path: inset(60% 0 15% 0); }
  25% { transform: translate(-5px, 0); clip-path: inset(5% 0 70% 0); }
  50% { transform: translate(3px, -2px); clip-path: inset(40% 0 35% 0); }
  75% { transform: translate(-4px, 1px); clip-path: inset(15% 0 60% 0); }
  100% { transform: none; clip-path: inset(100% 0 0 0); opacity: 0; }
}
.hero-tagline {
  grid-column: 1 / -1; grid-row: 4; justify-self: center;
  margin: 2.1rem 0 0; max-width: 34rem; text-align: center;
  font-size: clamp(.95rem, 1.6vw, 1.1rem); color: var(--ink-soft);
}
.hero-tagline strong { color: var(--ink); font-weight: 600; }

.hero-object {
  position: absolute; z-index: 0;
  inset: 0; margin: auto;
  width: min(22vw, 250px); height: min(22vw, 250px);
  translate: 0 -16%;
  pointer-events: none;
  display: grid; place-items: center;
}
.hero-object .orbit {
  position: absolute; inset: -14%;
  border: 1px solid rgba(0, 212, 255, 0.32);
  border-radius: 50%;
  animation: orbit-spin 28s linear infinite;
}
.hero-object .orbit::before {
  content: ""; position: absolute; width: 8px; height: 8px;
  background: var(--cyan); border-radius: 50%;
  top: 9%; left: 50%; margin-left: -4px;
  box-shadow: 0 0 12px var(--cyan);
}
.hero-object .orbit-2 { inset: -32%; border-color: rgba(139, 108, 255, 0.24); animation-duration: 46s; animation-direction: reverse; }
.hero-object .orbit-2::before { background: var(--violet); box-shadow: 0 0 12px var(--violet); top: auto; bottom: 14%; left: 12%; }
.hero-object .orbit-3 { inset: -52%; border-color: rgba(255, 255, 255, 0.07); border-style: dashed; animation-duration: 90s; }
.hero-object .orbit-3::before { width: 5px; height: 5px; background: #fff; box-shadow: 0 0 10px #fff; top: 50%; left: -2px; }
.hero-object .planet {
  position: relative; width: 78%; height: 78%; border-radius: 50%;
  animation: float-y 7s ease-in-out infinite;
}
.hero-object .planet-glow {
  position: absolute; inset: -30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.28) 0%, rgba(103, 61, 230, 0.12) 40%, transparent 68%);
}
.hero-object .planet-core {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 70% 75%, rgba(2, 3, 10, 0.75), transparent 60%),
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.22), transparent 40%),
    url("../assets/voyage/planet.jpg") center / cover no-repeat;
  box-shadow: inset -18px -14px 40px rgba(0, 0, 0, 0.55), 0 0 50px rgba(0, 212, 255, 0.18);
}
.hero-object .planet-atmosphere {
  position: absolute; inset: -3%; border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.3);
}
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.hero-micro {
  position: relative; z-index: 3;
  grid-row: 6;
  font-size: .8rem; color: var(--ink-soft);
  max-width: 240px; line-height: 1.5;
}
.hero-micro.left { grid-column: 1; justify-self: start; align-self: end; }
.hero-micro.right { grid-column: 3; justify-self: end; align-self: end; text-align: right; }
.hero-micro a { color: var(--cyan-hi); text-decoration: underline; text-underline-offset: 3px; }
.hero-micro strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; margin-bottom: .35rem; }
.hero-micro .stat-row { display: flex; gap: 1rem; justify-content: flex-end; margin-top: .65rem; font-variant-numeric: tabular-nums; }
.hero-micro .stat-row span { display: block; font-size: .68rem; color: var(--muted); }
.hero-micro .stat-row b { font-size: .95rem; color: var(--ink); font-weight: 650; }

.cta-round {
  position: relative; z-index: 4;
  grid-column: 2; grid-row: 6; justify-self: center; align-self: end;
  width: 96px; height: 96px; border-radius: 50%;
  border: 1.5px solid var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  display: grid; place-items: center; align-content: center;
  text-align: center; font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; color: #fff;
  transition: background .25s, border-color .25s;
}
.cta-round::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px dashed rgba(0, 212, 255, 0.35);
  animation: orbit-spin 18s linear infinite;
}
.cta-round:hover { background: rgba(0, 212, 255, 0.2); border-color: var(--cyan-hi); }
.cta-round svg { width: 16px; height: 16px; margin: 0 auto .25rem; }

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto auto auto 1fr auto;
    padding: calc(var(--nav-h) + .5rem) 1.1rem 6.25rem;
  }
  .hero-word { font-size: clamp(2.2rem, 10.4vw, 5rem); }
  .hero-object { width: 40vw; height: 40vw; }
  .hero-tagline { padding: 0 .5rem; }
  .cta-round { grid-column: 1 / -1; grid-row: 5; align-self: center; width: 84px; height: 84px; }
  .hero-micro { max-width: none; font-size: .74rem; }
  .hero-micro.left { grid-column: 1; padding-right: .5rem; }
  .hero-micro.right { grid-column: 2; }
  .hero-micro .stat-row { gap: .6rem; }
  .hero-micro .stat-row b { font-size: .82rem; }
}

/* ——— Sections ——— */
.section { position: relative; padding: clamp(4rem, 10vw, 7.5rem) clamp(1.15rem, 4vw, 2.5rem); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-hi); font-weight: 650; margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan), 10px 0 0 -2px rgba(139, 108, 255, 0.9);
  animation: orbit-spin 4s linear infinite; flex-shrink: 0;
}
.section h2 {
  font-family: var(--font-display); font-weight: 750;
  font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05;
  margin: 0 0 1.25rem; color: #f6f8fd;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 38rem; margin: 0 0 2rem; }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--cyan-hi); }
.section h2 .serif-accent { color: var(--cyan-hi); }

/* reveal — uses the independent `translate` property so card tilt (transform) never fights it */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* glass surfaces */
.about-card, .service, .project-row, .form, .exp-item, .skill {
  --mx: 50%; --my: 50%;
}
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
.about-card h3 { margin: 0 0 .75rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-hi); font-weight: 650; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.timeline li:last-child { border-bottom: 0; }
.timeline time { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.parallax-band { margin-top: 3rem; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; background: #0e0f12; border: 1px solid var(--line); }
.parallax-band img { width: 100%; height: 300px; object-fit: cover; opacity: .85; transform: scale(1.12); }
.parallax-band .caption { position: absolute; inset: auto 0 0 0; padding: 1.25rem 1.5rem; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff; font-size: .95rem; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.service {
  position: relative; display: block;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.25rem; overflow: hidden;
  transition: border-color .3s;
}
.service:hover { border-color: rgba(0, 212, 255, .5); }
.service .num { font-size: .68rem; letter-spacing: .14em; color: var(--cyan-hi); font-weight: 650; margin-bottom: .6rem; }
.service h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 .45rem; letter-spacing: -0.02em; color: #fff; }
.service p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

/* gravity-well highlight that follows the cursor (pseudo layer only repaints, never the card) */
.fx-card { position: relative; transform-style: flat; will-change: auto; }
.fx-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 212, 255, 0.16), rgba(139, 108, 255, 0.06) 40%, transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.fx-card.is-hover::after { opacity: 1; }

/* Work cards */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 320px; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  background: linear-gradient(165deg, #0e1224, #090b16);
  color: #fff; border: 1px solid var(--line);
  transition: border-color .3s;
}
.work-card:hover { border-color: rgba(0, 212, 255, .45); }
.work-card .media {
  flex: 1; min-height: 190px; display: grid; place-items: center; padding: 1.5rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 212, 255, .16), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 108, 255, .16), transparent 45%);
}
.work-card .media img { max-height: 170px; width: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.work-card.light .media { background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, .2), transparent 55%), linear-gradient(160deg, #141a33, #0c1022); }
.work-card .body { padding: 1.35rem 1.4rem 1.5rem; position: relative; z-index: 1; }
.work-card .tag { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-hi); font-weight: 650; margin-bottom: .4rem; }
.work-card h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 0 0 .45rem; letter-spacing: -0.02em; }
.work-card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.work-card .arrow {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  display: grid; place-items: center;
  transition: background .25s, border-color .25s, color .25s;
}
.work-card:hover .arrow, .work-card:focus-visible .arrow { background: var(--cyan); border-color: var(--cyan); color: #02030a; }
.work-card.span-2 { grid-column: 1 / -1; min-height: 280px; flex-direction: row; }
.work-card.span-2 .media { flex: 1.1; min-height: 240px; }
.work-card.span-2 .body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) { .work-card.span-2 { flex-direction: column; } }

/* Projects list */
.project-list { display: grid; gap: .75rem; }
.project-row {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s;
}
.project-row:hover { border-color: rgba(0, 212, 255, .45); }
.project-row h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 .25rem; letter-spacing: -0.02em; color: #fff; }
.project-row p { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.project-row .ext { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-hi); font-weight: 650; white-space: nowrap; }

/* Ventures — planet cards (own products vs. employer work) */
.venture-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.venture-card {
  --hue: 190; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  padding: 1.5rem 1.4rem 1.3rem; border-radius: calc(var(--radius) + 4px); overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 88% -4%, hsla(var(--hue), 100%, 62%, .17), transparent 52%),
    linear-gradient(165deg, #0e1224, #090b16);
  border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .4s;
}
a.venture-card:hover, a.venture-card:focus-visible {
  border-color: hsla(var(--hue), 100%, 66%, .55);
  box-shadow: 0 22px 60px -24px hsla(var(--hue), 100%, 55%, .55);
}
.venture-orb { position: relative; width: 56px; height: 56px; margin-bottom: .45rem; }
.venture-orb .orb-core {
  position: absolute; inset: 7px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .92rem; color: rgba(2, 3, 10, .82);
  background: radial-gradient(circle at 32% 28%, #fff 0, hsl(var(--hue) 100% 74%) 20%, hsl(var(--hue) 78% 42%) 58%, #070914 100%);
  box-shadow: 0 0 24px hsla(var(--hue), 100%, 60%, .5), inset -6px -8px 14px rgba(0, 0, 0, .45);
}
.venture-orb .orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed hsla(var(--hue), 100%, 78%, .32);
  animation: v-orbit 16s linear infinite;
}
.venture-orb .orb-ring i {
  position: absolute; top: -3px; left: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px hsl(var(--hue) 100% 70%), 0 0 16px hsl(var(--hue) 100% 60%);
}
.venture-card:nth-child(2n) .orb-ring { animation-duration: 21s; animation-direction: reverse; }
.venture-card:nth-child(3n) .orb-ring { animation-duration: 12s; }
@keyframes v-orbit { to { transform: rotate(360deg); } }
.venture-tag { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--hue) 100% 78%); font-weight: 650; }
.venture-card h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0; letter-spacing: -0.02em; }
.venture-card p { margin: 0; font-size: .92rem; color: var(--ink-soft); flex: 1; }
.venture-link { margin-top: .55rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .04em; color: var(--cyan-hi); }
a.venture-card:hover .venture-link { color: #fff; }
.venture-card.is-employer {
  background: linear-gradient(165deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  border: 1px dashed rgba(255, 255, 255, .16);
}
.venture-card.is-employer .venture-orb { filter: saturate(.5) brightness(.9); }
.venture-card.is-employer .venture-tag { color: var(--muted); }
.venture-card.is-build .venture-tag { color: var(--ink-soft); }
.venture-note { max-width: 46rem; color: var(--ink-soft); font-size: .95rem; border-left: 2px solid var(--violet); padding-left: 1rem; margin: 0 0 1.6rem; }
.writing-contact { margin-top: 1.5rem; color: var(--ink-soft); }
.writing-contact a { color: var(--cyan-hi); }
.writing-contact a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .venture-orb .orb-ring { animation: none; } }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .85rem; }
.skill { position: relative; background: linear-gradient(160deg, #10142a, #0a0d1c); border: 1px solid var(--line); color: #fff; border-radius: var(--radius); padding: 1.15rem; display: flex; flex-direction: column; gap: .55rem; }
.skill img { width: 28px; height: 28px; opacity: .9; }
.skill strong { font-size: .95rem; }
.stars { color: var(--cyan); letter-spacing: .1em; font-size: .85rem; }

/* Illustrations grid (shared) */
.ill-grid figure { border: 1px solid var(--line); }

/* Experience strip */
.exp-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.exp-item { position: relative; padding: 1.15rem 0; border-top: 1px solid var(--line-2); }
.exp-item::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.exp-item .yrs { font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.exp-item strong { display: block; margin: .25rem 0; font-size: 1rem; color: #fff; }
.exp-item span { font-size: .88rem; color: var(--ink-soft); }

/* Contact */
.contact-hero h2 { font-size: clamp(2.6rem, 8vw, 5.5rem); max-width: 12ch; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-meta a { display: block; margin: .35rem 0; font-size: 1.05rem; color: var(--ink); }
.contact-meta a:hover { color: var(--cyan-hi); }
.contact-meta .addr { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.form {
  position: relative; display: grid; gap: .85rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .35rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 650; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: .75rem .9rem;
  background: rgba(2, 3, 10, 0.55); color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
  text-transform: none; letter-spacing: normal; font-weight: 400; font-size: .95rem;
}
.form input:focus, .form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25); }
.form textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--ink-soft); }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--cyan-hi); }
.form-status.is-error { color: #ff9db0; }
.form-status a { color: inherit; text-decoration: underline; }
.form button[disabled] { opacity: .65; cursor: progress; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 1px solid transparent; cursor: pointer;
  background: var(--ink); color: #05060d;
  padding: .85rem 1.35rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .88rem;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--cyan); color: #02030a; }
.btn-ghost { background: rgba(255, 255, 255, 0.03); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0, 212, 255, 0.12); color: #fff; }
.magnetic { will-change: translate; }

/* Footer */
.site-footer { padding: 3rem clamp(1.15rem, 4vw, 2.5rem) 7rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(2, 3, 10, 0.6)); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 1.5rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-brand { font-family: var(--font-display); font-weight: 750; font-size: 1.4rem; letter-spacing: -0.02em; }
.footer-brand .period { color: var(--cyan); }
.socials { display: flex; flex-wrap: wrap; gap: .65rem 1rem; font-size: .8rem; color: var(--ink-soft); }
.socials a:hover { color: var(--cyan-hi); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .8rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--cyan-hi); }
.voyage-replay-wrap { margin: .5rem 0 0; }
.voyage-replay {
  appearance: none; border: 1px solid rgba(0, 212, 255, 0.4); background: rgba(0, 212, 255, 0.06);
  color: var(--cyan-hi); font: inherit; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; padding: .55rem 1rem; border-radius: var(--radius-pill); font-weight: 600;
}
.voyage-replay:hover { background: rgba(0, 212, 255, 0.16); color: #fff; }

/* Floating bottom nav pill (solid, no backdrop-filter: cheaper while scrolling) */
.float-nav {
  position: fixed; z-index: 50; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: flex; gap: .15rem; padding: .4rem;
  background: rgba(10, 12, 24, 0.92);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: opacity .5s var(--ease), visibility .5s;
}
.float-nav a {
  color: rgba(255, 255, 255, .74); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: .65rem .95rem; border-radius: var(--radius-pill); transition: background .2s, color .2s;
}
.float-nav a:hover, .float-nav a[aria-current="page"] { background: rgba(0, 212, 255, .2); color: #fff; }
@media (max-width: 520px) { .float-nav { gap: 0; padding: .34rem; } .float-nav a { padding: .58rem .5rem; font-size: .58rem; letter-spacing: .05em; } }
@media (max-width: 360px) { .float-nav a { padding: .55rem .4rem; letter-spacing: .02em; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 3rem) clamp(1.15rem, 4vw, 2.5rem) 2.5rem; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.5rem); letter-spacing: -0.04em; line-height: .95; margin: 0 0 1rem; color: #f6f8fd;
  display: inline-block;
}
.page-hero h1 .period { color: var(--cyan); }
.page-hero .lede { margin-bottom: 0; }
.page-hero .lede + p { margin-top: 1.5rem; }

/* Detail article */
.article { max-width: 760px; }
.article h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.5rem 0 .75rem; }
.article p, .article li { color: var(--ink-soft); }
.article ul { padding-left: 1.15rem; }
.feature-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.chip { font-size: .72rem; letter-spacing: .04em; padding: .4rem .75rem; border-radius: var(--radius-pill); background: var(--cyan-soft); border: 1px solid rgba(0, 212, 255, .3); color: var(--ink); }
.detail-media { margin: 1.5rem 0 2rem; border-radius: var(--radius); overflow: hidden; background: #0d1020; border: 1px solid var(--line); display: grid; place-items: center; min-height: 220px; padding: 2rem; }
.detail-media img { max-height: 280px; width: auto; }

.divider-soft { position: relative; z-index: 1; height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, rgba(0, 212, 255, .35), transparent); }

/* ———————————————————————————————————————————————
   Galaxy voyage — scroll-scrubbed, rAF-lerped (js/voyage.js writes transform/opacity only)
   ——————————————————————————————————————————————— */
.voyage { position: relative; z-index: 2; color: #eef2fa; }
.voyage-track { position: relative; height: 640vh; }
.voyage-stage {
  position: sticky; top: 0; width: 100%;
  height: 100vh; height: 100svh; min-height: 520px;
}
.voyage-viewport {
  position: absolute; left: 0; top: 0; width: 100%;
  height: 100vh; height: 100lvh; min-height: 100%;
  overflow: hidden; pointer-events: none;
}
.voyage-backdrop { position: absolute; inset: 0; background: #02030a; will-change: opacity; }
.voyage-camera { position: absolute; inset: 0; will-change: transform; }
.voyage-layer {
  position: absolute; inset: -7%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.voyage-layer[data-layer="void"] { background-image: url("../assets/voyage/v-void.jpg"); opacity: 1; visibility: visible; }
.voyage-layer[data-layer="galaxy"] { background-image: url("../assets/voyage/v-galaxy.jpg"); }
.voyage-layer[data-layer="sol"] { background-image: url("../assets/voyage/v-sol.jpg"); }
.voyage-layer[data-layer="earth"] { background-image: url("../assets/voyage/v-earth.jpg"); }
.voyage-layer[data-layer="atmos"] {
  inset: -10%;
  background:
    radial-gradient(ellipse 60% 45% at 50% 58%, rgba(0, 212, 255, .26), transparent 62%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(139, 108, 255, .32), transparent 58%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(0, 140, 200, .35), transparent 60%);
}
/* Pale blue marble → Earth horizon (one big pre-rasterised element, scaled down — stays sharp when it grows) */
.voyage-globe {
  position: absolute; left: 50%; top: 50%;
  width: 1000px; height: 1000px; margin: -500px 0 0 -500px;
  border-radius: 50%; opacity: 0; visibility: hidden;
  will-change: transform, opacity;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .5), transparent 22%),
    radial-gradient(ellipse 22% 14% at 60% 40%, rgba(70, 140, 90, .75), transparent 70%),
    radial-gradient(ellipse 16% 22% at 38% 62%, rgba(60, 120, 80, .7), transparent 70%),
    radial-gradient(ellipse 12% 8% at 70% 66%, rgba(150, 130, 90, .6), transparent 70%),
    radial-gradient(circle at 45% 50%, #1d74c2 0%, #0d4682 40%, #072546 70%, #020a18 100%);
  box-shadow: 0 0 80px rgba(0, 170, 255, .45), 0 0 220px rgba(0, 212, 255, .18);
  overflow: hidden;
}
.voyage-globe .globe-clouds {
  position: absolute; inset: -10%; border-radius: 50%;
  background:
    radial-gradient(ellipse 30% 6% at 40% 30%, rgba(255, 255, 255, .45), transparent 70%),
    radial-gradient(ellipse 26% 5% at 62% 52%, rgba(255, 255, 255, .35), transparent 70%),
    radial-gradient(ellipse 34% 7% at 35% 74%, rgba(255, 255, 255, .3), transparent 70%);
  animation: orbit-spin 120s linear infinite;
}
.voyage-globe .globe-shade {
  position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 30% 25%, transparent 45%, rgba(0, 0, 0, .55) 75%, rgba(0, 0, 0, .85) 100%);
  box-shadow: inset 0 0 0 2px rgba(140, 210, 255, .35), inset 0 0 60px rgba(120, 200, 255, .35);
}
.voyage-stars { position: absolute; inset: 0; width: 100%; height: 100%; will-change: opacity; }
.voyage-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, transparent 40%, rgba(2, 3, 10, .6) 100%),
    linear-gradient(180deg, rgba(2, 3, 10, .35), transparent 22%, transparent 75%, rgba(2, 3, 10, .55));
  will-change: opacity;
}
.voyage-pin-mark {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: .55rem;
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.voyage-pin-mark.is-left { flex-direction: row-reverse; }
.voyage-pin-dot {
  position: relative; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 212, 255, .28), 0 0 18px var(--cyan); flex-shrink: 0;
}
.voyage-pin-dot::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--cyan);
  animation: pin-ping 1.8s ease-out infinite;
}
@keyframes pin-ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.voyage-pin-label {
  padding: .4rem .85rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 212, 255, .45); background: rgba(5, 6, 13, .85);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; white-space: nowrap; color: #fff;
}

/* Narration */
.voyage-narration {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center;
  padding: 4.5rem 1.5rem 7rem; text-align: center; pointer-events: none;
}
.voyage-narration::before {
  content: ""; position: absolute; left: 50%; top: 44%;
  width: min(96vw, 48rem); height: min(62vh, 26rem); margin: calc(min(62vh, 26rem) / -2) 0 0 calc(min(96vw, 48rem) / -2);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2, 3, 10, .7) 0%, rgba(2, 3, 10, .38) 45%, transparent 72%);
  pointer-events: none;
}
.voyage-beat {
  grid-area: 1 / 1; position: relative; z-index: 1;
  max-width: 42rem; margin: 0 auto;
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
}
.voyage-beat:first-child { opacity: 1; visibility: visible; }
.voyage-beat-micro { max-width: 30rem; }
.voyage-micro {
  margin: 0; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.3rem, 3.4vw, 2rem); color: #f2f6fc; letter-spacing: .01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9), 0 0 30px rgba(0, 0, 0, .7);
}
.voyage-kicker { margin: 0 0 .85rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-hi); font-weight: 650; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.voyage-line {
  margin: 0 auto; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 4.2rem); letter-spacing: -0.03em; line-height: 1.04;
  max-width: 16ch; color: #f6f8fd;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .9), 0 8px 32px rgba(0, 0, 0, .75);
}
.voyage-sub {
  margin: 1rem auto 0; max-width: 34rem;
  font-size: clamp(.98rem, 2vw, 1.12rem); color: rgba(238, 242, 250, .92); line-height: 1.55;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .9), 0 4px 24px rgba(0, 0, 0, .7);
}

/* hero lives inside the stage on index; voyage.js drives its arrival */
.voyage-stage > .hero { position: absolute; inset: 0; z-index: 6; min-height: 0; }
html.voyage-playing .voyage-stage > .hero { visibility: hidden; }
html.voyage-playing .voyage-stage > .hero.is-arriving { visibility: visible; }
.hero-part { will-change: auto; }

/* Voyage chrome */
.voyage-skip {
  position: fixed; top: 1rem; right: 1rem; z-index: 80;
  display: none; align-items: center; gap: .4rem;
  appearance: none; border: 1px solid rgba(255, 255, 255, .3); background: rgba(5, 6, 13, .82); color: #fff;
  font: inherit; font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  padding: .7rem 1.1rem; border-radius: var(--radius-pill); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.voyage-skip:hover { background: rgba(0, 212, 255, .22); border-color: var(--cyan); }
.voyage-chrome { position: fixed; inset: 0; z-index: 75; pointer-events: none; display: none; }
html.voyage-playing .voyage-skip { display: inline-flex; }
html.voyage-playing .voyage-chrome { display: block; }
.voyage-progress { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: .85rem; }
.voyage-progress-track { width: 3px; height: min(42vh, 280px); border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; position: relative; }
.voyage-progress-fill {
  position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(0);
  background: linear-gradient(180deg, var(--cyan), var(--violet)); will-change: transform;
}
.voyage-ticks { display: flex; flex-direction: column; justify-content: space-between; height: min(42vh, 280px); }
.voyage-tick { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .24); transition: background .3s, transform .3s; }
.voyage-tick.is-active { background: var(--cyan); transform: scale(1.45); }
.voyage-tick.is-passed { background: rgba(0, 212, 255, .55); }
.voyage-scroll-hint {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 242, 250, .7);
}
.voyage-scroll-hint span { width: 1px; height: 30px; background: linear-gradient(180deg, transparent, rgba(0, 212, 255, .9)); animation: hint-pulse 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes hint-pulse { 0%, 100% { opacity: .35; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* nav hidden while the voyage plays (fades back in near arrival) */
html.voyage-playing .topnav,
html.voyage-playing .float-nav { opacity: 0; visibility: hidden; pointer-events: none; }

/* Collapsed: voyage done (or no JS / reduced motion) → hero is a normal section */
html.voyage-collapsed .voyage-track, html:not(.js) .voyage-track { height: auto; }
html.voyage-collapsed .voyage-stage, html:not(.js) .voyage-stage { position: relative; height: auto; min-height: 0; }
html.voyage-collapsed .voyage-viewport, html.voyage-collapsed .voyage-narration,
html:not(.js) .voyage-viewport, html:not(.js) .voyage-narration { display: none; }
html.voyage-collapsed .voyage-stage > .hero, html:not(.js) .voyage-stage > .hero { position: relative; inset: auto; height: 100vh; height: 100svh; min-height: 520px; visibility: visible; }
html.voyage-collapsed .hero-kicker, html:not(.js) .hero-kicker { visibility: hidden; }

@media (max-width: 720px) {
  .voyage-track { height: 560vh; }
  .voyage-progress { left: .55rem; gap: .55rem; }
  .voyage-progress-track, .voyage-ticks { height: min(34vh, 210px); }
  .voyage-narration { padding: 4.5rem 1.4rem 6rem; }
  .voyage-sub { font-size: .95rem; max-width: 26rem; }
  .voyage-pin-label { font-size: .64rem; padding: .35rem .7rem; }
  .voyage-skip { top: .75rem; right: .75rem; padding: .6rem .9rem; }
}

/* ——— Reduced motion: calm, static ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .nebula, .eyebrow::before, .topnav-replay .spark, .cta-round::after, .hero-object .orbit, .hero-object .planet { animation: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .cursor-ring { display: none; }
}
