/* ==========================================================================
   GREENWAY SYRIA — Flagship homepage  ·  V2
   Concept: "THE APERTURE" — the brand mark's ring is the lens through which
   Syria is seen; its gate bar is the page's structural rule. The identity
   opens into the film, and from there each chapter is a scene that physically
   transforms rather than a layout that animates in.

   Type policy for V2: enormous display type appears three times only —
   the hero, the National Programs statement, and the closing. Everything
   else is controlled editorial scale so the media leads.
   ========================================================================== */

/* ---------- 1. FONTS ---------- */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- 2. TOKENS ---------- */
:root {
  /* brand */
  --teal:        #024553;
  --green:       #22b777;
  --blue:        #9cc4d4;   /* used as the --light-blue environment below */
  --charcoal:    #2c2b2b;
  --light:       #eaf4f4;

  /* derived environment tones */
  --teal-abyss:  #011f26;
  --ink:         #0a1416;
  --light-blue:  #d6e6ec;
  --line-dark:   rgba(234, 244, 244, .16);
  --line-light:  rgba(2, 69, 83, .16);

  /* ---- type scale ----
     mega: hero + closing only.  stmt: one signature statement.
     h2:   every ordinary chapter title — deliberately restrained. */
  --fs-mega:  clamp(2.7rem, min(10.6vw, 28vh - 96px), 12.5rem);
  --fs-hero:  clamp(1.9rem, min(4.55vw, 15vh - 32px), 5.3rem);
  --fs-close: clamp(1.9rem, min(3.9vw, 15vh - 40px), 4.6rem);
  --fs-stmt:  clamp(1.8rem, 4.2vw, 4.9rem);
  --fs-h2:    clamp(1.45rem, 2.45vw, 2.55rem);
  --fs-h3:    clamp(1.05rem, 1.5vw, 1.4rem);
  --fs-md:    clamp(1rem, 1.3vw, 1.2rem);
  --fs-sm:    clamp(.9rem, 1vw, 1.02rem);
  --fs-cap:   clamp(.64rem, .74vw, .76rem);

  /* rhythm */
  --gut:      clamp(1.25rem, 4.4vw, 5.5rem);
  --sec-y:    clamp(5rem, 11vh, 10rem);
  --maxw:     102rem;

  /* motion */
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-io:   cubic-bezier(.66, 0, .34, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);

  /* the brand mark's stroke/aperture ratio, measured from the logo artwork */
  --ring-ratio: .6806;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  /* The intro locks the page, so the scrollbar is absent on load and appears
     the moment the lock releases — which reflows the whole layout by its width.
     Reserving the gutter keeps the frame still from first paint. */
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(234, 244, 244, .26) rgba(1, 20, 25, .96);
}

/* macOS shows an overlay scrollbar that only exists while you scroll; giving it
   a width makes it a real, permanent part of the frame instead — thin, brand
   toned, and consistent with the rest of the furniture. */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: rgba(1, 20, 25, .96); }
::-webkit-scrollbar-thumb {
  background: rgba(234, 244, 244, .24);
  background-clip: content-box;
  border: 3px solid transparent;
  border-radius: 11px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(34, 183, 119, .62); background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--ink);
  color: var(--light);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }

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

/* ---------- 4. TYPE PRIMITIVES ---------- */
.display {
  font-weight: 200;
  line-height: .88;
  letter-spacing: -.032em;
  text-transform: uppercase;
  font-variation-settings: 'wght' 200;
}
.display strong, .display b {
  font-weight: 900;
  font-variation-settings: 'wght' 900;
  letter-spacing: -.045em;
}
.grn { color: var(--green); font-style: normal; }

.eyebrow {
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.4;
}
.body-sm {
  font-size: var(--fs-sm);
  font-weight: 350;
  line-height: 1.6;
  max-width: 48ch;
}

/* chapter marker: number + rule + label (the gate bar as a system device) */
.chapter {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.chapter i { font-style: normal; color: var(--green); font-variant-numeric: tabular-nums; }
.chapter s {
  text-decoration: none;
  flex: 0 0 auto;
  width: clamp(1.8rem, 4.5vw, 3.6rem);
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .35;
}

.line-mask { display: block; overflow: hidden; }
.hero__title .line-mask > span,
.close__title .line-mask > span,
.ntl__stmt .line-mask > span,
.hzn__vision .line-mask > span { white-space: nowrap; }
.line-mask > span { display: block; will-change: transform; }

/* ---------- 5. LAYOUT ---------- */
.shell { width: 100%; padding-inline: var(--gut); }
.env-mist { background: var(--light-blue); color: var(--teal); }

/* every chapter after the stage paints over the sticky hero film */
#place, #platform, #alliance, #expertise, #programs, #standards, #horizon, #contact, .foot {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   6. INTRO — unchanged from V1: the identity assembles, then becomes
   the aperture on the hero. This is the benchmark; not redesigned.
   ========================================================================== */
#intro-bg {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--teal);
  pointer-events: none;
}
#intro-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 46%, rgba(156, 196, 212, .13), transparent 62%);
}
#intro-ui {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
  display: grid;
  place-items: center;
}
#ring-wrap {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  overflow: visible;
}
#ring-svg {
  position: absolute;
  overflow: visible;
  max-width: none;   /* the wrapper is a zero-size anchor point */
}
#ring-svg circle {
  fill: none;
  stroke: var(--light);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}
#gate-svg {
  position: absolute;
  left: 0; top: 0;
  max-width: none;
  overflow: visible;
  transform-origin: 50% 50%;
}
#gate-svg path { fill: var(--light); }
#intro-cap {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  color: rgba(234, 244, 244, .62);
  white-space: nowrap;
}
body.is-intro { overflow: hidden; height: 100vh; }
body.is-intro .site-header { pointer-events: none; }

