/* ==========================================================
   Nova Studios — night-sky observatory
   ========================================================== */

:root {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --bg-3: #10131a;
  --ink: #eef0f5;
  --ink-2: #a6abb8;
  --ink-3: #7f8494;
  --line: rgba(238, 240, 245, 0.09);
  --line-2: rgba(238, 240, 245, 0.16);
  --accent: #f4d29c;
  --accent-ink: #17130c;

  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
  --nav-h: 68px;
  --radius: 16px;
  --section-y: clamp(96px, 14vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #2a2e38 var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232731; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #343947; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: translateY(0); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.02;
  font-weight: 640;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section { position: relative; padding-block: var(--section-y); }

.section__head {
  display: grid;
  gap: 20px;
  max-width: 44rem;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section__lede {
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  max-width: 34rem;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 0;
  background-color: transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 560;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 1.05rem; }

.btn__icon {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 260ms var(--ease-out);
}

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--plate { background: var(--c); color: var(--c-deep); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #f8dfb6; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(238, 240, 245, 0.34); background: rgba(238, 240, 245, 0.04); }
  .btn--plate:hover { background: var(--c-ink); }
  .btn:hover .btn__icon { transform: translate(2px, -2px); }
  .hero .btn--primary:hover .btn__icon { transform: translateY(2px); }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
.nav.is-scrolled {
  background: rgba(7, 8, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 28px; height: 28px; color: var(--ink); }
.brand__word {
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  font-variation-settings: "wdth" 125;
}

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink-2);
  font-size: 0.94rem;
  transition: color 200ms ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a[aria-current="true"]::after { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); }
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav__bars, .nav__bars::before {
  position: absolute;
  left: 12px;
  width: 20px; height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 260ms var(--ease-out);
}
.nav__bars { top: 18px; }
.nav__bars::before { content: ""; left: 0; top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(-7px) rotate(-90deg); }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: rgba(7, 8, 11, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--line);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    visibility: hidden;
    transition: clip-path 320ms var(--ease-out), opacity 220ms ease, visibility 0s linear 320ms;
  }
  .nav.is-open .nav__links {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    visibility: visible;
    transition: clip-path 380ms var(--ease-out), opacity 220ms ease, visibility 0s;
  }
  .nav.is-open { background: rgba(7, 8, 11, 0.94); }
  .nav__links li + li { box-shadow: 0 -1px 0 var(--line); }
  .nav__links a {
    width: 100%;
    min-height: 60px;
    padding: 0;
    font-size: 1.35rem;
    font-weight: 560;
    font-variation-settings: "wdth" 112;
    color: var(--ink);
  }
  .nav__links a::after { left: auto; right: 4px; bottom: 50%; margin: 0 0 -2px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 clamp(120px, 16vh, 180px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 55% at 72% 42%, rgba(244, 210, 156, 0.07), transparent 70%),
    radial-gradient(90% 60% at 50% 120%, rgba(110, 120, 170, 0.10), transparent 70%),
    var(--bg);
}
.hero__sky, .contact__sky {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
}
.hero__curve {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: clamp(150px, 26vh, 260px);
  z-index: -1;
  overflow: visible;
}
.hero__curve path { fill: none; vector-effect: non-scaling-stroke; }
.hero__curve-base { stroke: var(--line); stroke-width: 1; }
.hero__curve-line {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linejoin: round;
  opacity: 0.85;
}

.hero__inner {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__plate {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__word {
  font-size: 0.8rem;
  font-weight: 620;
  font-variation-settings: "wdth" 125;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}
.hero__title {
  font-size: clamp(3rem, 8.4vw, 6rem);
  line-height: 0.96;
  font-weight: 650;
  font-variation-settings: "wdth" 122;
  letter-spacing: -0.035em;
  max-width: 11ch;
}
.hero__title .line { display: block; }
.hero__lede {
  margin-top: 32px;
  max-width: 31rem;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.hero__readout {
  display: flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.hero__readout b { font-weight: 500; color: var(--ink-2); }

/* Hero entrance — content stays visible without JS */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
}
.js .hero [data-hero-step] {
  animation: hero-rise 1000ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 90ms + 380ms);
}
.hero__title .line:nth-child(1) { --i: 0; }
.hero__title .line:nth-child(2) { --i: 1; }
.hero__lede { --i: 2; }
.hero__actions { --i: 3; }

/* ---------- Projects ---------- */

.projects { padding-top: clamp(96px, 12vw, 150px); }

.plate {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.plate + .plate { margin-top: clamp(88px, 12vw, 160px); }
.plate--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); }
.plate--flip .plate__visual { order: 2; }

.plate__visual {
  --peak: 50%;
  position: relative;
  display: block;
  aspect-ratio: 10 / 7;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(70% 70% at var(--peak) 46%, color-mix(in oklab, var(--c) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}
.plate--launcher .plate__visual { --peak: 42%; }
.plate--music .plate__visual { --peak: 58%; }

.plate__grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--c);
  opacity: 0.1;
}
.plate__curve {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.plate__curve path {
  fill: none;
  stroke: var(--c);
  stroke-width: 1.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.plate__glow {
  position: absolute;
  left: var(--peak); top: 40%;
  width: 46%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--c) 34%, transparent), transparent);
  opacity: 0.55;
  transition: opacity 500ms var(--ease-out), scale 700ms var(--ease-out);
}
.plate__logo {
  position: absolute;
  left: var(--peak); top: 40%;
  width: clamp(76px, 12vw, 128px);
  height: auto;
  translate: -50% -50%;
  border-radius: 26%;
  transition: transform 600ms var(--ease-out);
}
.plate__logo--round { border-radius: 24%; }

@media (hover: hover) and (pointer: fine) {
  .plate:hover .plate__glow { opacity: 0.95; scale: 1.12; }
  .plate:hover .plate__logo { transform: translateY(-6px) scale(1.04); }
}

.plate__body { display: grid; gap: 0; align-content: start; }
.plate__name {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  font-weight: 650;
  font-variation-settings: "wdth" 116;
  letter-spacing: -0.03em;
}
.plate__cat {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  font-variation-settings: "wdth" 112;
  color: var(--c);
}
.plate__desc {
  margin-top: 24px;
  color: var(--ink-2);
  max-width: 30rem;
  text-wrap: pretty;
}
.plate__data {
  margin-top: 28px;
  max-width: 30rem;
}
.plate__data > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 16px;
  padding: 12px 0;
  box-shadow: 0 -1px 0 var(--line);
}
.plate__data > div:last-child { box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.plate__data dt {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.plate__data dd { font-size: 0.95rem; color: var(--ink); }
.plate .btn--plate { margin-top: 32px; justify-self: start; }
.plate__note { margin-top: 16px; font-size: 0.82rem; color: var(--ink-3); }

/* ---------- Vision ---------- */

.vision {
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(244, 210, 156, 0.05), transparent 70%),
    var(--bg);
  box-shadow: 0 -1px 0 var(--line);
}
.vision__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: end;
}
.vision__title { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 10ch; }
.vision__title span { color: var(--ink-3); display: block; }
.vision__text { display: grid; gap: 20px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 30rem; }
.vision__text p:first-child { color: var(--ink); }

.lifecycle {
  grid-column: 1 / -1;
  position: relative;
  margin-top: clamp(56px, 8vw, 104px);
  height: clamp(200px, 26vw, 300px);
}
.lifecycle__svg { position: absolute; inset: 0 0 44px; width: 100%; height: calc(100% - 44px); overflow: visible; }
.lifecycle__svg path { fill: none; vector-effect: non-scaling-stroke; }
.lifecycle__base { stroke: var(--line-2); stroke-width: 1; }
.lifecycle__line { stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }

.lifecycle__marks { position: absolute; inset: 0; }
.lifecycle__marks li {
  position: absolute;
  left: var(--x);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 10%, var(--line) 60%, var(--line-2));
}
.lifecycle__marks span {
  position: absolute;
  bottom: 0;
  left: 0;
  translate: -50% 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  padding-top: 6px;
  background: var(--bg);
}
.lifecycle__marks li:first-child span { translate: 0 0; }
.lifecycle__marks li:last-child span { translate: -60% 0; }

