/* CNCR.tech · site styles. Dark-first, single theme by design (see DESIGN.md). */
:root {
  color-scheme: dark;
  --ink: #0C0B10;
  --panel: #121017;
  --panel-2: #17141E;
  --line: #26222E;
  --line-2: #3A3444;
  --bone: #F3F0F6;
  --soft: #BDB7C6;
  --mute: #8C8697;
  --graphite: #4A4553;
  --eosin: #E23BD0;
  --apricot: #FFB38A;
  --hema: #6B3FE0;
  --fluor: #33D6A5;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --fs-mega: clamp(4.5rem, 15vw, 13rem);
  --fs-mega-2: clamp(3.25rem, 11vw, 10rem);
  --fs-display: clamp(2.4rem, 12.2vw, 6.25rem);
  --fs-display-wide: clamp(3.5rem, 7vw, 6.25rem);
  --fs-step: clamp(2.6rem, 6.4vw, 6rem);
  --fs-step-phone: clamp(2.3rem, 11vw, 3.4rem);
  --fs-title: clamp(2.4rem, 5.6vw, 4.75rem);
  --fs-h2: clamp(1.8rem, 3.6vw, 3.1rem);
  --fs-h3: clamp(1.5rem, 2.9vw, 2.5rem);
  --fs-h4: clamp(1.2rem, 2vw, 1.75rem);
  --fs-lead: clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .6875rem;
  --fs-label-l: .75rem;
  --fs-micro: .625rem;
  --grid: 44px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 64px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}
