/* Expats with Roots — lapis, gold leaf and linen. */
@font-face { font-family: 'Bricolage'; src: url('../fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-italic-sub.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Kufi'; src: url('../fonts/kufi-sub.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --night: #02022a;
  --lapis-deep: #04044a;
  --lapis: #000080;          /* the brand navy, unchanged */
  --royal: #2330d8;
  --linen: #f4eee1;
  --linen-2: #e9e1cf;
  --gold: #f0b84a;
  --gold-deep: #b38728;      /* the gold already on the companies page */
  --gold-ink: #775509;       /* gold for small text on linen (5.9:1) */
  --faience: #5ad3c0;
  --carnelian: #e2563a;
  --ink: #05053f;
  --on-night: rgba(244, 238, 225, 0.74);
  --on-night-dim: rgba(244, 238, 225, 0.68);
  --line-night: rgba(244, 238, 225, 0.16);
  --line-paper: rgba(5, 5, 63, 0.16);
  --font: 'Bricolage', 'Kufi', system-ui, sans-serif;
  --serif: 'Newsreader', 'Kufi', Georgia, serif;
  --kufi: 'Kufi', 'Bricolage', sans-serif;
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --s-1: 0.875rem; --s0: 1.0625rem; --s1: 1.3rem; --s2: clamp(1.5rem, 2.2vw, 2rem);
  --s3: clamp(2.1rem, 4.3vw, 4.1rem); --s4: clamp(2.9rem, 7vw, 7.2rem); --s5: clamp(3.3rem, 10.4vw, 11.2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hop: cubic-bezier(0.87, 0, 0.13, 1);
  --radius: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--font); font-size: var(--s0); line-height: 1.55; font-weight: 400; color: var(--linen); background: var(--night); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.paper :focus-visible, .form-main :focus-visible { outline-color: var(--lapis); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }
[lang='ar'] { font-family: var(--kufi); }

/* ---------- stage ---------- */
.stage { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.stage-fallback { position: fixed; inset: 0; z-index: 0; background: radial-gradient(60% 60% at 70% 45%, rgba(35, 48, 216, 0.45), transparent 70%), linear-gradient(#000058, var(--night)); display: none; }
.no-webgl .stage { display: none; }
.no-webgl .stage-fallback { display: block; }
.scene-labels { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.scene-label { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.35s; will-change: transform; white-space: nowrap; font-size: 0.8125rem; line-height: 1.15; }
.scene-label.is-on { opacity: 1; }
.scene-label--city { margin: -1.1rem 0 0 1rem; padding: 0.4rem 0.7rem; display: grid; border-radius: 0.6rem; background: rgba(2, 2, 42, 0.78); box-shadow: inset 0 0 0 1px var(--line-night); backdrop-filter: blur(6px); }
.scene-label--city b { font-weight: 600; letter-spacing: 0.01em; }
.scene-label--city i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--gold); }
.scene-label--city .ar { font-size: 1.05rem; color: var(--gold); line-height: 1.4; }
.scene-label--city.is-home { margin: -2.2rem 0 0 2.1rem; box-shadow: inset 0 0 0 1px rgba(240, 184, 74, 0.5); }
.scene-label--node { margin: 0; translate: -50% -50%; color: var(--on-night); font-size: 0.75rem; font-weight: 500; line-height: 1; }
.scene-label--node.is-gold { color: var(--gold); font-weight: 600; font-size: 0.8125rem; padding: 0.42rem 0.7rem; border-radius: 999px; background: rgba(2, 2, 42, 0.82); box-shadow: inset 0 0 0 1px rgba(240, 184, 74, 0.5); }
.scene-label--egypt { display: grid; padding-left: 0.9rem; border-left: 1px solid var(--gold); color: var(--on-night); }
.scene-label--egypt .ar { color: var(--gold); font-size: 1.35rem; line-height: 1.5; }
main, .site-footer { position: relative; z-index: 3; }

/* ---------- type ---------- */
.display { font-size: clamp(3rem, min(10.4vw, 19.5vh), 11.2rem); line-height: 0.88; font-weight: 700; font-stretch: 77%; letter-spacing: -0.012em; text-wrap: balance; }
.h1 { font-size: clamp(2.6rem, min(7vw, 15vh), 7.2rem); line-height: 0.92; font-weight: 700; font-stretch: 78%; letter-spacing: -0.012em; text-wrap: balance; }
.h2 { font-size: var(--s3); line-height: 0.96; font-weight: 650; font-stretch: 80%; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: var(--s2); line-height: 1.08; font-weight: 600; font-stretch: 86%; letter-spacing: -0.012em; }
.lede { font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.42; color: var(--on-night); max-width: 34ch; text-wrap: pretty; }
.statement { font-size: clamp(1.6rem, 3.1vw, 3rem); line-height: 1.1; font-weight: 500; font-stretch: 84%; letter-spacing: -0.015em; max-width: 21ch; text-wrap: balance; }
.body { color: var(--on-night); max-width: 52ch; text-wrap: pretty; }
.note { font-size: var(--s-1); color: var(--on-night-dim); }
.gold { color: var(--gold); }
.quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.2rem, 1.75vw, 1.6rem); line-height: 1.4; max-width: 34ch; color: var(--linen); text-wrap: pretty; }
.quote cite { display: block; margin-top: 1rem; font-family: var(--font); font-style: normal; font-size: var(--s-1); color: var(--gold); }
.ar-mark { font-family: var(--kufi); font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(240, 184, 74, 0.55); font-size: clamp(4rem, 13vw, 13rem); line-height: 1.25; direction: rtl; user-select: none; }
.split-line { overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.js [data-split], .js [data-fade] { visibility: hidden; }

/* ---------- buttons ---------- */
.btn { --bg: var(--gold); --fg: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 0.7rem; padding: 1.05rem 1.7rem; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1.0625rem; line-height: 1; text-decoration: none; overflow: hidden; isolation: isolate; transition: color 0.45s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--linen); border-radius: inherit; transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; transition: transform 0.45s var(--ease); }
.btn:hover .dot { transform: scale(1.7); }
.btn--line { --bg: transparent; --fg: var(--linen); box-shadow: inset 0 0 0 1px var(--line-night); }
.btn--line:hover { color: var(--ink); }
.btn--ink { --bg: var(--lapis); --fg: var(--linen); }
.btn--ink::before { background: var(--gold); }
.btn--ink:hover { color: var(--ink); }
.btn--sm { padding: 0.8rem 1.25rem; font-size: 0.9375rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.link { position: relative; text-decoration: none; font-weight: 500; padding-bottom: 0.2rem; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease), color 0.3s; }
.link:hover { background-size: 0% 1px; background-position: 100% 100%; color: var(--gold); }
.paper .link:hover { color: var(--lapis); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.1rem var(--gutter); transition: transform 0.6s var(--ease), background 0.4s; }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-hidden:focus-within { transform: none; }
.nav.is-solid { background: #02022f; box-shadow: 0 1px 0 var(--line-night); }
.nav__logo { display: block; width: clamp(9.5rem, 13vw, 12rem); flex: none; }
.nav__logo img { width: 100%; height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); font-size: 0.9688rem; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--on-night); position: relative; padding: 0.4rem 0; transition: color 0.3s; }
.nav__links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:not(.btn):hover, .nav__links a:not(.btn)[aria-current='page'] { color: var(--linen); }
.nav__links a:not(.btn):hover::after, .nav__links a:not(.btn)[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.9688rem; padding: 0.7rem 0 0.7rem 1rem; }
.nav__toggle i { position: relative; width: 1.7rem; height: 0.7rem; }
.nav__toggle i::before, .nav__toggle i::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--linen); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__toggle i::before { top: 0; } .nav__toggle i::after { top: calc(100% - 2px); }
.menu-open .nav__toggle i::before { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-open .nav__toggle i::after { top: calc(50% - 1px); transform: rotate(-45deg); }
@media (max-width: 860px) { .nav__links { display: none; } .nav__toggle { display: inline-flex; } }

.menu { position: fixed; inset: 0; z-index: 45; visibility: hidden; pointer-events: none; }
.menu-open .menu { pointer-events: auto; }
.menu__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.menu__cols span { background: var(--lapis); transform: translateY(-101%); }
.menu__cols span:nth-child(even) { background: #00006e; }
.menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.5rem; padding: 6rem var(--gutter) 2.5rem; }
.menu__list a { display: block; overflow: hidden; text-decoration: none; font-size: clamp(2.6rem, 12vw, 5rem); line-height: 1; font-weight: 700; font-stretch: 76%; letter-spacing: -0.02em; padding: 0.12em 0; }
.menu__list a span { display: block; transform: translateY(110%); }
.menu__list a[aria-current='page'] { color: var(--gold); }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--s-1); color: var(--on-night); opacity: 0; }

