/* NEEDFORM homepage · "One movement"
   One mechanism carries the page: something turns from need into form.
   Hero vanes (word), VERSIQ device (orientation), work preview (lamellae).
   Every scroll-driven value is written by home.js as a unitless custom
   property; without the script every chapter is a complete static layout. */

@font-face { font-family: "Manrope"; src: url("fonts/Manrope.woff") format("woff"), url("fonts/Manrope.ttf") format("truetype"); font-style: normal; font-weight: 200 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Regular.woff") format("woff"), url("fonts/IBMPlexMono-Regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-SemiBold.woff") format("woff"), url("fonts/IBMPlexMono-SemiBold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --sp { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --ink: #0E0F11;
  --paper: #F5F3ED;
  --signal: #FF5A36;
  --white: #FFFFFF;
  --dark: #17191C;
  --elev: #202328;
  --graphite: #60656C;
  --muted: #A4A8AE;
  --line: #D8D6CF;
  --line-dark: #30343A;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --hh: 72px;
  --gutter: 64px;
  --max: 1312px;
  color-scheme: light;
}
@media (max-width: 1199px) { :root { --gutter: 40px; } }
@media (max-width: 767px) { :root { --hh: 60px; --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hh); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.625; font-feature-settings: "ss01" 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip-link:focus { transform: none; transition: none; }

/* ---------- shared type ---------- */
.kicker, .hero-kicker, .status, .study-offer, .study-credit, .film figcaption, .versiq-device figcaption, .process-code, .pipeline-label, .support-title {
  font-family: var(--mono); font-size: .75rem; line-height: 1.35; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.kicker { margin-bottom: 28px; color: var(--graphite); }
.chapter-title { font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.3125rem); line-height: 1.5; letter-spacing: -.005em; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: .9375rem; font-weight: 600; line-height: 1.2; letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: background-color .24s var(--ease), transform .24s var(--ease); }
.button::after { content: "→"; font-weight: 500; transition: transform .24s var(--ease); }
.button:hover { background: var(--elev); }
.button:hover::after { transform: translateX(4px); }
.button:active { transform: translateY(1px); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--white); }
.button-signal { background: var(--signal); color: var(--ink); }
.button-signal:hover { background: #FF7352; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding: 6px 0 5px; transition: background-size .3s var(--ease); }
.link::after { content: "→"; font-weight: 500; transition: transform .24s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--hh); background: rgb(245 243 237 / .94); color: var(--ink); transition: background-color .32s var(--ease), color .32s var(--ease), box-shadow .32s var(--ease); box-shadow: 0 1px 0 rgb(14 15 17 / 0); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgb(245 243 237 / .94); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); } }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgb(14 15 17 / .08); }
.site-header[data-tone="dark"] { background: rgb(14 15 17 / .96); color: var(--paper); box-shadow: 0 1px 0 rgb(245 243 237 / .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; flex: none; }
.brand img { height: 21px; width: auto; }
.brand-paper { position: absolute; inset: 0; opacity: 0; }
.site-header[data-tone="dark"] .brand-ink { opacity: 0; }
.site-header[data-tone="dark"] .brand-paper { opacity: 1; }
.brand img { transition: opacity .32s var(--ease); }
.nav-desktop { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 clamp(20px, 2.5vw, 36px); min-width: 0; font-size: .9375rem; font-weight: 500; }
.nav-desktop a { text-decoration: none; position: relative; padding: 8px 0; }
.nav-desktop a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav-desktop a:not(.nav-cta):hover::after, .nav-desktop a[aria-current="true"]::after { transform: scaleX(1); }
.nav-desktop .nav-lang { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: inherit; opacity: .7; }
.nav-desktop .nav-lang:hover { opacity: 1; }
.nav-desktop .nav-lang::after { display: none; }
.nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px !important; border: 1px solid currentColor; border-radius: 8px; font-weight: 600; transition: background-color .24s var(--ease), color .24s var(--ease); }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.site-header[data-tone="dark"] .nav-cta:hover { background: var(--paper); color: var(--ink); }
.nav-mobile { display: none; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile summary { list-style: none; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 14px; border: 1px solid currentColor; border-radius: 8px; font-weight: 600; font-size: .9375rem; cursor: pointer; }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile-icon { position: relative; width: 36px; height: 36px; }
  .nav-mobile-icon::before, .nav-mobile-icon::after { content: ""; position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .24s var(--ease); }
  .nav-mobile-icon::before { top: 14px; }
  .nav-mobile-icon::after { top: 21px; }
  .nav-mobile[open] .nav-mobile-icon::before { transform: translateY(3.5px) rotate(45deg); }
  .nav-mobile[open] .nav-mobile-icon::after { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-mobile nav { position: absolute; left: 0; right: 0; top: var(--hh); display: grid; padding: 8px var(--gutter) 28px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 40px -24px rgb(14 15 17 / .35); border-top: 1px solid var(--line); }
  .nav-mobile nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
  .nav-mobile nav a.nav-mobile-cta { margin-top: 20px; border: 0; border-radius: 8px; padding: 16px 20px; background: var(--ink); color: var(--paper); font-size: 1rem; text-align: center; }
  .brand img { height: 18px; }
}
@media (max-width: 360px) {
  .nav-mobile-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-mobile summary { padding: 0 3px; }
  .brand img { height: 16px; }
}

/* ---------- hero: the vanes ---------- */
.hero { position: relative; background: var(--paper); }
/* The stage always fills the viewport, so nothing below it is visible before
   the runway is added; the composition itself is capped and centred. */
.hero-pin { position: relative; display: grid; align-items: center; height: calc(100svh - var(--hh)); min-height: 600px; overflow: hidden; }
.hero-frame { height: 100%; max-height: 1120px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; row-gap: clamp(18px, 3vh, 36px); padding-top: clamp(20px, 3.4vh, 40px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 32px; }
.hero-kicker { color: var(--ink); }
.hero-turn { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 0; border: 0; background: none; font-size: .875rem; font-weight: 600; cursor: pointer; }
.hero-turn[hidden] { display: none; }
.hero-turn-mark { width: 26px; height: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--signal) 50%, var(--ink) 50%); transition: transform .4s var(--ease); }
.hero-turn:hover .hero-turn-mark { transform: rotateY(180deg); }
.hero-turn-label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.vanes { --p: 0; --ps: calc(var(--p) * var(--p) * (3 - 2 * var(--p))); position: relative; min-height: 0; container-type: size; perspective: 2200px; perspective-origin: 50% 40%; }
.vanes-body { --tx: 0; --ty: 0; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc((3 - 3 * var(--ps) - 4 * var(--ty) * (1 - var(--ps))) * 1deg)) rotateY(calc((-3 + 3 * var(--ps) + 6 * var(--tx) * (1 - var(--ps))) * 1deg)); }
.vane {
  --l: clamp(0, calc((var(--p) - var(--i) * .05) / .65), 1);
  --e: calc(var(--l) * var(--l) * (3 - 2 * var(--l)));
  --sway: calc(4 * var(--l) * (1 - var(--l)));
  position: absolute; top: 0; left: calc(var(--i) * 12.5%); width: 12.5%; height: 100%;
  transform-style: preserve-3d;
  transform: translate3d(0, calc(-10px * var(--sway)), calc(40px * var(--sway))) rotateY(calc(180deg * var(--e)));
}
.vane:nth-child(1) { --i: 0; } .vane:nth-child(2) { --i: 1; } .vane:nth-child(3) { --i: 2; } .vane:nth-child(4) { --i: 3; }
.vane:nth-child(5) { --i: 4; } .vane:nth-child(6) { --i: 5; } .vane:nth-child(7) { --i: 6; } .vane:nth-child(8) { --i: 7; }
.vane-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.vane-need { transform: translateZ(4px); background: var(--signal); color: var(--ink); }
.vane-form { transform: translateZ(-4px) rotateY(180deg); background: var(--ink); color: var(--paper); }
.vane-word { position: absolute; top: 50%; left: calc(var(--i) * -100%); width: 800%; text-align: center; white-space: nowrap; font-weight: 800; line-height: 1; letter-spacing: -.03em; transform: translateY(-50%); }
.vane-need .vane-word { font-size: min(33cqw, 92cqh); }
.vane-form .vane-word { font-size: min(30cqw, 86cqh); }
.vane-edge { position: absolute; top: 0; left: 100%; width: 8px; height: 100%; transform-origin: 0 50%; transform: translateZ(4px) rotateY(90deg); background: #26292E; }

.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.5rem); line-height: .94; font-weight: 600; letter-spacing: -.05em; }
.hero-lead { max-width: 44ch; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.5; color: var(--graphite); }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; }

