/* =====================================================================
   TALON — The Falcon Identity
   Stylesheet. Palette, type and spacing follow the Talon Visual Identity
   Guidelines (Edition 01 · 2026). See CLAUDE.md for the design rules.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --brown: #4E3523;      /* Falcon Brown  — carries the identity */
  --umber: #2B1B12;      /* Deep Umber    — dark surfaces */
  --sand: #BB9B7A;       /* Sand Beige    — support */
  --taupe: #D9C9B6;      /* Warm Taupe    — support surfaces */
  --stone: #F4EFE9;      /* Stone         — the usual background */
  --dune: #8E6842;       /* Dune          — secondary text, rules */
  --gold: #C9A882;       /* Gold Dust     — highlight, accents */
  --gold-light: #E2CDB0; /* brightest stop of the Falcon Gradient */

  --bg: var(--stone);
  --fg: var(--brown);
  --fg-muted: var(--dune);
  --line: rgba(78, 53, 35, .16);

  --font-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-statement: 'Quicksand', var(--font-sans);
  --font-arabic: 'Tajawal', var(--font-sans);

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 80px);
  --nav-h: 76px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --dir: 1;
  --to-start: left center;
  --to-end: right center;
}
[dir="rtl"] {
  --dir: -1;
  --to-start: right center;
  --to-end: left center;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
[dir="rtl"] body { font-family: var(--font-arabic); }

img, svg { max-width: 100%; }
p { margin: 0 0 1.2em; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--umber); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; top: -100px; inset-inline-start: 1rem; z-index: 3000;
  background: var(--umber); color: var(--stone); padding: .6rem 1rem; border-radius: 4px; text-decoration: none;
}
.skip:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
section { position: relative; padding-block: clamp(6rem, 12vw, 11rem); }

.dark {
  --bg: var(--umber);
  --fg: var(--stone);
  --fg-muted: var(--gold);
  --line: rgba(244, 239, 233, .16);
  background: var(--bg);
  color: var(--fg);
}