/* ---------- transition + preloader + cursor ---------- */
.wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; width: 100%; height: 100%; }
.wipe path { fill: var(--lapis); }
.wipe .edge { fill: none; stroke: var(--gold); stroke-width: 0.25; vector-effect: non-scaling-stroke; }
.loader { position: fixed; inset: 0; z-index: 95; background: var(--lapis); display: grid; grid-template-rows: 1fr auto; padding: var(--gutter); color: var(--linen); }
.loader__word { align-self: center; justify-self: center; text-align: center; }
.loader__word .ar { display: block; font-family: var(--kufi); font-weight: 700; font-size: clamp(4.5rem, 16vw, 13rem); line-height: 1.3; color: var(--gold); }
.loader__word small { display: block; font-size: var(--s0); color: var(--on-night); margin-top: 0.4rem; }
.loader__bar { display: flex; justify-content: space-between; align-items: end; font-variant-numeric: tabular-nums; }
.loader__count { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; font-stretch: 76%; line-height: 0.9; }
html:not(.js) .loader, .skip-loader .loader { display: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; mix-blend-mode: normal; display: none; }
.has-cursor .cursor { display: block; opacity: 0; transition: opacity 0.3s; }
.has-cursor .cursor.is-live { opacity: 1; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--gold); }
.cursor__ring { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1px solid rgba(240, 184, 74, 0.7); display: grid; place-items: center; font-size: 0.6875rem; font-weight: 600; color: var(--ink); transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s, border-color 0.35s, opacity 0.3s; }
.cursor__ring span { opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(240, 184, 74, 0.16); }
.cursor.is-label .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__ring span { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-text .cursor__ring { opacity: 0; }
.cursor.is-globe .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--gold); }
.cursor.is-globe .cursor__ring::after { content: 'drag'; position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); }
.is-dragging-globe, .is-dragging-globe * { cursor: grabbing !important; user-select: none; }