/* ==========================================================================
   7. HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  padding: clamp(1rem, 2.1vh, 1.6rem) var(--gut);
  color: var(--light);
  transition: color .5s var(--ease-soft), background-color .5s var(--ease-soft);
}
.site-header__in {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: clamp(.7rem, 1.1vw, 1.1rem); }
.brand__lock { height: clamp(28px, 2.7vw, 38px); width: auto; }
.brand__lock--dark { display: none; }
.brand__tag {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .5;
  padding-left: .85rem;
  border-left: 1px solid currentColor;
  line-height: 1.25;
}
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.1vw, 2.2rem); }
.nav__link {
  position: relative;
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-block: .35rem;
  overflow: hidden;
  display: inline-block;
}
.nav__link span { display: block; transition: transform .55s var(--ease-out); }
.nav__link span::after {
  content: attr(data-t);
  position: absolute;
  left: 0; top: 100%;
  color: var(--green);
}
.nav__link:hover span, .nav__link:focus-visible span { transform: translateY(-100%); }
/* a hairline growing from the left — the gate bar, at link scale */
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease-out);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .74rem 1.3rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease-soft), border-color .45s var(--ease-soft);
}
.cta-pill::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green);
  border-radius: inherit;
  transform: scale(0, 1);
  transform-origin: left center;
  transition: transform .55s var(--ease-out);
  z-index: -1;
}
.cta-pill:hover, .cta-pill:focus-visible { color: #fff; border-color: var(--green); }
.cta-pill:hover::before, .cta-pill:focus-visible::before { transform: scale(1, 1); }
.cta-pill i { font-style: normal; transition: transform .45s var(--ease-out); }
.cta-pill:hover i { transform: translateX(4px); }

.site-header__rule {
  position: absolute;
  left: var(--gut); right: var(--gut);
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: .18;
  transform: scaleX(0);
  transform-origin: left center;
}
.site-header.is-light { color: var(--teal); }
.site-header.is-light .brand__lock--light { display: none; }
.site-header.is-light .brand__lock--dark { display: block; }
.site-header.is-solid {
  background: rgba(1, 31, 38, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.site-header.is-light.is-solid { background: rgba(214, 230, 236, .82); }

.burger { display: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 145;
  background: var(--teal);
  padding: calc(var(--gut) + 4.5rem) var(--gut) var(--gut);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__list { display: grid; gap: .25rem; margin-block: auto; }
.menu__list a {
  display: block;
  font-size: clamp(1.7rem, 8vw, 2.9rem);
  font-weight: 300;
  letter-spacing: -.03em;
  text-transform: uppercase;
  line-height: 1.08;
  padding-block: .3rem;
  border-bottom: 1px solid var(--line-dark);
}
.menu__list a b { font-weight: 800; }
.menu__foot { display: grid; gap: .6rem; color: rgba(234, 244, 244, .6); }

/* ==========================================================================
   8. STAGE — hero + mandate share one held shot
   ========================================================================== */
#stage { position: relative; background: var(--ink); }

.stage__media {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  z-index: 1;
  clip-path: circle(var(--ap, 0px) at 50% 46%);
  will-change: clip-path, transform;
}
body.is-intro .stage__media { z-index: 120; }
/* The hero composes as the last act of the intro, so it has to sit above the
   film (120) and the teal ground (90) while that is still on screen — under
   #intro-ui (130) so the gate still passes over it on its way to the rule.
   Its lines are masked and its furniture is at opacity 0 until then, so
   nothing shows early. */
body.is-intro .hero { z-index: 125; }

/* the film and its grades are clipped together, so the pull-back wipes the
   finished image into a panel instead of scaling a copy of the screen down */
.stage__frame {
  position: absolute; inset: 0;
  clip-path: inset(0% 0% var(--panel-b, 0%) var(--panel-l, 0%));
  will-change: clip-path;
}
.stage__film { position: absolute; inset: 0; overflow: hidden; }
.stage__media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(.82) contrast(1.08) brightness(.8);
  will-change: transform;
}
.stage__grade--mix {
  position: absolute; inset: 0;
  background: var(--teal);
  mix-blend-mode: color;
  opacity: .34;
}
.stage__grade--deep {
  position: absolute; inset: 0;
  background:
    radial-gradient(150% 138% at 4% 108%,
      rgba(1, 20, 25, .97) 0%, rgba(2, 69, 83, .74) 30%,
      rgba(2, 69, 83, .26) 58%, transparent 80%),
    linear-gradient(to top, rgba(1, 20, 25, .68) 0%, rgba(1, 20, 25, .1) 34%, transparent 52%);
}
.stage__grade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(1, 20, 25, .58) 0%, rgba(1, 20, 25, 0) 17%); }
.stage__noise {
  position: absolute; inset: 0;
  opacity: .05;
  background-image: var(--noise);
  background-size: 180px;
  pointer-events: none;
}

/* ---- the panel: the film's resting state through the mandate ----
   Both layers are anchored to the panel box rather than the viewport, so the
   vignette reads as the panel's own light and the edge is a real structural
   line — the film sits in front of the land, bleeding off the screen. */
.stage__panel {
  position: absolute;
  inset: 0 0 var(--panel-b, 0%) var(--panel-l, 0%);
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(122% 96% at 50% 44%, transparent 38%, rgba(1, 20, 25, .52) 100%),
    linear-gradient(to top, rgba(1, 20, 25, .58) 0%, transparent 46%);
}
.stage__edge {
  position: absolute;
  inset: 0 0 var(--panel-b, 0%) var(--panel-l, 0%);
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 901px) {
  .stage__edge {
    border-left: 1px solid rgba(234, 244, 244, .26);
    box-shadow: -30px 0 70px -16px rgba(1, 20, 25, .8);
  }
}
@media (max-width: 900px) {
  .stage__edge {
    border-bottom: 1px solid rgba(234, 244, 244, .26);
    box-shadow: 0 30px 70px -16px rgba(1, 20, 25, .8);
  }
}

/* the plate behind the framed film — depth, and Syria arriving early */
.stage__depth {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
}
.stage__depth img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  will-change: transform;
}
.stage__depth-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(1, 20, 25, .96) 0%, rgba(1, 20, 25, .74) 34%, rgba(2, 69, 83, .55) 100%),
    linear-gradient(to top, rgba(1, 20, 25, .8), transparent 60%);
}

.hero {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--gut) + 4rem) var(--gut) clamp(1.6rem, 4vh, 3rem);
}
.hero__top { grid-row: 1; align-self: start; max-width: var(--maxw); margin-inline: auto; width: 100%; padding-top: clamp(.4rem, 2vh, 1.4rem); }
.hero__bottom { grid-row: 2; max-width: var(--maxw); margin-inline: auto; width: 100%; }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 300;
  font-variation-settings: 'wght' 300;
  line-height: .9;
  letter-spacing: -.026em;
  text-shadow: 0 2px 38px rgba(1, 20, 25, .62), 0 1px 2px rgba(1, 20, 25, .34);
}
/* optical left alignment — Montserrat's caps carry unequal left bearings, so
   each hero line is nudged until its ink sits on the column edge shared by the
   eyebrow and the foot rule: J overhangs, G is inset, the heavy T needs none. */