/* ---------- Typography ---------- */
.display {
  font-weight: 300;
  font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0;
}
.h2 {
  font-weight: 300;
  font-size: clamp(1.7rem, 1rem + 2.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: 0 0 1.2rem;
}
.h3 {
  font-weight: 300;
  font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem);
  line-height: 1.3;
  margin: 0;
}
.lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.5; font-weight: 300; }
.label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  line-height: 1.5;
}
.statement {
  font-family: var(--font-statement);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .9rem;
  line-height: 1.8;
}
.statement--big {
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  letter-spacing: .24em;
  margin: 2.2rem 0 2.6rem;
}
.muted { color: var(--fg-muted); }
.small { font-size: .85rem; }
.gold { fill: url(#goldGrad); }
.gold-text { color: var(--gold); }

[dir="rtl"] .display,
[dir="rtl"] .h2,
[dir="rtl"] .h3,
[dir="rtl"] .sec-title { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] .display { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.8rem); }
[dir="rtl"] .lead { font-weight: 400; }
[dir="rtl"] .label { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; font-size: .9rem; }
[dir="rtl"] .statement { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
[dir="rtl"] .statement--big { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }

/* Split-text masks (built by main.js) */
.split .line { display: block; overflow: hidden; padding-block: .06em .16em; margin-block: -.06em -.16em; }
.split .line-inner { display: block; will-change: transform; }
.w { display: inline; white-space: nowrap; }

/* Section heads */
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.2rem; }
.sec-head::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold); }
.sec-title { font-weight: 300; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.sec-title--small { font-weight: 500; font-size: .95rem; letter-spacing: .01em; color: var(--fg-muted); line-height: 1.5; }
[dir="rtl"] .sec-title--small { font-size: 1.05rem; letter-spacing: 0; }


/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--umber); color: var(--stone);
  display: flex; align-items: center; justify-content: center;
}
.loader__inner { display: grid; justify-items: center; gap: 1.1rem; }
.loader__word { order: 0; width: min(50vw, 300px); height: auto; fill: #E9DCCB; clip-path: inset(0 100% 0 0); }
.loader__mark { order: 1; width: min(60vw, 358px); height: auto; fill: url(#goldGrad); opacity: 0; }
.loader__tag { order: 2; color: var(--gold); opacity: 0; margin-top: .4rem; }
html.is-loading body { overflow: hidden; }

/* ---------- Language wipe ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 900;
  background: var(--brown);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(-102%);
  visibility: hidden; pointer-events: none;
}
.wipe__mark { width: min(40vw, 220px); height: auto; fill: url(#goldGrad); }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 101; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: var(--to-start); }

/* ---------- Surface texture: the brand scale pattern, revealed around the pointer ----------
   cursor.js adds an <i class="tex"> behind the content of every section, the marquee, the footer
   and the "How it works" panels, and moves its mask with the pointer. Each surface gets its own
   version, so text is never washed out and nothing bleeds across section edges. */
.tex-host { position: relative; isolation: isolate; }
.tex {
  position: absolute; inset: 0; z-index: -1; display: block; pointer-events: none;
  --mx: -9999px; --my: -9999px; --bx: 0px; --by: 0px;
  background: url(../assets/img/scales-veins.png) no-repeat;
  background-size: var(--tex-w, 1820px) var(--tex-h, 1005px);
  background-position: var(--bx) var(--by);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0, 0, 0, .55) 42%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 0%, rgba(0, 0, 0, .55) 42%, transparent 100%);
  -webkit-mask-size: 640px 640px; mask-size: 640px 640px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: var(--mx) var(--my); mask-position: var(--mx) var(--my);
  opacity: .14;                                   /* Stone: brown lines between the scales */
  transition: opacity .4s;
}
.comp--taupe > .tex, .names > .tex, .how__panel > .tex, .soon > .tex { background-image: url(../assets/img/scales-light.png); opacity: .48; }  /* Warm Taupe */
.dark > .tex { background-image: url(../assets/img/scales-light.png); opacity: .04; }                           /* Deep Umber */
html.pointer-away .tex, html.is-loading .tex, body.menu-open .tex { opacity: 0; }

/* ---------- Falcon cursor (clicks with its talons) ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 2000; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.cursor.is-visible { opacity: 1; }
.cursor__bird {
  position: absolute; left: -16.09px; top: -24.75px; width: 26px; height: 27.33px;
  transform-origin: 16.09px 24.75px; will-change: transform;   /* numbers from tools/falcon/build.py */
}
.cursor__bird i {
  position: absolute; inset: 0; display: block;
  background-image: url(../assets/cursor/falcon-layers.png); background-repeat: no-repeat; background-size: 300% 200%;   /* longhands: each layer sets its own position */
  will-change: transform;
}
.cursor__fw { background-position: 0 0; transform-origin: 18.47px 14.68px; }
.cursor__bd { background-position: 50% 0; }
.cursor__nw { background-position: 100% 0; transform-origin: 15.87px 15.17px; }
.cursor.is-dark .cursor__fw { background-position: 0 100%; }
.cursor.is-dark .cursor__bd { background-position: 50% 100%; }
.cursor.is-dark .cursor__nw { background-position: 100% 100%; }
/* Before the script runs (or without it): the same falcon as a static pointer, hotspot on the talons */
html:not(.has-cursor) body { cursor: url(../assets/cursor/falcon.png) 16 25, auto; cursor: -webkit-image-set(url(../assets/cursor/falcon.png) 1x, url(../assets/cursor/falcon@2x.png) 2x) 16 25, auto; }
html:not(.has-cursor) a, html:not(.has-cursor) button { cursor: url(../assets/cursor/falcon.png) 16 25, pointer; cursor: -webkit-image-set(url(../assets/cursor/falcon.png) 1x, url(../assets/cursor/falcon@2x.png) 2x) 16 25, pointer; }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--brown);
  transition: color .45s, opacity .4s, visibility 0s 0s;
}
.nav--away { opacity: 0; visibility: hidden; pointer-events: none; transition: color .45s, opacity .4s, visibility 0s .4s; }
body.menu-open .nav { color: var(--stone); opacity: 1; visibility: visible; pointer-events: auto; }