* { box-sizing: border-box; }
html {
  background:
    linear-gradient(#ffffff09 1px, transparent 1px) 0 0 / var(--grid) var(--grid),
    linear-gradient(90deg, #ffffff09 1px, transparent 1px) 0 0 / var(--grid) var(--grid),
    var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-gutter: stable;   /* locking the scroll (intro finale, form sheet) never shifts the layout */
}
body { margin: 0; background: transparent; color: var(--bone); font: 400 var(--fs-body)/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
::selection { background: var(--eosin); color: var(--ink); }
:focus-visible { outline: 2px solid var(--eosin); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--bone); color: var(--ink); padding: 10px 14px; font: 500 12px/1 var(--mono); transform: translateY(-160%); }
.skip:focus { transform: none; }

/* the fixed voxel field sits under everything */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; }
main, footer { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.display { font-size: var(--fs-display); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; text-transform: uppercase; }
@media (min-width: 821px) { .display { font-size: var(--fs-display-wide); } }
.title { font-size: var(--fs-title); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; text-transform: uppercase; }
.lead { font-size: var(--fs-lead); line-height: 1.35; letter-spacing: -.01em; max-width: 34ch; }
.body { color: var(--soft); max-width: 56ch; }
.label { font: 500 var(--fs-label)/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.nc { text-transform: none; }
.sq { display: inline-block; width: .42em; height: .42em; background: var(--eosin); flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 var(--fs-label-l)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: var(--bone); border: 1px solid var(--bone); border-radius: 2px;
  padding: 17px 20px; cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn::before { content: ''; width: 8px; height: 8px; background: var(--eosin); transition: background-color 160ms ease; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--line-2); }
.btn.ghost::before { background: var(--bone); }
.btn.small { padding: 12px 14px; }
.btn.small::before { width: 6px; height: 6px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--eosin); border-color: var(--eosin); color: var(--ink); }
  .btn:hover::before { background: var(--ink); }
  .btn.ghost:hover { background: transparent; color: var(--eosin); border-color: var(--eosin); }
  .btn.ghost:hover::before { background: var(--eosin); }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 3D cube (a square at rest, a cube when touched) ---------- */
.cube3d { --s: 16px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(0) rotateY(0); transition: transform 650ms cubic-bezier(.16, 1, .3, 1); flex: none; }
.cube3d i { position: absolute; inset: 0; background: var(--eosin); backface-visibility: hidden; }
.cube3d i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube3d i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); background: #7A1470; }
.cube3d i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: #A6209A; }
.cube3d i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: #EE6BDF; }
.cube3d i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: #F5A3EC; }
.cube3d i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #5E0F57; }
.turns:hover .cube3d, .turns:focus-within .cube3d { transform: rotateX(-32deg) rotateY(-42deg); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav-h);
  background: rgba(12, 11, 16, .6); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand svg { height: 22px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a { font: 500 var(--fs-label)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-decoration: none; padding: 8px 0; display: inline-flex; align-items: center; gap: 8px; transition: color 160ms ease; }
.nav-links a::before { content: ''; width: 6px; height: 6px; background: var(--eosin); transform: scale(0); transition: transform 200ms var(--ease-out); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--bone); }
.nav-links a[aria-current="true"]::before { transform: scale(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 2px; }
.lang button { background: none; border: 0; padding: 8px 9px; font: 500 var(--fs-label)/1 var(--mono); letter-spacing: .08em; color: var(--mute); cursor: pointer; transition: color 160ms ease, background-color 160ms ease; }
.lang button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 2px; width: 40px; height: 36px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--bone); transition: transform 220ms var(--ease-out); }
.menu-btn span:first-child { top: 13px; } .menu-btn span:last-child { top: 21px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 19; background: rgba(12, 11, 16, .96);
  padding: 32px var(--gutter); display: grid; align-content: start; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 220ms ease, transform 280ms var(--ease-out), visibility 0s linear 280ms;
}
.menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms ease, transform 280ms var(--ease-out); }
.menu a { font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu .cta-row { margin-top: 24px; }

/* ---------- background anchors: where the cube field composes for each section ---------- */
.bg { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; pointer-events: none; }
.bg-abs { position: absolute; inset: 0; pointer-events: none; }
main > section { position: relative; }
/* text sits on the cubes: a soft ink halo keeps it readable */
.hero-copy .display, .hero-copy .lead, .problem-text .title, .problem-text .lead, .problem-lines, .problem-close .title,
.pipe-step, .track-copy .title, .track-copy .lead, .vision-copy > *, .vision-close > *, .final-copy .title, .final-copy .lead {
  text-shadow: 0 1px 2px rgba(12, 11, 16, .6), 0 0 28px rgba(12, 11, 16, .85);
}

/* ---------- intro: CANCER → CNCR.tech, then the wordmark docks into the nav ---------- */
.intro { min-height: 100svh; }
.js .intro { height: 300vh; }
.intro-stage { height: 100svh; display: grid; place-items: center; padding-inline: var(--gutter); }
.js .intro-stage { position: sticky; top: 0; }
.intro-logo { position: fixed; z-index: 25; left: calc(50% - min(46vw, 520px)); top: calc(50% - min(92vw, 1040px) * .1563); width: min(92vw, 1040px); transform-origin: 0 0; will-change: transform; pointer-events: none; }
.intro-logo.gone { visibility: hidden; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* the forms' bot trap */
html.intro-hold { overflow: hidden; }   /* the page waits for the logo's finale; also stops a running touch fling */
html:not(.js) .intro-logo { display: none; }
.intro-static { width: min(92vw, 900px); }
.intro-sub { position: absolute; left: 50%; top: calc(50% + min(92vw, 1040px) * .1563 + clamp(20px, 4vh, 40px)); transform: translateX(-50%); width: min(100% - 2 * var(--gutter), 36ch); text-align: center; font-size: var(--fs-lead); line-height: 1.35; color: var(--soft); text-wrap: balance; text-shadow: 0 0 24px var(--ink); }
html:not(.js) .intro-sub { position: static; transform: none; margin-top: 24px; }
.intro-hint { position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.intro-hint::after { content: ''; width: 1px; height: 28px; background: linear-gradient(var(--mute), transparent); }
/* the flying intro logo lands exactly on the nav wordmark, so the swap is instant; a fade would blink */
.js .brand.hidden { opacity: 0; pointer-events: none; }

/* ---------- claim ---------- */
.hero { min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 96px)); display: grid; grid-template-rows: 1fr auto; }
.hero .wrap { display: grid; align-items: center; }
.hero-copy { display: grid; gap: 28px; max-width: 760px; }
.hero-hint { position: absolute; right: var(--gutter); bottom: 96px; }
@media (pointer: coarse) { .hero-hint { display: none; } }
.ticker { position: relative; border-block: 1px solid var(--line); overflow: hidden; margin-top: 40px; background: rgba(12, 11, 16, .55); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 18px 0; }
.ticker li { display: flex; align-items: center; gap: 22px; padding-right: 22px; font: 500 var(--fs-label-l)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.ticker li::after { content: ''; width: 7px; height: 7px; background: var(--eosin); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- problem: four named worlds ---------- */
.problem-main { padding-block: clamp(120px, 18vh, 200px) 12vh; }
.problem-text { display: grid; gap: 28px; align-content: start; max-width: 520px; }
.problem-lines { list-style: none; padding: 0; margin: 10vh 0 0; display: grid; gap: 20vh; }
.problem-lines li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; font-size: var(--fs-h3); line-height: 1.16; letter-spacing: -.02em; font-weight: 600; transition: opacity 300ms ease, color 300ms ease; }
.problem-lines li::before { content: ''; width: 12px; height: 12px; background: var(--graphite); transform: translateY(-2px); transition: background-color 300ms ease; }
.js .problem-lines li { opacity: .5; }
.js .problem-lines li.on { opacity: 1; }
.js .problem-lines li.on::before { background: var(--eosin); }
.problem-close { min-height: 80svh; display: grid; align-items: center; padding-bottom: 6vh; }
.problem-close .title { max-width: 12ch; }

/* ---------- pipeline ---------- */
.js .pipeline { height: 640vh; }
.js .pipe-sticky { position: sticky; top: 0; height: 100svh; }
.pipe-inner { position: relative; height: 100%; display: grid; grid-template-rows: auto auto auto; align-content: center; gap: 36px; padding-top: calc(var(--nav-h) + 20px); padding-bottom: 28px; }
.pipe-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); position: relative; }
.pipe-rail::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--eosin); transform-origin: left; transform: scaleX(var(--p, 0)); }
.pipe-rail li { padding-top: 14px; display: grid; gap: 6px; font: 500 var(--fs-label-l)/1 var(--mono); letter-spacing: .1em; color: var(--mute); transition: color 240ms ease; }
.pipe-rail li b { font-weight: 500; }
.pipe-rail li span { font-size: var(--fs-micro); color: var(--mute); }
.pipe-rail li.on, .pipe-rail li.done { color: var(--bone); }
.pipe-rail li.on b::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--eosin); margin-right: 8px; vertical-align: 1px; }
.pipe-steps { display: grid; align-content: start; max-width: 440px; }
.pipe-step { grid-area: 1 / 1; display: grid; gap: 18px; align-content: center; }
.pipe-step h3 { font-size: var(--fs-step); line-height: .92; letter-spacing: -.04em; }
.pipe-step h3 small { display: block; font: 500 var(--fs-label-l)/1 var(--mono); letter-spacing: .12em; color: var(--eosin); margin-bottom: 16px; }
.pipe-step p { font-size: var(--fs-lead); line-height: 1.4; color: var(--soft); max-width: 28ch; }
.js .pipe-step { opacity: 0; filter: blur(6px); transform: translateY(14px); transition: opacity 360ms ease, filter 360ms ease, transform 420ms var(--ease-out); pointer-events: none; }
.js .pipe-step.on { opacity: 1; filter: none; transform: none; pointer-events: auto; }
html:not(.js) .pipe-steps { gap: 56px; }
html:not(.js) .pipe-step { grid-area: auto; }