.hero__title .line-mask:nth-child(1) { margin-left: .009em; }
.hero__title .line-mask:nth-child(2) { margin-left: -.046em; }
.hero__foot {
  margin-top: clamp(1.4rem, 4vh, 2.6rem);
  padding-top: clamp(1rem, 2.4vh, 1.6rem);
  border-top: 1px solid rgba(234, 244, 244, .18);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.hero__meta { max-width: 30rem; text-align: right; }
.hero__meta p { color: rgba(234, 244, 244, .8); margin-left: auto; }

.scrollcue { display: flex; align-items: center; gap: .85rem; color: rgba(234, 244, 244, .6); }
.scrollcue__track { position: relative; width: 1px; height: clamp(38px, 7vh, 62px); background: rgba(234, 244, 244, .22); overflow: hidden; }
.scrollcue__track::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--green);
  animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
.scrollcue span { writing-mode: vertical-rl; font-size: var(--fs-cap); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }

/* ---------- CHAPTER 01 — THE MANDATE ---------- */
.mandate {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: var(--sec-y) var(--gut);
}
.mandate__in { max-width: var(--maxw); margin-inline: auto; width: 100%; }
.mandate__col { max-width: min(46rem, 50%); }
.mandate__statement {
  font-size: clamp(1.35rem, 2.4vw, 2.5rem);
  font-weight: 250;
  line-height: 1.16;
  letter-spacing: -.024em;
  margin-block: clamp(1.2rem, 3.4vh, 2.2rem) clamp(1.4rem, 3.6vh, 2.2rem);
}
.mandate__note p { color: rgba(234, 244, 244, .78); }

/* ==========================================================================
   9. CHAPTER 02 — THE PLACE: the pinned journey
   ========================================================================== */
.jrn { background: var(--ink); }
.jrn__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.jrn__bg { position: absolute; inset: 0; z-index: 1; }
.jrn__plate {
  position: absolute; inset: 0;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}
.jrn__plate.is-on { clip-path: inset(0 0 0 0); }
.jrn__plate img,
.jrn__card img {
  filter: saturate(.9) contrast(1.05) brightness(.9);
}
.jrn__plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  will-change: transform;
}
/* one teal wash over the whole journey — the chapters share a grade */
.jrn__bg::after, .jrn__card::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--teal);
  mix-blend-mode: color;
  opacity: .2;
  pointer-events: none;
}

/* the window that opens from the right and ends up owning the viewport */
.jrn__card {
  position: absolute; inset: 0;
  z-index: 2;
  clip-path: inset(26% 5% 26% 100%);
  will-change: clip-path;
}
.jrn__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  will-change: transform;
}
.jrn__card-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(1, 20, 25, .72), rgba(1, 20, 25, .05) 62%);
}
.jrn__scrim {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(1, 20, 25, .82) 0%, rgba(1, 20, 25, .28) 14%, rgba(1, 20, 25, 0) 30%),
    linear-gradient(to top, rgba(1, 20, 25, .84) 0%, rgba(1, 20, 25, .2) 24%, rgba(1, 20, 25, 0) 42%),
    linear-gradient(100deg, rgba(1, 20, 25, .5) 0%, rgba(1, 20, 25, .04) 40%, transparent 60%);
}
/* the image gives way to the information on the final frame */
.jrn__deep {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to top, rgba(1, 20, 25, .95) 0%, rgba(1, 24, 30, .78) 34%, rgba(1, 31, 38, .28) 62%, transparent 82%);
}

.jrn__hud {
  position: absolute;
  inset: calc(var(--gut) + 3.6rem) var(--gut) clamp(1.4rem, 3.4vh, 2.4rem);
  z-index: 4;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.jrn__title {
  margin-top: clamp(.9rem, 2.4vh, 1.6rem);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.024em;
  max-width: 22ch;
}
.jrn__hud-bot { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.jrn__caps { position: relative; min-height: 1.4em; flex: 1 1 auto; }
.jrn__caps span {
  position: absolute;
  left: 0; bottom: 0;
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
}
.jrn__caps span.is-on { opacity: 1; transform: none; }
.jrn__meter {
  flex: 0 0 auto;
  width: clamp(5rem, 16vw, 14rem);
  height: 2px;
  border-radius: 2px;
  background: rgba(234, 244, 244, .2);
  overflow: hidden;
}
.jrn__meter i { display: block; height: 100%; width: 0%; background: var(--green); }

/* the sectors, discovered on the last frame */
.jrn__resolve {
  position: absolute;
  z-index: 5;
  left: var(--gut); right: var(--gut);
  bottom: clamp(4.5rem, 12vh, 8rem);
  max-width: var(--maxw);
  margin-inline: auto;
  opacity: 0;
  pointer-events: none;
}
.jrn__resolve-lead {
  font-size: var(--fs-md);
  font-weight: 350;
  line-height: 1.55;
  max-width: 40ch;
  color: rgba(234, 244, 244, .9);
}
.jrn__resolve-lead b { font-weight: 700; color: #fff; }
.jrn__sectors {
  margin-top: clamp(1.1rem, 3vh, 1.8rem);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  max-width: 62rem;
}
.jrn__sectors li {
  padding: .55rem .3rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(234, 244, 244, .68);
}

/* ==========================================================================
   10. CHAPTER 03 — THE PLATFORM: one system, four layers
   ========================================================================== */
.sys { background: var(--teal-abyss); }
.sys__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
/* the frame opens progressively — the system becoming real */
.sys__frame {
  position: absolute; inset: 0;
  z-index: 1;
  clip-path: inset(var(--f1, 14%) var(--f2, 30%) var(--f3, 20%) var(--f4, 8%));
  will-change: clip-path;
}
.sys__stack { position: absolute; inset: 0; }
.sys__plate {
  position: absolute; inset: 0;
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  will-change: clip-path, opacity;
}
.sys__plate.is-on { opacity: 1; clip-path: inset(0 0 0 0); }
.sys__plate img, .sys__plate video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  will-change: transform;
}
.sys__plate-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(1, 20, 25, .84) 0%, rgba(1, 25, 31, .3) 42%, transparent 74%),
    linear-gradient(105deg, rgba(1, 20, 25, .8) 0%, rgba(1, 20, 25, .2) 46%, transparent 72%);
}
.sys__frame { --mark-w: clamp(6rem, 13vw, 11rem); }
.sys__overlay {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  z-index: 2;
  pointer-events: none;
}
/* the mark is the logo file; the aperture reveals it */
.sys__mark {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--mark-w);
  translate: -50% -50%;
  z-index: 2;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
}
.sys__mark img { display: block; width: 100%; height: auto; }
.sys__scan { stroke: rgba(34, 183, 119, .8); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0; }