.hero-aperture { --open: 0; --show: 0; position: absolute; inset: 0; z-index: 3; background: var(--ink); color: var(--paper); pointer-events: none; opacity: var(--show);
  clip-path: inset(calc(var(--at, 0px) * (1 - var(--open))) calc(var(--ar, 0px) * (1 - var(--open))) calc(var(--ab, 0px) * (1 - var(--open))) calc(var(--al, 0px) * (1 - var(--open)))); }
.aperture-word { position: absolute; left: calc(var(--wx, 50%) + (50% - var(--wx, 50%)) * var(--open)); top: calc(var(--wy, 50%) + (50% - var(--wy, 50%)) * var(--open)); font-size: var(--ws, 20vw); font-weight: 800; line-height: 1; letter-spacing: -.03em; white-space: nowrap; transform: translate(-50%, -50%) scale(calc(1 - .06 * var(--open))); }

.hero.is-live { height: calc(100svh - var(--hh) + var(--hero-runway, 140svh)); }
.hero.is-live .hero-pin { position: sticky; top: var(--hh); }

@media (max-width: 1023px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .hero-pin { min-height: 560px; }
}
@media (max-width: 767px) {
  .hero-pin { min-height: 540px; }
  .hero-frame { row-gap: 18px; padding-top: 18px; padding-bottom: 28px; }
  .vanes { perspective: 1200px; }
  .vane-word { letter-spacing: -.02em; }
  .vane-need .vane-word { font-size: min(32cqw, 86cqh); }
  .vane-form .vane-word { font-size: min(29cqw, 80cqh); }
  .hero h1 { font-size: clamp(2.75rem, 13.4vw, 3.5rem); }
  .hero-actions { margin-top: 18px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-turn-label { font-size: .8125rem; }
}
/* Reduced motion shows the resolved form. The button still exchanges both faces. */
.hero.is-still .vanes { --p: 1; }
.hero.is-still.show-need .vanes { --p: 0; }

/* ---------- products: VERSIQ ---------- */
.products { position: relative; background: var(--ink); color: var(--paper); padding-top: clamp(104px, 15vh, 176px); }
.products-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: end; }
.products-intro .chapter-title { font-size: clamp(2.75rem, 6vw, 5.5rem); }
.products-intro .lead { color: #C9CBCE; }
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 28px; padding: 10px 14px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--paper); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgb(255 90 54 / .16); }