.nav__brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.nav__mark { width: 46px; height: auto; fill: currentColor; transition: fill .45s; }
body.menu-open .nav__mark { fill: url(#goldGrad); }
.nav__word { width: 80px; height: auto; fill: currentColor; }

.nav__links { display: flex; gap: 2.4rem; }
@media (max-width: 1180px) { .nav__links { gap: 1.5rem; } .island__links { gap: 1rem; } }
.nav__links a {
  position: relative; text-decoration: none; color: inherit; white-space: nowrap;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  padding-block: .35rem; opacity: .85; transition: opacity .3s;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: var(--to-end);
  transition: transform .55s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: var(--to-start); }
[dir="rtl"] .nav__links a { letter-spacing: 0; text-transform: none; font-size: .98rem; }

.nav__actions { display: flex; align-items: center; gap: .8rem; }
.lang {
  border: 1px solid currentColor; border-radius: 999px;
  padding: .48rem 1.05rem; background: transparent; color: inherit;
  font-size: .76rem; letter-spacing: .08em; font-weight: 500; line-height: 1;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.lang:hover { background: var(--brown); color: var(--stone); border-color: var(--brown); }
body.menu-open .lang:hover { background: var(--stone); color: var(--umber); border-color: var(--stone); }
[dir="rtl"] .lang { font-family: var(--font-sans); }
.lang--menu { border-color: var(--gold); color: var(--gold); padding: .7rem 1.4rem; font-size: .85rem; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px; cursor: pointer;
  margin-inline-end: -10px;
}
.burger span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Floating island navigation ---------- */
.island {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  display: flex; align-items: center; gap: .3rem;
  padding: .32rem .4rem .32rem 1rem;
  border-radius: 999px;
  background: rgba(43, 27, 18, .86); color: var(--stone);
  border: 1px solid rgba(201, 168, 130, .22);
  box-shadow: 0 18px 40px -18px rgba(43, 27, 18, .6);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  width: max-content; white-space: nowrap;   /* left: 50% would otherwise cap it at half the viewport */
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -22px) scale(.96);
  transition: opacity .45s, transform .65s var(--ease), visibility 0s .45s;
}
.island.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
body.menu-open .island { opacity: 0; visibility: hidden; }
.island__mark { display: flex; align-items: center; padding-inline-end: .85rem; margin-inline-end: .25rem; border-inline-end: 1px solid rgba(244, 239, 233, .14); }
.island__mark svg { width: 38px; height: auto; fill: url(#goldGrad); }
.island__links { display: flex; align-items: center; gap: 1.35rem; padding-inline: .25rem .7rem; }
.island__links a {
  position: relative; text-decoration: none;
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: rgba(244, 239, 233, .7); padding: .55rem 0; transition: color .3s;
}
.island__links a:hover, .island__links a.is-active { color: var(--gold-light); }
.island__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: .1rem; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
[dir="rtl"] .island__links a { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.island .lang { border-color: rgba(201, 168, 130, .45); color: var(--gold-light); padding: .4rem .85rem; font-size: .68rem; }
.island .lang:hover { background: var(--gold); color: var(--umber); border-color: var(--gold); }
.island__burger { display: none; color: var(--stone); margin-inline-end: 0; width: 40px; height: 40px; }

/* ---------- Full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--umber); color: var(--stone);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .75s var(--ease), visibility 0s .75s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.menu__scales { position: absolute; inset: 0; background: url(../assets/img/scales-dark.png) center / cover no-repeat; opacity: .05; }
.menu__links { position: relative; display: grid; gap: .3rem; }
.menu__links a {
  font-weight: 300; font-size: clamp(2.2rem, 8vw, 4.2rem); line-height: 1.15;
  color: inherit; text-decoration: none; width: fit-content;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .7s var(--ease), color .3s;
}
.menu__links a:hover { color: var(--gold); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .21s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .27s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .33s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .39s; }
.menu__foot { position: relative; margin-top: 3rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.menu__tag { color: var(--gold); opacity: .8; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 3rem;
  overflow: hidden;
}
.hero__inner { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 2rem; }
.hero__top { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 6vh, 4rem); color: var(--dune); }
.hero__title { grid-column: 1 / -1; max-width: 19ch; text-wrap: balance; margin-bottom: clamp(2rem, 5vh, 4rem); }
.hero__falcon {
  grid-column: 6 / -1; grid-row: 3; align-self: center;
  position: relative; z-index: 0; pointer-events: none;
  margin-inline-end: -14%;
  will-change: transform;
}
.hero__falcon img { display: block; width: 100%; height: auto; }
.hero__copy { grid-column: 1 / 6; grid-row: 3; position: relative; z-index: 1; }
.hero__copy p { max-width: 46ch; }
.hero__copy .lead { margin-bottom: 1rem; }
.hero__chips { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.hero__cta { margin-top: 1.8rem; }
.hero__partner { grid-column: 1 / -1; grid-row: 4; justify-self: end; display: grid; justify-items: end; gap: .65rem; margin-top: clamp(1.5rem, 4vh, 2.75rem); }
.hero__partner .label { color: var(--dune); font-size: .62rem; }
.hero__partner img { display: block; width: 168px; height: auto; }
/* the partner logo links to repeater.technology (hero and footer) */
.partner-link { display: block; width: fit-content; transition: opacity .3s; }
.partner-link:hover { opacity: .7; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 1.05rem; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; animation: marquee 70s linear infinite; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 3rem; padding-inline-end: 3rem;
  font-family: var(--font-statement); font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  font-size: .78rem; color: var(--dune);
}
.marquee__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
[dir="rtl"] .marquee__item { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; font-size: 1rem; }

/* ---------- Why TALON ---------- */
.why__word { position: relative; width: 100%; margin-bottom: clamp(3rem, 9vw, 8rem); }
.why__outline, .why__fill { display: block; width: 100%; height: auto; }
.why__outline { fill: none; stroke: var(--brown); stroke-width: .8px; opacity: .35; }
.why__fill { position: absolute; inset: 0; fill: var(--brown); clip-path: inset(0 100% 0 0); }
[dir="rtl"] .why__fill { clip-path: inset(0 0 0 100%); }
.why__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.why__grid .sec-head { grid-column: 1 / 6; align-items: baseline; }
.why__copy { grid-column: 6 / 12; }
.why__born { display: flex; align-items: center; gap: 1.4rem; font-weight: 300; font-size: 1.15rem; }
.why__born-mark { width: 72px; height: auto; fill: var(--brown); flex: none; }
.why__falcon { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.why__falcon .label { display: block; color: var(--dune); margin-bottom: 1rem; }
.why__falcon p { margin: 0; }

/* ---------- Story ---------- */
.story { padding-bottom: 0; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.story__sticky { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.story__sticky .label { color: var(--gold); }
.story__q { margin-top: 1.2rem; max-width: 13ch; font-size: clamp(2.3rem, 1.2rem + 3.2vw, 4.6rem); }
.story__mark { display: block; width: 110px; height: auto; margin-top: 2.6rem; }
.story__flow { grid-column: 7 / -1; padding-top: 28vh; padding-bottom: 8vh; }
.story__flow .label { color: var(--gold); margin: 2.4rem 0 1rem; }
.story__flow p { margin-bottom: 1.6rem; }
.story__phil .w { opacity: .18; }
.story__final { padding-block: clamp(7rem, 16vw, 13rem); text-align: center; }
.story__final .display { margin: 0 auto; max-width: 24ch; font-size: clamp(1.9rem, 1rem + 2.9vw, 4rem); }
.story__final .display + .display { margin-top: .15em; }

/* ---------- What is TALON ---------- */
.what__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: end; }
.what__head { grid-column: 1 / 7; }
.what__head .h2 { margin: 0; max-width: 20ch; }
.what__copy { grid-column: 8 / -1; }
.what__copy p { max-width: 52ch; }

/* ---------- Components: TALON MARK, TALON CORE, TALON BAND ---------- */
.comp { overflow: hidden; }
.comp--taupe { background: var(--taupe); }
.comp__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: start; }
.comp__head { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 2rem); }
.comp__copy { grid-column: 7 / -1; }
.comp__art { display: block; width: clamp(150px, 15vw, 220px); height: auto; color: var(--dune); margin: 1.6rem 0 1.2rem; overflow: visible; }
.dark .comp__art { color: var(--gold); }
/* MARK: the ridges of a signature breathe in turn, from the centre out */
.comp__art--mark path { animation: ridge 5.2s ease-in-out infinite; animation-delay: calc(var(--k) * .3s); }
@keyframes ridge { 0%, 100% { opacity: .35; } 45% { opacity: 1; } }
/* CORE: a glowing nucleus (نواة) with three points circling it (animateMotion in the markup) */
.core__glow { transform-box: fill-box; transform-origin: center; animation: core-glow 3.8s ease-in-out infinite; }
@keyframes core-glow { 0%, 100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1.15); opacity: 1; } }
.comp__art--core ellipse { opacity: .6; }
/* BAND: a light runs round the ring */
.band__light { stroke-dasharray: 9 91; animation: band-light 6s linear infinite; }
@keyframes band-light { to { stroke-dashoffset: -100; } }
.comp__name { margin: 0; }
.comp__role { margin: .9rem 0 0; color: var(--dune); }
.dark .comp__role { color: var(--gold); }
.comp__copy p { margin: 0 0 1.4rem; max-width: 60ch; }
.comp__copy .comp__statement { margin: 2.4rem 0 1.4rem; max-width: 26ch; }

/* ---------- The names ---------- */
.names { background: var(--taupe); }
.names .sec-title { max-width: 24ch; font-size: clamp(1.9rem, 1rem + 2.3vw, 3.2rem); }
.names__intro { max-width: 52ch; margin: 1.6rem 0 0; }
.names__grid { list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.names__item { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.names__word { display: block; font-weight: 300; font-size: clamp(2.2rem, 1.2rem + 3vw, 3.6rem); line-height: 1; letter-spacing: .04em; }
[dir="rtl"] .names__word { letter-spacing: 0; }
.names__item p { margin: 1rem 0 0; max-width: 32ch; }
.names__verbs { margin-top: clamp(3.5rem, 8vw, 6rem); }

/* ---------- How it works ---------- */
.how { padding: 0; }
.how__pin {
  position: relative; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h);
}
.how__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.6rem; }
.how__head .sec-head { margin: 0; }
.how__cue { position: relative; display: block; width: 72px; height: 1px; background: var(--line); overflow: hidden; align-self: center; }
.how__cue i { position: absolute; top: 0; left: 0; width: 22px; height: 100%; background: var(--brown); animation: cue-h 2.2s var(--ease-io) infinite; }
@keyframes cue-h { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(72px); } }
@keyframes cue-h-rtl { 0% { transform: translateX(72px); } 60%, 100% { transform: translateX(-100%); } }
[dir="rtl"] .how__cue i { left: auto; right: 0; animation-name: cue-h-rtl; }
.how__track { display: flex; will-change: transform; padding-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.how__panel {
  flex: none; width: min(60vw, 700px); height: min(58vh, 540px);
  border-radius: 6px;
  padding: 2.6rem; margin-inline-end: 1.2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; background: var(--taupe);
}
.how__panel--alt { background: rgba(217, 201, 182, .5); }
.how__panel--intro { background: transparent; justify-content: center; width: min(46vw, 560px); }
.how__panel--intro .display { max-width: 12ch; }
.how__panel--end { justify-content: center; background: var(--umber); color: var(--stone); }
.how__panel .how__tag { margin: 0 0 auto; color: var(--dune); }
.how__panel .h2 { margin-bottom: .5rem; }
.how__panel p { margin: 0; max-width: 34ch; }
.how__panel .how__lead { margin: 0 0 .7rem; font-size: .95rem; color: var(--dune); }
.how__one { display: block; }
.how__end-mark { position: absolute; top: 2.2rem; inset-inline-end: 2.4rem; width: 90px; height: auto; }
.how__progress { position: absolute; bottom: 2.4rem; inset-inline-start: max(var(--gutter), calc((100vw - var(--container)) / 2)); width: 160px; height: 1px; background: var(--line); }
.how__progress span { display: block; height: 100%; background: var(--brown); transform: scaleX(0); transform-origin: var(--to-start); }
.how__summary { padding-block: 4rem clamp(6rem, 12vw, 11rem); }
.how__summary p { max-width: 62ch; }

/* ---------- Digital identity ---------- */
.identity { overflow: hidden; }
.journey__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: end; }
.journey__title { grid-column: 1 / 7; margin: 0; max-width: 28ch; }
.journey__text { grid-column: 8 / -1; margin: 0; max-width: 52ch; color: rgba(244, 239, 233, .75); }
.steps { list-style: none; margin: clamp(3.5rem, 7vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; top: 6px; inset-inline: 0; height: 1px; }
.steps::before { background: rgba(244, 239, 233, .16); }
.steps::after { background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: var(--to-start); }
.steps li { position: relative; padding-top: 2.1rem; font-weight: 300; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); color: rgba(244, 239, 233, .5); transition: color .6s; }
.steps li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold); background: var(--umber); transition: background .6s; }
.steps li.is-on { color: var(--stone); }
.steps li.is-on::before { background: var(--gold); }
.identity__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: center; margin-top: clamp(6rem, 12vw, 10rem); }
.identity__copy { grid-column: 1 / 7; position: relative; }
.identity__visual { grid-column: 8 / -1; perspective: 1400px; position: relative; }
.identity__copy .h3 { margin: 0 0 1.3rem; }
.idcard {
  position: relative; overflow: hidden;
  border-radius: 14px; padding: 2rem;
  background: linear-gradient(140deg, #3B2618 0%, #2B1B12 65%);
  border: 1px solid rgba(201, 168, 130, .32);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .65);
  transform-style: preserve-3d;
  transition: transform .18s linear;
}
.idcard__sheen {
  position: absolute; inset: -60%; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(226, 205, 176, .13) 50%, transparent 58%);
  transform: translateX(var(--sx, -40%));
  transition: transform .2s linear;
}
.idcard__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.idcard__head .label { color: var(--gold-light); font-size: .68rem; }
.idcard__mark { width: 76px; height: auto; }
.idcard__fields { list-style: none; margin: 0; padding: 0; }
.idcard__fields li {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .95rem 0; border-top: 1px solid rgba(244, 239, 233, .1);
  font-size: .92rem; color: var(--gold-light);
}
.idcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(244, 239, 233, .1); }