.sys__scrim {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(1, 20, 25, .8) 0%, rgba(1, 20, 25, .22) 15%, transparent 32%),
    linear-gradient(to top, rgba(1, 20, 25, .88) 0%, rgba(1, 20, 25, .3) 22%, transparent 42%),
    linear-gradient(100deg, rgba(1, 20, 25, .58) 0%, rgba(1, 20, 25, .06) 42%, transparent 62%);
}
.sys__hud {
  position: absolute;
  inset: calc(var(--gut) + 3.6rem) var(--gut) clamp(1.4rem, 3.4vh, 2.4rem);
  z-index: 3;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.sys__title {
  margin-top: clamp(.9rem, 2.4vh, 1.6rem);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.024em;
  max-width: 20ch;
}
.sys__hud-bot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}
.sys__steps { display: flex; gap: clamp(1rem, 3vw, 2.6rem); flex-wrap: wrap; }
.sys__steps li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .55rem;
  padding-bottom: .8rem;
  opacity: .38;
  transition: opacity .5s var(--ease-soft);
}
.sys__steps li.is-on { opacity: 1; }
.sys__steps b { font-size: var(--fs-cap); font-weight: 700; letter-spacing: .2em; color: var(--green); font-variant-numeric: tabular-nums; }
.sys__steps span {
  font-size: clamp(.95rem, 1.35vw, 1.28rem);
  font-weight: 400;
  letter-spacing: -.01em;
  text-transform: uppercase;
  transition: font-variation-settings .5s var(--ease-soft);
}
.sys__steps li.is-on span { font-variation-settings: 'wght' 700; }
.sys__steps i {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--ease-out);
}
.sys__steps li.is-on i { transform: scaleX(1); }
.sys__desc { position: relative; min-height: 5.2em; }
.sys__desc p {
  position: absolute;
  inset: auto 0 0 0;
  font-size: var(--fs-sm);
  font-weight: 350;
  line-height: 1.55;
  color: rgba(234, 244, 244, .8);
  opacity: 0;
  transform: translateY(10px);
}
.sys__desc p.is-on { opacity: 1; transform: none; }

/* ==========================================================================
   11. ALLIANCE — the quiet beat
   ========================================================================== */
/* --------------------------------------------------------------------------
   ALLIANCE — the page's one bright chapter, between two dark pinned scenes.
   Every other chapter puts type on a dark ground with media behind it, and the
   expertise scene already owns "column left, media right" — so this one is
   inverted: the capability runs full-bleed as the ground, and the platform is a
   solid light plate laid over it, bleeding off the left edge. The plate opens
   rightward across the film as the chapter is read.
   -------------------------------------------------------------------------- */
.alli {
  position: relative;
  background: var(--light);
  color: var(--teal);
  overflow-x: clip;
}
.alli__pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  overflow: hidden;
}

/* the field: capability, running underneath */
.alli__field { position: absolute; inset: 0; z-index: 0; }
.alli__field video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  filter: saturate(.78) contrast(1.02) brightness(1.03);
  will-change: transform;
}
/* held bright so the chapter stays airy against the dark scenes either side */
.alli__wash {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(234, 244, 244, .5) 0%, rgba(234, 244, 244, .12) 46%, rgba(234, 244, 244, 0) 78%),
    linear-gradient(to bottom, rgba(234, 244, 244, .34) 0%, rgba(234, 244, 244, 0) 30%);
}

/* the plate: a real object over the film, not a column of the layout */
.alli__plate {
  position: relative;
  z-index: 1;
  width: min(53rem, 62vw);
  margin-left: calc(var(--gut) * -1);
  /* the plate bleeds one gutter off the left, so the text needs two to land on
     the same column edge every other section uses */
  padding: clamp(2.4rem, 6vh, 4.2rem) clamp(2.2rem, 4.4vw, 4.4rem)
           clamp(2.2rem, 5.5vh, 3.6rem) calc(var(--gut) * 2);
  background: var(--light);
  box-shadow: 0 40px 120px -40px rgba(1, 20, 25, .3);
  clip-path: inset(0% var(--ap, 88%) 0% 0%);
  will-change: clip-path;
}
.alli__body { max-width: 40rem; }

.alli__eyebrow { color: var(--teal); }
.alli__eyebrow i { color: var(--green); }
.alli__eyebrow s { background: var(--teal); opacity: .3; }

.alli__anchor { margin-top: clamp(1.2rem, 3.4vh, 2.2rem); }
.alli__core {
  font-size: clamp(2rem, 4.1vw, 4.4rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--teal);
}
.alli__role {
  margin-top: clamp(.7rem, 1.6vh, 1rem);
  display: flex; align-items: center; gap: .8rem;
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(2, 69, 83, .82);
}
.alli__role i {
  display: block; flex: 0 0 auto;
  width: clamp(1.6rem, 3.4vw, 2.6rem); height: 3px;
  border-radius: 3px;
  background: var(--green);
  transform-origin: left center;
}
.alli__lead {
  margin-top: clamp(1.1rem, 3vh, 1.8rem);
  max-width: 30ch;
  font-size: var(--fs-sm);
  font-weight: 350;
  line-height: 1.6;
  color: rgba(2, 69, 83, .72);
}

/* the alliance sits along the foot of the plate: three notes, not three cards */
.alli__rows {
  margin-top: clamp(1.8rem, 5vh, 3rem);
  padding-top: clamp(1.1rem, 2.6vh, 1.6rem);
  border-top: 1px solid rgba(2, 69, 83, .16);
  list-style: none;
  display: grid;
  gap: clamp(.85rem, 2vh, 1.25rem);
}
.alli__rows li { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: clamp(.8rem, 1.6vw, 1.4rem); }
.alli__geo {
  grid-row: 1 / span 2;
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--green);
  padding-top: .12em;
}
.alli__name {
  font-size: clamp(.9rem, 1.1vw, 1.02rem);
  font-weight: 700;
  letter-spacing: -.008em;
  line-height: 1.24;
  text-transform: uppercase;
  color: var(--teal);
}
.alli__disc {
  font-size: var(--fs-cap);
  font-weight: 400;
  letter-spacing: .035em;
  line-height: 1.6;
  color: rgba(2, 69, 83, .6);
}

/* ==========================================================================
   12. CHAPTER 04 — EXPERTISE: six disciplines take the scene
   ========================================================================== */
.exp { background: var(--ink); overflow-x: clip; }
.exp__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  /* --sp is the media panel's left edge as a unitless fraction, so the same
     value can drive the clip, the caption position and the index's fade */
  --sp: .52;
  --edge: calc(var(--sp) * 100vw);
}
.exp__media {
  position: absolute; inset: 0;
  z-index: 2;
  clip-path: inset(0 0 0 calc(var(--sp) * 100%));
  will-change: clip-path;
}
.exp__plate {
  position: absolute; inset: 0;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}