.versiq-run { position: relative; margin-top: clamp(40px, 7vh, 88px); }
.versiq-pin { --r: 1; --ls: 1; --x: clamp(0, calc((var(--r) - .38) / .28), 1); position: relative; }
.versiq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: center; padding-block: 48px; }
.versiq-beats { display: grid; gap: 40px; counter-reset: beat; }
.beat-step { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.beat-text { margin-top: 14px; max-width: 34ch; font-size: 1.125rem; line-height: 1.55; color: #C9CBCE; }

.versiq-device { display: grid; justify-items: center; gap: 20px; min-width: 0; }
.device-box { --sh: min(calc(100svh - var(--hh) - 260px), 600px); position: relative; width: 100%; height: calc(var(--sh) * 1380 / 1311 + 8px); display: grid; place-items: center; }
/* Apple iPhone 18 Pro bezel (Apple Design Resources) over real screen recordings.
   --sh is the display height; the bezel adds its exact native margins. */
.phone { position: relative; width: calc(var(--sh) * 675 / 1311); height: calc(var(--sh) * 1380 / 1311); transform: rotate(calc(var(--r) * -90deg)) scale(var(--s, calc(1 + (var(--ls) - 1) * var(--r)))); will-change: transform; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .55)); }
.phone-screen { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; overflow: hidden; border-radius: 12% / 5.6%; background: #07080A; }
.phone-bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.clips-portrait { position: absolute; inset: 0; opacity: calc(1 - var(--x)); }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.clip.is-on { opacity: 1; }
.clip-landscape { position: absolute; left: 50%; top: 50%; width: var(--sh); height: calc(var(--sh) * 603 / 1311); max-width: none; object-fit: cover; transform: translate(-50%, -50%) rotate(90deg); opacity: var(--x); }
.versiq-device figcaption { color: var(--muted); text-align: center; font-weight: 400; }
.versiq-device figcaption a { color: var(--paper); text-underline-offset: 4px; }

/* Static (no script, reduced motion): the phone rests in landscape, so the
   stage only reserves the landscape height. */
.versiq-run:not(.is-live) .device-box { height: calc(var(--sh) * 675 / 1311 + 48px); }
.versiq-run.is-live { height: calc(100svh - var(--hh) + var(--versiq-runway, 170svh)); }
.versiq-run.is-live .versiq-pin { position: sticky; top: var(--hh); height: calc(100svh - var(--hh)); }
.versiq-run.is-live .versiq-grid { height: 100%; padding-block: 24px; }
.versiq-run.is-live .versiq-beats { position: relative; height: 15rem; gap: 0; padding-left: 28px; }
.versiq-run.is-live .versiq-beats::before, .versiq-run.is-live .versiq-beats::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--line-dark); }
.versiq-run.is-live .versiq-beats::after { background: var(--signal); transform-origin: 50% 0; transform: scaleY(var(--vp, 0)); }
.versiq-run.is-live .beat { --show: 0; --off: 1; position: absolute; left: 28px; right: 0; top: 0; opacity: var(--show); transform: translateY(calc(var(--off) * 28px)); }