/* ---------- three ways in: the cubes live behind the cards ---------- */
.ways { padding-block: clamp(100px, 16vh, 180px); }
.ways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way {
  --a1: var(--eosin); --a2: var(--apricot);
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px;
  min-height: 520px; padding: 28px; background: rgba(12, 11, 16, .28); border: 1px solid var(--line); border-radius: 4px;
  transition: border-color 240ms ease, background-color 240ms ease;
}
.way::before { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 60% at 100% 110%, color-mix(in srgb, var(--a1) 30%, transparent), transparent 70%); opacity: .4; transition: opacity 400ms ease; pointer-events: none; }
.way:hover { border-color: var(--line-2); background: rgba(12, 11, 16, .12); }
.way:hover::before { opacity: .9; }
.way > * { position: relative; }
.way[data-amb="fluor"] { --a1: var(--fluor); --a2: #B9F5DF; }
.way[data-amb="hema"] { --a1: var(--hema); --a2: var(--eosin); }
.way h3 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.035em; text-transform: uppercase; margin-top: auto; }
.way p { color: var(--soft); text-shadow: 0 0 18px var(--ink); }
.way p.strong { color: var(--bone); font-weight: 600; }
.way .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- closing chapters: each reads as its own section ---------- */
.chapter-sec { border-top: 1px solid var(--line); }
.chapter-sec.band { background: rgba(18, 16, 23, .62); }
.chapter { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(36px, 6vh, 64px); font: 500 var(--fs-label-l)/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.chapter::before { content: ''; width: 10px; height: 10px; background: var(--eosin); }
.chapter::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.track .chapter, .vision .chapter { grid-column: 1 / -1; }
.rk .chapter, .about .chapter { grid-column: 1 / -1; }

/* ---------- track 2027: the year sits behind the copy ---------- */
.track { min-height: 100svh; padding-block: clamp(120px, 20vh, 220px) clamp(80px, 12vh, 140px); display: grid; align-items: end; }
.track .wrap { display: grid; gap: 40px; }
.track-copy { display: grid; gap: 22px; max-width: 640px; }
.track-items { list-style: none; padding: 32px 0 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 26px; }
.track-items li { display: inline-flex; align-items: center; gap: 26px; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.03em; line-height: 1.16; color: var(--soft); }
.track-items li:not(:last-child)::after { content: ''; width: .28em; height: .28em; background: var(--eosin); }
.track-goal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.track-goal p { font-size: var(--fs-lead); }

/* ---------- what counts as cancertech ---------- */
.ct { padding-block: clamp(110px, 17vh, 190px); }
.ct-head { display: grid; gap: 20px; margin-bottom: 56px; }
.ct-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ct-tile { background: rgba(12, 11, 16, .86); padding: 26px 24px 30px; min-height: 220px; display: grid; grid-template-rows: auto 1fr; gap: 16px; position: relative; transition: background-color 240ms ease; }
.ct-tile:hover { background: rgba(23, 20, 30, .92); }
.ct-tile h3 { font-size: var(--fs-h4); line-height: 1.12; letter-spacing: -.02em; text-transform: uppercase; padding-right: 30px; }
.ct-tile p { color: var(--mute); font-size: var(--fs-small); line-height: 1.5; align-self: end; transition: color 240ms ease; }
.ct-tile:hover p { color: var(--soft); }
.ct-tile .cube3d { position: absolute; top: 28px; right: 24px; --s: 14px; }

/* ---------- rakathon ---------- */
.rk { padding-block: clamp(100px, 16vh, 180px); }
.rk .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; }
.rk-copy { display: grid; gap: 22px; align-content: start; }
.rk-copy .lead { max-width: 30ch; }