.exp__plate.is-on { clip-path: inset(0 0 0 0); }
.exp__plate img, .exp__plate video { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.exp__media-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(1, 20, 25, .86) 0%, rgba(1, 25, 31, .28) 40%, transparent 70%),
    linear-gradient(100deg, rgba(1, 20, 25, .58) 0%, transparent 42%);
}
/* the detail plate: a second image at another depth */
.exp__detail {
  position: absolute;
  left: calc(var(--edge) + clamp(1rem, 2.4vw, 2.4rem));
  bottom: clamp(6rem, 16vh, 10rem);
  width: clamp(7rem, 13vw, 12rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  z-index: 3;
  outline: 1px solid rgba(234, 244, 244, .5);
  outline-offset: -1px;
  box-shadow: 0 26px 64px rgba(1, 20, 25, .7);
}
.exp__detail img { filter: brightness(1.06) saturate(1.02); }
.exp__detail img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
}
.exp__detail img.is-on { opacity: 1; }
.exp__caption {
  position: absolute;
  z-index: 4;
  left: calc(var(--edge) + clamp(1rem, 2.4vw, 2.4rem));
  right: clamp(1.2rem, 3vw, 3rem);
  bottom: clamp(1.4rem, 3.6vh, 2.6rem);
  max-width: 30rem;
  color: #fff;
}
.exp__caption-n { color: rgba(255, 255, 255, .6); }
.exp__caption-n b { color: var(--green); font-weight: 700; }
.exp__caption-d {
  margin-top: .6rem;
  font-size: var(--fs-sm);
  font-weight: 350;
  line-height: 1.5;
  color: rgba(255, 255, 255, .84);
}
.exp__progress { position: absolute; top: 0; left: 0; height: 2px; background: var(--green); width: 0; z-index: 5; }

.exp__index {
  position: absolute;
  inset: calc(var(--gut) + 3.4rem) auto clamp(1.4rem, 3.4vh, 2.4rem) var(--gut);
  z-index: 1;
  width: min(46rem, 48%);
  /* the media encroaches on the index, so the index fades out exactly where the
     media begins — the type recedes instead of being cut in half */
  --fade: calc(var(--edge) - var(--gut));
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(var(--fade) - 5.5rem), transparent var(--fade));
  mask-image: linear-gradient(to right, #000 0, #000 calc(var(--fade) - 5.5rem), transparent var(--fade));
  display: grid;
  align-content: center;
  gap: clamp(1rem, 3vh, 2rem);
}
.exp__list { display: grid; }
.exp__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.5rem);
  align-items: baseline;
  padding-block: clamp(.5rem, 1.35vh, 1rem);
  border-top: 1px solid var(--line-dark);
  cursor: pointer;
  opacity: .3;
  transition: opacity .55s var(--ease-soft);
}
.exp__item:last-child { border-bottom: 1px solid var(--line-dark); }
.exp__item.is-on { opacity: 1; }
.exp__n {
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: .2em;
  font-variant-numeric: tabular-nums;
  color: var(--green);
  padding-top: .5em;
}
.exp__t {
  font-size: clamp(1rem, min(1.85vw, 2.9vh), 1.7rem);
  font-weight: 300;
  letter-spacing: -.028em;
  text-transform: uppercase;
  line-height: 1.1;
  transition: font-variation-settings .5s var(--ease-soft), transform .6s var(--ease-out);
  transform-origin: left center;
}
.exp__item.is-on .exp__t { font-variation-settings: 'wght' 700; transform: translateX(.35rem); }
.exp__d { display: none; }
.exp__foot {
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(234, 244, 244, .5);
  max-width: 40ch;
  line-height: 1.6;
}

/* ==========================================================================
   13. CHAPTER 05 — NATIONAL PROGRAMS: the field assembles
   ========================================================================== */
.ntl { background: var(--teal); position: relative; overflow: hidden; }
.ntl__track {
  position: relative;
  z-index: 2;
  padding-block: clamp(1.6rem, 4vh, 2.6rem);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.ntl__row { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); width: max-content; will-change: transform; }
.ntl__row span {
  font-size: clamp(.95rem, 1.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(234, 244, 244, .6);
}
.ntl__row i { flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: var(--green); opacity: .7; }

.ntl__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.ntl__bed { position: absolute; inset: 0; z-index: 0; }
.ntl__bed img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) brightness(.9); will-change: transform; }
.ntl__bed-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(2, 69, 83, .86), rgba(1, 31, 38, .92));
}
.ntl__stage {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--gut) + 3.6rem) var(--gut) clamp(1.4rem, 3.4vh, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.4rem, 4vh, 2.8rem);
}
.ntl__head { display: grid; gap: clamp(.8rem, 2.2vh, 1.4rem); }
/* signature statement — one of the three large-type moments on the page */
.ntl__stmt { font-size: var(--fs-stmt); font-weight: 200; line-height: .9; letter-spacing: -.038em; text-transform: uppercase; }
.ntl__stmt strong { font-weight: 900; letter-spacing: -.05em; }

