/* LaunchPad home page, draft at /next/ (third build, 2026-12-01)
   Built to the approved frames in reports/design-lock/. Rules:
   light page (white and cream); dark only as a rounded window onto the galaxy;
   pills for every action; big type at medium weight; 1px hairlines; one idea per screen.
   The galaxy canvas is fixed behind the page. A "window" is a transparent rounded
   box whose huge shadow paints the page colour around it. */

:root {
  --space: #0D0D0D; --ink: #171717; --slate: #393C3D; --gray: #BCBCBC; --cream: #E9E9D6; --white: #FFFFFF;
  --line: rgba(23, 23, 23, .16); --line-strong: rgba(23, 23, 23, .42);
  --display: 'Nohemi', 'Halenoir Compact Text', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Halenoir Compact Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Gambetta', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: clamp(16px, 2.3vw, 32px);
  --r-panel: clamp(18px, 2vw, 28px);
  --r-media: clamp(14px, 1.5vw, 22px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { margin: 0; background: var(--space); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4.5vw, 68px); line-height: 1; text-wrap: balance; }
.tag { margin: 0 0 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(23, 23, 23, .6); }
.center { text-align: center; }

#stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#stage canvas { display: block; width: 100%; height: 100%; }
main { position: relative; z-index: 1; display: block; }

/* ── pills ── */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 13.5px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .15s var(--ease);
}
.pill:hover { border-color: var(--ink); }
.pill:active { transform: scale(.97); }
.pill.dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill.dark:hover { background: #000; }
.pill.dark i { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); display: block; transition: transform .3s var(--ease); }
.pill.dark:hover i { transform: scale(1.5); }
.pill.big { height: 48px; padding: 0 22px; font-size: 15px; }

