/* Variable geometric sans, 100-900 in one 32KB file. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/outfit-latin-var.woff2") format("woff2");
}

:root{
  --black: #080808;
  --black-soft: #0f0f0f;
  --charcoal: #1b1b1b;
  --line: #2a2a2a;
  --line-light: #d6d1c8;
  --white: #f7f7f4;
  --bone: #e7e2d8;
  --ash: #a7a49d;
  --ruby: #e0115f;
  /* Pure white on ruby is 4.76:1; the off-white --white only reaches 4.43:1. */
  --text-on-accent: #ffffff;
  /* Ruby text on the near-black bar is only 4.21:1. This tint reaches 5.17:1. */
  --ruby-on-dark: #f5296e;
  --gold: #ffd250;
  /* Scrollbar: near-black track with a dimmed ruby thumb that lifts to full
     ruby on hover, so the bar reads as brand rather than browser chrome. */
  --scrollbar-track: #0c0c0c;
  --scrollbar-thumb: #8d0b3b;
  --scrollbar-thumb-hover: var(--ruby);
  --sans:
    "Outfit", "Avenir Next", Avenir, "Century Gothic", Futura, system-ui,
    -apple-system, "Segoe UI", sans-serif;
  --mono:
    ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  /* Body stays light, display goes heavy. The gap is the point. */
  --w-thin: 200;
  --w-light: 300;
  --w-body: 400;
  --w-label: 500;
  --w-title: 700;
  --w-display: 800;
  --container: 1480px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-y: clamp(5rem, 10vw, 5rem);
}

*,

*::before,

*::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
  /* Clears the 76px fixed header so anchor targets are not tucked under it. */
  scroll-padding-top: calc(6rem + env(safe-area-inset-top, 0px));
}

/* Square thumb inset by a track-colored border,

so the bar keeps the app's
   angular styling and can brighten on hover. */
