/* AERONI — style.css
   Tokens first; everything else refers to them. See docs/DESIGN.md. */

/* Self-hosted typefaces (SIL OFL 1.1, licences in /assets/fonts/). No external requests. */
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeroni Hand"; src: url("/assets/fonts/nothing-you-could-do.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* colour */
  --night: #04060C;
  --night-2: #080C18;
  --night-3: #0D1324;
  --ink: #EEF1F7;
  --ink-2: #AEB6C8;   /* 9.6:1 on --night */
  --ink-3: #8189A0;   /* 5.8:1 on --night — smallest text allowed */
  --line: rgba(174, 190, 230, .14);
  --line-2: rgba(174, 190, 230, .26);
  --cyan: #3FC8FF;
  --blue: #2B6BFF;
  --violet: #9A5BFF;
  --accent: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 48%, var(--violet) 100%);
  --danger: #FF8A8A;  /* 8.1:1 on --night */
  --ok: #7FE3B5;

  /* type */
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Aeroni Hand", "Segoe Print", "Bradley Hand", cursive;
  --fs-display: clamp(2.75rem, 1.1rem + 6.4vw, 7.4rem);
  --fs-h2: clamp(2.1rem, 1.1rem + 3.6vw, 4.6rem);
  --fs-h3: clamp(1.45rem, 1.05rem + 1.4vw, 2.3rem);
  --fs-lede: clamp(1.06rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-micro: .75rem;

  /* space (8pt, with a few deliberate irregular steps) */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4.5rem; --s7: 7rem; --s8: 10rem;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --max: 88rem;
  --header-h: 4.25rem;

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-mid: 320ms;
  --t-slow: 640ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-anchor: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--night); }