/* ── floating nav ── */
.nx-pills { position: fixed; top: clamp(14px, 1.7vw, 24px); z-index: 40; display: flex; gap: 8px; align-items: center; }
.nx-left { left: var(--pad); }
.nx-right { right: var(--pad); }
.nx-word { position: fixed; z-index: 39; top: clamp(14px, 1.7vw, 24px); left: 50%; transform: translateX(-50%); height: 38px; display: flex; align-items: center; mix-blend-mode: difference; }
.nx-word img { height: 22px; width: auto; filter: brightness(0) invert(1); }
.nx-menu-btn, .nx-short { display: none; }
.nx-menu { position: fixed; inset: 0; z-index: 38; background: var(--white); padding: 96px var(--pad) 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.nx-menu[hidden] { display: none; }
.nx-menu a { display: block; padding: 0.14em 0 0.08em; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 500; font-size: clamp(34px, 11vw, 64px); letter-spacing: -0.035em; line-height: 1.05; }
.nx-menu a:last-child { border-bottom: 1px solid var(--line); }

/* ── windows onto the galaxy ── */
.nx-win { position: relative; margin: 0 var(--pad); border-radius: var(--r-panel); --rw: var(--r-panel); }
/* the page colour is painted around the window in plain strips, and the four corners are
   rounded with small gradients. No giant shadows: those can misbehave on phones. */
.nx-win::before { content: ''; position: absolute; inset: -1px; z-index: 1; pointer-events: none; background:
  radial-gradient(circle at 100% 100%, transparent calc(var(--rw) - 1px), var(--white) var(--rw)) left top / calc(var(--rw) + 1px) calc(var(--rw) + 1px) no-repeat,
  radial-gradient(circle at 0 100%, transparent calc(var(--rw) - 1px), var(--white) var(--rw)) right top / calc(var(--rw) + 1px) calc(var(--rw) + 1px) no-repeat,
  radial-gradient(circle at 100% 0, transparent calc(var(--rw) - 1px), var(--white) var(--rw)) left bottom / calc(var(--rw) + 1px) calc(var(--rw) + 1px) no-repeat,
  radial-gradient(circle at 0 0, transparent calc(var(--rw) - 1px), var(--white) var(--rw)) right bottom / calc(var(--rw) + 1px) calc(var(--rw) + 1px) no-repeat; }
.nx-hero, .nx-foot { background:
  linear-gradient(var(--white), var(--white)) left top / calc(var(--pad) + 1px) 100% no-repeat,
  linear-gradient(var(--white), var(--white)) right top / calc(var(--pad) + 1px) 100% no-repeat,
  linear-gradient(var(--white), var(--white)) left bottom / 100% calc(var(--pad) + 1px) no-repeat; }
.nx-foot { background:
  linear-gradient(var(--white), var(--white)) left top / calc(var(--pad) + 1px) 100% no-repeat,
  linear-gradient(var(--white), var(--white)) right top / calc(var(--pad) + 1px) 100% no-repeat,
  linear-gradient(var(--white), var(--white)) left top / 100% calc(var(--pad) + 1px) no-repeat,
  linear-gradient(var(--white), var(--white)) left bottom / 100% calc(var(--pad) + 1px) no-repeat; }

/* ── hero ── */
.nx-hero { position: relative; padding-bottom: var(--pad); }
.nx-hero-top { position: relative; z-index: 2; background: var(--white); margin-bottom: -1px; min-height: calc(100svh - clamp(120px, 22vh, 210px)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px var(--pad) clamp(24px, 4vh, 46px); }
.nx-h1 { position: relative; text-align: center; font-size: clamp(42px, min(10.3vw, 19.5vh), 176px); line-height: .94; }
.nx-h1 .ln { display: block; white-space: nowrap; }
.st { position: absolute; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 0.62em 1.1em; font-family: var(--sans); font-size: clamp(10.5px, 1vw, 14.5px); font-weight: 500; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
.st1 { left: 4%; top: 4%; transform: rotate(-8deg); }
.st2 { right: 7%; top: 31%; transform: rotate(7deg); }
.st3 { right: -1%; bottom: -5%; transform: rotate(-5deg); }
html.js .st { opacity: 0; }
html.js .st.in { opacity: 1; animation: stick .7s var(--ease) backwards; }
html.js .st2.in { animation-delay: .12s; }
html.js .st3.in { animation-delay: .24s; }
@keyframes stick { from { opacity: 0; translate: 0 -28px; scale: 1.25; } to { opacity: 1; translate: 0 0; scale: 1; } }
.nx-sub { margin: clamp(18px, 3.2vh, 34px) auto 0; max-width: 54ch; text-align: center; font-size: clamp(15.5px, 1.3vw, 19px); line-height: 1.5; color: rgba(23, 23, 23, .74); text-wrap: balance; }
.nx-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(20px, 3.4vh, 38px); }
.nx-hero .nx-win { height: 150svh; min-height: 620px; }
.nx-win-line { position: absolute; left: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 40px); margin: 0; max-width: 30ch; color: var(--cream); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; }

/* ── sections ── */
.nx-sec { position: relative; z-index: 2; background: var(--white); padding: clamp(72px, 13vh, 150px) var(--pad); }
.nx-sec.cream { background: var(--cream); }

/* services */
.nx-split { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(24px, 6vw, 108px); align-items: start; }
.nx-side { position: sticky; top: 110px; }
.nx-lede { margin: 20px 0 22px; max-width: 30ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--slate); }
.nx-rows { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px) 40px; align-items: center; gap: 24px; width: 100%; min-height: 104px; padding: 18px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.row b { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -0.03em; line-height: 1.05; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.row span { font-size: 15.5px; line-height: 1.4; color: var(--slate); transition: opacity .3s var(--ease); }
.row em { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.row em::before, .row em::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.row em::after { transform: translate(-50%, -50%) rotate(90deg); }
.row[aria-pressed="true"] em { background: var(--ink); border-color: var(--ink); }
.row[aria-pressed="true"] em::before { background: var(--cream); transform: translate(calc(-50% - 4.5px), calc(-50% + 2.5px)) rotate(45deg) scaleX(.55); }
.row[aria-pressed="true"] em::after { background: var(--cream); transform: translate(calc(-50% + 1.5px), -50%) rotate(-50deg) scaleX(1.05); }
@media (hover: hover) {
  .nx-rows:hover .row b, .nx-rows:hover .row span { opacity: .3; }
  .nx-rows .row:hover b { opacity: 1; transform: translateX(10px); }
  .nx-rows .row:hover span { opacity: 1; }
  .row:hover em { transform: scale(1.08); }
}
.nx-thumb { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(180px, 17vw, 260px); aspect-ratio: 4 / 5; border-radius: var(--r-media); overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); box-shadow: 0 30px 60px -24px rgba(23, 23, 23, .5); will-change: transform; }
.nx-thumb.on { opacity: 1; }
.nx-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* about */
.nx-say { max-width: 22ch; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.7vw, 56px); line-height: 1.16; letter-spacing: -0.015em; text-wrap: pretty; padding-bottom: 4px; }
#about .nx-say { max-width: 1080px; }
.nx-say i { font-style: italic; }
.route { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 88px); margin-top: clamp(48px, 9vh, 110px); align-items: start; }
.route-tabs { display: grid; }
.route-tabs button { display: block; padding: clamp(14px, 2.2vh, 24px) 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.route-tabs button:last-child { border-bottom: 1px solid var(--line); }
.route-tabs b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 62px); letter-spacing: -0.035em; line-height: 1; opacity: .28; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.route-tabs span { display: block; max-width: 30ch; margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.35; color: var(--slate); opacity: 0; transition: opacity .35s var(--ease); }
.route-tabs button[aria-selected="true"] b { opacity: 1; transform: translateX(8px); }
.route-tabs button[aria-selected="true"] span { opacity: 1; }
.route-tabs button:hover b { opacity: 1; }
.route-ph { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-panel); overflow: hidden; background: rgba(23, 23, 23, .08); }
.route-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0; transform: scale(1.05); transition: opacity .6s var(--ease), transform 1.1s var(--ease); }
.route-ph img.on { opacity: 1; transform: none; }
.route-lab { margin: 22px 0 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(23, 23, 23, .6); }
.route-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.route-chips .chip { height: 42px; padding: 0 17px; font-size: 15.5px; }
html.js .route-chips .chip { animation: chipin .5s var(--ease) backwards; animation-delay: calc(var(--k) * 45ms); }
@keyframes chipin { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.route-line { min-height: 3.1em; margin: 18px 0 0; max-width: 46ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; }
.nx-about-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(48px, 9vh, 100px); }
.nx-about-foot p { margin: 0; max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--slate); }
.nx-about-foot .motto { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.9vw, 28px); color: var(--ink); white-space: nowrap; }
.about-end { display: flex; align-items: center; gap: 20px; }