.versiq-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; padding-block: clamp(64px, 10vh, 112px) clamp(96px, 14vh, 160px); border-top: 1px solid var(--line-dark); }
.versiq-mark { display: flex; align-items: center; gap: 22px; }
.versiq-name { display: grid; gap: 4px; }
.versiq-name strong { font-size: 1.75rem; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.versiq-name span { color: var(--muted); font-size: .9375rem; }
.versiq-beats-logo { width: 176px; height: auto; margin-bottom: 36px; }
.versiq-icon { view-transition-name: versiq-icon; width: 96px; height: 96px; border-radius: 22px; box-shadow: inset 0 0 0 1px #2A2D33, 0 0 0 1px #2A2D33; }
.versiq-card-copy p:first-child { max-width: 52ch; font-size: 1.125rem; line-height: 1.55; color: #C9CBCE; }
.versiq-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.versiq-next { grid-column: 2; padding-top: 28px; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: .9375rem; }


@media (max-width: 1023px) {
  .products-intro { grid-template-columns: 1fr; }
  .versiq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; }
  .versiq-card { grid-template-columns: 1fr; }
  .versiq-next { grid-column: auto; }
}
@media (max-width: 767px) {
  .products { padding-top: 88px; }
  .products-intro { gap: 24px; }
  .status { margin-top: 20px; }
  .versiq-run.is-live .versiq-beats { height: 11.5rem; padding-left: 20px; }
  .versiq-run.is-live .beat { left: 20px; }
  .beat-step { font-size: 1.875rem; }
  .beat-text { font-size: 1.0625rem; margin-top: 8px; }
  .versiq-icon { width: 64px; height: 64px; border-radius: 15px; }
  .versiq-device figcaption { font-size: .6875rem; }
}

/* Phones and portrait tablets: the device leads, the story sits beneath it. */
@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .versiq-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 24px; }
  .versiq-device { order: -1; }
  .device-box { --sh: min(50svh, calc(100vw - 80px), 420px); }
  .versiq-run.is-live .versiq-grid { grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; gap: 16px; padding-block: 12px 20px; }
  /* Live, the turned phone is scaled to the column (--ls), so the upright
     phone may use the full stage height. */
  .versiq-run.is-live .device-box { --sh: min(calc(100svh - var(--hh) - 364px), 460px); }
  .versiq-beats-logo { width: 140px; margin-bottom: 20px; }
}

/* ---------- studio ---------- */
.studio { background: var(--paper); padding-block: clamp(112px, 16vh, 200px) clamp(96px, 12vh, 144px); }
.studio-head .chapter-title { max-width: 23ch; font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: .98; }
.studio-lead { margin-top: 32px; max-width: 52ch; color: var(--graphite); }


