:root {
  --ink: #080909;
  --ink-soft: #101212;
  --steel: #a8ada9;
  --silver: #d9dcd7;
  --paper: #eff0eb;
  --gold: #c2a263;
  --gold-bright: #dcc080;
  --line: rgba(239, 240, 235, 0.17);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-content: center;
  gap: 18px;
  background: #050606;
  text-align: center;
  transition: opacity .6s var(--ease), visibility .6s;
}

.is-loaded .boot-screen { opacity: 0; visibility: hidden; }
.boot-screen__mark { font: 800 5.5rem/.8 var(--display); letter-spacing: -.04em; }
.boot-screen__track { width: 220px; height: 1px; background: #30322f; overflow: hidden; }
.boot-screen__track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: translateX(-100%);
  animation: boot 1.1s var(--ease) forwards;
}
.boot-screen p { margin: 0; font: 500 .62rem var(--mono); color: var(--steel); letter-spacing: .16em; text-transform: uppercase; }
@keyframes boot { to { transform: translateX(0); } }

.site-shell { opacity: 0; transition: opacity .45s ease .25s; }
.is-loaded .site-shell { opacity: 1; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 4.2vw, 72px);
  border-bottom: 1px solid transparent;
  transition: height .25s var(--ease), background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(8, 9, 9, .88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.wordmark { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.wordmark__sigil {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  font: 800 1.05rem/1 var(--display);
  color: var(--gold-bright);
  clip-path: polygon(12% 0, 88% 0, 100% 18%, 92% 86%, 50% 100%, 8% 86%, 0 18%);
}
.wordmark__name { font: 700 .82rem/.85 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 52px); }
.site-nav a { position: relative; font: 500 .71rem var(--mono); letter-spacing: .09em; text-transform: uppercase; color: #cbcfc9; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--gold); transition: right .25s var(--ease); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.header-cta span { color: var(--gold); margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 132px clamp(20px, 5.5vw, 96px) 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 44%, rgba(178, 145, 81, .11), transparent 29%),
    linear-gradient(108deg, #0a0b0b 0 52%, #0e1010 52% 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 auto;
  width: 1px;
  background: var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  width: 58vw;
  aspect-ratio: 1;
  right: -16vw;
  top: -18vw;
  border: 1px solid rgba(194, 162, 99, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(194, 162, 99, .018), 0 0 0 16vw rgba(194, 162, 99, .012);
}
.hero__noise { position: absolute; inset: 0; opacity: .25; background: linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.02) 50%, transparent 50.1%); background-size: 6vw 100%; }
.hero__coordinates { position: absolute; top: 112px; left: clamp(20px, 5.5vw, 96px); right: clamp(20px, 5.5vw, 96px); display: flex; justify-content: space-between; font-size: .58rem; color: #858b86; }

.hero__copy { position: relative; z-index: 2; align-self: center; padding-top: 34px; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--gold-bright); font-size: .66rem; }
.hero__eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(5rem, 9.2vw, 10.4rem); line-height: .69; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero__raiders { color: transparent; -webkit-text-stroke: 1.5px rgba(239, 240, 235, .85); margin-left: clamp(20px, 6vw, 110px); }
.hero__lede { max-width: 560px; margin: 42px 0 0; color: #b8bcb7; font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.45; text-wrap: pretty; }
.hero__actions { display: flex; align-items: center; gap: 30px; margin-top: 30px; }

.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 0 20px;
  font: 600 .71rem var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); }