/* work: chapters. Each one takes the client's colours; on big screens they stack as you scroll. */
.nx-work { padding-left: 0; padding-right: 0; }
.nx-work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 0 var(--pad) clamp(28px, 5vh, 56px); }
.nx-chaps { display: grid; gap: var(--pad); padding: 0 var(--pad); }
.chap { position: relative; border-radius: var(--r-panel); background: var(--bg); color: var(--fg); overflow: hidden; --c: 0; --p: 0; }
.chap::after { content: ''; position: absolute; inset: 0; background: #000; opacity: calc(var(--c) * .4); pointer-events: none; }
.chap-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 56px); height: 100%; padding: clamp(22px, 3vw, 44px); }
.chap-txt { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.chap-n { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; opacity: .72; }
.chap-n .status { margin-left: 12px; padding: 3px 9px; border: 1px solid currentColor; border-radius: 999px; }
.chap h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(38px, 5.2vw, 88px); line-height: .96; letter-spacing: -0.035em; text-wrap: balance; }
.chap-line { margin: clamp(14px, 2.2vh, 24px) 0 0; max-width: 34ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.42; opacity: .9; }
.chap-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: clamp(16px, 2.6vh, 26px) 0 0; padding: 0; }
.chap-tags li { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 38%, transparent); font-size: 13px; }
.chap .pill { margin-top: 22px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chap-note { margin: 16px 0 0; font-family: var(--mono); font-size: 11px; opacity: .65; max-width: 40ch; }
.coll { position: relative; width: 100%; min-height: 0; align-self: center; aspect-ratio: 10 / 8.2; max-height: 100%; margin-left: auto; }
.pc { position: absolute; display: block; --r: 0deg; --d: 0; transform: translate3d(0, calc(var(--p) * var(--d) * 1px), 0) rotate(var(--r)); will-change: transform; }
.pc img { width: 100%; height: auto; border-radius: var(--r-media); box-shadow: 0 28px 60px -26px rgba(0, 0, 0, .6); }
.pc.bare img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .28)); }
.pc.phone img { border-radius: clamp(16px, 2vw, 30px); border: 5px solid #111; }
.pc.tile { background: #fff; border-radius: var(--r-media); padding: 2.4%; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45); }
.pc.tile img { border-radius: 0; box-shadow: none; }
.pc.tile.dark { background: #1c1210; padding: 2%; }
html.js .chap .tile { opacity: 0; scale: .7; transition: opacity .6s var(--ease), scale .8s var(--ease); }
html.js .chap.seen .tile { opacity: 1; scale: 1; }
html.js .chap.seen .m2 { transition-delay: .14s; }
html.js .chap.seen .m3 { transition-delay: .28s; }
.chap-sf    { --bg: #28272a; --fg: #F4EFE6; }
.chap-vista { --bg: #173250; --fg: #EEF3FB; }
.chap-lw    { --bg: #DDEFF1; --fg: #06323D; }
.chap-fbf   { --bg: #FFBA00; --fg: #111111; }
.chap-fuego { --bg: #2C1E1B; --fg: #FDE9DC; }
@media (min-width: 961px) and (min-height: 620px) {
  .chap { position: sticky; top: 76px; height: calc(100svh - 76px - var(--pad)); min-height: 520px; transform-origin: 50% 0; transform: scale(calc(1 - var(--c) * .045)); }
  .coll { height: 100%; aspect-ratio: auto; max-height: 720px; }
}

.partner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin: var(--pad) var(--pad) 0; padding: clamp(28px, 4vw, 60px); border: 1px solid var(--line); border-radius: var(--r-panel); }
.partner-lock { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(14px, 2vw, 30px); }
.partner-lock img { height: clamp(26px, 3.4vw, 50px); width: auto; }
.partner-lock .p-lp { filter: brightness(0); }
.partner-lock span { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 26px); color: var(--slate); }
.partner h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.03em; }
.partner-txt p:not(.tag) { margin: 12px 0 0; max-width: 42ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--slate); }
.partner .chap-tags { margin-top: 18px; }

/* contact */
.nx-contact h2 { font-size: clamp(40px, 6vw, 88px); line-height: .98; max-width: 11ch; margin: 0 auto; }
.nx-form, .nx-sent { max-width: 840px; margin: clamp(36px, 7vh, 72px) auto 0; }
.lab { margin: 0 0 16px; font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 17px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.fld { position: relative; padding-top: 34px; }
.fld input { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; padding: 6px 0 14px; font-size: 22px; line-height: 1.3; outline: none; }
.fld input:focus { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.fld label { position: absolute; left: 0; top: 40px; font-size: 22px; color: rgba(23, 23, 23, .6); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s var(--ease); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label { transform: translateY(-26px) scale(.6); color: var(--ink); }
.fld input[aria-invalid="true"] { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.err { margin: 8px 0 0; font-size: 14px; font-weight: 500; }
.end { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 34px; }
.end p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--slate); }
.note { margin: 18px 0 0; font-family: var(--mono); font-size: 11.5px; color: rgba(23, 23, 23, .62); }
.nx-sent { text-align: center; }
.nx-sent .big { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 6vw, 88px); letter-spacing: -0.035em; line-height: 1; }
.nx-sent p { margin: 18px auto 0; max-width: 38ch; font-size: 19px; }

/* footer */
.nx-foot { position: relative; z-index: 2; padding: var(--pad) 0; }
.nx-win-foot { color: var(--cream); padding: clamp(48px, 9vh, 96px) clamp(20px, 3vw, 44px) clamp(24px, 3vw, 40px); }
.go { display: grid; place-items: center; width: min(560px, 100%); height: clamp(96px, 16vh, 150px); margin: 0 auto; border-radius: 999px; border: 1px solid rgba(233, 233, 214, .42); font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.9vw, 42px); letter-spacing: -0.03em; transition: background-color .4s var(--ease), color .4s var(--ease); }
.go:hover { background: var(--cream); color: var(--ink); }
.sub { margin: 22px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; opacity: .8; }
.cols { display: flex; flex-wrap: wrap; gap: 28px clamp(36px, 6vw, 90px); margin-top: clamp(56px, 12vh, 130px); font-size: 15px; line-height: 1.9; }
.cols span { display: block; font-family: var(--mono); font-size: 11px; opacity: .55; margin-bottom: 6px; }
.cols a { display: block; }
.cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cols p { margin: 0; }
.cols .legal { margin-left: auto; text-align: right; }
.nx-win-foot .wm { width: 100%; margin-top: clamp(40px, 9vh, 110px); filter: brightness(0) invert(1); }

/* ── about page ── */
.page-about { background: var(--white); }
.nx-win.solid { background: var(--space); }
.nx-win.solid::before { display: none; }
.page-about .nx-foot { background: var(--white); }
.pill[aria-current="page"] { border-color: var(--ink); }
.ab-hero { padding: clamp(120px, 20vh, 190px) var(--pad) clamp(36px, 6vh, 64px); display: flex; flex-direction: column; align-items: center; }
.ab-hero .nx-h1 { font-size: clamp(44px, min(11vw, 22vh), 190px); }
.ab-hero .st1 { left: -9%; top: -13%; }
.ab-hero .st3 { right: -8%; bottom: -11%; }
.ab-lede { margin: clamp(26px, 5vh, 48px) 0 0; max-width: 40ch; text-align: center; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--slate); }
.ab-photo { margin: 0 var(--pad); }
.ab-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 55% 50%; border-radius: var(--r-panel); }
.ab-photo figcaption { margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: rgba(23, 23, 23, .6); }
.ab-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 108px); align-items: start; }
.ab-story .nx-say { max-width: 12ch; }
.ab-copy p { margin: 0 0 1.1em; max-width: 56ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.ab-geo { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(24px, 4vh, 40px) 0 0; padding: 0; counter-reset: g; }
.ab-geo li { counter-increment: g; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14.5px; }
.ab-geo li::before { content: counter(g); font-family: var(--mono); font-size: 11px; opacity: .6; }
.ab-geo li:first-child { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ab-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(20px, 4vh, 40px); }
.ab-people img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-panel); }
.ab-people h3 { margin: 22px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 46px); letter-spacing: -0.03em; line-height: 1; }
.ab-people .role { margin: 8px 0 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(23, 23, 23, .62); }
.ab-people p { margin: 0 0 .9em; max-width: 48ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--slate); }
.ab-people blockquote { margin: 18px 0 0; max-width: 26ch; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; padding-bottom: 4px; }
.ab-why h2 { font-size: clamp(40px, 6vw, 88px); line-height: .98; }
.ab-why-p { margin: clamp(20px, 4vh, 36px) auto 0; max-width: 46ch; text-align: center; font-size: clamp(17px, 1.4vw, 20px); color: var(--slate); }