body {
  margin: 0; min-height: 100vh; background: var(--night); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-synthesis: none; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.muted { color: var(--ink-3); }

/* icons: stroked line set; the mark and play glyph are filled */
svg use { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg use[href="#i-mark"] { stroke: none; fill: url(#g-accent); }
svg use[href="#i-play"] { fill: currentColor; stroke: none; }

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

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: var(--night); font-weight: 700; transition: top var(--t-fast) var(--ease-out); }
.skip:focus { top: 1rem; }

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

.accent {
  background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (forced-colors: active) { .accent { color: CanvasText; background: none; } }

.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.035em; font-weight: 400; text-wrap: balance; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  --bh: 3rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--bh); padding: 0 1.35rem; border-radius: 3px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 700; letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast), transform var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--sm { --bh: 2.75rem; padding: 0 1rem; font-size: .875rem; }
.btn--primary { background: var(--ink); color: var(--night); }
.btn--primary:hover { background: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: rgba(106, 219, 255, .55); background: rgba(106, 219, 255, .05); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn__arrow { width: 1.05em; height: 1.05em; transition: transform var(--t-mid) var(--ease-out); }
.btn__arrow use { stroke-width: 1.8; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__icon { width: 1em; height: 1em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color var(--t-mid) var(--ease-out), border-color var(--t-mid);
  border-bottom: 1px solid transparent;
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself would
   trap the fixed mobile menu inside the header's box. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(4, 6, 12, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity var(--t-mid) var(--ease-out); pointer-events: none; }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-solid { border-bottom-color: var(--line); }
.site-header__inner { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; min-height: 44px; position: relative; z-index: 2; }
.brand__lockup { height: 1.3rem; width: auto; display: block; }
.footer .brand__lockup { height: 1.5rem; }

.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav__list a:not(.btn) { font-size: .875rem; color: var(--ink-2); text-decoration: none; padding: .75rem 0; transition: color var(--t-fast); }
.nav__list a:not(.btn):hover { color: var(--ink); }
/* Job ad checker: stands out from the page links, quieter than "Let's talk" */
.nav__list .nav__tool a { color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; }
.nav__badge { font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1; color: var(--ink); padding: .3rem .4rem; border: 1px solid rgba(238, 241, 247, .45); border-radius: 3px; }
.nav__tool a:hover .nav__badge { border-color: var(--ink); }
/* Main CTA in the menu: cyan outline */
.nav__cta .btn--ghost { border-color: rgba(106, 219, 255, .55); }
.nav__cta .btn--ghost:hover { border-color: var(--cyan); background: rgba(106, 219, 255, .06); }
.nav__cta { margin-left: .5rem; }
.nav__toggle { display: none; }

@media (max-width: 1040px) {
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .25rem 0 .75rem;
    background: none; border: 0; cursor: pointer; font-size: .9rem; position: relative; z-index: 2;
  }
  .nav__toggle-bars, .nav__toggle-bars::before { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform var(--t-mid) var(--ease-out); }
  .nav__toggle-bars { transform: translateY(-3px); }
  .nav__toggle-bars::before { content: ""; position: absolute; top: 6px; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

  .nav__list {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .25rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 3rem; background: var(--night);
    opacity: 0; visibility: hidden; transition: opacity var(--t-mid) var(--ease-out), visibility 0s linear var(--t-mid);
  }
  .nav__list.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-mid) var(--ease-out), visibility 0s; }
  .nav__list a:not(.btn) { font-size: clamp(1.9rem, 8vw, 2.6rem); letter-spacing: -.03em; color: var(--ink); padding: .35rem 0; display: block; }
  .nav__list .nav__tool a:not(.btn) { display: inline-flex; align-items: center; gap: .75rem; }
  /* Mobile menu: tag scales with the big link text, about the height of the letters */
  .nav__tool .nav__badge { font-size: .5em; letter-spacing: .1em; padding: .6em .65em; border-radius: 4px; }
  .nav__cta { margin: 1.5rem 0 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { border-bottom-color: transparent; }
  .nav__list { height: 100vh; height: 100dvh; }
}

/* ---------- 01–03 story: hero → disappearance ---------- */
.story { position: relative; }
.stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background:
    radial-gradient(60% 50% at 72% 45%, rgba(91, 132, 255, .09), transparent 70%),
    radial-gradient(40% 40% at 15% 100%, rgba(164, 135, 255, .06), transparent 70%),
    var(--night);
}
.stage__field { position: absolute; inset: 0; pointer-events: none; }
.stage__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__lines path { fill: none; stroke-linecap: round; }

.obj {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: .55rem;
  height: 2.75rem; padding: 0 .9rem 0 .75rem; white-space: nowrap;
  border: 1px solid var(--line-2); border-radius: 5px;
  background: linear-gradient(180deg, rgba(22, 30, 58, .92), rgba(10, 14, 28, .92));
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  font-size: .8125rem; color: var(--ink); will-change: transform, opacity;
  opacity: 0;
}
.obj svg { width: 1.15rem; height: 1.15rem; color: var(--cyan); flex: none; }
.obj__label { transition: none; }
.obj__count { font-size: .6875rem; font-weight: 700; min-width: 1.25rem; height: 1.25rem; border-radius: 1rem; display: grid; place-items: center; padding: 0 .35rem; background: var(--blue); color: #fff; margin-left: .15rem; }

.note { position: absolute; font-size: 1.05rem; line-height: 1.3; color: var(--ink-2); transform: rotate(-4deg); opacity: 0; font-family: var(--hand); }
.note--a { left: 64%; top: 30%; }
.note--b { left: 44%; top: 71%; transform: rotate(-7deg); }

.core { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; }
.core__mark { position: absolute; max-width: none; width: 5rem; height: auto; left: -2.5rem; top: -1.68rem; filter: drop-shadow(0 0 20px rgba(43, 107, 255, .55)); }
.core::before { /* the light the work is absorbed into */
  content: ""; position: absolute; width: 22rem; height: 22rem; left: -11rem; top: -11rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(106, 219, 255, .16), rgba(91, 132, 255, .07) 45%, transparent 75%);
  transform: scale(var(--glow, .6)); opacity: var(--glow-o, .6);
}
.core__count { position: absolute; top: 3rem; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.core__count span { color: var(--ink); font-weight: 700; }

.narrate { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; width: min(30%, 26rem); pointer-events: none; display: none; }
.is-motion .narrate { display: block; }
.narrate__line { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.03em; font-weight: 400; transform: translateY(-50%); }
.narrate__n { display: block; font-size: .8125rem; letter-spacing: 0; color: var(--cyan); margin-bottom: .75rem; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .narrate { top: calc(var(--header-h) + 3rem); width: auto; right: var(--gutter); transform: none; } .narrate__line { transform: none; font-size: 1.5rem; } }
.hero { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 4.5rem; max-width: var(--max); margin-inline: auto; }
.hero__kicker { font-size: var(--fs-micro); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.75rem; }
.hero__title { font-size: var(--fs-display); line-height: .93; letter-spacing: -.047em; font-weight: 400; max-width: 7.2em; margin-left: -.04em; }
.hero__sub { margin-top: 1.75rem; font-size: var(--fs-lede); color: var(--ink-2); max-width: 22em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 2rem; display: flex; align-items: center; gap: .75rem; font-size: var(--fs-micro); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.hero__scroll-dot { width: 1.4rem; height: 2.2rem; border: 1px solid var(--line-2); border-radius: 1rem; position: relative; }
.hero__scroll-dot::after { content: ""; position: absolute; left: 50%; top: .4rem; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: var(--ink); animation: scrolldot 2.4s var(--ease-inout) infinite; }
@keyframes scrolldot { 0%, 20% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(.9rem); opacity: 0; } 100% { opacity: 0; } }

.after { position: relative; z-index: 2; padding: var(--s7) var(--gutter) var(--s6); max-width: var(--max); margin-inline: auto; outline: none; }
.after__title { font-size: var(--fs-h2); line-height: 1; letter-spacing: -.04em; font-weight: 400; max-width: 7em; }
.after__text { margin-top: 1.5rem; font-size: var(--fs-lede); color: var(--ink-2); max-width: 24em; }
.after__aside { display: none; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: var(--s6); counter-reset: flow; }
.flow__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.flow__step svg { width: 1.6rem; height: 1.6rem; color: var(--ink); }
.flow__mark { width: 2.4rem; height: auto; margin-bottom: .1rem; }
.flow__name { font-size: var(--fs-micro); letter-spacing: .18em; text-transform: uppercase; margin-right: -.18em; font-weight: 700; }
.flow__desc { font-size: .8125rem; color: var(--ink-3); line-height: 1.4; max-width: 11em; }

/* motion mode: the stage pins and becomes a scroll-scrubbed scene */
.is-motion .story { height: 420vh; }
.is-motion .stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; }
.is-motion .hero { position: absolute; inset: 0; will-change: opacity, transform; }
.is-motion .after { position: absolute; inset: 0; padding: 0; max-width: none; margin: 0; opacity: 0; }
.is-motion .after__copy { position: absolute; left: var(--gutter); top: 18%; }
.is-motion .after__aside { display: block; position: absolute; right: var(--gutter); top: 36%; font-size: var(--fs-micro); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); text-align: right; line-height: 1.9; }
.is-motion .flow { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 7%; margin: 0; }
.is-motion .flow__step { opacity: 0; transform: translateY(8px); }
.is-motion .flow__step svg { filter: drop-shadow(0 0 10px rgba(106, 219, 255, .35)); }
.is-motion .obj { transition: none; }
.is-static .core { display: none; }
.is-static .stage__field { bottom: auto; }
.is-static .after { border-top: 1px solid var(--line); }

@media (min-width: 761px) {
  .is-motion .after__copy { max-width: 36%; }
}
@media (max-width: 760px) {
  .obj { height: 2.4rem; font-size: .75rem; padding: 0 .7rem 0 .6rem; }
  .obj:not([data-mx]) { display: none; }
  .note { display: none; }
  .hero { justify-content: flex-start; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__kicker { margin-bottom: 1.1rem; }
  .hero__sub { margin-top: 1.1rem; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__scroll { display: none; }
  .is-static .stage { min-height: 0; }
  .is-static .hero { min-height: 0; padding-bottom: 20rem; }
  .is-motion .after__copy { top: calc(var(--header-h) + 1.5rem); right: var(--gutter); }
  .flow { gap: .25rem; }
  .flow__desc { display: none; }
  .flow__name { font-size: .625rem; letter-spacing: .12em; margin-right: -.12em; }
  .flow__step svg { width: 1.35rem; height: 1.35rem; }
  .core__mark { width: 3.5rem; left: -1.75rem; top: -1.18rem; }
  .core__count { top: 6.25rem; }
  .is-motion .after__aside { display: none; }
  .hero__title { font-size: clamp(2.9rem, 12.5vw, 3.6rem); }
}
@media (max-width: 760px) and (max-height: 640px) {
  .hero__kicker { display: none; }
}

/* ---------- 04 more time ---------- */
.time { position: relative; padding: var(--s7) 0; border-top: 1px solid var(--line); overflow: hidden; }

.time__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: var(--s6); position: relative; }
.time__head { grid-column: 1 / span 7; }
.time__head .lede { margin-top: 1.5rem; }
.time__figure { grid-column: 8 / -1; grid-row: 1; position: relative; margin: -3rem calc(var(--gutter) * -1) 0 0; }
.time__figure img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(75% 75% at 60% 45%, #000 45%, transparent 100%); mask-image: radial-gradient(75% 75% at 60% 45%, #000 45%, transparent 100%); }
.time__quote { position: absolute; left: 0; bottom: 8%; max-width: 13em; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); padding-left: 1.25rem; border-left: 1px solid var(--cyan); }
.time__quote p::before { content: "“"; margin-left: -.45em; }
.time__quote p::after { content: "”"; }

.outcomes { grid-column: 1 / -1; display: grid; }
.outcome { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: baseline; padding: 2.25rem 0; border-top: 1px solid var(--line); }
.outcome:last-child { border-bottom: 1px solid var(--line); }
.outcome__title { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.outcome:nth-child(1) .outcome__title { grid-column: 1 / span 6; }
.outcome:nth-child(2) .outcome__title { grid-column: 3 / span 6; }
.outcome:nth-child(3) .outcome__title { grid-column: 5 / span 5; }
.outcome__text { grid-column: 9 / span 4; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.6; }
.outcome:nth-child(3) .outcome__text { grid-column: 10 / span 3; }

.week { max-width: 60rem; margin-inline: auto; }
.week__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; height: 11rem; }
.week__day { position: relative; padding: .6rem .75rem; font-size: var(--fs-micro); color: var(--ink-3); background: rgba(174, 190, 230, .03); overflow: hidden; }
.week__day::before, .week__day::after { /* routine blocks, identical each day */
  content: ""; position: absolute; left: .75rem; right: .75rem; border-radius: 2px;
  background: repeating-linear-gradient(180deg, rgba(174, 190, 230, .18) 0 1.1rem, transparent 1.1rem 1.5rem);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.week__day::before { top: 2.2rem; height: 6.4rem; }
.week__day::after { top: auto; bottom: .75rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.week.is-in .week__day::before { opacity: 0; transform: scaleY(.15); transform-origin: top; transition-delay: calc(var(--i, 0) * 70ms); }
.week.is-in .week__day::after { transform: scaleX(1); transition-delay: calc(var(--i, 0) * 70ms + 450ms); }
.week__day:nth-child(2) { --i: 1; } .week__day:nth-child(3) { --i: 2; } .week__day:nth-child(4) { --i: 3; } .week__day:nth-child(5) { --i: 4; }
.week__free { position: absolute; left: .75rem; bottom: 1.4rem; font-size: var(--fs-micro); color: var(--cyan); opacity: 0; transition: opacity var(--t-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 650ms); }
.week.is-in .week__free { opacity: 1; }
.week__cap { margin-top: 1rem; font-size: var(--fs-small); color: var(--ink-2); text-align: center; }

@media (max-width: 900px) {
  .time { padding-top: var(--s7); }
  .time__head, .time__figure, .week { grid-column: 1 / -1; }
  .time__figure { grid-row: auto; margin: 0 calc(var(--gutter) * -1); }
  .time__quote { left: var(--gutter); }
  .outcome { row-gap: .75rem; }
  .outcome .outcome__title, .outcome:nth-child(n) .outcome__title { grid-column: 1 / -1; }
  .outcome .outcome__text, .outcome:nth-child(n) .outcome__text { grid-column: 1 / -1; max-width: 32em; }
  .outcome:nth-child(2) { padding-left: 8%; }
  .outcome:nth-child(3) { padding-left: 16%; }
  .week__grid { height: 8.5rem; }
  .week__day::before { height: 4rem; }
  .week__free { display: none; }
}

/* ---------- 05 automate ---------- */
.automate { position: relative; padding: var(--s7) 0 var(--s7); }
.automate__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: end; margin-bottom: var(--s5); }
.automate__head .h2 { grid-column: 1 / span 7; }
.automate__head .lede { grid-column: 8 / span 5; font-size: var(--fs-body); }

.wf { display: grid; grid-template-columns: minmax(14rem, 3fr) 9fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wf__tabs { display: flex; flex-direction: column; padding: 1rem 0; border-right: 1px solid var(--line); }
.wf__tab {
  display: flex; align-items: center; gap: .85rem; min-height: 3.25rem; padding: .5rem 1rem .5rem 0; text-align: left;
  background: none; border: 0; cursor: pointer; font-size: .975rem; color: var(--ink-2); position: relative;
  transition: color var(--t-fast);
}
.wf__tab svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--ink-3); transition: color var(--t-fast); }
.wf__tab::after { content: ""; position: absolute; right: -1px; top: 20%; bottom: 20%; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform var(--t-mid) var(--ease-out); }
.wf__tab:hover { color: var(--ink); }
.wf__tab[aria-selected="true"] { color: var(--ink); }
.wf__tab[aria-selected="true"] svg { color: var(--cyan); }
.wf__tab[aria-selected="true"]::after { transform: scaleY(1); }

.wf__panel { padding: 2.25rem 0 2rem clamp(1.5rem, 4vw, 4rem); min-width: 0; outline-offset: -2px; }
.wf__panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
.wf__title { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.wf__summary { color: var(--ink-2); font-size: var(--fs-small); max-width: 30em; }

.wf__steps { --n: 5; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1rem; margin: 3rem 0 2.5rem; }
/* the line runs exactly from the first dot centre to the last (measured in script.js) */
.wf__steps::before { content: ""; position: absolute; left: var(--ls, .55rem); width: var(--ll, 80%); top: .55rem; height: 1px; background: var(--line-2); }
.wf__steps::after { content: ""; position: absolute; left: var(--ls, .55rem); width: var(--ll, 80%); top: .55rem; height: 1px; background: var(--accent); transform-origin: left; transform: scaleX(var(--run, 0)); }
.wf__step { position: relative; padding-top: 2rem; }
.wf__dot { position: absolute; left: 0; top: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid var(--line-2); background: var(--night); transition: border-color var(--t-mid), background-color var(--t-mid), box-shadow var(--t-mid); z-index: 1; }
.wf__step.is-done .wf__dot { border-color: var(--cyan); background: radial-gradient(circle, var(--cyan) 0 30%, var(--night) 34%); box-shadow: 0 0 14px rgba(106, 219, 255, .45); }
.wf__step-name { font-size: .975rem; line-height: 1.35; font-weight: 400; letter-spacing: -.01em; }
.wf__step-sys { margin-top: .4rem; font-size: .8125rem; color: var(--ink-3); line-height: 1.4; }
.wf__step .tag { margin-top: .6rem; }
.wf__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.wf__legend { font-size: .8125rem; color: var(--ink-3); }
.tag { display: inline-block; font-size: .6875rem; letter-spacing: .04em; padding: .15rem .45rem; border-radius: 2px; border: 1px solid; line-height: 1.4; vertical-align: 1px; margin-right: .3rem; }
.tag--ai { color: var(--cyan); border-color: rgba(106, 219, 255, .4); }
.tag--human { color: #FFD59A; border-color: rgba(255, 213, 154, .4); }

.margin-note { font-family: var(--hand); color: var(--ink-2); font-size: 1.1rem; line-height: 1.35; transform: rotate(-3deg); margin: 2.5rem 0 0 auto; width: max-content; max-width: 100%; }

@media (max-width: 900px) {
  .automate__head { display: block; }
  .automate__head .lede { margin-top: 1.25rem; }
  .wf { grid-template-columns: 1fr; border-bottom: 0; }
  .wf__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .wf__tabs::-webkit-scrollbar { display: none; }
  .wf__tab { flex: none; padding: .5rem 1.1rem .5rem 0; font-size: .9rem; }
  .wf__tab::after { right: 1.1rem; left: 0; top: auto; bottom: -1px; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
  .wf__tab[aria-selected="true"]::after { transform: scaleX(1); }
  .wf__panel { padding: 2rem 0 0; }
  .wf__steps { grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0; }
  .wf__steps::before, .wf__steps::after { left: .55rem; top: var(--ls, .55rem); width: 1px; height: var(--ll, 80%); }
  .wf__steps::after { transform-origin: top; transform: scaleY(var(--run, 0)); }
  .wf__step { padding: 0 0 0 2.25rem; }
}

/* ---------- 06 how ---------- */
.how { padding: var(--s7) 0; border-top: 1px solid var(--line); background: var(--night-2); }
.how__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.how__head .lede { max-width: 26em; font-size: var(--fs-body); }
.stages { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: var(--s6) 0 var(--s5); }
.stages::before { content: ""; position: absolute; left: 0; right: 0; top: 1.25rem; height: 1px; background: var(--line); }
.stages::after { content: ""; position: absolute; left: 0; right: 0; top: 1.25rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-inout) .1s; }
.stages.is-in::after { transform: scaleX(1); }
.stage-item { position: relative; z-index: 1; padding-top: 4rem; }
.stage-item__n { position: absolute; top: 0; left: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line-2); background: var(--night-2); box-shadow: 0 0 0 8px var(--night-2); display: grid; place-items: center; font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--ink-2); transition: border-color var(--t-mid), color var(--t-mid); }
.stages.is-in .stage-item__n { border-color: var(--cyan); color: var(--ink); transition-delay: calc(var(--i, 0) * 330ms + 200ms); }
.stage-item:nth-child(2) { --i: 1; } .stage-item:nth-child(3) { --i: 2; } .stage-item:nth-child(4) { --i: 3; }
.stage-item__title { font-size: 1.5rem; font-weight: 400; letter-spacing: -.025em; }
.stage-item__lead { margin-top: .25rem; color: var(--ink); font-size: .975rem; }
.stage-item__text { margin-top: .9rem; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.6; max-width: 20em; }
@media (max-width: 900px) {
  .stages { grid-template-columns: 1fr; gap: 2.5rem; }
  .stages::before, .stages::after { left: 1.25rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stages::after { transform: scaleY(0); transform-origin: top; }
  .stages.is-in::after { transform: scaleY(1); }
  .stage-item { padding: 0 0 0 4rem; }
}

/* ---------- 07 day ---------- */
.day { padding: var(--s7) 0; border-top: 1px solid var(--line); }
.day__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: 1.5rem; row-gap: 0; }
.day__intro { grid-column: 1 / span 5; grid-row: 1; }
.day__controls { grid-column: 1 / span 5; grid-row: 2; align-self: start; }
.day__title-2 { display: block; color: var(--ink-2); }
.day__intro .lede { margin-top: 1.5rem; }
.toggle { display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 2.25rem; border: 1px solid var(--line-2); border-radius: 3px; padding: 3px; position: relative; }
.toggle__btn { min-height: 2.75rem; min-width: 7rem; padding: 0 1.25rem; border: 0; background: none; cursor: pointer; font-size: .9rem; color: var(--ink-2); border-radius: 2px; position: relative; z-index: 1; transition: color var(--t-fast); }
.toggle__btn[aria-pressed="true"] { color: var(--night); background: var(--ink); font-weight: 700; }
.day__verdict { margin-top: 1.75rem; font-size: 1.125rem; line-height: 1.5; max-width: 22em; min-height: 3.4em; }
.day__verdict strong { font-weight: 700; }

.log { grid-column: 7 / span 6; grid-row: 1 / span 2; }
.log__list { border-top: 1px solid var(--line); }
.log__item { display: grid; grid-template-columns: 4.25rem 1fr auto; gap: 1.25rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(6px); animation: logIn var(--t-slow) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes logIn { to { opacity: 1; transform: none; } }
.log__time { font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--ink-2); }
.log__what { font-size: 1rem; line-height: 1.45; }
.log__kind { font-size: .75rem; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
.log__kind::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; border: 1px solid currentColor; }
.log__item--auto .log__kind { color: var(--cyan); }
.log__item--auto .log__kind::before { background: currentColor; }
.log__foot { margin-top: 1rem; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 900px) {
  .day__intro, .log, .day__controls { grid-column: 1 / -1; grid-row: auto; }
  .log { margin-top: 2.5rem; }
  .day__controls .toggle { margin-top: 2rem; }
  .log__item { grid-template-columns: 3.75rem 1fr; }
  .log__kind { grid-column: 2; }
}

/* ---------- 08 shift ---------- */
.shift { padding: var(--s6) 0; border-top: 1px solid var(--line); overflow: hidden; }
.shift__grid { display: grid; grid-template-columns: 1fr minmax(0, 1.25fr) 1fr; align-items: stretch; max-width: calc(var(--max) + 8rem); margin-inline: auto; }
.shift__col { padding: var(--s5) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.shift__title { font-size: var(--fs-h2); line-height: .98; letter-spacing: -.04em; font-weight: 400; margin-bottom: 2.25rem; }
.shift__col--more { text-align: left; }
.shift__list li { display: flex; align-items: center; gap: .85rem; padding: .6rem 0; font-size: .975rem; color: var(--ink-2); }
.shift__list svg { width: 1.2rem; height: 1.2rem; flex: none; }
.shift__col--less svg { color: var(--ink-3); }
.shift__col--more svg { color: var(--cyan); }
.shift__col--less li { position: relative; transition: color var(--t-slow) var(--ease-out); }
.shift__col--less li span { position: relative; }
.shift__col--less li span::after { content: ""; position: absolute; left: -.1em; right: -.1em; top: 55%; height: 1px; background: var(--ink-3); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow) var(--ease-out); }
.shift.is-in .shift__col--less li { color: var(--ink-3); }
.shift.is-in .shift__col--less li span::after { transform: scaleX(1); }
.shift__col--less li:nth-child(2) span::after { transition-delay: 90ms; } .shift__col--less li:nth-child(3) span::after { transition-delay: 180ms; }
.shift__col--less li:nth-child(4) span::after { transition-delay: 270ms; } .shift__col--less li:nth-child(5) span::after { transition-delay: 360ms; } .shift__col--less li:nth-child(6) span::after { transition-delay: 450ms; }
.shift__col--more li { color: var(--ink-3); transition: color var(--t-slow) var(--ease-out); }
.shift.is-in .shift.is-in .shift__col--more li:nth-child(1) { transition-delay: 700ms; } .shift.is-in .shift__col--more li:nth-child(2) { transition-delay: 780ms; }
.shift.is-in .shift__col--more li:nth-child(3) { transition-delay: 860ms; } .shift.is-in .shift__col--more li:nth-child(4) { transition-delay: 940ms; }
.shift.is-in .shift__col--more li:nth-child(5) { transition-delay: 1020ms; } .shift.is-in .shift__col--more li:nth-child(6) { transition-delay: 1100ms; }

.shift__view { position: relative; min-height: 34rem; overflow: hidden; }
.shift__view { background: radial-gradient(60% 50% at 50% 50%, rgba(43, 107, 255, .1), transparent 70%), var(--night-2); }
.shift__tangle { position: absolute; inset: 0; width: 100%; height: 100%; }
.shift__tangle path { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; transition: opacity var(--t-slow) var(--ease-out); }
.shift.is-in .shift__tangle path { opacity: 0; }
.shift__clear { position: absolute; left: 0; right: 0; top: 16%; bottom: 16%; }
.shift__clear::before, .shift__clear::after { content: ""; position: absolute; left: 50%; width: 1px; margin-left: -.5px; transform: scaleY(0); transform-origin: top; }
.shift__clear::before { top: 1.9rem; bottom: calc(50% + 2.6rem); background: linear-gradient(180deg, var(--cyan), var(--blue)); transition: transform .6s var(--ease-inout) .6s; }
.shift__clear::after { top: calc(50% + 2.6rem); bottom: 2.1rem; background: linear-gradient(180deg, var(--blue), var(--violet)); transition: transform .6s var(--ease-inout) 1.15s; }
.shift.is-in .shift__clear::before, .shift.is-in .shift__clear::after { transform: scaleY(1); }
.shift__node { position: absolute; left: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .6rem; opacity: 0; transition: opacity var(--t-slow) var(--ease-out); }
.shift__node:nth-child(1) { top: 0; transition-delay: .5s; }
.shift__node:nth-child(2) { top: 50%; transition-delay: 1s; }
.shift__node:nth-child(3) { top: 100%; transition-delay: 1.5s; }
.shift.is-in .shift__node { opacity: 1; }
.shift__dot { width: .8rem; height: .8rem; border-radius: 50%; border: 1px solid var(--cyan); }
.shift__node--core img { width: 3.4rem; height: auto; filter: drop-shadow(0 0 16px rgba(43, 107, 255, .6)); }
.shift__node--done svg { width: 1.6rem; height: 1.6rem; color: var(--cyan); }
.shift__label { font-size: .8125rem; color: var(--ink); white-space: nowrap; }
.shift__frame { position: absolute; inset: 0; border: 1px solid var(--line-2); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), inset 0 -80px 120px -60px rgba(4, 6, 12, .9); }
.shift__noise { position: absolute; inset: 0; }
.shift__noise span { position: absolute; font-size: .6875rem; padding: .3rem .55rem; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(8, 12, 24, .85); color: var(--ink-2); white-space: nowrap; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), filter var(--t-slow); }
.shift__noise span:nth-child(1) { left: 8%; top: 12%; transform: rotate(-4deg); }
.shift__noise span:nth-child(2) { left: 56%; top: 8%; transform: rotate(3deg); }
.shift__noise span:nth-child(3) { left: 30%; top: 26%; transform: rotate(2deg); }
.shift__noise span:nth-child(4) { left: 66%; top: 31%; transform: rotate(-3deg); }
.shift__noise span:nth-child(5) { left: 12%; top: 44%; transform: rotate(5deg); }
.shift__noise span:nth-child(6) { left: 48%; top: 52%; transform: rotate(-2deg); }
.shift__noise span:nth-child(7) { left: 20%; top: 74%; transform: rotate(3deg); }
.shift__noise span:nth-child(8) { left: 60%; top: 80%; transform: rotate(-5deg); }
.shift.is-in .shift__noise span { opacity: 0; transform: translateY(-14px) scale(.92); filter: blur(3px); }
.shift.is-in .shift__noise span:nth-child(2n) { transition-delay: 120ms; }
.shift.is-in .shift__noise span:nth-child(3n) { transition-delay: 240ms; }
@media (max-width: 900px) {
  .shift__grid { grid-template-columns: 1fr; }
  .shift__view { min-height: 22rem; margin-inline: var(--gutter); order: 2; }
  .shift__col--less { order: 1; padding-bottom: 2rem; }
  .shift__col--more { order: 3; padding-top: 2rem; }
  .shift__title { margin-bottom: 1.25rem; }
}

/* ---------- 09 tools ---------- */
.tools { padding: var(--s7) 0; border-top: 1px solid var(--line); background: radial-gradient(70% 60% at 70% 50%, rgba(91, 132, 255, .06), transparent 70%); }
.tools__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: var(--s4); }
.tools__head { grid-column: 1 / span 4; align-self: center; }
.tools__head .h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); }
.tools__head .lede { margin-top: 1.5rem; font-size: var(--fs-body); }
.tools__more { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--ink-3); max-width: 26em; }
.tools__legal { grid-column: 6 / -1; font-size: .75rem; color: var(--ink-3); max-width: 46em; }