/* One need, one form: the visitor picks a need, the matching modules turn. */
.needs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; margin-top: clamp(64px, 10vh, 112px); padding-top: 32px; border-top: 1px solid var(--ink); }
.needs-pick { display: grid; align-content: start; gap: 0; }
.needs-pick legend { display: grid; gap: 6px; margin-bottom: 20px; padding: 0; }
.needs-title { font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.needs-hint { color: var(--graphite); font-size: .9375rem; }
.need { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.need input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.need::before { content: ""; width: 18px; height: 18px; border: 1.5px solid var(--graphite); border-radius: 50%; transform: translateY(3px); transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.need > span { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; color: var(--graphite); transition: color .2s var(--ease); }
.need:hover > span { color: var(--ink); }
.need:has(input:checked)::before { border-color: var(--signal); background: var(--signal); box-shadow: inset 0 0 0 4px var(--paper); }
.need:has(input:checked) > span { color: var(--ink); font-weight: 600; }
.need:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 2px; }

.needs-form { display: grid; align-content: start; gap: 28px; }
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; perspective: 1400px; }
.module { --on: 0; position: relative; height: 78px; transform-style: preserve-3d; transform: rotateX(calc(var(--on) * -180deg)); transition: transform .8s cubic-bezier(.3, 1.35, .45, 1); transition-delay: calc(var(--i) * 45ms); }
.module:nth-child(1) { --i: 0; } .module:nth-child(2) { --i: 1; } .module:nth-child(3) { --i: 2; } .module:nth-child(4) { --i: 3; }
.module:nth-child(5) { --i: 4; } .module:nth-child(6) { --i: 5; } .module:nth-child(7) { --i: 6; }
.module:last-child { grid-column: 1 / -1; }
.module-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 18px; border-radius: 8px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.module-off { border: 1px dashed #B5B2AA; color: var(--graphite); }
.module-on { background: var(--ink); color: var(--paper); transform: rotateX(180deg); }
.module-name { font-size: 1rem; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.module-tag { font-family: var(--mono); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.answer { display: none; }
.answer p { max-width: 46ch; font-size: 1.125rem; line-height: 1.55; }
.answer .button { margin-top: 20px; }

/* Without :has() the first need is the resolved default. */
.answer[data-for="app"] { display: block; }
.module:is([data-m="discovery"], [data-m="ux"], [data-m="identity"], [data-m="build"], [data-m="launch"]) { --on: 1; }
@supports selector(:has(*)) {
  .needs:not(:has(input[value="app"]:checked)) .answer[data-for="app"] { display: none; }
  .needs:has(input[value="launch"]:checked) .answer[data-for="launch"],
  .needs:has(input[value="image"]:checked) .answer[data-for="image"],
  .needs:has(input[value="flow"]:checked) .answer[data-for="flow"] { display: block; }
  .needs:not(:has(input[value="app"]:checked)) .module { --on: 0; }
  .needs:has(input[value="launch"]:checked) .module:is([data-m="identity"], [data-m="launch"], [data-m="creative"]),
  .needs:has(input[value="image"]:checked) .module:is([data-m="creative"]),
  .needs:has(input[value="flow"]:checked) .module:is([data-m="discovery"], [data-m="automate"]) { --on: 1; }
}
/* The first form is laid out as the chapter arrives. */
.js .needs:not(.is-in) .module { --on: 0; transition: none; }

.process { margin-top: clamp(88px, 12vh, 136px); }
.process-title { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 24px; }
.process-steps li { position: relative; padding-top: 24px; }
.process-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.process-steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--draw, 1)); }
.process-steps h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.process-steps p { margin-top: 10px; max-width: 34ch; color: var(--graphite); }

@media (max-width: 1023px) {
  .needs { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .studio { padding-block: 96px 88px; }
  .studio-head .chapter-title { font-size: clamp(2.375rem, 10.6vw, 3rem); }
  .studio-lead { margin-top: 20px; }
  .needs { margin-top: 56px; gap: 32px; }
  .modules { gap: 8px; }
  .module { height: 66px; }
  .module-face { padding: 0 12px; }
  .module-name { font-size: .875rem; }
  .answer .button { width: 100%; }
  .process { margin-top: 80px; }
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- creative: real-time motion study ---------- */
.film-run { position: relative; background: var(--ink); color: var(--paper); }
.film-pin { position: relative; overflow: hidden; }
.film-gl, .film-guides { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.film-run.has-gl .film-gl, .film-run.has-gl .film-guides { display: block; }
.film-guides { z-index: 1; pointer-events: none; }
.film-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr) auto; gap: 32px 48px; padding-block: clamp(104px, 14vh, 160px) 48px; }
.film-copy { grid-column: 1; grid-row: 1; align-self: center; }
.film-copy .kicker { color: var(--muted); }
.film-copy .chapter-title { font-size: clamp(2.75rem, 5.6vw, 5.25rem); max-width: 11ch; }
.film-copy .lead { margin-top: 28px; max-width: 32ch; color: #C9CBCE; }
.film-copy .lead + p { margin-top: 24px; }
.film-focus { grid-column: 2; grid-row: 1; position: relative; min-height: min(72vh, 720px); }
.film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.film-run.has-gl .film-poster { visibility: hidden; }
.film-meta { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 14px; }
.film-timeline { display: grid; grid-template-columns: 22fr 34fr 30fr 14fr; gap: 6px; }
.film-phase { --pf: 1; position: relative; padding-top: 12px; font-family: var(--mono); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s var(--ease); }
.film-phase::before, .film-phase::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 1px; background: var(--line-dark); }
.film-phase::after { background: var(--paper); transform-origin: 0 50%; transform: scaleX(var(--pf)); }
.film-phase.is-active { color: var(--paper); }
.film-phase.is-active::after { background: var(--signal); }
.film-caption { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--muted); }
.film-tc { color: var(--paper); font-variant-numeric: tabular-nums; }

.film-run.is-live { height: calc(100svh - var(--hh) + var(--film-runway, 190svh)); }
.film-run.is-live .film-pin { position: sticky; top: var(--hh); height: calc(100svh - var(--hh)); }
.film-run.is-live .film-grid { height: 100%; padding-block: 40px 28px; }
.film-run.is-live .film-focus { min-height: 0; }

@media (max-width: 1023px) {
  .film-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; }
}
@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .film-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; padding-top: 88px; gap: 20px; }
  .film-copy { grid-row: 1; }
  .film-focus { grid-column: 1; grid-row: 2; min-height: 72vw; }
  .film-meta { grid-row: 3; }
  .film-run.is-live .film-grid { padding-block: 24px 20px; }
  .film-run.is-live .film-copy .lead + p { display: none; }
  .film-run.is-live .film-copy .lead { margin-top: 14px; font-size: 1rem; }
  .film-run.is-live .film-copy .kicker { margin-bottom: 12px; }
}
/* Short phones: the stage needs the height more than the lead. */
@media (max-width: 767px) and (max-height: 760px) {
  .film-run.is-live .film-copy .lead { display: none; }
}
@media (max-width: 767px) {
  .film-copy .chapter-title { font-size: clamp(2.375rem, 10.6vw, 3rem); }
  .film-copy .lead { margin-top: 20px; }
  .film-timeline { grid-template-columns: 27fr 22fr 31fr 17fr; gap: 4px; }
  .film-phase { font-size: .5625rem; letter-spacing: .02em; }
  .film-caption { font-size: .6875rem; }
}