/* ---------- Ecosystem ---------- */
.eco__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: center; }
.eco__copy { grid-column: 1 / 6; }
.eco__visual { grid-column: 7 / -1; }
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--brown); overflow: visible; }
.orbit__ring { stroke-width: 1; opacity: .3; stroke-dasharray: 2 7; }
.orbit__ring--inner { opacity: .18; stroke-dasharray: none; }
.orbit__spokes line { stroke-width: 1; opacity: .5; }
.orbit__satellite { fill: var(--gold); stroke: none; transform-origin: 300px 300px; animation: orbit 26s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.orbit__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 34%; display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center;
}
.orbit__center .label { font-size: .66rem; color: var(--dune); }
.orbit__mark { width: 78px; height: auto; fill: var(--brown); }
.orbit__node {
  position: absolute; left: 50%; top: 50%;
  --a: calc(var(--i) * 360deg / var(--n, 6) - 90deg);
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(39.3cqw) rotate(calc(-1 * var(--a)));
  padding: .55rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: var(--stone);
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.orbit__node:hover { background: var(--brown); color: var(--stone); border-color: var(--brown); }
[dir="rtl"] .orbit__node { letter-spacing: 0; text-transform: none; font-size: .95rem; }

/* ---------- Future applications ---------- */
.apps__intro { max-width: 54ch; margin-bottom: 3rem; }
.apps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; border-top: 1px solid var(--line); }
.apps__item {
  border-bottom: 1px solid var(--line); padding: 1.5rem 0;
  font-weight: 300; font-size: clamp(1.2rem, 1rem + .9vw, 1.75rem); line-height: 1.2;
  transition: transform .6s var(--ease);
}
.apps__item:hover { transform: translateX(calc(.5rem * var(--dir))); }
.apps__disclaimer { margin-top: 2.6rem; max-width: 72ch; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.team__head { grid-column: 1 / 6; }
.team__copy { grid-column: 7 / -1; }
.team__copy .label { margin-top: 2rem; }
.team__triplet { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; }
/* three portraits on one gold ledge, with air between them; each rises from behind it (main.js) */
.team__people { --gap: clamp(3.5rem, 7vw, 7rem); --cols: 3; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; column-gap: var(--gap); row-gap: clamp(4.5rem, 8vw, 6.5rem); max-width: 1200px; margin: clamp(4rem, 9vw, 7rem) auto 0; }
.team__people .person { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.person { margin: 0; }
.person__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.person__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.person__ledge { display: block; height: 2px; margin-inline: calc(var(--gap) / -2); background: var(--gold); transform: scaleX(var(--line, 1)); transform-origin: center; }
/* the ledges meet halfway across each gap, so each row reads as one line.
   rows: three then two centred (wide), two per row (mid), one (phones); each row's ends overhang a little */
@media (min-width: 1200px) {
  .person:nth-child(3n+1) .person__ledge { margin-inline-start: -1.25rem; }
  .person:nth-child(3n) .person__ledge, .person:last-child .person__ledge { margin-inline-end: -1.25rem; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .team__people { --cols: 2; max-width: 860px; }
  .person:nth-child(odd) .person__ledge { margin-inline-start: -1.25rem; }
  .person:nth-child(even) .person__ledge, .person:last-child .person__ledge { margin-inline-end: -1.25rem; }
}
.person figcaption { margin-top: 1.2rem; display: grid; gap: .2rem; }
.person__name { font-weight: 400; font-size: 1.15rem; }
.person__bio { margin: .55rem 0 0; font-size: .86rem; line-height: 1.65; color: var(--dune); max-width: 40ch; }
[dir="rtl"] .person__bio { font-size: .95rem; }

/* ---------- Technology ---------- */
.tech { overflow: hidden; }
.tech__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.tech__copy { grid-column: 1 / 8; }
.tech__simple { margin: 4rem 0 1.6rem; color: var(--gold); }
.tech__verbs { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.tech__verbs li { margin: 0; }
.tech__outro { margin-top: 4.5rem; max-width: 32ch; }

/* ---------- Vision ---------- */
.vision { overflow: hidden; padding-bottom: 0; }
.vision__title { max-width: 21ch; margin-bottom: 3rem; }
.vision__not { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .45rem; }
.vision__not li { font-weight: 300; font-size: clamp(1.2rem, 1rem + .8vw, 1.65rem); color: var(--dune); }
.vision__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.vision__copy { grid-column: 1 / 6; }
.vision__lines { grid-column: 7 / -1; display: grid; gap: 1.2rem; align-content: start; }
.vision__lines p { margin: 0; }
.horizon { position: relative; height: 150px; margin-top: clamp(4rem, 10vw, 8rem); }
.horizon__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 25%, var(--gold-light) 50%, var(--gold) 75%, transparent);
  transform: scaleX(0);
}
.horizon__mark { position: absolute; left: 50%; bottom: 22px; width: min(44vw, 330px); height: auto; fill: var(--brown); transform: translateX(-50%); }

/* ---------- Closing ---------- */
.closing { min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.closing__photo {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 56%; margin: 0; pointer-events: none;
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 45%);
  mask-image: linear-gradient(to left, transparent 0%, #000 45%);
}
[dir="rtl"] .closing__photo { transform: none; }
.closing__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; opacity: .78; filter: saturate(.8); will-change: transform; }
.closing__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(43, 27, 18, .6), transparent 32%, transparent 68%, rgba(43, 27, 18, .75)); }
.closing__inner { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 7vh, 5rem); justify-items: start; }
.closing__lines { max-width: 52%; }
.closing__lines p { margin: 0; opacity: .14; font-size: clamp(2rem, 1rem + 3.4vw, 4.2rem); }
.closing__lines p + p { margin-top: .12em; }
.closing__lockup { display: grid; justify-items: start; gap: .9rem; }
.closing__word { width: min(40vw, 300px); height: auto; fill: #E9DCCB; }
.closing__mark { width: min(48vw, 358px); height: auto; margin-top: -.3rem; }
.closing__sub { color: var(--gold-light); }
.closing__tag { margin-top: 1.4rem; color: var(--gold); opacity: .85; }
.closing__tag2 { color: var(--gold-light); opacity: .7; }

/* ---------- Coming soon ---------- */
.soon { background: var(--taupe); }
.soon__inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem 2rem; align-items: end; }
.soon__head { grid-column: 1 / 8; }
.soon__rule { display: block; width: 2.25rem; height: 1px; background: var(--dune); margin-bottom: 1.6rem; }
.soon__title { margin: 0 0 1rem; }
.soon__line { max-width: 24ch; }
.soon__event { grid-column: 9 / -1; display: grid; justify-items: start; gap: .9rem; padding-bottom: .5rem; }
.soon__name { font-size: 1.15rem; line-height: 1.4; }
.soon__when { color: var(--dune); }
.soon__cta { margin-top: .8rem; text-decoration: none; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem 2rem; }
.contact__info { grid-column: 1 / 6; }
.contact__form { grid-column: 7 / -1; display: grid; gap: 1.6rem; align-content: start; padding-top: .6rem; }
.contact__list { margin: 2.6rem 0 0; display: grid; gap: 1.2rem; }
.contact__row { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.contact__row dt { color: var(--dune); }
.contact__row dd { margin: 0; }
.contact__row dd a { text-decoration: none; }
.tba {
  display: inline-block; border: 1px dashed var(--sand); border-radius: 999px;
  padding: .28rem .85rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dune);
}
[dir="rtl"] .tba { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.socials { display: flex; gap: .7rem; }
.social {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: inherit;
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--brown); color: var(--stone); border-color: var(--brown); }
.social.is-tba { border-style: dashed; border-color: var(--sand); opacity: .6; }