.ntl__field { position: relative; will-change: transform; }
.ntl__grid { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.ntl__grid path { fill: none; stroke: rgba(234, 244, 244, .3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ntl__mods { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.ntl__mods li {
  display: grid;
  align-content: space-between;
  gap: .6rem;
  padding: clamp(.9rem, 2.4vh, 1.5rem) clamp(.7rem, 1.6vw, 1.3rem);
  min-height: clamp(6.5rem, 17vh, 10rem);
}
.ntl__mods b { font-size: var(--fs-cap); font-weight: 700; letter-spacing: .2em; color: var(--green); font-variant-numeric: tabular-nums; }
.ntl__mods span {
  font-size: clamp(.86rem, 1.15vw, 1.06rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: rgba(234, 244, 244, .92);
}
.ntl__foot { font-size: var(--fs-sm); font-weight: 350; line-height: 1.55; max-width: 46ch; color: rgba(234, 244, 244, .72); }

/* ==========================================================================
   14. CHAPTER 06 — STANDARDS: the calibration scale
   ========================================================================== */
.cal { background: var(--light); color: var(--teal); }
.cal__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--gut) + 3.6rem) var(--gut) clamp(1.4rem, 3.4vh, 2.4rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1rem, 3vh, 2rem);
}
.cal__head { display: grid; gap: clamp(.7rem, 2vh, 1.2rem); max-width: 42rem; }
.cal__title { font-size: var(--fs-h2); font-weight: 300; line-height: 1.1; letter-spacing: -.024em; }
.cal__lead { font-size: var(--fs-sm); font-weight: 350; color: rgba(2, 69, 83, .72); max-width: 40ch; }

.cal__scale { position: relative; align-self: center; height: clamp(15rem, 40vh, 22rem); }
.cal__rule { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(2, 69, 83, .22); }
.cal__rule i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--green); display: block; }
.cal__playhead {
  position: absolute;
  top: calc(50% - clamp(2.2rem, 6vh, 3.4rem));
  left: 0;
  width: 1px;
  height: clamp(4.4rem, 12vh, 6.8rem);
  background: var(--green);
  opacity: 0;
}
.cal__playhead::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
}
.cal__items { position: absolute; inset: 0; }
.cal__items li {
  position: absolute;
  transform: translateX(-50%);
  display: grid;
  gap: .3rem;
  text-align: center;
  white-space: nowrap;
  opacity: .26;
  transition: opacity .5s var(--ease-soft);
}
.cal__items li::before { content: ''; position: absolute; left: 50%; width: 1px; background: rgba(2, 69, 83, .3); }
.cal__items li[data-side="up"] { bottom: 50%; padding-bottom: clamp(1.6rem, 4.4vh, 2.6rem); align-content: end; }
.cal__items li[data-side="up"]::before { bottom: 0; height: clamp(1.2rem, 3.4vh, 2rem); }
.cal__items li[data-side="down"] { top: 50%; padding-top: clamp(1.6rem, 4.4vh, 2.6rem); }
.cal__items li[data-side="down"]::before { top: 0; height: clamp(1.2rem, 3.4vh, 2rem); }
.cal__items li:first-child { transform: translateX(0); text-align: left; }
.cal__items li:first-child::before { left: 2px; }
.cal__items li:last-child { transform: translateX(-100%); text-align: right; }
.cal__items li:last-child::before { left: auto; right: 2px; }
.cal__items li.is-lit { opacity: 1; }
.cal__items li.is-lit::before { background: var(--green); }
.cal__n { font-size: clamp(.9rem, 1.3vw, 1.18rem); font-weight: 700; letter-spacing: -.008em; text-transform: uppercase; line-height: 1.1; }
.cal__k {
  font-size: max(.56rem, calc(var(--fs-cap) * .86));
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(2, 69, 83, .58);
}

.cal__foot {
  display: grid;
  grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  padding-top: clamp(1rem, 2.6vh, 1.6rem);
  border-top: 1px solid var(--line-light);
}
.cal__count { display: flex; align-items: baseline; gap: .8rem; }
.cal__count b {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .84;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.cal__count span { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; max-width: 26ch; line-height: 1.55; }
.cal__who { display: flex; flex-wrap: wrap; gap: .4rem clamp(1rem, 2.4vw, 2rem); justify-self: end; }
.cal__who li { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(2, 69, 83, .62); }

/* the calibration scale, rotated: same instrument, vertical axis */
.cal.is-vertical .cal__scale { height: auto; align-self: stretch; }
.cal.is-vertical .cal__rule {
  left: 0; right: auto; top: 0; bottom: 0;
  width: 1px; height: auto;
}
.cal.is-vertical .cal__rule i { inset: 0 0 auto 0; width: 100%; height: 0; }
.cal.is-vertical .cal__playhead {
  top: 0;
  left: 0;
  width: clamp(2rem, 7vw, 3rem);
  height: 1px;
}
.cal.is-vertical .cal__playhead::after { left: 100%; top: 50%; }
.cal.is-vertical .cal__items li {
  left: 0; right: auto;
  bottom: auto;
  transform: translateY(-50%);
  text-align: left;
  padding: 0 0 0 clamp(1.1rem, 4.5vw, 1.8rem);
  gap: .15rem;
  white-space: normal;
}
.cal.is-vertical .cal__items li::before {
  left: 0; top: 50%; bottom: auto;
  width: clamp(.7rem, 3vw, 1.1rem);
  height: 1px;
}
.cal.is-vertical .cal__items li:first-child,
.cal.is-vertical .cal__items li:last-child {
  transform: translateY(-50%);
  text-align: left;
}
.cal.is-vertical .cal__items li:first-child::before,
.cal.is-vertical .cal__items li:last-child::before { left: 0; right: auto; }
.cal.is-vertical .cal__n { font-size: .95rem; }

/* ==========================================================================
   15. CHAPTER 07 — MISSION → VISION: the frame opens
   ========================================================================== */
.hzn { background: var(--teal-abyss); }
.hzn__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.hzn__frame {
  position: absolute; inset: 0;
  z-index: 1;
  clip-path: inset(var(--hy, 16%) var(--hx, 36%));
  will-change: clip-path;
}
.hzn__plate { position: absolute; inset: 0; opacity: 0; }
.hzn__plate:first-child { opacity: 1; }
.hzn__plate img, .hzn__plate video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  will-change: transform;
}
.hzn__frame-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(1, 20, 25, .9) 0%, rgba(1, 25, 31, .4) 44%, rgba(1, 31, 38, .18) 100%),
    linear-gradient(100deg, rgba(1, 20, 25, .7) 0%, rgba(1, 20, 25, .12) 52%, transparent 78%);
}
.hzn__scrim {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(1, 20, 25, .9) 0%, rgba(1, 20, 25, .34) 30%, transparent 54%),
    linear-gradient(100deg, rgba(1, 20, 25, .72) 0%, rgba(1, 20, 25, .12) 46%, transparent 66%);
}
.hzn__hud {
  position: absolute;
  inset: calc(var(--gut) + 3.6rem) var(--gut) clamp(1.4rem, 3.4vh, 2.4rem);
  z-index: 3;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.hzn__present { max-width: min(30rem, 30%); display: grid; gap: clamp(.8rem, 2.2vh, 1.3rem); }
.hzn__present p:not(.chapter) { font-size: var(--fs-sm); font-weight: 350; line-height: 1.6; color: rgba(234, 244, 244, .8); }
.hzn__future { display: grid; gap: clamp(.9rem, 2.4vh, 1.5rem); max-width: 56rem; }
.hzn__vision {
  font-size: clamp(1.5rem, 3.4vw, 3.6rem);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -.032em;
  text-transform: uppercase;
}
.hzn__vision strong { font-weight: 900; letter-spacing: -.045em; }
.hzn__values { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem clamp(.7rem, 1.5vw, 1.3rem); }
.hzn__values li {
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(234, 244, 244, .7);
  display: flex;
  align-items: baseline;
  gap: clamp(.7rem, 1.5vw, 1.3rem);
}
.hzn__values li:not(:last-child)::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
  opacity: .75;
  transform: translateY(-.25em);
}

/* ==========================================================================
   16. CHAPTER 08 — CLOSING
   ========================================================================== */