/* ---------- chapters (home) ---------- */
.chapter { position: relative; min-height: 100svh; display: grid; align-items: center; padding: clamp(6rem, 14vh, 10rem) var(--gutter); }
.chapter__copy { display: grid; gap: clamp(1.4rem, 2.6vh, 2.2rem); max-width: min(40rem, 45vw); position: relative; }
.chapter--right .chapter__copy { justify-self: end; }
.chapter--center { text-align: center; }
.chapter--center .chapter__copy { justify-self: center; justify-items: center; max-width: min(76rem, 92vw); }
.chapter--center .display { white-space: nowrap; }
@media (max-width: 700px) { .chapter--center .display { white-space: normal; } }
.chapter--tall { min-height: 135svh; }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9375rem; font-weight: 500; color: var(--gold); }
.kicker::before { content: ''; width: 1.6rem; height: 1px; background: currentColor; }
.chapter--center .kicker::after { content: ''; width: 1.6rem; height: 1px; background: currentColor; }

.hero { min-height: 100svh; align-items: end; padding-bottom: clamp(2rem, 6vh, 4.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; width: 100%; }
.hero__copy { display: grid; gap: clamp(1.25rem, 2.4vh, 2rem); }
.hero__copy .lede { max-width: 27ch; }
.clock { display: grid; justify-items: end; text-align: right; gap: 0.15rem; padding-bottom: 0.3rem; }
.clock__time { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 700; font-stretch: 76%; line-height: 0.9; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.clock__time b { color: var(--gold); font-weight: inherit; animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.clock__where { color: var(--on-night); font-size: 0.9688rem; }
.clock__hint { margin-top: 1.1rem; font-size: var(--s-1); color: var(--on-night-dim); display: flex; align-items: center; gap: 0.55rem; }
.clock__hint svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .clock { justify-items: start; text-align: left; order: -1; grid-auto-flow: column; align-items: baseline; gap: 0.7rem; justify-content: start; }
  .clock__hint { display: none; }
  .clock__time { font-size: 1.9rem; }
}

.pillars { display: grid; border-top: 1px solid var(--line-night); margin-top: 0.5rem; }
.pillar { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.25rem 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line-night); align-items: start; transition: padding 0.5s var(--ease); }
.pillar svg { width: 1.9rem; height: 1.9rem; color: var(--gold); grid-row: span 2; margin-top: 0.2rem; }
.pillar h3 { transition: color 0.3s; }
.pillar p { color: var(--on-night); max-width: 40ch; }
.pillar:hover { padding-left: 0.6rem; }
.pillar:hover h3 { color: var(--gold); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--line-night); padding-top: 1.4rem; }
.stat__n { font-size: clamp(2.3rem, 4.4vw, 4rem); font-weight: 700; font-stretch: 76%; line-height: 0.9; letter-spacing: -0.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat__t { font-weight: 600; margin-top: 0.5rem; }
.stat__d { font-size: var(--s-1); color: var(--on-night); margin-top: 0.25rem; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 1.1rem; } .stat { display: grid; grid-template-columns: 6.2rem 1fr; column-gap: 1rem; align-items: baseline; } .stat__d { grid-column: 2; } }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.fact { padding: 0.7rem 1.15rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-night); font-size: 0.9688rem; background: rgba(2, 2, 42, 0.35); }
.fact b { color: var(--gold); font-weight: 600; }
.contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2rem; font-size: 0.9688rem; }

/* small screens: the shape sits in the top of the screen, copy below it on a full-bleed scrim */
@media (max-width: 860px) {
  .chapter, .page-hero { align-items: end; padding-top: 50svh; padding-bottom: 4.5rem; min-height: 0; background: linear-gradient(rgba(2, 2, 42, 0) calc(50svh - 9rem), rgba(2, 2, 42, 0.8) calc(50svh - 2rem), rgba(2, 2, 42, 0.8) calc(100% - 7rem), rgba(2, 2, 42, 0)); }
  .chapter--tall { min-height: 0; }
  .chapter--center { padding-top: 7rem; align-items: start; min-height: 100svh; background: none; }
  .hero, .page-hero { padding-top: 46svh; min-height: 100svh; background: linear-gradient(rgba(2, 2, 42, 0) calc(46svh - 9rem), rgba(2, 2, 42, 0.8) calc(46svh - 1rem), rgba(2, 2, 42, 0.8) calc(100% - 7rem), rgba(2, 2, 42, 0)); }
}
@media (max-width: 860px) and (orientation: landscape) and (max-height: 520px) {
  .chapter, .hero, .page-hero { padding-top: 5.5rem; min-height: 100svh; background: rgba(2, 2, 42, 0.62); }
}
@media (min-width: 861px) and (max-height: 760px) {
  .chapter { padding-top: 5.5rem; padding-bottom: 3rem; }
  .chapter__copy { gap: 1rem; }
  .chapter--center .note { display: none; }
  .journey__head .lede { display: none; }
}