.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; padding: 1.5rem 0 .7rem; font: inherit; color: inherit; outline: none;
  resize: vertical; transition: border-color .3s;
}
.field label {
  position: absolute; inset-inline-start: 0; top: 1.45rem; color: var(--dune); pointer-events: none;
  transform-origin: var(--to-start); transition: transform .4s var(--ease), color .3s, letter-spacing .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--brown); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.3rem) scale(.72); color: var(--brown); letter-spacing: .14em; text-transform: uppercase;
}
[dir="rtl"] .field input:focus + label, [dir="rtl"] .field input:not(:placeholder-shown) + label,
[dir="rtl"] .field textarea:focus + label, [dir="rtl"] .field textarea:not(:placeholder-shown) + label { letter-spacing: 0; text-transform: none; transform: translateY(-1.3rem) scale(.8); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--dune); box-shadow: 0 1px 0 var(--dune); }
.field.is-invalid label { color: var(--dune); }
.contact .h2, .invest .h2, .soon__line { text-wrap: balance; }

.btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 1rem;
  border: 1px solid var(--brown); border-radius: 999px; padding: .95rem 1.7rem .95rem 1.9rem;
  background: var(--brown); color: var(--stone);
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background .3s, transform .4s var(--ease); text-decoration: none;
  will-change: transform;
}
.btn__mark { width: 38px; height: auto; fill: var(--gold); transition: transform .5s var(--ease); }
.btn:hover { background: var(--umber); }
.btn:hover .btn__mark { transform: translateX(calc(4px * var(--dir))); }
[dir="rtl"] .btn { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.form__note { margin: 0; min-height: 1.4em; color: var(--dune); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.hp { display: none; }
.btn:disabled { opacity: .6; cursor: default; }
.contact__form.is-sent .form__note { color: var(--brown); font-weight: 500; }

/* investment type: radio pills */
.choice { border: 0; margin: 0; padding: .4rem 0 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: .9rem; color: var(--dune); }
.choice__opts { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; inset: 0; margin: 0; opacity: 0; }
.pill span {
  display: inline-block; padding: .6rem 1.15rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s;
}
.pill:hover span { border-color: currentColor; }
.pill input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--umber); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice.is-invalid .pill span { border-style: dashed; border-color: var(--sand); }
[dir="rtl"] .pill span { letter-spacing: 0; text-transform: none; font-size: .95rem; }

/* forms on Deep Umber (early investment) */
.dark .field label, .dark .choice legend { color: var(--gold); }
.dark .field input:focus, .dark .field textarea:focus { border-color: var(--gold); }
.dark .field input:focus + label, .dark .field input:not(:placeholder-shown) + label,
.dark .field textarea:focus + label, .dark .field textarea:not(:placeholder-shown) + label { color: var(--gold-light); }
.dark .field.is-invalid input, .dark .field.is-invalid textarea { border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.dark .btn { background: var(--gold); border-color: var(--gold); color: var(--umber); }
.dark .btn:hover { background: var(--gold-light); }
.dark .btn__mark { fill: var(--umber); }
.dark .form__note, .dark .contact__form.is-sent .form__note { color: var(--gold-light); }
.invest__note { margin-top: 2rem; max-width: 46ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 3.2rem; background: var(--stone); }
.footer__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.footer__brand { display: flex; align-items: center; gap: 1.1rem; color: var(--dune); }
.footer__mark { width: 66px; height: auto; fill: var(--brown); }
.footer__partner { display: grid; justify-items: center; gap: .9rem; text-align: center; }
.footer__partner .label { color: var(--dune); font-size: .64rem; }
.footer__partner img { width: 190px; height: auto; }
.footer__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; color: var(--dune); }
.footer__top { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer__credit { font-size: .7rem; opacity: .7; }
.footer__top:hover { border-color: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .story__sticky { grid-column: 1 / 6; }
  .story__flow { grid-column: 7 / -1; }
}
@media (max-width: 1024px) {
  .why__grid .sec-head, .why__copy,
  .what__head, .what__copy,
  .journey__title, .journey__text,
  .identity__copy, .identity__visual,
  .eco__copy, .eco__visual,
  .team__head, .team__copy,
  .comp__head, .comp__copy,
  .tech__copy,
  .vision__copy, .vision__lines,
  .contact__info, .contact__form, .soon__head, .soon__event,
  .story__sticky, .story__flow { grid-column: 1 / -1; }
  .story__sticky { position: relative; top: auto; }
  .story__flow { padding-top: 3.5rem; }
  .comp__head { position: relative; top: auto; }
  .comp__copy { margin-top: 2rem; }
  .apps__list { grid-template-columns: 1fr 1fr; }
  .hero__copy { grid-column: 1 / -1; grid-row: auto; }
  .hero__falcon { grid-column: 1 / -1; grid-row: auto; width: 100%; margin: 0 0 2.5rem; }
  .hero__partner { grid-row: auto; justify-self: start; justify-items: start; margin-top: 2.5rem; }
  .what__copy, .journey__text { margin-top: 1.6rem; }
  .identity__visual, .eco__visual { margin-top: 3rem; }
  .vision__lines { margin-top: 1rem; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: flex; }
  .island__links { display: none; }
  .island__burger { display: flex; }
  .island { padding-inline-start: .85rem; gap: .2rem; }
  .island__mark { padding-inline-end: .6rem; }
  .how__pin { height: auto; overflow: visible; display: block; padding-top: clamp(6rem, 12vw, 11rem); }
  .how__head { margin-bottom: 2rem; }
  .how__cue { display: none; }
  .how__track { flex-direction: column; padding-inline: 0; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; gap: 1rem; }
  .how__panel, .how__panel--intro { width: 100%; height: auto; min-height: 300px; margin: 0; }
  .how__panel--intro { min-height: 0; padding-inline: 0; }
  .how__progress { display: none; }
  .how__summary { padding-top: 3rem; }
  .closing { display: block; padding-top: 0; }
  .team__people { --cols: 1; max-width: 420px; --gap: 5rem; row-gap: 5rem; }
  .person__ledge { margin-inline: 0; }
  .closing__photo { position: relative; inset: auto; width: 100%; height: 46vh; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
  .closing__inner { padding-top: 1rem; }
  .closing__lines { max-width: none; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .hero__top { flex-direction: column; gap: .4rem; }
  .hero__falcon { width: 120%; margin-inline-start: -10%; }
  .contact__row { grid-template-columns: 1fr; gap: .4rem; }
  .form__row { grid-template-columns: 1fr; }
  .names__grid { grid-template-columns: 1fr; gap: 2rem; }
  .apps__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; justify-items: start; }
  .footer__partner { justify-items: start; text-align: start; }
  .footer__meta { align-items: flex-start; }
  .orbit__node { font-size: .66rem; padding: .45rem .8rem; }
  .closing__lines .display { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .closing__word { width: min(56vw, 300px); }
  .closing__mark { width: min(66vw, 358px); }
}

/* The identity journey runs down the page on phones: four steps don't fit in a row */
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps::before, .steps::after { top: 0; bottom: 0; inset-inline: 6px auto; width: 1px; height: auto; }
  .steps::after { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .steps li { padding-top: 0; padding-inline-start: 2.2rem; }
  .steps li::before { top: .25em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .orbit__satellite, .how__cue i, .comp__art * { animation: none; }
  .story__phil .w, .closing__lines p { opacity: 1; }
  .why__fill { clip-path: none; }
  .horizon__line { transform: none; }
  .loader__mark, .loader__tag { opacity: 1; }
  .loader__word { clip-path: none; }
  /* main.js sets the journey line to its end state; show it without a transition */
  .steps li, .steps li::before { transition: none; }
}
/* Nothing slides with reduced motion, so the pinned "How it works" track (a window the panels
   slide through) becomes a static grid: intro across the top, the three steps, the closing panel.
   Up to 900 px it already stacks. */
@media (prefers-reduced-motion: reduce) and (min-width: 901px) {
  .how__pin { height: auto; overflow: visible; display: block; padding-top: clamp(6rem, 12vw, 11rem); }
  .how__cue, .how__progress { display: none; }
  .how__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding-inline: 0; }
  .how__panel { width: auto; height: auto; min-height: 340px; margin: 0; }
  .how__panel--intro, .how__panel--end { grid-column: 1 / -1; }
  .how__panel--intro { min-height: 0; padding: 0 0 1.6rem; }
  .how__panel--end { min-height: 300px; }
}