.close {
  position: relative;
  min-height: 108vh;
  min-height: 108svh;
  display: grid;
  align-content: center;
  overflow: hidden;
  background: var(--ink);
  padding: var(--sec-y) var(--gut);
}
.close__media {
  position: absolute; inset: 0;
  z-index: 0;
  clip-path: circle(var(--cap, 14%) at 50% 50%);
  will-change: clip-path;
}
.close__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  transform: scale(1.08);
  will-change: transform;
}
.close__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(1, 20, 25, .92) 0%, rgba(1, 25, 31, .6) 40%, rgba(1, 31, 38, .34) 100%),
    linear-gradient(100deg, rgba(1, 20, 25, .74) 0%, rgba(1, 24, 30, .28) 50%, rgba(1, 31, 38, .04) 80%),
    linear-gradient(200deg, rgba(2, 69, 83, .34), transparent 62%);
}
.close__ring { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.close__ring svg { overflow: visible; max-width: none; }
.close__ring circle { fill: none; stroke: rgba(234, 244, 244, .5); }
.close__in { position: relative; z-index: 3; max-width: var(--maxw); margin-inline: auto; width: 100%; }
.close__title {
  font-size: var(--fs-close);
  line-height: .86;
  margin-block: clamp(1.4rem, 4vh, 3rem) clamp(1.8rem, 5vh, 3.4rem);
}
.close__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.big-cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  font-size: clamp(1.05rem, 1.9vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.02em;
  text-transform: uppercase;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(234, 244, 244, .35);
  transition: border-color .5s var(--ease-soft), color .5s var(--ease-soft);
}
.big-cta__arrow {
  position: relative;
  width: clamp(2.4rem, 4vw, 3.6rem);
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
  transition: width .55s var(--ease-out);
}
.big-cta__arrow::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  width: 9px; height: 9px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: translate(0, -50%) rotate(45deg);
}
.big-cta:hover { color: var(--green); border-color: var(--green); }
.big-cta:hover .big-cta__arrow { width: clamp(3.4rem, 6vw, 5.4rem); }
.close__loc { text-align: right; color: rgba(234, 244, 244, .74); display: grid; gap: .5rem; }

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.foot {
  background: var(--teal-abyss);
  color: var(--light);
  padding: clamp(3.5rem, 10vh, 7rem) var(--gut) clamp(1.5rem, 4vh, 2.4rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.foot::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, var(--green), rgba(34, 183, 119, .12) 42%, transparent 72%);
}
.foot__ring {
  position: absolute;
  right: -14%;
  bottom: -46%;
  width: min(46rem, 62vw);
  height: auto;
  max-width: none;
  z-index: -1;
  overflow: visible;
}
.foot__ring circle { fill: none; stroke: rgba(234, 244, 244, .085); stroke-width: .68; }
.foot__in { max-width: var(--maxw); margin-inline: auto; position: relative; }
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, .95fr));
  gap: clamp(2rem, 4.4vw, 3.4rem);
  align-content: start;
  padding-bottom: clamp(2.2rem, 5vh, 3.4rem);
  border-bottom: 1px solid var(--line-dark);
}
.foot__lock { height: clamp(30px, 3.4vw, 44px); width: auto; }
.foot__note {
  margin-top: clamp(1.3rem, 3.4vh, 2rem);
  max-width: 44ch;
  font-size: var(--fs-sm);
  font-weight: 350;
  line-height: 1.65;
  color: rgba(234, 244, 244, .7);
}
.foot__col h4 { font-size: var(--fs-cap); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 1.2rem; }
.foot__col li + li { margin-top: .55rem; }
/* the service list carries the same tick the live site uses */
.foot__svc li { position: relative; padding-left: 1.35rem; }
.foot__svc li::before {
  content: '';
  position: absolute; left: 0; top: .52em;
  width: .55rem; height: .3rem;
  border-left: 1.6px solid var(--green);
  border-bottom: 1.6px solid var(--green);
  rotate: -45deg;
}
.foot__svc li, .foot__contact li {
  font-size: var(--fs-sm);
  font-weight: 350;
  line-height: 1.5;
  color: rgba(234, 244, 244, .74);
}
.foot__contact li + li { margin-top: .8rem; }
.foot__col a, .foot__col span {
  font-size: var(--fs-sm);
  font-weight: 350;
  color: rgba(234, 244, 244, .74);
  transition: color .4s var(--ease-soft);
  display: inline-block;
}
.foot__col a:hover { color: var(--green); }
.foot__bot {
  padding-top: clamp(1.2rem, 3vh, 2rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  color: rgba(234, 244, 244, .45);
}

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  /* keep the film's presence: the plate stays a share of the frame, not a fixed slab */
  .alli__plate { width: 58vw; }
  .alli__body { max-width: none; }
  .sys__hud-bot { grid-template-columns: 1fr; gap: 1.2rem; }
  .sys__desc { min-height: 4.4em; }
  .jrn__sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- 900: navigation collapses, side-by-side layouts stack, pins release ---- */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px; height: 44px;
    align-items: flex-end;
  }
  .burger span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease-out), width .4s var(--ease-out); }
  .burger span:nth-child(1) { width: 26px; }
  .burger span:nth-child(2) { width: 18px; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); width: 26px; }
  body.menu-open .burger span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); width: 26px; }
  body.menu-open .site-header { color: var(--light) !important; }
  body.menu-open .brand__lock--dark { display: none !important; }
  body.menu-open .brand__lock--light { display: block !important; }
  .brand__tag { display: none; }

  .hero__foot { flex-direction: column-reverse; align-items: flex-start; gap: 1.4rem; }
  .hero__meta { max-width: 42ch; text-align: left; }
  .hero__meta p { margin-left: 0; }
  .mandate__col { max-width: 100%; }
  /* the film holds the top band here, so the chapter sits beneath it */
  .mandate { align-content: end; padding-bottom: clamp(2.5rem, 9vh, 5rem); }

  /* the plate spans the frame and the film sits behind it as a band above */
  .alli__pin {
    align-content: start;
    min-height: 0;
    padding-top: 34vh;
    overflow: visible;
  }
  .alli__field { inset: 0 0 auto 0; height: 42vh; }
  .alli__field video { object-position: 50% 54%; }
  .alli__wash {
    background: linear-gradient(to bottom, rgba(234, 244, 244, .28) 0%, rgba(234, 244, 244, 0) 42%, rgba(234, 244, 244, .9) 88%, var(--light) 100%);
  }
  .alli__plate {
    width: 100%;
    margin-left: 0;
    padding: clamp(1.8rem, 4.4vh, 2.6rem) var(--gut) calc(var(--sec-y) * .6);
    box-shadow: none;
  }
  .alli__rows li { grid-template-columns: 2.9rem 1fr; }

  .cal__foot { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
  .cal__who { justify-self: start; }

  .close__row { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .close__loc { text-align: left; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }

  /* the pinned scenes keep their idea in a simplified composition */
  .exp__pin { --sp: 0; height: auto; overflow: visible; }
  .exp__media { position: relative; inset: auto; clip-path: none; height: 62svh; }
  .exp__index { position: relative; inset: auto; width: 100%; padding: var(--sec-y) var(--gut) 0; }
  .exp__detail { display: none; }
  .exp__caption { left: var(--gut); right: var(--gut); }
  .exp__item { opacity: 1; cursor: default; }
  .exp__t, .exp__item.is-on .exp__t {
    font-size: clamp(1.05rem, 4.6vw, 1.5rem);
    font-variation-settings: 'wght' 450;
    transform: none;
  }
  .exp__d {
    display: block;
    grid-column: 2;
    font-size: var(--fs-sm);
    font-weight: 350;
    line-height: 1.5;
    opacity: .74;
    margin-top: .5rem;
  }

  .sys__frame { clip-path: inset(var(--f1, 20%) var(--f2, 6%) var(--f3, 26%) var(--f4, 6%)); }
  .ntl__mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ntl__stage { justify-content: flex-start; gap: 1.2rem; }
  .jrn__sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jrn__title, .sys__title { max-width: 28ch; }
}

@media (max-width: 640px) {
  :root {
    --fs-mega:  clamp(2.3rem, 12vw, 4.4rem);
    --fs-hero:  clamp(1.6rem, 7.8vw, 2.75rem);
    --fs-close: clamp(1.7rem, 8vw, 2.9rem);
    --fs-stmt:  clamp(1.7rem, 8.6vw, 3rem);
    --fs-h2:    clamp(1.25rem, 5.4vw, 1.9rem);
  }
  .hero { padding-top: calc(var(--gut) + 3.6rem); }
  .jrn__hud, .sys__hud, .hzn__hud { inset: calc(var(--gut) + 3.2rem) var(--gut) clamp(1rem, 2.6vh, 1.6rem); }
  .jrn__hud-bot { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .jrn__meter { width: 100%; }
  .jrn__sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jrn__resolve { bottom: clamp(3.5rem, 10vh, 6rem); }
  .jrn__resolve-lead, .ntl__foot, .hzn__present p:not(.chapter) { font-size: .92rem; }
  .sys__steps { gap: .6rem 1.2rem; }
  .sys__steps span { font-size: .92rem; }
  .cal__count b { font-size: 2.6rem; }
  .ntl__mods li { min-height: 5.4rem; }
  .foot__top { grid-template-columns: 1fr; }
  .close { min-height: 100vh; min-height: 100svh; }
}

@media (max-width: 380px) {
  :root { --gut: 1.1rem; }
  .brand__lock { height: 24px; }
  .jrn__sectors li, .cal__who li { letter-spacing: .08em; }
}

@media (min-width: 1800px) { :root { --maxw: 116rem; } }

/* the film is 16:9; on tall viewports bias the crop and deepen the scrim */
@media (max-aspect-ratio: 1/1) {
  .stage__media video { object-position: 50% 46%; }
  .stage__grade--deep {
    background:
      radial-gradient(170% 105% at 26% 112%,
        rgba(1, 20, 25, .97) 0%, rgba(2, 69, 83, .8) 32%,
        rgba(2, 69, 83, .3) 62%, transparent 84%),
      linear-gradient(to top, rgba(1, 20, 25, .78) 0%, rgba(1, 20, 25, .18) 40%, transparent 60%);
  }
}

/* ---------- 19. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  #intro-bg, #intro-ui, .close__ring { display: none !important; }
  .stage__media, .close__media { clip-path: none !important; }
  .stage__depth { display: none; }
  .jrn__pin, .sys__pin, .exp__pin, .ntl__pin, .cal__pin, .hzn__pin { height: auto; overflow: visible; }
  .jrn__plate, .exp__plate, .sys__plate { clip-path: none !important; opacity: 1; }
  .jrn__plate + .jrn__plate, .exp__plate + .exp__plate,
  .sys__plate + .sys__plate, .hzn__plate + .hzn__plate { display: none; }
  .jrn__card, .exp__detail, .sys__overlay, .sys__mark, .jrn__meter, .exp__progress, .cal__playhead { display: none; }
  .jrn__bg, .sys__frame, .exp__media, .hzn__frame {
    position: relative; inset: auto; height: 60svh; clip-path: none !important;
  }
  .jrn__hud, .sys__hud, .exp__index, .exp__caption, .hzn__hud {
    position: relative; inset: auto; width: auto; padding: var(--sec-y) var(--gut);
  }
  .jrn__resolve, .hzn__present, .hzn__future { position: relative; opacity: 1; inset: auto; }
  .jrn__caps span, .sys__desc p { position: relative; opacity: 1; transform: none; }
  .cal__items li { opacity: 1; }
  .scrollcue__track::after { animation: none; transform: translateY(0); }
}

/* ---------- 20. NO-JS FALLBACK ---------- */
html.no-js #intro-bg, html.no-js #intro-ui { display: none; }
html.no-js .stage__media, html.no-js .close__media { clip-path: none; }
html.no-js .site-header__rule { transform: scaleX(1); }
html.no-js .jrn__pin, html.no-js .sys__pin, html.no-js .exp__pin,
html.no-js .ntl__pin, html.no-js .cal__pin, html.no-js .hzn__pin { height: auto; overflow: visible; }
html.no-js .jrn__bg, html.no-js .sys__frame, html.no-js .exp__media, html.no-js .hzn__frame {
  position: relative; inset: auto; height: 60svh; clip-path: none;
}
html.no-js .jrn__plate + .jrn__plate, html.no-js .exp__plate + .exp__plate,
html.no-js .sys__plate + .sys__plate, html.no-js .hzn__plate + .hzn__plate { display: none; }
html.no-js .jrn__plate, html.no-js .exp__plate, html.no-js .sys__plate { clip-path: none; opacity: 1; }
html.no-js .jrn__card, html.no-js .exp__detail, html.no-js .sys__overlay, html.no-js .sys__mark { display: none; }
html.no-js .jrn__hud, html.no-js .sys__hud, html.no-js .exp__index,
html.no-js .exp__caption, html.no-js .hzn__hud { position: relative; inset: auto; width: auto; padding: var(--sec-y) var(--gut); }
html.no-js .jrn__resolve, html.no-js .hzn__present, html.no-js .hzn__future { position: relative; opacity: 1; inset: auto; }
html.no-js .jrn__caps span, html.no-js .sys__desc p { position: relative; opacity: 1; transform: none; }
html.no-js .exp__item { opacity: 1; }
html.no-js .exp__d { display: block; margin-top: .5rem; opacity: .74; }
html.no-js .cal__items li { opacity: 1; }