.eco { grid-column: 6 / -1; position: relative; min-height: 30rem; }
.eco__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.eco__lines path { fill: none; stroke: var(--line-2); stroke-width: 1; transition: stroke var(--t-mid), stroke-opacity var(--t-mid); }
.eco__lines path.is-hot { stroke: url(#eco-grad); }
.eco__hub { position: absolute; left: 50%; top: 50%; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: radial-gradient(circle, rgba(91, 132, 255, .2), var(--night) 70%); box-shadow: 0 0 60px rgba(91, 132, 255, .18); z-index: 1; }
.eco__mark { width: 2.8rem; height: auto; }
.eco__groups { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12rem; row-gap: 1.1rem; height: 100%; align-content: center; min-height: 30rem; }
.eco__group { padding: .75rem 0; display: flex; flex-direction: column; gap: .15rem; cursor: default; }
.eco__group:nth-child(odd) { text-align: right; align-items: flex-end; }
.eco__group:nth-child(odd) { transform: translateX(var(--off, 0)); }
.eco__group:nth-child(1), .eco__group:nth-child(2), .eco__group:nth-child(7), .eco__group:nth-child(8) { --off: 0; }
.eco__group:nth-child(3) { --off: -2.5rem; } .eco__group:nth-child(5) { --off: -2.5rem; }
.eco__group:nth-child(4), .eco__group:nth-child(6) { transform: translateX(2.5rem); }
.eco__cat { font-size: .75rem; color: var(--ink-3); letter-spacing: .02em; }
.eco__names { font-size: 1.05rem; letter-spacing: -.01em; transition: color var(--t-fast); }
.eco__group:hover .eco__names { color: var(--cyan); }
@media (max-width: 1100px) {
  .tools__head, .eco, .tools__legal { grid-column: 1 / -1; }
  .eco { min-height: 0; }
  .eco__lines, .eco__hub { display: none; }
  .eco__groups { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; min-height: 0; border-left: 1px solid var(--line-2); padding-left: 1.5rem; }
  .eco__group:nth-child(n) { text-align: left; align-items: flex-start; transform: none; }
}
@media (max-width: 520px) { .eco__groups { grid-template-columns: 1fr; } }

/* ---------- 10 why ---------- */
.why { padding: var(--s7) 0 var(--s8); border-top: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: var(--s4); }
.why__title { grid-column: 1 / span 4; font-size: var(--fs-small); letter-spacing: 0; color: var(--ink-3); font-weight: 400; line-height: 1.6; }
.why__statement { grid-column: 1 / span 9; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.04em; font-weight: 400; text-wrap: balance; }
.principles { grid-column: 4 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; row-gap: 3rem; align-items: start; margin-top: var(--s5); }
.principle dt { font-size: 1.375rem; font-weight: 400; letter-spacing: -.02em; padding-bottom: .9rem; margin-bottom: .9rem; position: relative; }
.principle dt::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2rem; height: 1px; background: var(--accent); }
.principle dd { margin: 0; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.65; max-width: 26em; }
@media (max-width: 900px) {
  .why__statement, .principles { grid-column: 1 / -1; }
  .principles { grid-template-columns: 1fr; row-gap: 2.25rem; }
}

/* ---------- 11 cta ---------- */
.cta { position: relative; padding: var(--s5) 0 var(--s7); border-top: 1px solid var(--line); overflow: hidden; background: linear-gradient(180deg, var(--night), #050A1A); }
.cta__light { position: absolute; inset: 0; pointer-events: none; }
.cta__light img { position: absolute; right: 0; top: 0; height: 100%; width: auto; min-width: 100%; object-fit: cover; object-position: 30% 50%; opacity: .75; }
.cta__light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 12, .92) 0%, rgba(4, 6, 12, .6) 45%, rgba(4, 6, 12, .15) 100%), linear-gradient(0deg, var(--night) 0%, transparent 25%); }
.cta__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: var(--s5); }
.cta__copy { grid-column: 1 / span 6; }
.cta__title { font-size: clamp(2.75rem, 1.1rem + 5vw, 5.75rem); line-height: .95; letter-spacing: -.047em; font-weight: 400; }
.cta__text { margin-top: 2rem; font-size: var(--fs-lede); color: var(--ink-2); max-width: 24em; }
.cta__mail { margin-top: 1.5rem; color: var(--ink-2); }
.cta__mail a { color: var(--ink); }