/* ---------- Values ---------- */

.values { box-shadow: 0 -1px 0 var(--line); }

.strip {
  position: relative;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(90deg,
      rgba(150, 140, 255, 0.10),
      rgba(120, 200, 230, 0.10) 35%,
      rgba(240, 210, 150, 0.10) 65%,
      rgba(255, 140, 120, 0.10)),
    var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.strip span {
  position: absolute;
  left: var(--x);
  top: 0; bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--band);
}
.strip span::after {
  content: "";
  position: absolute;
  inset: 0 -10px;
  background: var(--band);
  filter: blur(10px);
  opacity: 0.45;
}

.spectrum { margin-top: 8px; }
.spectrum__band {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 8px clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 40px) 0;
  box-shadow: 0 1px 0 var(--line);
}
.spectrum__icon {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--band);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spectrum__band h3 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.05;
  font-weight: 620;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.03em;
  transition: transform 500ms var(--ease-out);
}
.spectrum__band p { color: var(--ink-2); max-width: 28rem; text-wrap: pretty; }

@media (hover: hover) and (pointer: fine) {
  .spectrum__band:hover h3 { transform: translateX(8px); }
}

/* ---------- Contact ---------- */

.contact {
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(120px, 16vw, 220px);
  background:
    radial-gradient(70% 60% at 50% 115%, rgba(244, 210, 156, 0.14), transparent 70%),
    var(--bg);
  box-shadow: 0 -1px 0 var(--line);
}
.contact__inner { text-align: center; display: grid; justify-items: center; }
.contact__title {
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.98;
  font-weight: 660;
  font-variation-settings: "wdth" 122;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.contact__lede { margin-top: 24px; font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: var(--ink-2); }
.contact__actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 10px 0 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(238, 240, 245, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.copy:active { transform: scale(0.97); }
.copy__text { font-family: var(--mono); font-size: 0.9rem; color: var(--ink); }
.copy__state {
  display: inline-grid;
  place-items: center;
  min-width: 84px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(238, 240, 245, 0.07);
  font-size: 0.82rem;
  color: var(--ink-2);
  transition: background-color 200ms ease, color 200ms ease;
}
.copy.is-done .copy__state { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) {
  .copy:hover { background: rgba(238, 240, 245, 0.07); }
}

/* ---------- Footer ---------- */

.footer {
  padding: 72px 0 40px;
  box-shadow: 0 -1px 0 var(--line);
  background: var(--bg);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 32px;
}
.footer__brand p { margin-top: 18px; max-width: 22rem; color: var(--ink-2); font-size: 0.95rem; }
.footer__col h2 {
  font-size: 0.82rem;
  font-weight: 560;
  font-variation-settings: "wdth" 112;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.footer__col a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--ink-2);
  font-size: 0.95rem;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { color: var(--ink); }
}
.footer__legal {
  grid-column: 1 / -1;
  padding-top: 28px;
  box-shadow: 0 -1px 0 var(--line);
  font-size: 0.84rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- Reveals ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Plates: the visual opens like a shutter, the copy follows */
.js .plate[data-reveal] { opacity: 1; transform: none; }
.js .plate .plate__visual { clip-path: inset(12% 12% 12% 12% round var(--radius)); opacity: 0; transition: clip-path 1200ms var(--ease-out), opacity 700ms ease; }
.js .plate .plate__body > * { opacity: 0; transform: translateY(14px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
.js .plate.is-in .plate__visual { clip-path: inset(0 0 0 0 round var(--radius)); opacity: 1; }
.js .plate.is-in .plate__body > * { opacity: 1; transform: none; }
.js .plate.is-in .plate__body > :nth-child(1) { transition-delay: 200ms; }
.js .plate.is-in .plate__body > :nth-child(2) { transition-delay: 260ms; }
.js .plate.is-in .plate__body > :nth-child(3) { transition-delay: 320ms; }
.js .plate.is-in .plate__body > :nth-child(4) { transition-delay: 380ms; }
.js .plate.is-in .plate__body > :nth-child(5) { transition-delay: 440ms; }
.js .plate.is-in .plate__body > :nth-child(6) { transition-delay: 500ms; }

/* Curves trace left to right, like a recording */
.js .hero__curve { clip-path: inset(0 100% 0 0); }
.js .plate__curve { clip-path: inset(0 100% 0 0); transition: clip-path 1800ms var(--ease-in-out) 250ms; }
.js .plate.is-in .plate__curve { clip-path: inset(0 0 0 0); }
.js .lifecycle__svg { clip-path: inset(0 100% 0 0); transition: clip-path 2200ms var(--ease-in-out); }
.js .lifecycle.is-in .lifecycle__svg { clip-path: inset(0 0 0 0); }

/* Strip: emission lines light up one by one */
.js .strip[data-reveal] { transform: none; }
.js .strip span { opacity: 0; scale: 1 0.2; transition: opacity 600ms ease, scale 900ms var(--ease-out); }
.js .strip.is-in span { opacity: 1; scale: 1 1; }
.js .strip.is-in span:nth-child(2) { transition-delay: 120ms; }
.js .strip.is-in span:nth-child(3) { transition-delay: 240ms; }
.js .strip.is-in span:nth-child(4) { transition-delay: 360ms; }

/* Spectrum rows stagger */
.js .spectrum[data-reveal] { opacity: 1; transform: none; }
.js .spectrum__band { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
.js .spectrum.is-in .spectrum__band { opacity: 1; transform: none; }
.js .spectrum.is-in .spectrum__band:nth-child(2) { transition-delay: 70ms; }
.js .spectrum.is-in .spectrum__band:nth-child(3) { transition-delay: 140ms; }
.js .spectrum.is-in .spectrum__band:nth-child(4) { transition-delay: 210ms; }

/* Lifecycle marks rise after the curve */
.js .lifecycle[data-reveal] { opacity: 1; transform: none; }
.js .lifecycle__marks li { opacity: 0; transition: opacity 700ms ease; }
.js .lifecycle.is-in .lifecycle__marks li { opacity: 1; }
.js .lifecycle.is-in .lifecycle__marks li:nth-child(1) { transition-delay: 100ms; }
.js .lifecycle.is-in .lifecycle__marks li:nth-child(2) { transition-delay: 450ms; }
.js .lifecycle.is-in .lifecycle__marks li:nth-child(3) { transition-delay: 650ms; }
.js .lifecycle.is-in .lifecycle__marks li:nth-child(4) { transition-delay: 850ms; }
.js .lifecycle.is-in .lifecycle__marks li:nth-child(5) { transition-delay: 1300ms; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .plate, .plate--flip { grid-template-columns: 1fr; }
  .plate--flip .plate__visual { order: 0; }
  .vision__grid { grid-template-columns: 1fr; align-items: start; }
  .spectrum__band { grid-template-columns: 48px minmax(0, 1fr); }
  .spectrum__band p { grid-column: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { align-items: end; padding-bottom: 168px; }
  .hero__title { font-size: 2.6rem; font-variation-settings: "wdth" 108; max-width: none; }
  .hero__curve { height: 120px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__readout { display: none; }
  .hero__plate { bottom: 44px; }
  .plate__data > div { grid-template-columns: 1fr; gap: 2px; }
  .plate .btn--plate { justify-self: stretch; }
  .spectrum__icon { width: 32px; height: 32px; }
  .spectrum__band { grid-template-columns: 40px minmax(0, 1fr); }
  .lifecycle { height: 220px; }
  .lifecycle__marks span { font-size: 0.7rem; letter-spacing: 0; }
  .lifecycle__marks li:nth-child(2) span { bottom: 22px; }
  .lifecycle__marks li:nth-child(4) span { bottom: 22px; }
  .contact__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .copy { justify-content: space-between; }
  .copy__text { font-size: 0.82rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 200ms !important; transition-delay: 0ms !important; animation: none !important; }
  .js [data-reveal], .js .hero [data-hero-step], .js .plate .plate__visual, .js .plate .plate__body > *,
  .js .spectrum__band, .js .strip span, .js .lifecycle__marks li,
  .js .hero__curve, .js .plate__curve, .js .lifecycle__svg {
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    scale: none !important;
  }
}

/* ---------- Account link ---------- */
.nav__links a.nav__account {
  margin-left: 8px;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: 999px;
  min-height: 40px;
  align-self: center;
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a.nav__account:hover { box-shadow: inset 0 0 0 1px rgba(238, 240, 245, 0.34); background: rgba(238, 240, 245, 0.04); }
}
@media (max-width: 820px) {
  .nav__links a.nav__account { margin: 0; box-shadow: none; border-radius: 0; min-height: 60px; color: var(--accent); }
}
