/* exodiusgroup.com, 2026-11-07. One idea: the monolith at dawn, with the name parting around it.
   Colour is taken from the hero photograph: basalt, slate sky, salt, and the thin gold band before sunrise. */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0e13;          /* basalt */
  --bg-2: #10141b;
  --ink: #e9e6df;         /* salt */
  --muted: #9ba3b0;
  --faint: #6f7785;
  --line: rgba(233, 230, 223, 0.13);
  --gold: #d8b47a;        /* the band at the horizon */
  --slate: #2b3546;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--ink); color: var(--bg); font-weight: 600; }
.skip-link:focus { top: 12px; }
[id] { scroll-margin-top: 84px; }

/* Labels: wide, small caps, tracked. They carry the "instrument" voice. */
.label {
  font-family: var(--sans); font-stretch: 125%; font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  margin: 0;
}
.label b { color: var(--gold); font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); height: 68px;
  padding-top: env(safe-area-inset-top);
  background: rgba(11, 14, 19, 0); transition: background-color .4s var(--ease);
}
.site-header.is-solid { background: rgba(11, 14, 19, 0.94); border-bottom: 1px solid var(--line); }
.wordmark {
  font-stretch: 125%; font-weight: 700; letter-spacing: 0.32em; font-size: 13px; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  font-stretch: 125%; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--muted); padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-contact { color: var(--ink); border: 1px solid var(--line); margin-left: 8px; padding: 0 16px; }
@media (max-width: 860px) { .site-nav a:not(.nav-contact) { display: none; } }