/* ---------- paper sections ---------- */
.paper { position: relative; background: var(--linen); color: var(--ink); padding: clamp(4.5rem, 11vh, 8.5rem) var(--gutter); }
.paper .body, .paper .lede { color: rgba(5, 5, 63, 0.78); }
.paper .note { color: rgba(5, 5, 63, 0.6); }
.paper .kicker { color: var(--gold-ink); }
.paper .gold { color: var(--gold-ink); }
.paper--round { border-radius: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem) 0 0; }
.paper--round-b { border-radius: 0 0 clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem); }
.wrap { max-width: 88rem; margin-inline: auto; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.section-head > :last-child { justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head > :last-child { justify-self: start; } }

.teaser { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 2.5rem 5rem; align-items: end; }
.teaser__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; border-top: 1px solid var(--line-paper); padding-top: 1.4rem; margin-top: 2rem; }
.teaser .stat__n { color: var(--lapis); }
.teaser .stat__d { color: rgba(5, 5, 63, 0.7); font-size: var(--s0); }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }
.marquee { overflow: hidden; margin: clamp(3rem, 7vh, 5rem) calc(var(--gutter) * -1) 0; border-block: 1px solid var(--line-paper); padding: 1.1rem 0; }
.marquee__track { display: flex; gap: 3rem; width: max-content; font-size: var(--s2); font-weight: 600; font-stretch: 80%; white-space: nowrap; will-change: transform; }
.marquee__track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee__track span::after { content: ''; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--gold-deep); }

/* ---------- companies page ---------- */
.page-hero { min-height: 100svh; display: grid; align-items: end; padding: 8rem var(--gutter) clamp(2.5rem, 7vh, 5rem); position: relative; }
.page-hero__copy { display: grid; gap: clamp(1.25rem, 2.4vh, 2rem); max-width: 58rem; }
.page-hero .lede { max-width: 38ch; }
.page-hero .display { font-size: clamp(2.8rem, min(8.2vw, 17vh), 8.8rem); max-width: 13ch; }
.chapter--center .display { font-size: clamp(2.8rem, min(8.6vw, 17vh), 9rem); }
.tag { display: inline-flex; align-items: center; gap: 0.6rem; justify-self: start; padding: 0.5rem 0.95rem; border-radius: 999px; background: rgba(240, 184, 74, 0.13); color: var(--gold); font-size: 0.9063rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(240, 184, 74, 0.4); }
.paper .tag { background: rgba(0, 0, 128, 0.07); color: var(--lapis); box-shadow: inset 0 0 0 1px rgba(0, 0, 128, 0.25); }
.deadline { font-size: 0.9688rem; color: var(--on-night); }
.deadline b { color: var(--linen); font-weight: 600; }
.paper .deadline { color: rgba(5, 5, 63, 0.7); } .paper .deadline b { color: var(--ink); }

.rail-wrap { position: relative; padding: clamp(4rem, 10vh, 7rem) 0; overflow: hidden; background: linear-gradient(rgba(2, 2, 42, 0), var(--night) 14rem); }
.rail-wrap .wrap { padding-inline: var(--gutter); max-width: calc(88rem + 2 * var(--gutter)); }
.rail { display: flex; gap: 1.25rem; padding: 0.5rem var(--gutter) 1.5rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; perspective: 1200px; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-grabbing { cursor: grabbing; scroll-snap-type: none; }
.talent { flex: none; width: clamp(15.5rem, 22vw, 18.5rem); aspect-ratio: 4 / 5; scroll-snap-align: start; position: relative; border-radius: var(--radius); background: linear-gradient(165deg, #1a24b4, #05054a 80%); box-shadow: inset 0 0 0 1px var(--line-night); padding: 1.25rem; display: grid; grid-template-rows: auto 1fr auto; transform-style: preserve-3d; will-change: transform; overflow: hidden; }
.talent::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 0%), rgba(240, 184, 74, 0.22), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.talent:hover::after { opacity: 1; }
.talent__top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; transform: translateZ(22px); }
.talent__mono { width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-stretch: 80%; font-size: 1.05rem; color: var(--ink); background: var(--gold); flex: none; }
.talent__co { font-size: 0.875rem; color: var(--on-night); text-align: right; }
.talent__years { align-self: center; font-size: clamp(5rem, 8.2vw, 7.4rem); font-weight: 700; font-stretch: 76%; line-height: 0.8; letter-spacing: -0.03em; color: var(--linen); transform: translateZ(46px); display: flex; align-items: baseline; gap: 0.6rem; }
.talent__years small { font-size: 0.9375rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--gold); line-height: 1.2; }
.talent__foot { border-top: 1px solid var(--line-night); padding-top: 0.9rem; transform: translateZ(26px); }
.talent__domain { font-size: 1.4rem; font-weight: 650; font-stretch: 82%; line-height: 1.05; }
.talent__name { font-size: 0.9063rem; color: var(--on-night); margin-top: 0.3rem; }
.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 0.75rem; }
.rail-progress { flex: 1; height: 1px; background: var(--line-night); position: relative; max-width: 22rem; }
.rail-progress i { position: absolute; inset: -1px auto -1px 0; width: 30%; background: var(--gold); transform-origin: left; }