/* ── collective page ── */
.co-hero .nx-h1 { font-size: clamp(34px, min(8.4vw, 17vh), 150px); }
.co-hero .ab-lede { max-width: 52ch; }
.co-hero .st1 { left: 3%; top: -17%; }
.co-hero .st3 { right: 5%; bottom: -15%; }
.co-photo img { aspect-ratio: 16 / 7.5; object-position: 50% 50%; }
.co-feats article { padding: clamp(22px, 3.4vh, 38px) 0; border-top: 1px solid var(--line); }
.co-feats article:last-child { border-bottom: 1px solid var(--line); }
.co-feats h3, .plan h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.2vw, 48px); letter-spacing: -0.03em; line-height: 1.05; }
.co-feats p { margin: 12px 0 0; max-width: 52ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--slate); }
.co-feats .note { margin-top: 12px; }
.co-posts { list-style: none; display: grid; gap: 8px; margin: 20px 0 0; padding: 0; max-width: 560px; }
.co-posts li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-media); font-size: 15.5px; }
.co-posts span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(23, 23, 23, .62); }
.co-feats .chap-tags li { border-color: var(--line-strong); }
.co-big { max-width: 16ch; font-size: clamp(38px, 5.6vw, 88px); line-height: .98; }
.co-sub { margin: clamp(18px, 3vh, 30px) 0 0; max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--slate); }
.co-ladder { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); margin: clamp(40px, 8vh, 90px) 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.co-ladder li { position: relative; padding-top: 26px; }
.co-ladder li::before { content: ''; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.co-ladder b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -0.035em; line-height: 1; }
.co-ladder p { margin: 12px 0 0; max-width: 30ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--slate); }
.co-seats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); margin-top: clamp(40px, 8vh, 90px); }
.co-seats p { margin: 0; max-width: 44ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--slate); }
.co-seats b { color: var(--ink); font-weight: 500; }
.co-seats .live-only, .co-seats.live .fallback { display: none; }
.co-seats.live .live-only { display: block; }
.co-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pad); margin-top: clamp(36px, 7vh, 72px); }
.plan { padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line-strong); border-radius: var(--r-panel); }
.plan.dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.plan .price { margin: 14px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 76px); letter-spacing: -0.04em; line-height: 1; }
.plan .price span { font-family: var(--sans); font-size: 16px; letter-spacing: 0; opacity: .75; }
.plan ul { list-style: none; margin: clamp(20px, 3.4vh, 34px) 0 0; padding: 0; font-size: clamp(16px, 1.25vw, 18px); }
.plan li { padding: 11px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.plan-note { margin: 22px 0 0; font-family: var(--serif); font-style: italic; font-size: 19px; }
.page-collective .nx-form .lab { max-width: 44ch; color: var(--slate); font-size: clamp(17px, 1.4vw, 20px); }
.co-mail { text-decoration: underline; text-underline-offset: 4px; }
.co-faq details { border-top: 1px solid var(--line); }
.co-faq details:last-child { border-bottom: 1px solid var(--line); }
.co-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(18px, 2.8vh, 28px) 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.025em; line-height: 1.15; }
.co-faq summary::-webkit-details-marker { display: none; }
.co-faq summary i { position: relative; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .3s var(--ease), background-color .3s var(--ease); }
.co-faq summary i::before, .co-faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: background-color .3s var(--ease); }
.co-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.co-faq details[open] summary i { transform: rotate(45deg); background: var(--ink); }
.co-faq details[open] summary i::before, .co-faq details[open] summary i::after { background: var(--cream); }
.co-faq details p { margin: 0 0 clamp(18px, 2.8vh, 28px); max-width: 58ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--slate); }