.button--gold { background: var(--gold); color: var(--ink); }
.button--gold:hover { background: var(--gold-bright); }
.button--light { background: var(--paper); color: var(--ink); }
.text-link { font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #c7cbc5; }
.text-link span { margin-left: 9px; color: var(--gold); }

.crest-stage {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(42vw, 640px);
  min-width: 380px;
  perspective: 1000px;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
  transition: transform .5s var(--ease);
}
.crest-stage img { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 38px 38px rgba(0,0,0,.55)); transform: rotate(var(--rotate, 0deg)); transition: transform .5s var(--ease); }
.crest-stage__halo { position: absolute; z-index: 0; inset: 9%; border-radius: 50%; background: radial-gradient(circle, rgba(194,162,99,.15), rgba(194,162,99,0) 69%); filter: blur(14px); }
.crest-stage__side { position: absolute; right: -40px; top: 50%; z-index: 3; color: rgba(239,240,235,.28); font-size: .57rem; writing-mode: vertical-rl; }
.crest-stage__tag { position: absolute; z-index: 3; left: 4%; right: 4%; bottom: 0; display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid rgba(239,240,235,.25); color: #8e948f; font-size: .55rem; }

.hero__status { position: relative; z-index: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 22px; }
.hero__status div { display: flex; flex-direction: column; gap: 6px; }
.hero__status span { color: #777d78; font-size: .55rem; }
.hero__status strong { font-weight: 500; font-size: .63rem; }
.hero__status i, .enlist__signal i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #75a47b; box-shadow: 0 0 10px #75a47b; }
.scroll-cue { position: absolute; right: 25px; top: 50%; z-index: 3; display: flex; align-items: center; gap: 12px; font-size: .52rem; color: #707671; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 45px; background: linear-gradient(var(--gold), transparent); }

.section-index { color: #6f7571; font-size: .6rem; }
.manifesto { position: relative; min-height: 880px; display: grid; grid-template-columns: .7fr 1.3fr; align-content: center; gap: 60px clamp(28px, 9vw, 150px); padding: 130px clamp(20px, 8vw, 140px); background: var(--paper); color: var(--ink); overflow: hidden; }
.manifesto .section-index { grid-column: 1 / -1; }
.manifesto__title p { margin: 0 0 24px; font-size: .6rem; color: #777a75; }
.manifesto h2, .standard h2, .enlist h2 { margin: 0; font-size: clamp(4rem, 7.4vw, 8.2rem); line-height: .82; letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.manifesto h2 em { font-weight: 500; color: var(--gold); }
.manifesto__body { align-self: end; max-width: 610px; }
.manifesto__lead { margin: 0; font-size: clamp(1.5rem, 2.35vw, 2.35rem); line-height: 1.18; text-wrap: pretty; }
.manifesto__rule { width: 100%; height: 1px; margin: 42px 0 28px; background: rgba(8,9,9,.22); }
.manifesto__body > p:last-child { max-width: 56ch; margin: 0; color: #454945; font-family: var(--mono); font-size: .76rem; line-height: 1.7; }
.manifesto__mark { position: absolute; right: -4vw; bottom: -12vw; color: transparent; -webkit-text-stroke: 1px rgba(8,9,9,.07); font: 800 38vw/.7 var(--display); letter-spacing: -.07em; }

.standard { position: relative; padding: 135px clamp(20px, 8vw, 140px) 100px; background: #0b0d0d; }
.standard__intro { display: grid; grid-template-columns: .55fr 1fr .55fr; align-items: end; gap: 30px; padding-bottom: 75px; border-bottom: 1px solid var(--line); }
.standard__intro h2 { font-size: clamp(3.8rem, 6.4vw, 7rem); }
.standard__intro > p:last-child { max-width: 340px; margin: 0 0 8px; color: #9aa09b; font-family: var(--mono); font-size: .69rem; line-height: 1.75; }
.principle { display: grid; grid-template-columns: .55fr 1fr .55fr; align-items: center; gap: 30px; min-height: 230px; border-bottom: 1px solid var(--line); }
.principle__number { font-size: .62rem; color: var(--gold); }
.principle h3 { margin: 0 0 10px; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
.principle p { max-width: 590px; margin: 0; color: #969b97; font-size: 1rem; }
.principle__glyph { justify-self: end; color: var(--gold); font-size: clamp(2.3rem, 4vw, 4.5rem); font-weight: 300; transition: transform .5s var(--ease); }
.principle:hover .principle__glyph { transform: rotate(25deg) scale(1.08); }

.field-note { position: relative; min-height: 800px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #141616; }
.field-note__image { position: relative; overflow: hidden; }
.field-note__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #141616), linear-gradient(0deg, rgba(8,9,9,.4), transparent); }
.field-note__image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.35); filter: grayscale(.55) contrast(1.18) brightness(.58); }
.field-note__content { position: relative; z-index: 2; align-self: center; max-width: 690px; padding: 100px clamp(30px, 6vw, 100px) 100px clamp(30px, 3vw, 60px); }
.field-note__content > span { color: var(--gold); font-size: .58rem; }
.field-note blockquote { margin: 32px 0; font: 600 clamp(3.4rem, 6vw, 7rem)/.88 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.field-note__content p { max-width: 520px; margin: 0; color: #a5aaa5; }
.field-note__stamp { position: absolute; right: 20px; bottom: 18px; color: rgba(239,240,235,.15); font-size: .55rem; line-height: 1.25; text-align: right; }

.enlist { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 150px); padding: 140px clamp(20px, 8vw, 140px); background: var(--gold); color: var(--ink); }
.enlist__brief { align-self: start; }
.enlist .section-index { color: rgba(8,9,9,.55); }
.enlist h2 { margin-top: 40px; font-size: clamp(3.8rem, 6.5vw, 7.2rem); }
.enlist__brief > p { max-width: 520px; margin: 36px 0 46px; font-size: 1.14rem; color: #343126; }
.enlist__signal { display: flex; flex-direction: column; gap: 8px; font-size: .57rem; }
.enlist__signal i { background: #376844; box-shadow: none; }

.enlist-form { display: flex; flex-direction: column; gap: 26px; padding: clamp(28px, 4vw, 55px); background: var(--ink); color: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.enlist-form label { display: flex; flex-direction: column; gap: 9px; }
.enlist-form label > span { font: 500 .6rem var(--mono); letter-spacing: .07em; text-transform: uppercase; color: #959a95; }
.enlist-form input, .enlist-form select, .enlist-form textarea { width: 100%; border: 0; border-bottom: 1px solid #3e423f; border-radius: 0; padding: 11px 0; background: transparent; color: var(--paper); outline: 0; font-family: var(--display); font-size: 1.08rem; transition: border-color .18s ease; }
.enlist-form textarea { resize: vertical; min-height: 115px; }
.enlist-form input::placeholder, .enlist-form textarea::placeholder { color: #656a66; }
.enlist-form input:focus, .enlist-form select:focus, .enlist-form textarea:focus { border-color: var(--gold); }
.enlist-form select { color-scheme: dark; }
.form-footer { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-top: 10px; }
.form-footer p { max-width: 300px; margin: 0; color: #6f7570; font-size: .52rem; line-height: 1.6; }
.transmission { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: -80px; padding: 32px; background: #111313; color: var(--paper); }
.transmission[hidden] { display: none; }
.transmission .mono { font-size: .55rem; color: var(--gold); }
.transmission h3 { margin: 6px 0 2px; font-size: 2rem; text-transform: uppercase; }
.transmission p { margin: 0; color: #979c97; font-size: .95rem; }

.site-footer { min-height: 260px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 30px; padding: 70px clamp(20px, 5.5vw, 96px) 45px; border-top: 1px solid var(--line); background: #080909; }
.site-footer > p { margin: 0; color: #8c918c; font-size: .9rem; }
.site-footer__meta { justify-self: end; display: flex; flex-direction: column; align-items: end; gap: 12px; font-size: .55rem; color: #858a85; }
.site-footer__meta a:hover { color: var(--gold); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { position: fixed; inset: 70px 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 22px 20px 32px; background: rgba(8,9,9,.97); border-bottom: 1px solid var(--line); transform: translateY(-140%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .site-nav.is-open { transform: translateY(0); visibility: visible; }
  .site-nav a { width: 100%; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; justify-self: end; }
  .menu-toggle span:not(.sr-only) { width: 24px; height: 1px; background: var(--paper); transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: 140px; }
  .hero::before { display: none; }
  .hero__copy { padding-top: 20px; }
  .hero h1 { font-size: clamp(5rem, 15vw, 8rem); }
  .crest-stage { grid-row: 2; width: min(78vw, 600px); min-width: 0; margin-top: -30px; }
  .hero__status { grid-row: 3; }
  .scroll-cue { display: none; }
  .manifesto, .enlist { grid-template-columns: 1fr; }
  .standard__intro, .principle { grid-template-columns: .28fr 1fr; }
  .standard__intro > p:last-child, .principle__glyph { grid-column: 2; justify-self: start; }
  .field-note { grid-template-columns: .85fr 1.15fr; }
  .transmission { margin-top: 0; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .site-header { height: 70px; padding: 0 18px; }
  .wordmark__sigil { width: 36px; height: 36px; }
  .hero { min-height: auto; padding: 120px 18px 28px; background: radial-gradient(circle at 50% 44%, rgba(178,145,81,.12), transparent 28%), #0a0b0b; }
  .hero__coordinates { top: 91px; left: 18px; right: 18px; }
  .hero__coordinates span:last-child { display: none; }
  .hero__eyebrow { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(4rem, 20vw, 5.8rem); line-height: .73; }
  .hero__raiders { margin-left: 14vw; }
  .hero__lede { margin-top: 28px; font-size: 1rem; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .crest-stage { width: 100%; margin: -5px 0 0; }
  .crest-stage__side { display: none; }
  .hero__status { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 18px; }
  .hero__status div:last-child { display: none; }
  .manifesto, .standard, .enlist { padding: 95px 18px; }
  .manifesto { min-height: 780px; align-content: start; grid-template-columns: 1fr; gap: 52px; }
  .manifesto .section-index { grid-column: 1; }
  .manifesto h2, .standard h2, .enlist h2 { font-size: clamp(3.7rem, 18vw, 5.4rem); }
  .manifesto__lead { font-size: 1.5rem; }
  .standard__intro, .principle { grid-template-columns: 1fr; gap: 18px; }
  .standard__intro > p:last-child, .principle__glyph { grid-column: 1; }
  .standard__intro { padding-bottom: 50px; }
  .principle { align-items: start; min-height: 0; padding: 45px 0; }
  .principle__glyph { display: none; }
  .principle h3 { font-size: 2.8rem; }
  .field-note { min-height: 770px; grid-template-columns: 1fr; grid-template-rows: 300px 1fr; }
  .field-note__image::after { background: linear-gradient(0deg, #141616, transparent 60%); }
  .field-note__content { padding: 20px 18px 90px; }
  .field-note blockquote { font-size: clamp(3.2rem, 16vw, 5rem); }
  .form-row { grid-template-columns: 1fr; }
  .enlist-form { margin-inline: -18px; padding: 34px 18px; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .transmission { flex-direction: column; align-items: stretch; margin-inline: -18px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; padding: 55px 18px 38px; }
  .site-footer__meta { justify-self: start; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