.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 960px) { .tracks { grid-template-columns: 1fr; } }
.track { border-radius: var(--radius); padding: clamp(1.5rem, 2.6vw, 2.5rem); display: grid; gap: 1.4rem; align-content: start; background: #fbf8f1; box-shadow: inset 0 0 0 1px var(--line-paper); }
.track--ink { background: var(--lapis); color: var(--linen); box-shadow: none; }
.track--ink .body { color: var(--on-night); }
.paper .track--ink .tag { background: rgba(240, 184, 74, 0.13); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(240, 184, 74, 0.4); }
.paper .track--ink .equity .body { color: var(--on-night); }
.track__meta { font-size: 0.9375rem; color: rgba(5, 5, 63, 0.65); display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.track--ink .track__meta { color: var(--on-night); }
.track__meta span + span::before { content: ''; display: inline-block; width: 0.3rem; height: 0.3rem; border-radius: 50%; background: var(--gold-deep); margin-right: 1rem; vertical-align: middle; }
.track__line { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; }
.offer { border-top: 1px solid var(--line-paper); padding-top: 1.15rem; display: grid; gap: 0.5rem; }
.offer dl { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0.3rem 1rem; margin: 0.3rem 0 0; font-size: 0.9688rem; }
.offer dt { color: var(--gold-ink); font-weight: 600; } .offer dd { margin: 0; }
.ticks { display: grid; gap: 0.65rem; }
.ticks li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.7rem; align-items: baseline; }
.ticks li::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); translate: 0 -0.1rem; }
.equity { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1.25rem; align-items: center; border-top: 1px solid var(--line-night); padding-top: 1.2rem; }
.equity b { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 700; font-stretch: 76%; line-height: 0.9; color: var(--gold); grid-row: span 2; white-space: nowrap; }
.guarantee { margin-top: 1.25rem; padding: 1.1rem 1.4rem; border-radius: var(--radius); background: rgba(179, 135, 40, 0.14); display: flex; gap: 0.9rem; align-items: center; font-size: 1.0313rem; }
.guarantee svg { width: 1.5rem; height: 1.5rem; flex: none; color: var(--gold-deep); }

.partners { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.partners { gap: 0.4rem 2.5rem; }
.partner { font-weight: 700; font-stretch: 78%; font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -0.01em; color: var(--lapis); display: inline-flex; align-items: center; gap: 2.5rem; }
.partner + .partner::before { content: ''; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gold-deep); }
.stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-paper); margin-top: clamp(2rem, 5vh, 3.5rem); }
.story { padding: 1.6rem 1.5rem 1.6rem 0; border-right: 1px solid var(--line-paper); display: grid; gap: 0.6rem; align-content: start; }
.story + .story { padding-left: 1.5rem; }
.story:last-child { border-right: 0; }
.story__what { font-size: 0.9375rem; color: var(--gold-ink); font-weight: 600; }
.story p { font-size: 0.9688rem; color: rgba(5, 5, 63, 0.76); }
@media (max-width: 1000px) { .stories { grid-template-columns: 1fr 1fr; } .story { border-bottom: 1px solid var(--line-paper); } .story:nth-child(2n) { border-right: 0; } .story:nth-child(odd) { padding-left: 0; } }
@media (max-width: 560px) { .stories { grid-template-columns: 1fr; } .story, .story + .story { padding-left: 0; border-right: 0; } }

.journey { position: relative; padding: clamp(5rem, 12vh, 9rem) var(--gutter); }
.journey__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem 5rem; }
.journey__head { position: sticky; top: 7rem; align-self: start; display: grid; gap: 1.3rem; }
.steps { position: relative; display: grid; gap: 0; counter-reset: step; }
.steps__line { position: absolute; left: calc(1.4rem - 1px); top: 1.4rem; bottom: 1.4rem; width: 2px; background: var(--line-night); }
.steps__line i { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 2.8rem 1fr; gap: 1.5rem; padding: 1.5rem 0; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--night); box-shadow: inset 0 0 0 1px var(--line-night); position: relative; z-index: 1; transition: background 0.5s, color 0.5s, box-shadow 0.5s; }
.step.is-lit::before { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 6px rgba(240, 184, 74, 0.16); }
.step::after { content: ''; position: absolute; left: 2.8rem; top: 2.2rem; width: 1.5rem; height: 2.4rem; border: solid var(--gold); border-width: 0 0 2px 0; border-radius: 0 0 0 1.4rem; opacity: 0; transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease), opacity 0.4s; }
.step > div { position: relative; }
.step.is-lit::after { opacity: 0.9; transform: scaleX(1); }
.paper .step::after { border-color: var(--gold-deep); }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--on-night); max-width: 44ch; }
.step__date { display: inline-block; margin-top: 0.75rem; font-size: 0.875rem; color: var(--gold); padding: 0.3rem 0.75rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(240, 184, 74, 0.4); }
@media (max-width: 900px) { .journey__grid { grid-template-columns: 1fr; } .journey__head { position: static; } }
.paper .steps__line { background: var(--line-paper); } .paper .steps__line i { background: var(--lapis); }
.paper .step::before { background: var(--linen); box-shadow: inset 0 0 0 1px var(--line-paper); }
.paper .step.is-lit::before { background: var(--lapis); color: var(--linen); box-shadow: 0 0 0 6px rgba(0, 0, 128, 0.1); }
.paper .step p { color: rgba(5, 5, 63, 0.76); }