/* ---------- vision: the 10 × 16 floor behind the copy ---------- */
.vision { min-height: 100svh; padding-block: clamp(100px, 16vh, 180px); display: grid; align-items: center; }
.vision .wrap { display: grid; gap: 72px; }
.vision .mega { font-size: var(--fs-mega); font-weight: 700; letter-spacing: -.05em; line-height: .86; text-transform: uppercase; }
.vision-copy { display: grid; gap: 22px; max-width: 560px; }
.vision-close { display: grid; gap: 14px; }
.vision-close p { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.02em; color: var(--soft); }
.vision-close p.display { font-size: var(--fs-mega-2); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--bone); }

/* ---------- about + partners ---------- */
.about { padding-block: clamp(110px, 16vh, 180px); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 48px; }
@media (min-width: 821px) {
  .about .wrap { grid-template-rows: auto auto 1fr; column-gap: clamp(48px, 7vw, 112px); }
  .about .title { grid-column: 2; grid-row: 2; }
  .about .person { grid-column: 1; grid-row: 2 / span 2; }
  .about .about-copy { grid-column: 2; grid-row: 3; align-self: start; }
}
/* the portrait: brand neutrals in black & white, the logo's cube as its full stop */
.person { position: relative; margin: 0; width: min(100%, 420px); }
.person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.person picture { display: block; position: relative; }
.person picture::after { content: ''; position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; background: var(--eosin); }
.person figcaption { display: grid; gap: 6px; margin-top: 16px; }
.person-name { font: 600 var(--fs-small)/1.2 var(--sans); color: var(--bone); }
.person-role { font: 500 var(--fs-label)/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.about-copy { display: grid; gap: 20px; }
.about-copy p:first-child { color: var(--bone); font-size: var(--fs-lead); line-height: 1.35; }
.partners { padding-block: clamp(110px, 16vh, 180px); }
.partners-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 48px; margin-bottom: 48px; }
.invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 56px); border: 1px dashed var(--line-2); border-radius: 4px; background: rgba(18, 16, 23, .6); }
.invite .h { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-transform: uppercase; }