.form { grid-column: 8 / span 5; position: relative; padding: 2rem; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(8, 12, 24, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.form__how { font-size: .8125rem; color: var(--ink-2); line-height: 1.5; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .875rem; font-weight: 400; margin-bottom: .45rem; }
.field__opt { font-weight: 400; color: var(--ink-3); margin-left: .35rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(4, 6, 12, .9);
  border: 1px solid var(--line-2); border-radius: 3px; padding: .75rem .85rem; min-height: 3rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 5.5rem; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: rgba(174, 190, 230, .4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(106, 219, 255, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__hint { margin-top: .45rem; font-size: .8125rem; color: var(--ink-3); line-height: 1.45; }
.field__err { margin-top: .4rem; font-size: .8125rem; color: var(--danger); }
.field__err:empty { display: none; }
.field__err::before { content: "Error: "; font-weight: 700; }
.form__errors { border: 1px solid var(--danger); border-radius: 3px; padding: .9rem 1rem; margin-bottom: 1.5rem; font-size: .875rem; outline: none; }
.form__errors-title { font-weight: 700; color: var(--danger); margin-bottom: .35rem; }
.form__errors ul { list-style: disc; padding-left: 1.2rem; }
.form__errors a { color: var(--ink); }
.form__privacy { font-size: .8125rem; color: var(--ink-3); line-height: 1.5; margin: .5rem 0 1.5rem; }
.form__privacy a { color: var(--ink-2); }
.form__actions .btn { width: 100%; }
.form__status { margin-top: 1.5rem; padding: 1rem; border: 1px solid rgba(127, 227, 181, .45); border-radius: 3px; font-size: .875rem; color: var(--ink-2); }
.form__status-title { color: var(--ok); font-weight: 700; margin-bottom: .35rem; }
.form__status a { color: var(--ink); }
.form__status .btn { margin-top: .9rem; }
.form__copied { margin-left: .75rem; font-size: .8125rem; color: var(--ok); }
@media (max-width: 1000px) {
  .cta__copy, .form { grid-column: 1 / -1; }
  .cta__light img { object-position: 40% 50%; opacity: .5; }
  .form { padding: 1.5rem; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--s5) 0 calc(var(--s4) + env(safe-area-inset-bottom, 0px)); font-size: .875rem; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2rem; }
.footer__brand { grid-column: 1 / span 4; }
.footer__tag { margin-top: .5rem; color: var(--ink-2); }
.footer__nav { grid-column: 5 / span 4; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.footer__nav ul { justify-content: center; text-align: center; }
.footer__tool { color: var(--ink) !important; font-weight: 700; font-size: .8125rem; padding: .55rem 1rem !important; border: 1px solid rgba(106, 219, 255, .35); border-radius: 3px; transition: border-color var(--t-fast), background-color var(--t-fast); }
.footer__tool:hover { border-color: rgba(106, 219, 255, .7); background: rgba(106, 219, 255, .06); text-decoration: none !important; }
.footer__nav ul, .footer__social, .footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer__nav a, .footer__meta a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: .6rem 0; }
.footer__nav a:hover, .footer__meta a:hover { color: var(--ink); text-decoration: underline; }
.footer__meta { grid-column: 9 / span 4; display: grid; gap: .25rem; justify-items: end; text-align: right; }
.footer__social, .footer__legal { justify-content: flex-end; }
.footer__copy { color: var(--ink-3); margin-top: .5rem; }
@media (max-width: 900px) {
  .footer__brand, .footer__nav, .footer__meta { grid-column: 1 / -1; }
  .footer__nav { align-items: flex-start; }
  .footer__nav ul { justify-content: flex-start; text-align: left; }
  .footer__meta { justify-items: start; text-align: left; }
  .footer__social, .footer__legal { justify-content: flex-start; }
}

/* ---------- legal pages ---------- */
.legal-header { position: sticky; top: 0; background: rgba(4, 6, 12, .92); border-bottom: 1px solid var(--line); z-index: 10; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.legal-header .site-header__inner { height: var(--header-h); }
.legal-header__back { font-size: .875rem; color: var(--ink-2); text-decoration: none; padding: .75rem 0; }
.legal-header__back:hover { color: var(--ink); text-decoration: underline; }
.legal { max-width: 46rem; margin: 0 auto; padding: var(--s6) var(--gutter) var(--s7); }
.legal h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 3.75rem); line-height: 1; letter-spacing: -.04em; font-weight: 400; }
.legal__meta { margin-top: 1rem; color: var(--ink-3); font-size: .875rem; }
.legal__summary { margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-left: 2px solid var(--cyan); background: rgba(106, 219, 255, .04); color: var(--ink); }
.legal h2 { margin-top: 3rem; font-size: 1.4rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
.legal h3 { margin-top: 1.75rem; font-size: 1.05rem; font-weight: 700; }
.legal p, .legal ul, .legal ol, .legal table, .legal dl { margin-top: 1rem; color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal ol { list-style: decimal; padding-left: 1.3rem; }
.legal li + li { margin-top: .4rem; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { color: var(--ink); }
.legal dl { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: .6rem 1.5rem; }
.legal dt { color: var(--ink-3); }
.legal dd { margin: 0; color: var(--ink); }
.legal .ph { color: #FFD59A; font-weight: 700; }
.table-scroll { overflow-x: auto; margin-top: 1rem; }
.legal table { border-collapse: collapse; width: 100%; font-size: .875rem; min-width: 34rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .7rem .75rem; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 700; background: rgba(174, 190, 230, .04); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .15rem; } .legal dd { margin-bottom: .75rem; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .hero__scroll-dot::after { display: none; }
}

/* ---------- print ---------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .legal-header, .stage__field, .cta__light, .footer__nav { display: none; }
  .legal p, .legal li, .legal dd, .legal td { color: #000; }
}
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* Touch devices: the scene is locked to a pixel height by script.js, so nothing inside it
   may follow the viewport (toolbars showing/hiding would otherwise resize it mid-scroll). */
.is-locked .stage, .is-locked .hero { min-height: 0; }
body { overflow-anchor: none; }

/* contact form: spam trap, sending state, result */
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { cursor: progress; opacity: .75; }
.form__status { outline: none; }
.form__status--error { border-color: rgba(255, 138, 138, .5); }
.form__status--error .form__status-title { color: var(--danger); }
.form__status-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .9rem; }
.form__status-actions:empty { display: none; }
.form__status-actions .btn { margin-top: 0; }
.form__status a.btn--primary { color: var(--night); text-decoration: none; }