.reasons { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line-paper); }
.reason { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0.5rem 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line-paper); align-items: baseline; position: relative; }
.reason::before { content: ''; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--gold-deep); transform-origin: left; transition: width 0.6s var(--ease); }
.reason:hover::before { width: 100%; }
.reason h3 { font-size: 1.5rem; }
.reason p { color: rgba(5, 5, 63, 0.76); font-size: 0.9688rem; }
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .reason { grid-template-columns: 1fr; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.duo__card { border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 3rem); display: grid; gap: 1.2rem; align-content: space-between; min-height: 21rem; background: rgba(2, 2, 42, 0.55); box-shadow: inset 0 0 0 1px var(--line-night); backdrop-filter: blur(6px); }
.duo__card--gold { background: var(--gold); color: var(--ink); box-shadow: none; }
.duo__card--gold .body { color: rgba(5, 5, 63, 0.8); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* company finder */
.finder { position: relative; max-width: 30rem; display: grid; gap: 0.6rem; }
.finder label { font-size: 0.9375rem; color: var(--on-night); }
.finder__field { position: relative; }
.finder input { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--linen); background: rgba(2, 2, 42, 0.55); border: 0; box-shadow: inset 0 0 0 1px var(--line-night); border-radius: 999px; padding: 1rem 1.4rem 1rem 3rem; backdrop-filter: blur(8px); transition: box-shadow 0.3s; }
.finder input::placeholder { color: var(--on-night-dim); }
.finder input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--gold); }
.finder__field svg { position: absolute; left: 1.15rem; top: 50%; translate: 0 -50%; width: 1.15rem; height: 1.15rem; color: var(--gold); pointer-events: none; }
.finder__out { min-height: 1.6rem; font-size: 0.9688rem; color: var(--on-night); }
.finder__out b { color: var(--gold); font-weight: 600; }
.ac-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 0.4rem); max-height: 15rem; overflow: auto; border-radius: 1rem; background: #07075c; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45), inset 0 0 0 1px var(--line-night); padding: 0.4rem; display: none; overscroll-behavior: contain; }
.ac-list.is-open { display: block; }
.ac-list li { padding: 0.6rem 0.9rem; border-radius: 0.7rem; cursor: pointer; font-size: 0.9688rem; color: var(--linen); }
.ac-list li[aria-selected='true'], .ac-list li:hover { background: rgba(240, 184, 74, 0.18); }
.ac-list li mark { background: none; color: var(--gold); font-weight: 600; }
.paper .ac-list, .form-card .ac-list { background: #fff; box-shadow: 0 1.5rem 3rem rgba(5, 5, 63, 0.18), inset 0 0 0 1px var(--line-paper); }
.paper .ac-list li, .form-card .ac-list li { color: var(--ink); }
.paper .ac-list li[aria-selected='true'], .paper .ac-list li:hover, .form-card .ac-list li[aria-selected='true'], .form-card .ac-list li:hover { background: rgba(0, 0, 128, 0.08); }
.paper .ac-list li mark, .form-card .ac-list li mark { color: var(--lapis); }

.minis { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.9375rem; color: var(--on-night); counter-reset: mini; }
.minis li { display: inline-flex; align-items: center; gap: 0.55rem; counter-increment: mini; }
.minis li::before { content: counter(mini); width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 600; color: var(--ink); background: var(--gold); }
.minis li + li { margin-left: 0.2rem; padding-left: 2.2rem; background: linear-gradient(var(--line-night), var(--line-night)) 0.2rem 50% / 1.5rem 1px no-repeat; }

/* ---------- forms ---------- */
.form-page { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); min-height: 100svh; }
.form-side { position: sticky; top: 0; height: 100svh; display: grid; align-content: space-between; padding: 7rem var(--gutter) 2.5rem; }
.form-side__copy { display: grid; gap: 1.1rem; max-width: 30rem; }
.form-side .h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
.form-side__perks { display: grid; gap: 0.75rem; max-width: 24rem; }
.form-side__perks li { display: grid; gap: 0.1rem; padding-left: 1rem; border-left: 1px solid var(--gold); background: rgba(2, 2, 42, 0.35); }
.form-side__perks b { font-weight: 600; } .form-side__perks span { font-size: var(--s-1); color: var(--on-night); }
.form-main { background: var(--linen); color: var(--ink); padding: 7rem clamp(1.25rem, 5vw, 5rem) 4rem; border-radius: clamp(1.5rem, 3vw, 3rem) 0 0 clamp(1.5rem, 3vw, 3rem); display: grid; align-content: start; }
.form-card { width: 100%; max-width: 40rem; margin-inline: auto; }
.form-main .body { color: rgba(5, 5, 63, 0.78); }
.form-main .link:hover { color: var(--lapis); }
@media (max-width: 980px) {
  .form-page { grid-template-columns: 1fr; }
  .form-side { position: relative; height: auto; min-height: 78svh; padding-top: 42svh; gap: 2rem; }
  .form-main { border-radius: clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 3rem) 0 0; padding-top: 3rem; }
}
.progress { display: grid; gap: 0.7rem; margin-bottom: 2.25rem; }
.progress__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.9375rem; }
.progress__top b { font-weight: 600; } .progress__top span { color: rgba(5, 5, 63, 0.6); font-variant-numeric: tabular-nums; }
.progress__bar { height: 3px; background: var(--line-paper); border-radius: 3px; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 100%; background: var(--lapis); transform-origin: left; transform: scaleX(0); transition: transform 0.7s var(--ease); }
.fstep { display: none; gap: 1.35rem; }
.fstep.is-active { display: grid; }
.fstep > legend, .fstep__title { font-size: var(--s2); font-weight: 650; font-stretch: 82%; line-height: 1.05; letter-spacing: -0.012em; padding: 0; margin-bottom: 0.4rem; float: left; width: 100%; }
.fstep__intro { color: rgba(5, 5, 63, 0.72); margin-top: -0.5rem; }
.field { display: grid; gap: 0.45rem; position: relative; align-content: start; }
.field > label, .field > .label { font-weight: 600; font-size: 0.9688rem; }
.field .req { color: var(--carnelian); margin-left: 0.15rem; }
.field .hint { font-size: 0.8438rem; color: rgba(5, 5, 63, 0.62); }
.field input[type='text'], .field input[type='email'], .field input[type='url'], .field input[type='tel'], .field select, .field textarea { width: 100%; font: inherit; font-size: 1.0313rem; color: var(--ink); background: #fbf8f1; border: 0; box-shadow: inset 0 0 0 1px var(--line-paper); border-radius: 0.85rem; padding: 0.95rem 1.1rem; transition: box-shadow 0.25s, background 0.25s; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23000080' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 0.75rem; padding-right: 2.8rem; }
.field textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(5, 5, 63, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 2px var(--lapis); }
.field.has-error input, .field.has-error select, .field.has-error textarea { box-shadow: inset 0 0 0 2px var(--carnelian); }
.field__error { font-size: 0.8438rem; color: #b5391f; font-weight: 500; display: none; }
.field.has-error .field__error { display: block; }
.field__count { position: absolute; right: 0.2rem; bottom: -1.4rem; font-size: 0.8125rem; color: rgba(5, 5, 63, 0.55); font-variant-numeric: tabular-nums; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.05rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-paper); background: #fbf8f1; font-size: 0.9688rem; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.chip input:checked + span { background: var(--lapis); color: var(--linen); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--lapis); outline-offset: 3px; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--lapis); }
.consent { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.9rem; align-items: start; padding: 1.15rem; border-radius: 1rem; background: #fbf8f1; box-shadow: inset 0 0 0 1px var(--line-paper); font-size: 0.9063rem; line-height: 1.5; color: rgba(5, 5, 63, 0.85); cursor: pointer; }
.consent input { appearance: none; width: 1.5rem; height: 1.5rem; border-radius: 0.4rem; box-shadow: inset 0 0 0 1.5px var(--lapis); margin: 0.1rem 0 0; cursor: pointer; display: grid; place-items: center; transition: background 0.2s; background: #fff; }
.consent input:checked { background: var(--lapis); }
.consent input:checked::after { content: ''; width: 0.4rem; height: 0.75rem; border: solid var(--linen); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -0.08rem; }
.consent.has-error { box-shadow: inset 0 0 0 2px var(--carnelian); }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.form-nav .back { font-weight: 500; color: rgba(5, 5, 63, 0.7); padding: 0.8rem 0.2rem; }
.form-nav .back:hover { color: var(--lapis); }
.form-nav .back[hidden] { display: block; visibility: hidden; }
.form-secure { margin-top: 1.5rem; display: flex; gap: 0.6rem; align-items: center; font-size: 0.8438rem; color: rgba(5, 5, 63, 0.62); }
.form-secure svg { width: 1rem; height: 1rem; flex: none; }
.form-alert { display: none; margin-bottom: 1.25rem; padding: 0.9rem 1.1rem; border-radius: 0.85rem; background: rgba(226, 86, 58, 0.12); color: #9a2f18; font-size: 0.9375rem; font-weight: 500; }
.form-alert.is-on { display: block; }
.success { display: none; gap: 1.4rem; padding-top: 1rem; }
.success.is-on { display: grid; }
.success__seal { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--lapis); color: var(--gold); display: grid; place-items: center; }
.success__seal svg { width: 2rem; height: 2rem; }
.success__next { display: grid; gap: 0; border-top: 1px solid var(--line-paper); counter-reset: nx; }
.success__next li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.2rem 0.8rem; padding: 1rem 0; border-bottom: 1px solid var(--line-paper); counter-increment: nx; }
.success__next li::before { content: counter(nx); font-weight: 700; color: var(--gold-ink); grid-row: span 2; }
.success__next span { color: rgba(5, 5, 63, 0.72); font-size: 0.9375rem; }
.preview-note { font-size: 0.8125rem; color: rgba(5, 5, 63, 0.55); border-left: 2px solid var(--gold-deep); padding-left: 0.8rem; }
.summary { display: grid; grid-template-columns: 9rem 1fr; gap: 0.35rem 1rem; font-size: 0.9375rem; padding: 1.1rem; border-radius: 1rem; background: #fbf8f1; box-shadow: inset 0 0 0 1px var(--line-paper); margin: 0; }
.summary dt { color: rgba(5, 5, 63, 0.6); } .summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); padding: clamp(3rem, 8vh, 5rem) var(--gutter) 2rem; border-top: 1px solid var(--line-night); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.6fr)); gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand { display: grid; gap: 1.1rem; align-content: start; }
.site-footer__brand img { width: 13rem; }
.site-footer__brand p { color: var(--on-night); max-width: 30ch; }
.site-footer h4 { font-size: 0.9063rem; font-weight: 500; color: var(--on-night-dim); margin-bottom: 0.9rem; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer li a { text-decoration: none; color: var(--linen); transition: color 0.3s; }
.site-footer li a:hover { color: var(--gold); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-night); font-size: var(--s-1); color: var(--on-night-dim); }
.site-footer__base .ar { color: var(--gold); font-size: 1rem; }
@media (max-width: 760px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js [data-split], .js [data-fade] { visibility: visible; }
}

/* form pages: the nav sits over paper on wide screens */
@media (min-width: 981px) {
  .has-form .nav:not(.is-solid) .nav__links a:not(.btn) { color: rgba(5, 5, 63, 0.72); }
  .has-form .nav:not(.is-solid) .nav__links a:not(.btn):hover, .has-form .nav:not(.is-solid) .nav__links a:not(.btn)[aria-current='page'] { color: var(--ink); }
  .has-form .nav:not(.is-solid) .nav__links a:not(.btn)::after { background: var(--lapis); }
  .has-form .nav:not(.is-solid) .nav__links .btn { --bg: var(--lapis); --fg: var(--linen); }
  .has-form .nav:not(.is-solid) .nav__links .btn::before { background: var(--gold); }
  .has-form .nav:not(.is-solid) .nav__links .btn:hover { color: var(--ink); }
}
#why, #proof { padding-top: clamp(1rem, 3vh, 2.5rem); }

/* what to have ready (referral, how it works) */
.ready { margin-top: 1.5rem; border-radius: var(--radius); background: var(--lapis); color: var(--linen); padding: clamp(1.4rem, 2.4vw, 2rem); display: grid; gap: 1.1rem; max-width: 26rem; position: relative; overflow: hidden; }
.ready h3 { font-size: 1.3rem; }
.ready ul { display: grid; gap: 0.7rem; }
.ready li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.7rem; align-items: baseline; color: var(--on-night); }
.ready li::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); translate: 0 -0.1rem; }
.ready svg { position: absolute; right: -1.2rem; bottom: -1.6rem; width: 8.5rem; height: 8.5rem; color: rgba(240, 184, 74, 0.2); }
.form-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-paper); }
.form-perks li { display: grid; gap: 0.15rem; font-size: 0.875rem; color: rgba(5, 5, 63, 0.7); }
.form-perks b { color: var(--ink); font-weight: 600; font-size: 0.9375rem; }
@media (max-width: 620px) { .form-perks { grid-template-columns: 1fr; } }