/* ---------- final ---------- */
.final { min-height: 100svh; display: grid; align-items: center; padding-block: clamp(100px, 14vh, 160px); }
.final-copy { display: grid; gap: 26px; max-width: 700px; }
.final-copy .cta-row { margin-top: 12px; }

/* ---------- pink variants (preview only) ---------- */
.accent { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: grid; gap: 8px; padding: 12px; background: rgba(12, 11, 16, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 4px; }
.accent[hidden] { display: none; }
.accent-row { display: flex; gap: 6px; }
.accent-row button { width: 30px; height: 30px; border: 1px solid transparent; border-radius: 2px; padding: 0; cursor: pointer; background: var(--c); transition: transform 120ms var(--ease-out); }
.accent-row button:active { transform: scale(.94); }
.accent-row button[aria-pressed="true"] { border-color: var(--bone); box-shadow: 0 0 0 2px var(--ink) inset; }
.accent .label b { color: var(--bone); font-weight: 500; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); background: rgba(12, 11, 16, .8); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.foot-mark svg { width: min(100%, 560px); height: auto; }
.foot-mark .lockline { margin-top: 18px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; list-style: none; padding: 0; margin: 0; }
.foot-nav a { color: var(--soft); text-decoration: none; font: 500 var(--fs-label)/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.foot-nav a:hover { color: var(--eosin); }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- sticky mobile CTA ---------- */
.dock { display: none; }

/* ---------- form sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 40; visibility: hidden; transition: visibility 0s linear 420ms; }
.sheet-wrap.open { visibility: visible; transition: none; }
.scrim { position: absolute; inset: 0; background: rgba(6, 5, 9, .64); opacity: 0; transition: opacity 320ms ease; }
.sheet-wrap.open .scrim { opacity: 1; }
.sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(580px, 100%);
  background: var(--panel); border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr;
  transform: translateX(100%); transition: transform 420ms var(--ease-drawer); will-change: transform;
}
.sheet-wrap.open .sheet { transform: none; }
.sheet-head { padding: 18px 24px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-handle { display: none; }
.close-btn { background: none; border: 1px solid var(--line-2); width: 38px; height: 38px; border-radius: 2px; cursor: pointer; display: grid; place-items: center; transition: border-color 160ms ease, transform 120ms var(--ease-out); }
.close-btn:hover { border-color: var(--eosin); }
.close-btn:active { transform: scale(.94); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 2px; position: relative; }
.tabs::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% / 3); background: var(--bone); transform: translateX(calc(var(--tab, 0) * 100%)); transition: transform 280ms var(--ease-out); }
.tabs button { position: relative; background: none; border: 0; padding: 12px 8px; font: 500 var(--fs-label)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); cursor: pointer; transition: color 200ms ease; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 24px 24px calc(32px + env(safe-area-inset-bottom, 0px)); }
.sheet form { display: grid; gap: 20px; }
.sheet form[hidden] { display: none; }
.form-intro { font-size: var(--fs-lead); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.field { display: grid; gap: 8px; }
.field > label, .field > .flabel { font: 500 var(--fs-label)/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); display: flex; justify-content: space-between; gap: 8px; }
.field > label em, .field > .flabel em { font-style: normal; color: var(--mute); text-transform: none; letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink); color: var(--bone); border: 1px solid var(--line-2); border-radius: 2px;
  padding: 13px 14px; font: 400 var(--fs-body)/1.4 var(--sans); transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--eosin); box-shadow: 0 0 0 3px rgba(226, 59, 208, .18); }
.field .err { color: #FF7A9C; font-size: var(--fs-small); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #FF7A9C; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 2px; font: 500 var(--fs-label)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease; }
.choice span::before { content: ''; width: 8px; height: 8px; border: 1px solid var(--mute); transition: background-color 160ms ease, border-color 160ms ease; }
.choice input:checked + span { border-color: var(--bone); color: var(--bone); }
.choice input:checked + span::before { background: var(--eosin); border-color: var(--eosin); }
.choice input:focus-visible + span { outline: 2px solid var(--eosin); outline-offset: 2px; }
.form-foot { display: grid; gap: 14px; padding-top: 6px; }
.form-foot .btn { justify-self: start; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; }
.status { border: 1px solid var(--line-2); border-radius: 2px; padding: 16px; display: grid; gap: 12px; }
.status.ok { border-color: var(--bone); }
.status p { font-size: var(--fs-body); }
.status[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-block; }
  .nav-right { margin-left: auto; }
  .ways-grid { grid-template-columns: minmax(0, 1fr); }
  .way { min-height: 0; }
  .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --nav-h: 58px; }
  .nav .btn.join { display: none; }
  .js .intro { height: 280vh; }
  .hero { padding-top: calc(var(--nav-h) + 28px); }
  .hero .wrap { align-items: end; padding-bottom: 8px; }
  .hero-copy { gap: 22px; }
  .hero-hint { display: none; }
  .rk .wrap, .about .wrap, .partners-head, footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .person { width: min(100%, 340px); }
  .problem-lines { margin-top: 8vh; gap: 16vh; }
  .problem-close { min-height: 70svh; }
  .js .pipeline { height: 470vh; }
  .pipe-inner { gap: 16px; }
  .pipe-inner { align-content: end; gap: 22px; padding-bottom: 20px; }
  .pipe-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pipe-rail li b { display: none; }
  .pipe-rail li span { font-size: var(--fs-label); color: var(--mute); }
  .pipe-rail li.on span { color: var(--eosin); }
  .pipe-rail li.done span { color: var(--bone); }
  .pipe-step h3 { font-size: var(--fs-step-phone); }
  .way { min-height: 380px; }
  .vision .wrap { gap: 48px; }
  .row2 { grid-template-columns: 1fr; }
  .accent { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); left: 12px; }
  .dock {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 18;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 11, 16, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 320ms var(--ease-out);
  }
  .dock.show { transform: none; }
  .dock .btn { justify-content: center; min-width: 0; white-space: normal; text-align: center; letter-spacing: .04em; line-height: 1.25; padding: 13px 10px; }
  footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .sheet { top: auto; left: 0; width: 100%; max-height: 92svh; border-left: 0; border-top: 1px solid var(--line); border-radius: 4px 4px 0 0; transform: translateY(100%); }
  .sheet-handle { display: block; width: 44px; height: 4px; background: var(--line-2); border-radius: 2px; margin: 0 auto 4px; }
  .sheet-head { touch-action: none; cursor: grab; }
}
@media (max-width: 560px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-tile { min-height: 0; }
  .lang button { padding: 8px 7px; }
}

/* motion is on by default; the nav button pauses everything that moves on its own */
html.still { scroll-behavior: auto; }
html.still .ticker-track { animation-play-state: paused; }
.motion-btn { position: relative; width: 36px; height: 34px; background: none; border: 1px solid var(--line-2); border-radius: 2px; cursor: pointer; transition: border-color 160ms ease, transform 120ms var(--ease-out); }
.motion-btn:hover { border-color: var(--eosin); }
.motion-btn:active { transform: scale(.94); }
.motion-btn i { position: absolute; left: 50%; top: 50%; width: 10px; height: 11px; transform: translate(-50%, -50%); background: linear-gradient(90deg, var(--bone) 0 32%, transparent 32% 68%, var(--bone) 68%); }
html.still .motion-btn i { width: 10px; height: 12px; background: var(--eosin); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translate(-40%, -50%); }