::-webkit-scrollbar{
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track{
  border-left: 1px solid var(--line);
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb{
  border: 3px solid var(--scrollbar-track);
  background: var(--scrollbar-thumb);
}

::-webkit-scrollbar-thumb:hover{
  background: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner{
  background: var(--scrollbar-track);
}

/* Firefox has no scrollbar pseudo-elements. Chrome 121+ supports both,

but
   setting these standard properties makes it discard the rules above,

so they
   are scoped to engines that need them. */
@supports not selector(::-webkit-scrollbar){
  html {
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
  }
}

body{
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,

body.lightbox-open{
  overflow: hidden;
}

img{
  display: block;
  max-width: 100%;
}

a{
  color: inherit;
  text-decoration: none;
}

button{
  color: inherit;
  font: inherit;
}

button,

a{
  -webkit-tap-highlight-color: transparent;
}

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection{
  background: var(--ruby);
  color: var(--white);
}

.skip-link{
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-200%);
  background: var(--white);
  color: var(--black);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.skip-link:focus{
  transform: translateY(0);
}

.site-header{
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: env(safe-area-inset-top, 0px) max(var(--gutter), env(safe-area-inset-right, 0px))
    0 max(var(--gutter), env(safe-area-inset-left, 0px));
  border-bottom: 1px solid rgba(247, 247, 244, 0.16);
  transition:
    background 180ms ease,
    border-color 180ms ease;
  background: rgba(8, 8, 8, 0.75);
}

.site-header.is-fixed{
  position: fixed;
  top: 0;
  min-height: 76px;
  border-color: var(--line);
  /* Solid enough to read over content. Do not use backdrop-filter here:
     it makes position:fixed children (the mobile drawer) size to the
     header box instead of the viewport. */
  background: rgba(8, 8, 8, 0.97);
}

/* Thin ruby fill along the header border; same ink as nav underlines. */
.scroll-progress{
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__bar{
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ruby);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Lockup is ~3.8:1,

so 200px puts it at ~53px tall in the 96px bar.
   That keeps roughly 20px of clear space above and below. */
.brand{
  display: block;
  width: clamp(165px, 13vw, 200px);
  transition: width 180ms ease;
}

.site-header.is-fixed .brand{
  width: clamp(150px, 11vw, 176px);
}

.brand img{
  width: 100%;
  height: auto;
}

/* Nav lockup ships as black ink on transparency. */
.brand img{
  filter: invert(1);
}

/* Lives outside the header so fixed-header effects never trap the drawer.
   On desktop it docks into the top bar; on mobile it becomes the index drawer. */
.primary-nav{
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 1.6vw, 1.75rem);
  height: 96px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px));
  pointer-events: none;
  transition: height 180ms ease;
}

body:has(.site-header.is-fixed) .primary-nav{
  height: 76px;
}

.primary-nav a{
  position: relative;
  padding: 0.9rem 0;
  pointer-events: auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav a:not(.nav-cta)::after{
  position: absolute;
  right: 0;
  bottom: 0.6rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ruby);
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,

.primary-nav a.is-current::after{
  transform: scaleX(1);
  transform-origin: left;
}

/* Over the hero photo a ruby outline on ruby text disappears into the sky,

so the CTA ships filled and only drops to an outline once the bar goes solid. */
.nav-cta{
  flex-shrink: 0;
  margin-left: 0.35rem;
  padding: 0.7rem 1rem !important;
  border: 1px solid var(--ruby);
  background: var(--ruby);
  color: var(--text-on-accent);
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-cta:hover{
  color: var(--black);
}

body:has(.site-header.is-fixed) .nav-cta{
  color: var(--bone);
}

body:has(.site-header.is-fixed) .nav-cta:hover{
  border-color: var(--ruby);
  background: var(--ruby);
  color: var(--text-on-accent);
}

.menu-button{
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
}

.hero{
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,

.hero__veil{
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image{
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.7) brightness(0.62) contrast(1.05);
}

.hero__veil{
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 10, 0.97) 0%,
      rgba(6, 7, 10, 0.92) 28%,
      rgba(6, 7, 10, 0.72) 48%,
      rgba(6, 7, 10, 0.42) 68%,
      rgba(6, 7, 10, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 7, 10, 0.45) 0%,
      transparent 28%,
      transparent 58%,
      rgba(6, 7, 10, 0.88) 100%
    );
}

.hero__content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 10rem var(--gutter) 7rem;
}

.eyebrow,

.section__index,

.image-stamp,

.system-card > span,

.trade-card__index{
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow{
  margin: 0 0 1.25rem;
  color: var(--ash);
}

.hero__status{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ruby-on-dark);
}

.hero__status .status-badge{
  margin-left: 0;
  line-height: 1;
}

.status-badge{
  display: inline-block;
  margin-left: 0.45rem;
  padding: 2px 8px;
  border: 1px solid rgba(138, 134, 124, 0.35);
  border-radius: 999px;
  vertical-align: middle;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ash);
  background: rgba(138, 134, 124, 0.08);
}

.status-badge--live{
  color: #4fae86;
  border-color: rgba(79, 174, 134, 0.45);
  background: rgba(79, 174, 134, 0.1);
}

.status-badge--testing{
  color: #e0a53d;
  border-color: rgba(224, 165, 61, 0.45);
  background: rgba(224, 165, 61, 0.1);
}

.status-badge--planned{
  color: #8a867c;
  border-color: rgba(138, 134, 124, 0.35);
  background: rgba(138, 134, 124, 0.08);
}

h1,

h2,

h3,

p{
  margin-top: 0;
}

/* Optical tracking: the bigger and heavier the type,

the tighter it sets.
   Word-spacing is added back so tight letters do not swallow the word gaps. */
h1,

h2{
  font-weight: var(--w-display);
  letter-spacing: -0.042em;
  word-spacing: 0.1em;
  line-height: 0.92;
}

h3{
  font-weight: var(--w-title);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.hero h1{
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.9rem);
  letter-spacing: -0.045em;
  word-spacing: 0.12em;
  line-height: 0.88;
}

.hero h1 span{
  display: block;
  color: var(--ruby);
}

.hero__lede{
  max-width: 540px;
  margin: 2rem 0 0;
  color: var(--bone);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: var(--w-light);
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button--ruby{
  background: var(--ruby);
  color: var(--bone);
}

.button--ruby:hover{
  color: var(--text-on-accent);
}

.button--line{
  border-color: rgba(247, 247, 244, 0.5);
}

.button--line:hover{
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.hero__telemetry{
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  border: 1px solid rgba(247, 247, 244, 0.24);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(12px);
}

.hero__telemetry span{
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 1.1rem;
  border-right: 1px solid rgba(247, 247, 244, 0.18);
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero__telemetry span:last-child{
  border: 0;
}

.hero__telemetry strong{
  color: var(--ruby);
  font-weight: 600;
}

.hero__cycle{
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -10vw;
  width: min(55vw, 800px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.18;
  pointer-events: none;
}

.hero__cycle span{
  position: absolute;
  inset: 0;
  border: 1px solid var(--white);
  border-radius: 50%;
}

.hero__cycle span:nth-child(2){
  inset: 11%;
  border-color: var(--ruby);
}

.hero__cycle span:nth-child(3){
  inset: 23%;
  border-style: dashed;
}

.scroll-cue{
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue::before{
  width: 42px;
  height: 1px;
  content: "";
  background: var(--ruby);
}

.section{
  position: relative;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.section--flush{
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.section__index{
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  color: var(--ruby);
}

.section-heading{
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2,

.statement h2,

.world h2,

.endgame h2,

.watchtower h2,

.origin__copy h2,

.briefing h2,

.vision h2,

.community h2{
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
}

.section-heading > p{
  margin: 0;
}

/* Same dossier rhythm as .section-heading: title first,

narrative beneath,

so the prose reads as body copy instead of a caption beside the headline. */
.statement__grid{
  display: block;
  max-width: 1040px;
}

.statement__copy{
  max-width: 68ch;
  margin-top: clamp(2.25rem, 3.5vw, 3rem);
  color: var(--bone);
}

/* Logomark watermark occupying the empty right side of the premise section.
   Sits behind content so it can never reduce text contrast. */
.statement::after{
  position: absolute;
  z-index: -1;
  top: 50%;
  right: var(--gutter);
  width: clamp(230px, 23vw, 390px);
  aspect-ratio: 1;
  content: "";
  transform: translateY(-50%);
  background: url("assets/orpheus-icon.svg") no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}

.statement__copy p{
  margin-bottom: 0;
  font-size: clamp(1.06rem, 1.1vw, 1.19rem);
  line-height: 1.7;
}

.statement__copy p + p{
  margin-top: 1.2rem;
}

.statement__copy .lead{
  color: var(--white);
  font-size: clamp(1.19rem, 1.35vw, 1.4rem);
  font-weight: var(--w-light);
  line-height: 1.6;
}

.statement__copy .button{
  margin-top: 1.75rem;
}

blockquote{
  position: relative;
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: 2rem 0 0 clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

blockquote::before{
  position: absolute;
  top: -2px;
  left: 0;
  width: clamp(4rem, 10vw, 9rem);
  height: 3px;
  content: "";
  background: var(--gold);
}

/* Pull quotes stay light on purpose. They contrast the heavy headings. */
blockquote p{
  max-width: 920px;
  margin: 0;
  color: var(--bone);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: var(--w-light);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.world{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(430px, 0.8fr);
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.world__image{
  position: relative;
  min-height: 820px;
  overflow: hidden;
}

.world__image::after,

.role-card::after{
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(8, 8, 8, 0.13) 3px,
    rgba(8, 8, 8, 0.13) 4px
  );
}

.world__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: saturate(0.65) contrast(1.08);
}

.image-stamp{
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(247, 247, 244, 0.3);
  background: rgba(8, 8, 8, 0.78);
}

.image-stamp strong{
  color: var(--ruby);
}

.world__content{
  padding: var(--section-y) var(--gutter);
}

.world__content > p:not(.eyebrow){
  max-width: 650px;
  margin: 2rem 0 0;
  color: var(--ash);
}

.fact-list{
  margin: 3rem 0 0;
  border-top: 1px solid var(--line);
}

.fact-list div{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt{
  color: var(--bone);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-list dd{
  margin: 0;
  color: var(--ash);
  font-size: 0.88rem;
}

.trades{
  border-top: 1px solid var(--line);
}

.trades__intro,

.roles__intro,

.watchtower__intro{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.trades__intro .section-heading,

.roles__intro .section-heading,

.watchtower__intro .section-heading{
  max-width: 36rem;
  margin-bottom: 0;
}

.watchtower__copy{
  display: grid;
  gap: 1.35rem;
  align-content: start;
}

.trades__preview,

.roles__preview,

.watchtower__preview{
  display: grid;
  gap: 0.65rem;
  justify-items: start;
  width: min(100%, 500px);
  margin: 1rem 0 0 auto;
}

.trades__preview-trigger,

.roles__preview-trigger,

.watchtower__preview-trigger{
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent);
  background: var(--black);
  cursor: zoom-in;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.trades__preview-trigger img,

.roles__preview-trigger img,

.watchtower__preview-trigger img{
  display: block;
  width: 100%;
  height: auto;
}

.trades__preview-trigger:hover,

.trades__preview-trigger:focus-visible,

.roles__preview-trigger:hover,

.roles__preview-trigger:focus-visible,

.watchtower__preview-trigger:hover,

.watchtower__preview-trigger:focus-visible{
  border-color: color-mix(in srgb, var(--bone) 45%, transparent);
  transform: scale(1.015);
  filter: brightness(1.08);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .trades__preview-trigger,

  .trades__preview-trigger:hover,

  .trades__preview-trigger:focus-visible,

  .roles__preview-trigger,

  .roles__preview-trigger:hover,

  .roles__preview-trigger:focus-visible,

  .watchtower__preview-trigger,

  .watchtower__preview-trigger:hover,

  .watchtower__preview-trigger:focus-visible{
    transform: none;
    transition:
      border-color 180ms ease,
      filter 180ms ease;
  }
}

.trades__preview-caption,

.roles__preview-caption,

.watchtower__preview-caption{
  margin: 0;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trades__preview-caption span,

.roles__preview-caption span,

.watchtower__preview-caption span{
  color: var(--bone);
}

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
}

.lightbox[hidden]{
  display: none !important;
}

.lightbox__backdrop{
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 5, 8, 0.92);
  cursor: zoom-out;
}

.lightbox__frame{
  position: relative;
  z-index: 1;
  display: grid;
  width: min(90vw, 1400px);
  max-width: 90vw;
  max-height: 90vh;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent);
  background: var(--black);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox__frame img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close{
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  min-height: 40px;
  padding: 0.45rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--bone) 28%, transparent);
  background: rgba(6, 7, 10, 0.82);
  color: var(--bone);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox__close:hover,

.lightbox__close:focus-visible{
  border-color: var(--bone);
  color: var(--white);
  outline: none;
}

.trade-stages{
  display: grid;
  gap: 2px;
}

.trade-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.trade-card{
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black);
}

.trade-card__body{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  padding: 1.35rem 1.25rem 1.35rem;
}

.trade-card__index{
  color: var(--ruby);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trade-card h3{
  margin: 0.85rem 0 0.2rem;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: var(--w-title);
  letter-spacing: -0.02em;
}

.trade-card p{
  margin: 0;
  max-width: 36ch;
  color: var(--ash);
  font-size: 0.88rem;
  line-height: 1.45;
}

.trade-card .specialist{
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trade-note{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-top: 1.25rem;
  padding: 1.4rem 1.7rem;
  border-left: 3px solid var(--gold);
  background: var(--charcoal);
}

.trade-note strong{
  color: var(--gold);
  font-size: 0.9rem;
}

.trade-note span{
  color: var(--ash);
  font-size: 0.88rem;
}

.section--dark{
  width: 100%;
  max-width: none;
  padding-right: max(
    var(--gutter),
    calc((100vw - var(--container)) / 2 + var(--gutter))
  );
  padding-left: max(
    var(--gutter),
    calc((100vw - var(--container)) / 2 + var(--gutter))
  );
  background: var(--black-soft);
}

.role-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
}

.role-card{
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 620px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  isolation: isolate;
}

.role-card:last-child{
  border: 0;
}

.role-card img{
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.65);
  transition:
    filter 400ms ease,
    transform 700ms ease;
}

.role-card::before{
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: linear-gradient(
    to top,
    var(--black) 7%,
    color-mix(in srgb, var(--role) 14%, transparent) 55%,
    transparent 100%
  );
}

.role-card:hover img{
  transform: scale(1.035);
  filter: saturate(0.95);
}

.role-card span{
  color: var(--role);
}

.role-mastery{
  margin-top: 2.75rem;
  padding: 1.6rem 0 0;
}

.role-mastery > .eyebrow{
  margin-bottom: 1.35rem;
}

.role-mastery__beats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.role-mastery__beats article{
  display: grid;
  gap: 0.55rem;
  min-height: 170px;
  padding: 1.4rem 1.35rem 1.5rem;
  background: var(--black);
}

.role-mastery__beats span{
  color: var(--ruby);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.role-mastery__beats h3{
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.role-mastery__beats p{
  margin: 0;
  max-width: 34ch;
  color: var(--ash);
  font-size: 0.88rem;
  line-height: 1.5;
}

.synergy{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
  margin-top: 2rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}

.synergy__copy{
  display: grid;
  gap: 0.85rem;
}

.synergy__copy .eyebrow,

.synergy__copy p{
  margin: 0;
}

.synergy__lead{
  max-width: 54ch;
  color: var(--bone);
  font-size: 1.02rem;
  line-height: 1.55;
}

.synergy__copy > p:last-child{
  max-width: 48ch;
  color: var(--ash);
  font-size: 0.88rem;
  line-height: 1.5;
}

.synergy__line{
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}

.synergy__line span{
  flex: 0 0 auto;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.synergy__line i{
  width: 100%;
  height: 1px;
  margin: 0 0.55rem;
  background: var(--ruby);
}

.system-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.system-card{
  min-height: 260px;
  padding: 2rem;
  background: var(--black);
}

.system-card--feature{
  grid-row: span 2;
  min-height: 520px;
  background:
    linear-gradient(
      to top,
      rgba(6, 7, 10, 0.98) 0%,
      rgba(6, 7, 10, 0.92) 42%,
      rgba(6, 7, 10, 0.9) 100%
    ),
    url("assets/bloodmoon.jpg") left center / cover;
}

.system-card > span{
  color: var(--ruby);
}

.system-card h3{
  margin: 2.7rem 0 1rem;
  font-size: 1.8rem;
}

.system-card p{
  max-width: 42ch;
  margin-bottom: 0;
  color: var(--ash);
  font-size: 0.9rem;
}

/* Display-scale,

so it takes display weight and tracking rather than card-title. */
.system-card--feature h3{
  margin-top: 7rem;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: var(--w-display);
  letter-spacing: -0.042em;
  word-spacing: 0.1em;
  line-height: 0.92;
}

.system-card--feature p{
  color: var(--bone);
}

.alert-line{
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3rem;
  color: var(--ruby);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.alert-line i{
  display: block;
  width: 8px;
  height: 8px;
  background: var(--ruby);
  box-shadow: 0 0 0 6px rgba(224, 17, 95, 0.15);
  animation: alert-pulse 1.8s infinite;
}

@keyframes alert-pulse {
  50% {
    opacity: 0.38;
  }
}

.endgame{
  position: relative;
  min-height: 820px;
  overflow: hidden;
  isolation: isolate;
}

.endgame > img,

.endgame__veil{
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.endgame > img{
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.85) brightness(0.72) contrast(1.05);
}

.endgame__veil{
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 10, 0.97) 0%,
      rgba(6, 7, 10, 0.92) 32%,
      rgba(6, 7, 10, 0.7) 52%,
      rgba(6, 7, 10, 0.4) 72%,
      rgba(6, 7, 10, 0.5) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 7, 10, 0.5) 0%,
      transparent 26%,
      transparent 58%,
      rgba(6, 7, 10, 0.72) 100%
    );
}

.endgame__content{
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.endgame__content > p:not(.eyebrow){
  max-width: 640px;
  margin-top: 2rem;
  color: var(--bone);
}

.sentinel-tiers{
  display: flex;
  width: min(100%, 560px);
  margin-top: 3rem;
  border: 1px solid rgba(255, 210, 80, 0.5);
}

.sentinel-tiers span{
  display: grid;
  flex: 1;
  aspect-ratio: 1.4;
  place-items: center;
  border-right: 1px solid rgba(255, 210, 80, 0.35);
  color: var(--gold);
  font-family: var(--mono);
}

.sentinel-tiers span:last-child{
  border: 0;
}

.endgame blockquote{
  max-width: 700px;
  margin-top: 4rem;
}

.endgame blockquote p{
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

/* Two ledger columns so four short rows fill the width without stretching. */
.watchtower__record{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 6vw, 6rem);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.watchtower li{
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watchtower li span{
  display: inline-block;
  width: 3rem;
  color: var(--ruby);
  font-family: var(--mono);
}

.vision{
  background: var(--black);
}

.vision__inner{
  max-width: 1040px;
}

.vision__inner .eyebrow,

.community__eyebrow{
  color: var(--ruby-on-dark);
}

.vision__inner h2 span{
  color: var(--ruby-on-dark);
}

.vision__rule{
  width: 3.25rem;
  height: 3px;
  margin: 1.35rem 0 1.85rem;
  background: var(--ruby);
}

.vision__inner > p:not(.eyebrow):not(.vision__close):not(.vision__sign){
  max-width: 68ch;
  margin: 0;
  color: var(--bone);
  font-size: clamp(1.06rem, 1.1vw, 1.19rem);
  font-weight: var(--w-body);
  line-height: 1.7;
}

.vision__inner > p:not(.eyebrow):not(.vision__close):not(.vision__sign) + p{
  margin-top: 1.2rem;
}

.vision__close{
  margin: 1.85rem 0 0.75rem;
  max-width: 68ch;
  color: var(--white);
  font-size: clamp(1.19rem, 1.35vw, 1.4rem);
  font-weight: var(--w-light);
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.vision__sign{
  margin: 0;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.community{
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(28rem, 58vw, 36rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.community__veil{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.community__veil{
  z-index: -1;
  background: #f7f7f4;
}

.community__content{
  width: min(100%, 50rem);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
}

.community__content h2{
  margin-bottom: 1rem;
  color: var(--black);
}

.community__content > p:not(.eyebrow){
  margin: 0 auto 1.75rem;
  max-width: 68ch;
  color: var(--black-soft);
  font-size: clamp(1.06rem, 1.1vw, 1.19rem);
  line-height: 1.7;
}

.community__actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.button--discord{
  gap: 0.55rem;
}

.button__icon{
  flex-shrink: 0;
}

.briefing{
  border-top: 1px solid var(--line);
}

/* The seal reads as a stamp on the content's left edge{
  width: 120px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.briefing__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.58fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.briefing__copy > p:not(.eyebrow){
  max-width: 690px;
  margin-top: 2rem;
  color: var(--ash);
}

.briefing__action{
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--charcoal);
}

.briefing__action p{
  margin-bottom: 1.5rem;
  color: var(--ash);
  font-size: 0.85rem;
}

/* Full width with tighter side padding so the label never wraps in a narrow card. */
.briefing__action .button{
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.button--placeholder{
  cursor: default;
}

.site-footer{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 1.35rem var(--gutter);
  border-top: 1px solid var(--line);
}

.site-footer__brand{
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  align-items: center;
  min-width: 0;
  max-width: 36rem;
}

.site-footer__brand img{
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.site-footer__brand p{
  margin: 0;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__brand a{
  color: var(--bone);
  text-decoration: none;
}

.site-footer__brand a:hover{
  color: var(--white);
}

.site-footer__legal{
  margin: 0;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__ai{
  grid-column: 2;
  margin: 0;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* Shared dossier rhythm: title first,

supporting copy beneath it. */
.section-heading{
  display: block;
  max-width: 1040px;
}

.section-heading > p{
  max-width: 68ch;
  margin-top: 1.5rem;
  color: var(--bone);
  font-size: clamp(1.03rem, 1.05vw, 1.13rem);
  line-height: 1.7;
}

.statement__subhead{
  margin: 1.4rem 0 0;
  color: var(--bone);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  font-weight: var(--w-light);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Supporting testimony{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.1rem;
  align-items: start;
  max-width: 660px;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  background: var(--black-soft);
}

/* Role / stage disclosure panels. */
.disclosure-panels{
  margin-top: 50px;
}

.stage-detail{
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(224, 17, 95, 0.08), transparent 46%),
    var(--black-soft);
  animation: detail-in 240ms ease both;
}

.stage-detail[hidden]{
  display: none;
}

.stage-detail h3{
  max-width: 16ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

.stage-detail > p:not(.eyebrow){
  max-width: 780px;
  color: var(--ash);
}

.stage-detail__close{
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-detail__trades{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.stage-detail__trades span{
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-disclosure-group].has-open .role-card:not(.is-active){
  display: none;
}

@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Role cards are buttons now. Keep the photography,

but lead with a distinct glyph. */
.role-card{
  padding: 0;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.role-card__copy{
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  min-height: 235px;
  align-content: end;
  gap: 0.7rem;
  padding: 1.7rem 1.3rem;
}

.role-card__copy i{
  color: var(--role);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.role-card__copy strong{
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.7rem;
  font-weight: var(--w-title);
  letter-spacing: -0.02em;
  text-transform: none;
}

.role-card__copy small{
  color: var(--bone);
  font-size: 0.82rem;
  line-height: 1.5;
}

[data-disclosure-group].has-open .role-grid{
  grid-template-columns: minmax(0, 1fr);
}

[data-disclosure-group].has-open .role-card.is-active{
  min-height: 320px;
  border-right: 0;
}

.role-detail{
  border-color: color-mix(in srgb, var(--ruby) 35%, var(--line));
}

/* Escalation: one container-width section (weapon band + boss ladder). */
.escalation{
  display: grid;
  gap: 0;
}

.weapon-prog{
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 58vh, 680px);
  background: #0a0c10;
}

.weapon-prog__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.weapon-prog__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.8) contrast(1.05);
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.55) 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.55) 78%,
    transparent 100%
  );
}

.weapon-prog__bg::after{
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 10, 0.96) 0%,
      rgba(6, 7, 10, 0.88) 34%,
      rgba(6, 7, 10, 0.45) 58%,
      rgba(6, 7, 10, 0.2) 78%,
      rgba(6, 7, 10, 0.75) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 7, 10, 0.35) 0%,
      transparent 22%,
      transparent 70%,
      rgba(6, 7, 10, 0.55) 100%
    );
}

.weapon-prog__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  min-height: inherit;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.weapon-prog__content{
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.weapon-prog__content h2{
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.weapon-prog__lede{
  max-width: 48ch;
  margin: 0 0 1.1rem;
  color: var(--bone);
  font-size: 1rem;
  line-height: 1.55;
}

.weapon-prog__tag{
  margin: 0 0 1.75rem;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.weapon-prog__tiers{
  --tier-signature: #b48cff;
  --tier-anima: var(--gold);
  --tier-sentinel: var(--ruby);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  max-width: 34rem;
}

.weapon-prog__tiers article{
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.35rem;
  min-height: 0;
  padding: 0;
  border: 0;
}

.weapon-prog__tiers h3{
  margin: 0;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.weapon-prog__tier--signature h3{
  color: var(--tier-signature);
}

.weapon-prog__tier--anima h3{
  color: var(--tier-anima);
}

.weapon-prog__tier--sentinel h3{
  color: var(--tier-sentinel);
}

.weapon-prog__range{
  margin: 0;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.weapon-prog__tiers p:not(.weapon-prog__range){
  margin: 0.15rem 0 0;
  color: var(--ash);
  font-size: 0.82rem;
  line-height: 1.45;
}

.weapon-prog__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.weapon-prog__chips span{
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.escalation > .section__index{
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.boss-escalation{
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.boss-escalation__head{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.boss-escalation__head .eyebrow{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.boss-escalation__head .eyebrow::after{
  flex: 1;
  max-width: 7rem;
  height: 1px;
  content: "";
  background: var(--line);
}

.boss-escalation__head h2{
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.boss-escalation__head > p{
  margin: 0;
  max-width: 42ch;
  color: var(--ash);
  font-size: 0.95rem;
  line-height: 1.55;
}

.boss-escalation__cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  background: var(--line);
  gap: 1px;
  border: 1px solid var(--line);
}

.boss-card{
  position: relative;
  min-height: clamp(280px, 28vw, 400px);
  overflow: hidden;
  background: var(--black);
}

.boss-card img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.boss-card::after{
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(6, 7, 10, 0.78) 0%,
    rgba(6, 7, 10, 0.28) 45%,
    rgba(6, 7, 10, 0.4) 100%
  );
  pointer-events: none;
}

.boss-card__copy{
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  gap: 0.45rem;
  padding: 1.5rem 1.6rem 1.25rem;
  pointer-events: none;
}

.boss-card--apex .boss-card__copy span{
  color: #7ec8ff;
}

.boss-card__copy span{
  color: var(--ruby);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.boss-card__copy h3{
  margin: 0;
  color: var(--white);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.boss-card__copy p{
  margin: 0;
  max-width: 28ch;
  color: rgba(232, 228, 220, 0.88);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* The Origin: cinematic capstone before the join CTA. */
.origin{
  --origin-accent: var(--gold);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(640px, 78vh, 860px);
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.origin__bg,

.origin__veil{
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.origin__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.35) brightness(0.42) contrast(1.05);
}

.origin__veil{
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 10, 0.96) 0%,
      rgba(6, 7, 10, 0.88) 28%,
      rgba(6, 7, 10, 0.55) 50%,
      rgba(6, 7, 10, 0.82) 72%,
      rgba(6, 7, 10, 0.94) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 7, 10, 0.55) 0%,
      transparent 28%,
      transparent 62%,
      rgba(6, 7, 10, 0.72) 100%
    );
}

.origin__content{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.72fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
  width: min(100%, var(--container));
  min-height: inherit;
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.origin__copy{
  max-width: 34rem;
}

.origin__copy .section__index{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.origin__copy .section__index::after{
  flex: 1;
  max-width: 8rem;
  height: 1px;
  content: "";
  background: var(--ruby);
}

.origin__copy .eyebrow{
  color: var(--bone);
}

.origin__copy h2{
  margin: 0 0 1.25rem;
}

.origin__lede,

.origin__close{
  max-width: 44ch;
  color: var(--ash);
  font-size: 1.02rem;
  line-height: 1.6;
}

.origin__lede{
  margin: 0 0 1rem;
  color: var(--bone);
}

.origin__close{
  margin: 0 0 2rem;
}

.origin__close strong{
  color: var(--white);
}

.origin__steps{
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0.5rem 1.35rem;
  display: grid;
  gap: 1.75rem;
}

.origin__steps::before{
  position: absolute;
  top: 0.85rem;
  bottom: 0.85rem;
  left: 0.35rem;
  width: 1px;
  content: "";
  background: color-mix(in srgb, var(--bone) 28%, transparent);
}

.origin__steps li{
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding-left: 0.85rem;
}

.origin__steps li::before{
  position: absolute;
  top: 0.45rem;
  left: -1.12rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--bone) 55%, transparent);
  border-radius: 50%;
  background: var(--black);
  content: "";
}

.origin__step-num{
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.origin__steps strong{
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.origin__steps p{
  margin: 0;
  max-width: 32ch;
  color: var(--ash);
  font-size: 0.86rem;
  line-height: 1.5;
}

.origin__step--active::before{
  width: 0.7rem;
  height: 0.7rem;
  left: -1.2rem;
  top: 0.35rem;
  border-color: var(--origin-accent);
  background: color-mix(in srgb, var(--origin-accent) 35%, var(--black));
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--origin-accent) 18%, transparent),
    0 0 18px color-mix(in srgb, var(--origin-accent) 45%, transparent);
}

.origin__step--active .origin__step-num,

.origin__step--active strong{
  color: var(--origin-accent);
}

.sentinel-directives{
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 1px;
  width: min(100%, 920px);
  margin-top: 2rem;
  border: 1px solid rgba(255, 210, 80, 0.3);
  background: rgba(255, 210, 80, 0.3);
}

.sentinel-directives > div{
  padding: 1.4rem;
  background: rgba(8, 8, 8, 0.78);
}

.sentinel-directives span{
  display: block;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sentinel-directives strong{
  display: block;
  margin-top: 0.8rem;
  color: var(--white);
}

.sentinel-directives p{
  margin: 0.6rem 0 0;
  color: var(--ash);
  font-size: 0.78rem;
  line-height: 1.5;
}

.sentinel-directives__access ul{
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.sentinel-directives__access li{
  color: var(--ash);
  font-size: 0.78rem;
  line-height: 1.5;
}

.sentinel-directives__access li strong{
  display: inline;
  margin: 0;
  color: var(--white);
  font-weight: 650;
}

.sentinel-directives__access li strong::after{
  content: ". ";
}

/* Media archive. */
.media{
  border-top: 1px solid var(--line);
}

.media__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.media__top .section__index{
  margin-bottom: 0;
}

.media__meta{
  margin: 0;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media__head{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.media__head .section-heading{
  max-width: 42rem;
  margin-bottom: 0;
}

.media__rail{
  margin: 0;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.media-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.media-tile{
  position: relative;
  display: block;
  min-height: 260px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--bone) 14%, transparent);
  background: var(--black);
  color: inherit;
  cursor: zoom-in;
  text-align: left;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

.media-tile--feature{
  grid-column: span 2;
  min-height: 420px;
}

.media-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.72) contrast(1.05);
  transition:
    filter 220ms ease,
    transform 420ms ease;
}

.media-tile::after{
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(6, 7, 10, 0.15) 0%,
    rgba(6, 7, 10, 0.2) 42%,
    rgba(6, 7, 10, 0.92) 100%
  );
  pointer-events: none;
}

.media-tile:hover,

.media-tile:focus-visible{
  border-color: color-mix(in srgb, var(--bone) 35%, transparent);
  transform: scale(1.01);
  filter: brightness(1.04);
  outline: none;
}

.media-tile:hover img,

.media-tile:focus-visible img{
  transform: scale(1.03);
  filter: saturate(0.9) brightness(0.8) contrast(1.05);
}

.media-tile__badge{
  position: absolute;
  z-index: 1;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.45rem;
  background: var(--ruby);
  color: var(--text-on-accent);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-tile__copy{
  position: absolute;
  z-index: 1;
  right: 4.5rem;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 0.3rem;
  padding: 1.15rem 1.15rem 1.2rem;
  pointer-events: none;
}

.media-tile__copy span{
  color: var(--ruby);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-tile__copy strong{
  color: var(--white);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 650;
}

.media-tile__copy small{
  max-width: 34ch;
  color: var(--ash);
  font-size: 0.78rem;
  line-height: 1.4;
}

.media-tile__view{
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1.15rem;
  color: var(--ash);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

.media-tile__view span{
  color: var(--bone);
}

@media (prefers-reduced-motion: reduce) {
  .media-tile,

  .media-tile:hover,

  .media-tile:focus-visible,

  .media-tile img,

  .media-tile:hover img,

  .media-tile:focus-visible img{
    transform: none;
    transition:
      border-color 180ms ease,
      filter 180ms ease;
  }
}

/* Roadmap and current work. */
.roadmap{
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
}

.dev-board{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.dev-lane{
  --lane: var(--ash);
  padding: 1.75rem 1.5rem 0.5rem;
  border-right: 1px solid var(--line);
}

.dev-lane:last-child{
  border-right: 0;
}

.dev-lane[data-lane="live"]{
  --lane: #4fae86;
}

.dev-lane[data-lane="building"]{
  --lane: #38c8d8;
}

.dev-lane[data-lane="exploring"]{
  --lane: #c8c8c4;
}

.dev-lane[data-lane="planned"]{
  --lane: var(--gold);
}

.dev-lane__title{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--lane);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dev-lane__title::before{
  width: 1.75rem;
  height: 2px;
  content: "";
  background: var(--lane);
}

.dev-lane__list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.dev-lane__list li{
  padding: 1.25rem 0 1.35rem;
  border-top: 1px solid var(--line);
}

.dev-lane__item-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.dev-lane__item-head h4{
  margin: 0;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.dev-lane .status{
  flex-shrink: 0;
  padding: 0.35rem 0.45rem;
  border: 1px solid currentColor;
  color: var(--lane);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dev-lane__list p{
  margin: 0;
  max-width: 36ch;
  color: var(--ash);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* FAQ uses native disclosure for keyboard and no-script support. */
.faq{
  border-top: 1px solid var(--line);
}

.faq-list{
  max-width: 100%;
  border-top: 1px solid var(--line);
}

.faq-list details{
  border-bottom: 1px solid var(--line);
}

.faq-list summary{
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0;
  color: var(--bone);
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: var(--w-label);
  list-style: none;
}

.faq-list summary::-webkit-details-marker{
  display: none;
}

.faq-list summary::after{
  position: absolute;
  top: 50%;
  right: 0;
  content: "+";
  transform: translateY(-50%);
  color: var(--ruby);
  font-family: var(--mono);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after{
  content: "−";
}

.faq-list details p{
  max-width: 760px;
  margin: 0;
  padding: 0 3rem 1.5rem 0;
  color: var(--ash);
}

/* Closing invitation,

not another product explainer. */
.briefing__action{
  border-color: color-mix(in srgb, var(--ruby) 35%, var(--line));
  background:
    linear-gradient(135deg, rgba(224, 17, 95, 0.12), transparent),
    var(--charcoal);
}

@media (min-width: 681px) {
  .hero h1{
    max-width: 12ch;
  }
}

@media (max-width: 1180px) {
  /* Below this the narrative reaches the watermark,

  so drop the mark. */
  .statement::after{
    display: none;
  }

  .role-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .role-card{
    border-bottom: 1px solid var(--line);
  }

  .role-card:nth-child(3){
    border-right: 0;
  }

  .role-card:nth-child(4),

  .role-card:nth-child(5){
    min-height: 560px;
  }

  .synergy{
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .role-mastery__beats{
    grid-template-columns: 1fr;
  }

  .dev-lane{
    padding: 1.5rem 1.15rem 0.35rem;
  }

  .system-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .weapon-prog{
    min-height: 0;
  }

  .weapon-prog__bg img{
    object-position: 78% center;
  }

  .weapon-prog__bg::after{
    background:
      linear-gradient(
        180deg,
        rgba(6, 7, 10, 0.72) 0%,
        rgba(6, 7, 10, 0.82) 55%,
        rgba(6, 7, 10, 0.94) 100%
      ),
      linear-gradient(
        90deg,
        rgba(6, 7, 10, 0.7) 0%,
        rgba(6, 7, 10, 0.35) 55%,
        rgba(6, 7, 10, 0.8) 100%
      );
  }

  .weapon-prog__inner{
    grid-template-columns: 1fr;
    align-items: start;
    padding-bottom: 3.5rem;
  }

  .weapon-prog__tiers{
    grid-template-columns: 1fr;
    gap: 1.35rem;
    max-width: none;
  }

  .weapon-prog__tiers article,

  .weapon-prog__tiers article:nth-child(even){
    padding: 0;
    border: 0;
  }

  .boss-escalation__head{
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .boss-escalation__head .eyebrow::after{
    display: none;
  }

  .boss-escalation__cards{
    grid-template-columns: 1fr;
  }

  .boss-card{
    min-height: 280px;
  }

  .boss-card__copy{
    padding: 1.35rem 1.4rem;
  }

}

@media (max-width: 940px) {
  /* Below this the aside column gets pinched to its min width,

  so stack instead. */
  .briefing__grid{
    grid-template-columns: minmax(0, 1fr);
  }

  .community__actions .button{
    width: 100%;
  }

  .dev-board{
    grid-template-columns: 1fr;
  }

  .dev-lane{
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dev-lane:last-child{
    border-bottom: 0;
  }

  .menu-button{
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 44px;
    padding: 0;
    cursor: pointer;
  }

  .menu-button__label{
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .menu-button__bars,

  .menu-button__bars::before,

  .menu-button__bars::after{
    display: block;
    width: 26px;
    height: 1px;
    background: var(--white);
    transition: transform 180ms ease;
  }

  .menu-button__bars{
    position: relative;
  }

  .menu-button__bars::before,

  .menu-button__bars::after{
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-button__bars::before{
    top: -7px;
  }
  .menu-button__bars::after{
    top: 7px;
  }

  .menu-button[aria-expanded="true"] .menu-button__bars{
    background: transparent;
  }

  .menu-button[aria-expanded="true"] .menu-button__bars::before{
    top: 0;
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-button__bars::after{
    top: 0;
    transform: rotate(-45deg);
  }

  /* Dim page behind the drawer so the left peek does not fight the index. */
  body.menu-open::before{
    position: fixed;
    z-index: 110;
    inset: 0;
    content: "";
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(2px);
  }

  .primary-nav{
    position: fixed;
    z-index: 120;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    height: auto;
    padding: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem))
      max(1.5rem, env(safe-area-inset-right, 0px))
      max(1.75rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem))
      max(1.5rem, env(safe-area-inset-left, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(101%);
    visibility: hidden;
    pointer-events: none;
    border-left: 0;
    background: var(--black);
    transition:
      transform 220ms ease,
      visibility 0s linear 220ms;
  }

  body:has(.site-header.is-fixed) .primary-nav{
    position: fixed;
    height: auto;
  }

  .primary-nav.is-open{
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 220ms ease,
      visibility 0s;
  }

  .primary-nav a{
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.8rem;
  }

  .primary-nav a:not(.nav-cta)::after{
    display: none;
  }

  .nav-cta{
    margin-top: 1.15rem;
    margin-left: 0;
    padding: 1rem !important;
    text-align: center;
  }

  .menu-button{
    position: relative;
    z-index: 130;
  }

  .site-header{
    z-index: 130;
  }

  /* Backdrop not needed for a full-bleed drawer. */
  body.menu-open::before{
    display: none;
  }

  .world{
    grid-template-columns: 1fr;
  }

  .world__image{
    min-height: 560px;
  }

  .trades__intro,

  .roles__intro,

  .watchtower__intro{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .trades__preview,

  .roles__preview,

  .watchtower__preview{
    width: 100%;
    max-width: none;
    margin-top: 0.5rem;
    margin-left: 0;
    margin-right: 0;
  }

  .trade-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media__head{
    grid-template-columns: 1fr;
  }

  .media__rail{
    display: none;
  }

  .media-grid{
    grid-template-columns: minmax(0, 1fr);
  }

  .media-tile--feature{
    grid-column: auto;
    min-height: 320px;
  }

  .media-tile{
    min-height: 280px;
  }

  .media-tile__copy{
    right: 1rem;
  }

  .origin__content{
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .origin__bg img{
    filter: saturate(0.25) brightness(0.32) contrast(1.05);
  }

  .origin__veil{
    background:
      linear-gradient(
        180deg,
        rgba(6, 7, 10, 0.82) 0%,
        rgba(6, 7, 10, 0.72) 40%,
        rgba(6, 7, 10, 0.88) 100%
      ),
      linear-gradient(90deg, rgba(6, 7, 10, 0.9) 0%, rgba(6, 7, 10, 0.7) 100%);
  }

  .origin__steps{
    max-width: 36rem;
  }

}

@media (max-width: 680px) {
  :root{
    --gutter: 1.15rem;
    --section-y: 4.5rem;
  }

  .site-header,

  .site-header.is-fixed{
    min-height: 72px;
  }

  .site-header.is-fixed{
    background: rgba(8, 8, 8, 0.97);
  }

  .brand,

  .site-header.is-fixed .brand{
    width: 158px;
  }

  .menu-button__label{
    display: none;
  }

  .hero{
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero__content{
    justify-content: flex-end;
    padding-top: calc(6.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: 10.5rem;
  }

  .hero h1{
    font-size: clamp(2.55rem, 12vw, 3.6rem);
    line-height: 0.98;
  }

  .hero__lede{
    margin-top: 1.35rem;
    font-size: 1.02rem;
  }

  .hero__status{
    font-size: 0.58rem;
  }

  .hero__actions{
    width: 100%;
    margin-top: 1.85rem;
  }

  .hero__actions .button{
    flex: 1 1 100%;
  }

  .hero__cycle{
    right: -28vw;
    width: min(72vw, 420px);
    opacity: 0.14;
  }

  .hero__veil{
    background:
      linear-gradient(
        180deg,
        rgba(6, 7, 10, 0.72) 0%,
        rgba(6, 7, 10, 0.7) 40%,
        rgba(6, 7, 10, 0.94) 100%
      ),
      linear-gradient(90deg, rgba(6, 7, 10, 0.88) 0%, rgba(6, 7, 10, 0.55) 100%);
  }

  .hero__image{
    object-position: 68% center;
    filter: saturate(0.65) brightness(0.55) contrast(1.05);
  }

  .hero__telemetry{
    right: var(--gutter);
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    left: var(--gutter);
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__telemetry span{
    padding: 0.65rem 0.55rem;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .scroll-cue{
    display: none;
  }

  .statement h2,

  .world h2,

  .section-heading h2,

  .endgame h2,

  .watchtower h2,

  .origin__copy h2,

  .briefing h2,

  .vision h2,

  .community h2{
    font-size: clamp(2.15rem, 10.5vw, 3.15rem);
    line-height: 1.05;
  }

  .vision__inner > p:not(.eyebrow):not(.vision__close):not(.vision__sign),

  .community__content > p:not(.eyebrow){
    font-size: 1.02rem;
  }

  .community{
    min-height: 0;
  }

  .community__content{
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  blockquote{
    padding-left: 1rem;
  }

  .world__image{
    min-height: 360px;
  }

  .image-stamp{
    display: grid;
  }

  .fact-list div{
    grid-template-columns: 90px 1fr;
  }

  .trade-grid{
    grid-template-columns: 1fr;
  }

  .trade-note{
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .role-grid{
    display: flex;
    gap: 0;
    padding: 0 0 0.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .role-card,

  .role-card:nth-child(4),

  .role-card:nth-child(5){
    flex: 0 0 min(83vw, 20.5rem);
    min-height: 540px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    scroll-snap-align: center;
  }

  .synergy__line{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .synergy__line i{
    width: 1px;
    height: 12px;
    margin: 0 0 0 1rem;
  }

  .system-grid,

  .dev-board{
    grid-template-columns: 1fr;
  }

  .sentinel-directives{
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-detail{
    padding: 4.5rem 1.25rem 1.5rem;
  }

  .stage-detail__close{
    top: 1rem;
    right: 1rem;
  }

  .system-card--feature{
    grid-row: auto;
    min-height: 440px;
  }

  .endgame{
    min-height: 720px;
  }

  .endgame > img{
    object-position: 62% center;
    filter: saturate(0.8) brightness(0.6) contrast(1.05);
  }

  .endgame__veil{
    background:
      linear-gradient(
        180deg,
        rgba(6, 7, 10, 0.72) 0%,
        rgba(6, 7, 10, 0.78) 42%,
        rgba(6, 7, 10, 0.94) 100%
      ),
      linear-gradient(90deg, rgba(6, 7, 10, 0.55) 0%, transparent 100%);
  }

  .sentinel-tiers span{
    aspect-ratio: 0.9;
  }

  .briefing__grid{
    grid-template-columns: minmax(0, 1fr);
  }

  .watchtower__record{
    grid-template-columns: minmax(0, 1fr);
  }

  .media-tile,

  .media-tile--feature{
    min-height: 240px;
  }

  .site-footer{
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding-bottom: max(1.35rem, env(safe-area-inset-bottom, 0px));
  }

  .faq-list summary{
    padding-right: 2.5rem;
    font-size: 0.95rem;
  }
}

/* Short phones / landscape: keep the index drawer scrollable and tight. */
@media (max-width: 940px) and (max-height: 720px){
  .primary-nav {
    justify-content: flex-start;
    padding-top: max(4.5rem, calc(env(safe-area-inset-top, 0px) + 3.75rem));
    padding-bottom: max(1.25rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  }

  .primary-nav a {
    padding: 0.8rem 0;
  }

  .nav-cta {
    margin-top: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html{
    scroll-behavior: auto;
  }

  *,

  *::before,

  *::after{
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