@media (max-width: 360px) { .film-phase { white-space: normal; line-height: 1.25; } }

/* ---------- creative: four formats ---------- */
.formats { background: var(--ink); color: var(--paper); padding-block: clamp(104px, 14vh, 168px) clamp(96px, 12vh, 144px); }
.formats-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.formats-title { font-size: clamp(2.25rem, 4.4vw, 4rem); line-height: 1.02; font-weight: 600; letter-spacing: -.04em; }
.formats-head > p { color: #C9CBCE; font-size: 1.125rem; line-height: 1.55; max-width: 40ch; }
.formats-index { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.formats-index li { position: relative; padding-top: 14px; font-size: .9375rem; font-weight: 600; color: var(--muted); transition: color .3s var(--ease); }
.formats-index li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-dark); transition: background-color .3s var(--ease); }
.formats-index li span { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; color: var(--muted); }
.formats-index li.is-done, .formats-index li.is-active { color: var(--paper); }
.formats-index li.is-done::before { background: var(--paper); }
.formats-index li.is-active::before { background: var(--signal); }

.formats-run { position: relative; margin-top: clamp(56px, 8vh, 96px); }
.formats-track { display: grid; gap: clamp(72px, 10vh, 120px); width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.format { display: grid; gap: 24px; align-content: start; min-width: 0; }
.format-head { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px 24px; align-items: baseline; }
.format-no { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--signal); }
.format-head h4 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
.format-text { color: #C9CBCE; font-size: 1.0625rem; line-height: 1.5; max-width: 44ch; }
.study-credit { color: var(--muted); font-weight: 400; }
.format-media { position: relative; display: grid; gap: 14px; }
.format-media .study-credit { order: 2; }
/* Vertical work: the film leads, two stills from the same shoot follow. */
.reel-media { grid-template-columns: auto auto auto; justify-content: center; align-items: end; gap: 14px 20px; padding: clamp(20px, 3vw, 40px) 0 0; }
.reel-media .study-credit { grid-column: 1 / -1; justify-self: start; }
.study-credit a { color: var(--paper); text-decoration-color: var(--signal); text-underline-offset: 3px; }
.reel-film, .reel-still { height: min(52vh, 560px); aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #07080A; }
.reel-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-still { width: auto; height: min(47vh, 506px); object-fit: cover; }
.campaign-still { aspect-ratio: 660 / 1434; }
.formats-foot { margin-top: clamp(72px, 10vh, 112px); }
.pipeline { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 64px; font-family: var(--mono); font-size: .8125rem; line-height: 1.6; color: #C9CBCE; }
.pipeline-label { display: block; margin-bottom: 6px; color: var(--muted); font-weight: 600; }
.offers-actions { margin-top: 40px; }

/* Wide screens: the formats travel sideways under a pinned stage. */
.formats-progress { display: none; }
.formats-run.is-live .formats-progress { position: absolute; left: max(var(--gutter), calc((100vw - var(--max)) / 2)); right: max(var(--gutter), calc((100vw - var(--max)) / 2)); bottom: 28px; display: grid; grid-template-columns: repeat(3, 1fr); font-family: var(--mono); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.formats-progress span { padding-top: 10px; border-top: 2px solid var(--line-dark); }
.formats-progress i { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--fp, 0)); }
.formats-run.is-live { height: calc(100svh - var(--hh) + var(--pan, 200svh)); }
.formats-run.is-live .formats-pin { position: sticky; top: var(--hh); height: calc(100svh - var(--hh)); overflow: hidden; display: flex; align-items: center; }
.formats-run.is-live .formats-track { display: flex; gap: clamp(48px, 5vw, 96px); max-width: none; width: max-content; margin: 0; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); transform: translate3d(calc(var(--fx, 0) * -1px), 0, 0); will-change: transform; }
.formats-run.is-live .format { width: min(1040px, 74vw, calc((100svh - var(--hh) - 250px) * 16 / 9)); }
.formats-run.is-live .format-head { grid-template-columns: 48px minmax(0, 1fr); }
.formats-run.is-live .format-text { grid-column: 2; }


@media (max-width: 1023px) {
  .formats-head { grid-template-columns: 1fr; }
  .format-head { grid-template-columns: 44px minmax(0, 1fr); }
  .format-text { grid-column: 2; }
}
@media (max-width: 767px) {
  .formats { padding-block: 88px 96px; }
  .formats-index { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .formats-index li { font-size: .875rem; }
  .format-head { grid-template-columns: 1fr; gap: 6px; }
  .format-text { grid-column: auto; }
  .reel-media { grid-template-columns: 1.15fr 1fr; justify-content: stretch; gap: 12px; }
  .reel-film, .reel-still { width: 100%; height: auto; }
  .reel-media .reel-still:last-of-type { display: none; }
  .pipeline { grid-template-columns: 1fr; font-size: .75rem; }
  .offers-actions .button { width: 100%; }
}

/* ---------- work index ----------
   One line per piece of work. On a fine pointer a single preview follows the
   cursor and opens like the hero vanes: eight lamellae widen into the film. */
@property --o { syntax: "<number>"; inherits: false; initial-value: 0; }
.work { position: relative; background: var(--paper); padding-block: clamp(112px, 16vh, 200px) clamp(40px, 6vh, 72px); }
.work-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; }
.work-head .kicker { grid-column: 1 / -1; }
.work-head .chapter-title { font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: .98; }
.work-head .lead { color: var(--graphite); max-width: 40ch; }
.work-list { margin-top: clamp(48px, 8vh, 96px); border-bottom: 1px solid var(--ink); }
.work-item { border-top: 1px solid var(--ink); }
.work-link { position: relative; display: grid; grid-template-columns: 56px minmax(0, 2.2fr) minmax(0, .7fr) minmax(0, 1.1fr) 40px; gap: 8px 24px; align-items: baseline; padding: clamp(20px, 3vh, 32px) 0; color: var(--ink); text-decoration: none; transition: opacity .35s var(--ease); }
.work-no { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--graphite); }
.work-name { font-size: clamp(2rem, 4.6vw, 4.5rem); line-height: .95; font-weight: 700; letter-spacing: -.045em; transition: transform .5s var(--ease), color .3s var(--ease); overflow-wrap: anywhere; }
.work-kind { font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.work-what { font-size: 1.0625rem; line-height: 1.4; color: var(--graphite); }
.work-arrow { justify-self: end; font-size: 1.5rem; transition: transform .4s var(--ease), color .3s var(--ease); }
.work-thumb { display: none; }
.work-link:hover .work-name, .work-link:focus-visible .work-name { transform: translateX(16px); }
.work-link:hover .work-arrow, .work-link:focus-visible .work-arrow { color: var(--signal); transform: translateX(6px); }
.work-link:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.work-list:has(.work-link:hover) .work-link:not(:hover) { opacity: .28; }
.work-preview { position: fixed; left: 0; top: 0; z-index: 20; width: 248px; aspect-ratio: 9 / 16; pointer-events: none; overflow: hidden; border-radius: 10px; background: #07080A; visibility: hidden;
  --o: 0; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) translate(-50%, -50%) rotate(var(--pr, 0deg)) scale(calc(.86 + .14 * var(--o)));
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0, #000 calc(var(--o) * 12.5%), transparent calc(var(--o) * 12.5%), transparent 12.5%);
  mask-image: repeating-linear-gradient(90deg, #000 0, #000 calc(var(--o) * 12.5%), transparent calc(var(--o) * 12.5%), transparent 12.5%);
  transition: --o .7s var(--ease-io), visibility 0s .7s; }
.work-preview.is-wide { width: 520px; aspect-ratio: 16 / 9; }
.work-preview.is-on { --o: 1.001; visibility: visible; transition: --o .7s var(--ease-io), visibility 0s; }
.work-preview video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px), (hover: none), (pointer: coarse) {
  .work-preview { display: none; }
  .work-link { grid-template-columns: 40px minmax(0, 1fr) 96px; grid-template-rows: auto auto auto; row-gap: 6px; }
  .work-no { grid-row: 1; }
  .work-name { grid-column: 2; grid-row: 1; }
  .work-kind { grid-column: 2; grid-row: 2; }
  .work-what { grid-column: 2; grid-row: 3; font-size: 1rem; }
  .work-thumb { display: block; grid-column: 3; grid-row: 1 / span 3; align-self: center; width: 96px; height: 128px; object-fit: cover; border-radius: 8px; background: #07080A; box-shadow: 0 14px 28px -18px rgb(14 15 17 / .6); }
  .work-arrow { display: none; }
  .work-list:has(.work-link:hover) .work-link:not(:hover) { opacity: 1; }
  .work-link:hover .work-name { transform: none; }
}
@media (max-width: 767px) {
  .work-head { grid-template-columns: 1fr; }
  .work-head .chapter-title { font-size: clamp(2.375rem, 10.6vw, 3rem); }
  .work-link { grid-template-columns: 32px minmax(0, 1fr) 76px; column-gap: 12px; }
  .work-thumb { width: 76px; height: 104px; }
  .work-name { font-size: clamp(1.25rem, 6.6vw, 2.5rem); }
}
@media (max-width: 359px) {
  .work-link { grid-template-columns: 26px minmax(0, 1fr) 60px; }
  .work-thumb { width: 60px; height: 80px; }
}
.contact-time:not([hidden]) { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }

/* ---------- principle ---------- */
.principle { background: var(--paper); padding-block: clamp(120px, 20vh, 240px); }
.principle-line { font-size: clamp(2.5rem, 6.4vw, 6rem); line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.principle-line span { display: block; color: var(--graphite); }
@media (max-width: 767px) { .principle { padding-block: 112px; } .principle-line { font-size: clamp(2.25rem, 10.6vw, 3rem); } }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--paper); padding-block: clamp(112px, 15vh, 184px) clamp(96px, 12vh, 144px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 64px; align-items: start; }
.contact-heading .chapter-title { font-size: clamp(3rem, 6.6vw, 6rem); line-height: .96; }
.contact-heading .lead { margin-top: 32px; max-width: 30ch; color: #C9CBCE; }
.contact-person { display: grid; margin-top: 48px; padding-left: 16px; border-left: 2px solid var(--signal); }
.contact-person span { color: var(--muted); font-size: .9375rem; }
.contact-email { display: inline-block; margin-top: 24px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact-email:hover { text-decoration-color: var(--signal); }

.contact-form { padding-top: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-dark); border-radius: 8px; background: var(--dark); color: var(--paper); font-size: 1rem; line-height: 1.4; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.field textarea { min-height: 144px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #4A4F57; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--signal); background-color: var(--elev); box-shadow: 0 0 0 1px var(--signal); }
.field ::placeholder { color: #7D828A; opacity: 1; }
.field-help { color: var(--muted); font-size: .875rem; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-options { margin-top: 20px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.form-options summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; font-weight: 600; list-style: none; }
.form-options summary::-webkit-details-marker { display: none; }
.form-options summary span { margin-left: 8px; margin-right: auto; color: var(--muted); font-weight: 500; }
.form-options summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; transition: transform .24s var(--ease); }
.form-options[open] summary::after { transform: rotate(45deg); }
.form-options .form-grid { padding-bottom: 24px; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-submit p { flex: 1 1 260px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }

@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .contact { padding-block: 96px 88px; }
  .contact-heading .chapter-title { font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .form-grid { grid-template-columns: 1fr; }
  .form-submit .button { width: 100%; }
  .contact-person { margin-top: 32px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-dark); padding-block: 56px 48px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 32px 64px; align-items: start; }
.footer-claim { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.footer-brand img { width: 168px; height: auto; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; font-size: .9375rem; overflow-wrap: anywhere; }
.footer-links a { text-decoration: none; padding: 4px 0; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-tools { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: .875rem; }
.motion-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--line-dark); border-radius: 999px; background: none; color: var(--paper); font-size: .875rem; font-weight: 600; cursor: pointer; }
.motion-toggle:hover { border-color: var(--paper); }
.motion-toggle-dot { width: 22px; height: 12px; border-radius: 999px; background: var(--signal); position: relative; transition: background-color .2s var(--ease); }
.motion-toggle-dot::after { content: ""; position: absolute; top: 2px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transition: left .2s var(--ease); }
.motion-toggle[aria-pressed="true"] .motion-toggle-dot { background: var(--line-dark); }
.motion-toggle[aria-pressed="true"] .motion-toggle-dot::after { left: 2px; background: var(--muted); }
.lang-switch a { color: var(--paper); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-claim { grid-column: 1 / -1; } }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; } .footer-links { gap: 4px 32px; } .footer-links a { padding: 8px 0; } }

/* ---------- reveal (flow chapters) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

html.motion-off *, html.motion-off *::before, html.motion-off *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- thank-you page: the need turns into form, once ---------- */
.thanks { min-height: calc(100svh - var(--hh)); display: grid; align-items: center; padding-block: 48px 72px; }
.thanks-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; }
.thanks-vanes { height: min(46vh, 420px); animation: thanks-turn 2.2s .5s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes thanks-turn { from { --p: 0; } to { --p: 1; } }
.thanks-copy h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.thanks-copy .lead { margin-top: 24px; color: var(--graphite); max-width: 36ch; }
.thanks-copy .button { margin-top: 32px; }
@media (max-width: 1023px) { .thanks-grid { grid-template-columns: 1fr; } .thanks-vanes { height: min(34vh, 300px); } }