/* ---------- hero: the monolith ---------- */
.kt { --kt-p: 0; position: relative; height: 260svh; background: #10151d; }
.kt__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.kt__plate {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(calc(1.03 + var(--kt-p) * 0.08)); transform-origin: 50% var(--oy, 70%); will-change: transform;
}
.kt__bg { z-index: 0; }
/* The stone is nearer than the horizon, so it grows faster: a real dolly, with its base planted. */
.kt__stone { z-index: 2; pointer-events: none; transform: scale(calc(1.03 + var(--kt-p) * 0.30)); }
.kt__word {
  position: absolute; z-index: 1; left: 0; right: 0; top: 50%; margin: 0;
  display: flex; justify-content: center;
  font-family: var(--sans); font-stretch: 62%; font-weight: 800;
  font-size: clamp(6.5rem, 31vw, 38rem); line-height: 0.8; letter-spacing: -0.015em;
  color: #dfe2e6; white-space: nowrap;
  transform: translate3d(0, -50%, 0);
  opacity: calc(0.92 - var(--kt-p) * 0.35);
}
.kt__char {
  display: inline-block; will-change: transform;
  transform: translate3d(calc(var(--side) * var(--kt-p) * 26vw * (0.45 + 0.55 * var(--d))), 0, 0);
}
.kt__front {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 0;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 24px 48px;
  padding-bottom: clamp(28px, 7svh, 72px);
}
.kt__front h1 {
  font-family: var(--serif); font-size: clamp(2.6rem, 1.2rem + 5.4vw, 6.6rem); line-height: 0.98; letter-spacing: -0.01em;
  color: #f3f1ec;
  opacity: clamp(0, (var(--kt-p) - 0.18) * 3.2, 1);
  transform: translate3d(0, calc((1 - clamp(0, (var(--kt-p) - 0.18) * 3.2, 1)) * 5svh), 0);
}
.kt__front h1 em { font-style: italic; color: var(--gold); }
.kt__lede {
  margin: 0; max-width: 46ch; font-size: clamp(15px, 1.15vw, 17px); color: #d4d6db;
  opacity: clamp(0, (var(--kt-p) - 0.32) * 3.2, 1);
}
.kt__intro {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: calc(68px + 4svh);
  display: flex; justify-content: space-between; gap: 16px;
  opacity: clamp(0, 1 - var(--kt-p) * 5, 1);
}
.kt__intro .label { color: #c9ced6; }
.kt__cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); opacity: clamp(0, 1 - var(--kt-p) * 6, 1); }
.kt__cue .label { color: #c9ced6; }
.kt__shade { position: absolute; inset: 0; z-index: 2; background: rgba(8, 10, 14, calc(var(--kt-p) * 0.42)); pointer-events: none; }

@media (max-width: 760px) {
  .kt { height: 230svh; }
  .kt__word { font-size: 29vw; top: 18%; }
  .kt__intro { top: auto; bottom: 64px; }
  .kt__intro .label + .label { display: none; }
  .kt__front { grid-template-columns: 1fr; }
  .kt__front h1 { font-size: clamp(2.5rem, 11.5vw, 3.6rem); }
  .kt__char { transform: translate3d(calc(var(--side) * var(--kt-p) * 34vw * (0.45 + 0.55 * var(--d))), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .kt { height: auto; }
  .kt__sticky { position: relative; min-height: 100svh; }
  .kt__plate { transform: scale(1.06); }
}

/* ---------- chapters ---------- */
main { position: relative; z-index: 1; }
.chapter { padding: clamp(88px, 14vw, 180px) var(--gutter); border-top: 1px solid var(--line); }
.chapter__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px 48px; align-items: start; }
.chapter__head .label { padding-top: 0.9em; }
.chapter h2 {
  font-family: var(--serif); font-size: clamp(2.4rem, 1rem + 4.6vw, 5.4rem); line-height: 1.0; letter-spacing: -0.012em; max-width: 16ch;
}
.chapter h2 em { font-style: italic; color: var(--gold); }
.chapter__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px 48px; margin-top: clamp(32px, 5vw, 64px); }
.chapter__body > * { grid-column: 2; }
.lead { margin: 0; max-width: 54ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: #cfd2d8; }

/* Three motions as a ruled row, not cards */
.motions { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.motions li { padding: 28px 28px 0 0; }
.motions li + li { border-left: 1px solid var(--line); padding-left: 28px; }
.motions .idx { font-stretch: 125%; font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.motions h3 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; margin: 18px 0 12px; }
.motions p { margin: 0; color: var(--muted); max-width: 30ch; }
@media (max-width: 760px) {
  .chapter__head, .chapter__body { grid-template-columns: 1fr; }
  .chapter__body > * { grid-column: 1; }
  .motions { grid-template-columns: 1fr; }
  .motions li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .motions li { padding-bottom: 24px; }
}

/* The network: a numbered index of the group */
.network { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.node { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.1fr); gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.node__idx { font-stretch: 125%; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.node__name { font-stretch: 112%; font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: 0.08em; }
.node__status { display: block; margin-top: 8px; font-stretch: 125%; font-size: 10.5px; letter-spacing: .22em; color: var(--muted); }
.node__status[data-s="ACTIVE"], .node__status[data-s="CORE"] { color: var(--gold); }
.node__desc { margin: 0; color: #cfd2d8; max-width: 44ch; }
.node__focus { list-style: none; margin: 0; padding: 0; font-stretch: 112%; font-size: 11px; letter-spacing: .14em; color: var(--muted); line-height: 2; }
.node--core .node__name { font-size: clamp(22px, 2vw, 30px); }
@media (max-width: 860px) {
  .node { grid-template-columns: 44px minmax(0, 1fr); }
  .node__desc, .node__focus { grid-column: 2; }
}

/* Instruments */
.instruments { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.instruments li { display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.4vw, 21px); }
.instruments .idx { font-stretch: 125%; font-size: 11px; letter-spacing: .2em; color: var(--gold); min-width: 2.4em; }
@media (max-width: 640px) { .instruments { grid-template-columns: 1fr; } }

/* Horizon: the salt flat again, still */
.horizon { position: relative; padding: 0; border-top: 0; overflow: hidden; }
.horizon__plate { width: 100%; height: clamp(520px, 82svh, 900px); object-fit: cover; object-position: 50% 92%; }
.horizon__text { position: absolute; inset: 0; padding: clamp(88px, 12vw, 160px) var(--gutter) 40px; background: rgba(9, 12, 17, 0.38); }
.values { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; }
.values li { font-stretch: 125%; font-size: 11.5px; letter-spacing: .22em; color: #dfe1e5; }
.values li + li::before { content: "\00B7"; margin: 0 14px; color: var(--gold); }

/* People + contact */
.roles { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; }
.roles li { font-stretch: 125%; font-size: 11.5px; letter-spacing: .2em; color: var(--muted); }
.roles li + li::before { content: "/"; margin: 0 14px; color: var(--faint); }
.mail {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; min-height: 48px;
  font-stretch: 125%; font-size: 12.5px; letter-spacing: .2em; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding: 0 2px;
}
.mail:hover { color: var(--gold); }
.contact h2 { font-size: clamp(3rem, 1rem + 8vw, 9rem); max-width: none; }
.contact__mail {
  display: inline-block; margin-top: clamp(32px, 5vw, 56px); font-family: var(--serif); font-style: italic;
  font-size: clamp(1.8rem, 0.8rem + 3.6vw, 4.2rem); line-height: 1.1; text-decoration: none; color: var(--gold);
  border-bottom: 1px solid rgba(216, 180, 122, .45); padding-bottom: 6px; word-break: break-word;
}
.contact__mail:hover { border-color: var(--gold); }

/* footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center;
  padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }
.site-footer .legal { display: flex; gap: 8px; }
.site-footer .legal a { font-stretch: 125%; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }
.site-footer .legal a:hover { color: var(--ink); }

/* quiet reveal for chapter heads (opacity only) */
.reveal { opacity: 0; transition: opacity 1.1s var(--ease); }
.reveal.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transition: none; } .site-header { transition: none; } }

/* legal pages */
.doc { max-width: 68ch; padding: 140px var(--gutter) 96px; }
.doc h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin-bottom: 32px; }
.doc h2 { font-size: 13px; font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 40px 0 8px; }
.doc p, .doc li { color: #cfd2d8; }
.contact__who { margin-top: 28px; }
.contact h2 { margin-top: 20px; }
.contact__mail { font-family: var(--sans); font-style: normal; font-stretch: 125%; font-weight: 500; font-size: clamp(1rem, 0.6rem + 2.2vw, 2.4rem); letter-spacing: 0.12em; }
@media (max-width: 760px) { .contact__mail { font-size: 4.1vw; letter-spacing: .06em; word-break: normal; } .horizon__plate { object-position: 50% 100%; } }
.contact__mail { min-height: 48px; display: inline-flex; align-items: center; }

/* Scrollbars hidden (Sean's rule, 2026-11-08). Wheel, touch, keys and screen readers still scroll; inner scrollers too. */
html, body, * { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { display: none; width: 0; height: 0; }