.preview-banner { margin: 0 0 1.5rem; padding: 0.75rem 1rem; border-radius: 0.85rem; background: rgba(179, 135, 40, 0.16); box-shadow: inset 0 0 0 1px rgba(179, 135, 40, 0.45); font-size: 0.875rem; color: rgba(5, 5, 63, 0.86); }
.preview-banner b { color: var(--ink); }
.notice { padding: 0.9rem 1.1rem; border-radius: 0.85rem; background: rgba(179, 135, 40, 0.16); font-size: 0.9688rem; color: rgba(5, 5, 63, 0.88); }
.success .h3 { margin-top: 0.6rem; }
.faq { border-top: 1px solid var(--line-paper); }
.faq details { border-bottom: 1px solid var(--line-paper); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.2rem; top: 0.85rem; font-size: 1.3rem; line-height: 1; color: var(--gold-deep); transition: rotate 0.3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 1.1rem; color: rgba(5, 5, 63, 0.76); font-size: 0.9688rem; max-width: 52ch; }
.refer-cta { margin-top: 2.5rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: #fbf8f1; box-shadow: inset 0 0 0 1px var(--line-paper); display: flex; flex-wrap: wrap; gap: 1.1rem 2rem; align-items: center; justify-content: space-between; }
.refer-cta > div { flex: 1 1 16rem; display: grid; gap: 0.35rem; }
.refer-cta p { font-size: 0.9375rem; color: rgba(5, 5, 63, 0.74); }
.hero__copy .lede { font-size: clamp(1.25rem, 1.9vw, 1.75rem); color: var(--linen); max-width: 24ch; }
@media (max-width: 980px) {
  .form-side { min-height: 0; padding-top: 34svh; padding-bottom: 1.75rem; gap: 0; }
  .form-side__note, .form-side > span:empty { display: none; }
}

.success:focus { outline: none; }
.success .h1 { font-size: var(--s3); line-height: 0.98; }

/* ---------- round two: robustness and access ---------- */
html:not(.js) .fstep { display: grid; margin-bottom: 2rem; }
.no-webgl .clock__hint { display: none; }
.site-footer__top > *, .hero__grid > *, .teaser > *, .section-head > * { min-width: 0; }
.site-footer li a, .contact-row a { overflow-wrap: anywhere; }
.note { color: var(--on-night-dim); }
@media (max-width: 860px) {
  .page-hero__copy { position: relative; }
  .marquee { margin-inline: calc(var(--gutter) * -1); }
  .scene-label { display: none; }
}

@media (max-width: 860px) {
  .chapter__copy { max-width: 40rem; }
  .chapter--right .chapter__copy { justify-self: start; }
}

@media (max-width: 860px) { .page-hero .display { max-width: none; } }
@media (max-width: 980px) { .form-side { padding-top: 40svh; } }

/* ---------- round three ---------- */
.field .hint { order: 3; }
.field .field__error { order: 2; }
.field .field__count { order: 4; }
.rail { scroll-padding-inline: var(--gutter); }
@media (max-width: 980px) {
  .form-side { padding-top: 27svh; }
  .form-side .h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .form-side .body { font-size: 0.9688rem; }
  .form-main { padding-top: 2rem; }
  .preview-banner { margin-bottom: 1.1rem; font-size: 0.8125rem; }
  .progress { margin-bottom: 1.5rem; }
}

/* form pages switch to the menu button where the form stacks (980), so nothing sits under the links */
@media (max-width: 980px) { .has-form .nav__links { display: none; } .has-form .nav__toggle { display: inline-flex; } }
@media (max-width: 980px) and (orientation: landscape) and (max-height: 520px) { .form-side { padding-top: 5.5rem; background: rgba(2, 2, 42, 0.66); } }

@media (max-width: 560px) { .hero .display { font-size: 15.4vw; } }