/* ── the rise: everything enters the same way ── */
html.js .lift { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .lift.in { opacity: 1; transform: none; }

/* ── phones ── */
@media (max-width: 960px) {
  .co-ladder, .co-seats, .co-plans { grid-template-columns: minmax(0, 1fr); }
  .co-ladder { border-top: 0; gap: 0; }
  .co-ladder li { padding: 22px 0 22px 26px; border-top: 1px solid var(--line-strong); }
  .co-ladder li::before { top: 30px; }
  .co-photo img { aspect-ratio: 4 / 3; }
  .co-posts li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .co-hero .nx-h1 .ln { white-space: normal; }
  .co-hero .nx-h1 { font-size: clamp(34px, 10.4vw, 84px); }
  .co-hero .st1 { left: 0; top: -20%; }
  .co-hero .st3 { right: 0; bottom: -18%; }
  .ab-story { grid-template-columns: minmax(0, 1fr); }
  .ab-people { grid-template-columns: minmax(0, 1fr); }
  .ab-photo img { aspect-ratio: 4 / 3; object-position: 62% 50%; }
  .ab-hero .st1 { left: -2%; top: -22%; }
  .ab-hero .st3 { right: -2%; bottom: -24%; }
  .partner { grid-template-columns: minmax(0, 1fr); }
  .chap-in { grid-template-columns: minmax(0, 1fr); }
  .chap h3 { font-size: clamp(36px, 9.6vw, 72px); }
}
@media (max-width: 860px) {
  .nx-left, .nx-wide, .nx-long { display: none; }
  .nx-menu-btn, .nx-short { display: inline-flex; }
  /* on phones the wordmark sits in its own white pill, so it never collides with what scrolls under it */
  .nx-word { left: var(--pad); transform: none; mix-blend-mode: normal; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; }
  .nx-word img { height: 16px; filter: brightness(0); }
  .nx-hero-top { padding-top: 84px; }
  .nx-h1 { font-size: clamp(34px, 11.4vw, 96px); }
  .st1 { left: -3%; top: -20%; }
  .st2 { right: -3%; top: -9%; }
  .st3 { right: 3%; bottom: -24%; }
  .nx-cta { margin-top: 50px; }
  .nx-hero-top { min-height: calc(100svh - 230px); }
  .nx-cta { width: 100%; }
  .nx-cta .pill { flex: 1 1 auto; justify-content: center; }
  .nx-split { grid-template-columns: minmax(0, 1fr); }
  .nx-side { position: static; }
  .row { grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 16px; min-height: 0; padding: 20px 0; }
  .row span { grid-column: 1; grid-row: 2; }
  .row em { grid-column: 2; grid-row: 1 / span 2; }
  .nx-thumb { display: none; }
  .route { grid-template-columns: minmax(0, 1fr); }
  .route-tabs span { display: none; }
  .route-tabs button[aria-selected="true"] span { display: block; }
  .about-end { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nx-about-foot { flex-direction: column; align-items: flex-start; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .chip { height: 42px; padding: 0 16px; font-size: 15.5px; }
  .end { flex-direction: column; align-items: stretch; }
  .end .pill { justify-content: center; }
  .cols .legal { margin-left: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .lift, html.js .st { opacity: 1; transform: none; transition: none; animation: none; }
  .st1 { transform: rotate(-8deg); } .st2 { transform: rotate(7deg); } .st3 { transform: rotate(-5deg); }
  .nx-thumb { display: none; }
  .row b, .pill, .chip, .route-tabs b, .route-ph img { transition: none; }
  html.js .route-chips .chip { animation: none; }
  .pc { transform: rotate(var(--r)); }
  html.js .chap .tile { opacity: 1; scale: 1; transition: none; }
  .chap { transform: none !important; }
}

@media (max-width: 370px) {
  .nx-word { padding: 0 11px; }
  .nx-word img { height: 12px; }
  .pill { padding: 0 13px; }
}

/* ── plain pages: privacy, terms, thank you, not found ── */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(120px, 20vh, 180px) var(--pad) clamp(56px, 9vh, 110px); }
.doc h1 { margin: 10px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 7vw, 84px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.doc-status { display: inline-block; margin: 22px 0 0; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; }
.doc-meta, .doc-lede { margin: 18px 0 0; font-size: 16px; line-height: 1.6; color: rgba(23, 23, 23, .7); max-width: 58ch; }
.doc-lede { font-size: clamp(17px, 1.5vw, 20px); }
.doc-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.doc-note { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; }
.doc-body { margin-top: clamp(30px, 5vh, 54px); border-top: 1px solid var(--line); }
.doc-body h2 { margin: 44px 0 12px; font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.2; letter-spacing: -0.02em; scroll-margin-top: 90px; }
.doc-body h3 { margin: 28px 0 8px; font-family: var(--display); font-weight: 500; font-size: 18px; }
.doc-body p, .doc-body li { font-size: 16px; line-height: 1.68; color: rgba(23, 23, 23, .82); }
.doc-body p { margin: 0 0 14px; }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 22px; }
.doc-body li { margin-bottom: 6px; }
.doc a:not(.pill) { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; display: block; overflow-x: auto; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.note:empty { margin: 0; }

/* ── the loader: once per visit. The mark rises, the three lines light up, the panel lifts off. ── */
.ld { display: none; }
html.lding { overflow: hidden; }
html.lding .ld { display: flex; flex-direction: column; justify-content: space-between; position: fixed; inset: 0; z-index: 300; padding: clamp(18px, 3vw, 40px); background: var(--space); color: var(--cream); border-radius: 0 0 28px 28px; transition: transform 1.05s cubic-bezier(.76, 0, .24, 1); will-change: transform; }
html.lding-out .ld { transform: translate3d(0, -102%, 0); }
.ld-top { display: flex; justify-content: space-between; align-items: flex-start; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: rgba(233, 233, 214, .62); }
.ld-mark { width: clamp(44px, 5vw, 68px); height: auto; opacity: 0; transform: translate3d(0, 26px, 0); animation: ldRise .9s cubic-bezier(.2, .8, .2, 1) .1s forwards; }
html.lding-out .ld-mark { transition: transform .7s cubic-bezier(.76, 0, .24, 1); transform: translate3d(0, -60px, 0); }
.ld-words { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(40px, min(10vw, 15vh), 150px); line-height: .96; letter-spacing: -0.04em; }
.ld-words span { display: block; opacity: .16; transform: translate3d(0, .12em, 0); transition: opacity .5s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.ld-words span.on { opacity: 1; transform: none; }
.ld-foot { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 28px); }
.ld-n { margin: 0; font-family: var(--mono); font-size: clamp(13px, 1.2vw, 16px); font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.ld-bar { flex: 1; height: 1px; margin-bottom: .45em; background: rgba(233, 233, 214, .22); }
.ld-bar i { display: block; height: 3px; margin-top: -1px; background: var(--cream); transform-origin: left; transform: scaleX(var(--p, 0)); }
@keyframes ldRise { to { opacity: 1; transform: none; } }

/* the way into the brand page, inside the galaxy window */
.nx-play { position: absolute; z-index: 2; right: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 40px); background: var(--cream); border-color: var(--cream); color: var(--ink); gap: 10px; }
.nx-play i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: nxPulse 1.8s ease-in-out infinite; }
.nx-play:hover { background: var(--white); border-color: var(--white); }
@keyframes nxPulse { 50% { transform: scale(1.7); opacity: .4; } }
@media (max-width: 860px) { .nx-play { right: auto; left: 20px; bottom: 20px; } .nx-win-line { bottom: 78px; } }
@media (prefers-reduced-motion: reduce) { .nx-play i { animation: none; } }

/* phones: a solid strip behind the floating header so it never sits on top of text, quieter stickers */
.nx-motion { display: inline; padding: 0; border: 0; background: none; color: inherit; font: inherit; opacity: .7; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  body::after { content: ''; position: fixed; z-index: 37; top: 0; left: 0; right: 0; height: 66px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); pointer-events: none; }
  /* stickers sit in the clear band above the headline, measured in pixels so they never land on a letter */
  .nx-h1 .st1 { left: 0; right: auto; top: -40px; bottom: auto; }
  .nx-h1 .st2, .ab-hero .nx-h1 .st3, .co-hero .nx-h1 .st3 { right: 0; left: auto; top: -40px; bottom: auto; }
  .nx-hero .nx-h1 .st3 { display: none; }
  .nx-hero-top { padding-top: 124px; }
  .ab-hero, .co-hero { padding-top: 132px; }
}
@media (max-width: 360px) { .co-hero .nx-h1 .st3 { display: none; } }

/* social icons: in the desktop nav, the phone menu and the footer (Bootstrap Icons, MIT) */
.nx-soc { display: flex; gap: 6px; align-items: center; }
.nx-soc a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.nx-soc a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); text-decoration: none; }
.nx-soc svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.nx-menu > a:last-of-type { border-bottom: 1px solid var(--line); }
.nx-menu .nx-soc { margin-top: 22px; gap: 10px; }
.nx-menu .nx-soc a { display: grid; width: 50px; height: 50px; padding: 0; border: 1px solid var(--line); font-size: 0; }
.nx-menu .nx-soc svg { width: 20px; height: 20px; }
.nx-win-foot .cols span.nx-soc { display: flex; margin: 2px 0 0; gap: 8px; opacity: 1; letter-spacing: 0; }
.cols .nx-soc a { display: grid; width: 42px; height: 42px; background: transparent; color: var(--cream); border-color: rgba(233, 233, 214, .32); }
.cols .nx-soc a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.cols .nx-soc svg { width: 17px; height: 17px; }
@media (max-width: 1240px) { .nx-soc-nav { display: none; } }

/* calm: the same stillness as reduced motion, switched on by the Motion toggle in the footer (generated from the rules above) */
html.calm { scroll-behavior: auto; }
html.calm.js .lift, html.calm.js .st { opacity: 1; transform: none; transition: none; animation: none; }
html.calm .st1 { transform: rotate(-8deg); }
html.calm .st2 { transform: rotate(7deg); }
html.calm .st3 { transform: rotate(-5deg); }
html.calm .nx-thumb { display: none; }
html.calm .row b, html.calm .pill, html.calm .chip, html.calm .route-tabs b, html.calm .route-ph img { transition: none; }
html.calm.js .route-chips .chip { animation: none; }
html.calm .pc { transform: rotate(var(--r)); }
html.calm.js .chap .tile { opacity: 1; scale: 1; transition: none; }
html.calm .chap { transform: none !important; }
html.calm .nx-play i { animation: none; }
