/* ==========================================================================
   PLA SPECIAL FORCES — Master Stylesheet
   Identity: "Jade Lacquer & Vermilion Seal"
   Lacquer black · night jade · celadon · rice paper · vermilion seal accents
   Type: Chakra Petch (display) · Manrope (text) · JetBrains Mono (labels) · Noto Serif SC (seals)
   ========================================================================== */

:root {
  --lacquer: #08110f;
  --lacquer-2: #0d1a17;
  --jade-900: #0c2a24;
  --jade-800: #103830;
  --jade-700: #155144;
  --jade-600: #1a6553;
  --jade-500: #1e7a63;
  --jade-300: #7fc4ab;
  --jade-200: #b5ddcd;
  --celadon: #e1eee7;
  --paper: #f6f4ec;
  --paper-2: #eeebdf;
  --ink: #12201b;
  --muted: #45564f;
  --seal: #c73a22;
  --seal-deep: #a42e18;
  --seal-text: #9e2a16;
  --on-dark: #eef4f0;
  --on-dark-muted: #b3c7be;
  --line: rgba(18, 32, 27, .14);
  --line-strong: rgba(18, 32, 27, .28);
  --line-dark: rgba(127, 196, 171, .22);

  --f-display: "Chakra Petch", "Rajdhani", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --f-cjk: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;

  --gutter: clamp(16px, 4vw, 44px);
  --wrap: 1240px;
  --header-h: 74px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --chamfer: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(16px, .3vw + 15px, 17.5px);
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.drawer-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.06;
  margin: 0 0 .55em;
  overflow-wrap: break-word;
  hyphens: manual;
}
h1, h2 { text-transform: uppercase; letter-spacing: -.005em; }
h1 { font-size: clamp(2.35rem, 6vw, 5.6rem); line-height: .98; }
h2 { font-size: clamp(1.9rem, 3.9vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.4rem); line-height: 1.2; letter-spacing: .01em; }
h4 { font-size: 1.05rem; letter-spacing: .02em; }
strong { font-weight: 700; }
em { font-style: italic; }
blockquote { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 3px; }
::selection { background: var(--jade-500); color: #fff; }
[lang="zh-Hans"] { font-family: var(--f-cjk); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--seal); color: #fff; padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Section surfaces ---------- */
.sec { position: relative; padding-block: clamp(64px, 8.5vw, 124px); }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-paper2 { background: var(--paper-2); color: var(--ink); }
.bg-celadon { background: var(--celadon); color: var(--ink); }
.bg-jade { background: var(--jade-900); color: var(--on-dark); }
.bg-lacquer { background: var(--lacquer); color: var(--on-dark); }
.bg-seal { background: var(--seal-deep); color: #fff; }
.bg-jade :is(h1, h2, h3), .bg-lacquer :is(h1, h2, h3) { color: #fff; }
.bg-jade p, .bg-lacquer p { color: var(--on-dark-muted); }
.bg-jade strong, .bg-lacquer strong { color: var(--on-dark); }

.txt-seal { color: var(--seal-text); }
.txt-jade { color: var(--jade-300); }

/* ---------- Labels, seals ---------- */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6em 1em;
  margin: 0 0 1.2rem;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--jade-700);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--seal); flex: none; }
.eyebrow__code { color: var(--seal-text); font-weight: 600; }
.eyebrow__cjk { font-size: 1rem; letter-spacing: .2em; color: var(--muted); }
.eyebrow--dark { color: var(--jade-300); }
.eyebrow--dark .eyebrow__code { color: #ff8f78; }
.eyebrow--dark .eyebrow__cjk { color: var(--on-dark-muted); }
.bg-jade .eyebrow, .bg-lacquer .eyebrow { color: var(--jade-300); }

.seal {
  display: inline-grid; place-items: center;
  writing-mode: vertical-rl;
  background: var(--seal); color: #fff8f2;
  font-family: var(--f-cjk); font-weight: 900; line-height: 1;
  letter-spacing: .08em;
  border-radius: 6px;
  box-shadow: inset 0 0 0 3px var(--seal), inset 0 0 0 5px rgba(255, 244, 236, .55);
  transform: rotate(-3deg);
  user-select: none;
}
.seal--sm { font-size: 1rem; padding: 10px 7px; }
.seal--lg { font-size: 1.7rem; padding: 16px 12px; }
.seal--xl { font-size: clamp(2.2rem, 4vw, 3.4rem); padding: 22px 16px; }

/* ---------- Buttons & links ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 12px 24px;
  font-family: var(--f-display); font-size: .95rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; line-height: 1.2; text-align: center;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn__arr { font-family: var(--f-body); font-weight: 700; transition: transform .25s var(--ease); }
.btn:hover .btn__arr { transform: translateX(4px); }
.btn--seal { background: var(--seal); color: #fff; clip-path: var(--chamfer); }
.btn--seal:hover { background: var(--seal-deep); }
.btn--jade { background: var(--jade-300); color: var(--lacquer); clip-path: var(--chamfer); }
.btn--jade:hover { background: var(--jade-200); }
.btn--ink { background: var(--jade-900); color: #fff; clip-path: var(--chamfer); }
.btn--ink:hover { background: var(--jade-700); }
.btn--ghost-light { color: var(--on-dark); border: 1.5px solid rgba(238, 244, 240, .5); background: transparent; }
.btn--ghost-light:hover { border-color: var(--jade-300); color: #fff; background: rgba(127, 196, 171, .08); }
.btn--ghost-dark { color: var(--ink); border: 1.5px solid var(--line-strong); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--jade-700); color: var(--jade-700); }
.btn:focus-visible { clip-path: none; outline: 3px solid var(--seal); outline-offset: 3px; }
.bg-seal .btn:focus-visible, .cta-band .btn:focus-visible { outline-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--jade-700); text-decoration: none; border-bottom: 2px solid var(--seal); padding-bottom: 3px;
}
.link-arrow:hover { color: var(--seal-text); }
.bg-jade .link-arrow, .bg-lacquer .link-arrow { color: var(--jade-300); }

/* ---------- Image frames (never crop: natural aspect ratio, corner ticks live in the padding) ---------- */
.frame { --c: var(--jade-300); --l: 24px; --t: 2px; min-width: 0; }
.frame--light { --c: var(--seal); }
.frame__media {
  position: relative; padding: 10px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--t) var(--l) no-repeat;
}
.frame__media img { width: 100%; height: auto; background: rgba(127, 196, 171, .08); }
.frame__cap { margin-top: 10px; font-family: var(--f-mono); font-size: .76rem; line-height: 1.55; color: var(--muted); letter-spacing: .02em; }
.frame__tag { color: var(--seal-text); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-right: .5em; }
.bg-jade .frame__cap, .bg-lacquer .frame__cap, .hero-tri .frame__cap { color: var(--on-dark-muted); }
.bg-jade .frame__tag, .bg-lacquer .frame__tag, .hero-tri .frame__tag { color: #ff8f78; }
/* small source images never upscale into blur */
.frame--nat { width: 100%; max-width: calc(var(--w, 600px) + 20px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--lacquer-2); color: var(--on-dark-muted); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; border-bottom: 1px solid var(--line-dark); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 38px; padding-block: 6px; flex-wrap: wrap; }
.topbar__note { margin: 0; display: flex; align-items: center; gap: .6em; text-transform: uppercase; letter-spacing: .12em; }
.topbar__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--jade-300); box-shadow: 0 0 0 4px rgba(127, 196, 171, .18); flex: none; }
.topbar__sep { color: var(--jade-500); }
.topbar__links { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__links a { color: var(--jade-200); text-decoration: none; }
.topbar__links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sticky header ---------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 80;
  background: rgba(8, 17, 15, .95);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(8, 17, 15, .86); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.header__row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.emblem { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.14rem; letter-spacing: .07em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.brand__sub { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--jade-300); margin-top: 4px; white-space: nowrap; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: clamp(14px, 1.45vw, 26px); }
.nav__link {
  position: relative; display: block; padding: 25px 0;
  font-family: var(--f-display); font-weight: 600; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-muted); text-decoration: none; white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 2px; background: var(--seal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--jade-300); }
.header__cta { min-height: 44px; padding: 10px 20px; font-size: .84rem; flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; padding: 0;
  background: transparent; border: 1.5px solid var(--line-dark); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--on-dark); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle__bar:nth-child(2) { width: 14px; margin-left: 8px; background: var(--seal); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Drawer (outside the header so position:fixed is viewport-relative) ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(4, 9, 8, .6); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: min(390px, 88vw); height: 100vh; height: 100dvh;
  overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, var(--jade-900), var(--lacquer) 70%);
  border-left: 1px solid var(--line-dark);
  padding: 18px 24px 36px;
  transform: translateX(100%); visibility: hidden;
  transition: transform .38s var(--ease), visibility 0s linear .38s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.drawer__title { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--jade-300); }
.drawer__close { width: 44px; height: 44px; border: 1.5px solid var(--line-dark); background: transparent; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.drawer__list { list-style: none; margin: 8px 0 22px; }
.drawer__link {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark); text-decoration: none;
}
.drawer__num { font-family: var(--f-mono); font-size: .72rem; color: #ff8f78; }
.drawer__label { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; }
.drawer__cjk { font-size: 1rem; color: var(--on-dark-muted); }
.drawer__link.is-active .drawer__label, .drawer__link:hover .drawer__label { color: var(--jade-300); }
.drawer__cta { width: 100%; }
.drawer__contact { margin-top: 22px; padding: 16px; border: 1px solid var(--line-dark); font-size: .92rem; color: var(--on-dark-muted); }
.drawer__contact p { margin: 0 0 .35em; }
.drawer__contact strong { color: #fff; }
.drawer__contact a { color: var(--jade-200); }

/* ---------- Shared compositions ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.split-head h2 { margin-bottom: 0; }
.split-head > p { margin: 0; }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero-tri {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 72% 38%, rgba(30, 122, 99, .32), transparent 70%),
    linear-gradient(180deg, var(--lacquer) 0%, #0a1714 100%);
  color: var(--on-dark);
  padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7.5vw, 104px);
}
.hero-tri::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(127, 196, 171, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 196, 171, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-tri__rings { position: absolute; width: 900px; height: 900px; right: -300px; top: -260px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(127, 196, 171, .1) 58px 59px); }
.hero-tri .wrap { position: relative; }
.hero-tri__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--jade-300);
  padding-bottom: 14px; margin-bottom: clamp(24px, 3.5vw, 40px); border-bottom: 1px solid var(--line-dark);
}
.hero-tri__title { color: #fff; font-size: clamp(2.35rem, 6.6vw, 6.2rem); max-width: 15.5ch; margin-bottom: clamp(28px, 4vw, 52px); }
.hero-tri__title span { display: block; color: var(--jade-300); }
.hero-tri__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.55fr) minmax(0, .62fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.hero-tri__lead p { color: var(--on-dark-muted); }
.hero-tri__lead strong { color: #fff; }
.hero-tri__intro { font-size: 1.08em; }
.hero-tri__side { border-left: 1px solid var(--line-dark); padding-left: 22px; display: grid; gap: 26px; }
.vtext { writing-mode: vertical-rl; font-size: clamp(1.7rem, 2.3vw, 2.3rem); font-weight: 900; letter-spacing: .24em; color: var(--jade-300); margin: 0; line-height: 1.25; }
.hstats { list-style: none; display: grid; gap: 18px; }
.hstats li { display: grid; gap: 2px; }
.hstats__num { font-family: var(--f-display); font-weight: 700; font-size: 2.3rem; line-height: 1; color: #fff; }
.hstats__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); line-height: 1.45; }

.wordstrip { background: var(--seal-deep); color: #fff; }
.wordstrip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-block: 16px; font-family: var(--f-display); font-weight: 600; font-size: clamp(.82rem, 1.05vw, 1rem); letter-spacing: .08em; text-transform: uppercase; }
.wordstrip__dot { width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid rgba(255, 255, 255, .8); flex: none; }

.mandate__grid { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.mandate__rail { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.mandate__rail .seal { position: sticky; top: calc(var(--header-h) + 28px); }
.mandate__railnote { font-family: var(--f-mono); font-size: .74rem; line-height: 1.6; color: var(--muted); letter-spacing: .04em; margin: 0; }
.mandate__title { font-size: clamp(1.5rem, 2.7vw, 2.4rem); line-height: 1.2; text-transform: none; letter-spacing: 0; font-weight: 600; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 30ch; }
.tri-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.tri-cols__item { padding: 26px 26px 6px; border-left: 1px solid var(--line); }
.tri-cols__item:first-child { padding-left: 0; border-left: 0; }
.tri-cols__num { display: block; font-family: var(--f-mono); font-weight: 600; font-size: .8rem; color: var(--seal-text); letter-spacing: .14em; margin-bottom: 12px; }
.tri-cols__item p { font-size: .96em; color: var(--muted); }

.why__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.why__fig { position: sticky; top: calc(var(--header-h) + 24px); }
.why__text > p { color: var(--muted); }
.ledger { list-style: none; margin-top: 30px; border-top: 1px solid var(--line-strong); }
.ledger li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ledger__n { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--jade-600); }
.ledger h3 { margin-bottom: .25em; }
.ledger p { margin: 0; color: var(--muted); font-size: .95em; }

.bento { background:
  repeating-linear-gradient(135deg, rgba(127, 196, 171, .035) 0 1px, transparent 1px 14px),
  var(--jade-900); }
.bento__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bento__card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px; min-height: 230px;
  background: rgba(8, 17, 15, .35); border: 1px solid var(--line-dark);
  color: var(--on-dark); text-decoration: none; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.bento__card:hover { transform: translateY(-4px); border-color: var(--jade-300); background: rgba(8, 17, 15, .6); }
.bento__card h3 { color: #fff; margin: 0; }
.bento__card p { color: var(--on-dark-muted); font-size: .93rem; margin: 0; }
.bento__code { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; color: #ff8f78; }
.bento__more { margin-top: auto; padding-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; color: var(--jade-300); }
.bento__card--feature { grid-column: span 2; grid-row: span 2; padding: clamp(28px, 3vw, 44px); background: linear-gradient(160deg, var(--jade-700), var(--jade-900) 90%); justify-content: flex-end; }
.bento__card--feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); text-transform: uppercase; }
.bento__card--feature p { font-size: 1rem; max-width: 46ch; }
.bento__card--cta { background: var(--seal-deep); border-color: var(--seal-deep); }
.bento__card--cta:hover { background: var(--seal); border-color: #ffb09d; }
.bento__card--cta p { color: #ffe9e2; }
.bento__card--cta .bento__code { color: #ffd2c6; }
.bento__card--cta .bento__more { color: #fff; }
.bento__glyph { position: absolute; right: 22px; top: 10px; font-size: clamp(5rem, 9vw, 8.5rem); font-weight: 900; line-height: 1; color: rgba(127, 196, 171, .16); pointer-events: none; }

.protocol__head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.protocol__lead { color: var(--muted); font-size: 1.05em; }
.rail { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; position: relative; }
.rail::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--jade-500) 0 10px, transparent 10px 16px); }
.rail__step { position: relative; }
.rail__node { position: relative; isolation: isolate; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--jade-700); }
.rail__node::before { content: ""; position: absolute; inset: 8px; z-index: -1; background: var(--paper); border: 2px solid var(--jade-700); transform: rotate(45deg); }
.rail__step:last-child .rail__node { color: #fff; }
.rail__step:last-child .rail__node::before { background: var(--seal); border-color: var(--seal); }
.rail h3 { font-size: 1.08rem; }
.rail p { font-size: .92rem; color: var(--muted); margin: 0; }
.protocol__link { margin-top: clamp(32px, 4vw, 48px); }

.context { overflow: hidden; }
.context__rings { position: absolute; width: 1100px; height: 1100px; left: 50%; top: 50%; transform: translate(-10%, -50%); border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 70px, rgba(127, 196, 171, .07) 70px 71px), radial-gradient(circle, rgba(30, 122, 99, .22), transparent 60%); }
.context__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.context__text .btn { margin-top: 12px; }
.statgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2.6vw, 34px); background: rgba(8, 17, 15, .92); }
.stat__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3.3vw, 2.9rem); line-height: 1; color: var(--jade-300); }
.stat__label { font-size: .93rem; color: var(--on-dark); line-height: 1.5; }
.stat__src { margin-top: auto; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }

.code__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.code__lead { color: var(--muted); max-width: 60ch; }
.values { list-style: none; margin-top: 28px; display: grid; gap: 4px; }
.values li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.values__glyph { display: grid; place-items: center; width: 64px; height: 64px; background: var(--jade-900); color: var(--jade-200); font-size: 1.9rem; font-weight: 900; }
.values li:nth-child(even) .values__glyph { background: var(--seal); color: #fff; }
.values h3 { margin-bottom: .2em; }
.values p { color: var(--muted); margin: 0; font-size: .96em; }
.code__fig { justify-self: end; position: sticky; top: calc(var(--header-h) + 24px); }

.quote-seal { background:
  radial-gradient(ellipse at 15% 20%, rgba(255, 255, 255, .08), transparent 55%),
  var(--seal-deep); }
.quote-seal__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.quote-seal__cjk { writing-mode: vertical-rl; margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 900; letter-spacing: .14em; line-height: 1.3; color: #fff4ec; border-left: 2px solid rgba(255, 244, 236, .45); padding-left: clamp(12px, 2vw, 24px); max-height: 12em; }
.quote-seal__quote p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.15; color: #fff; margin-bottom: .6em; }
.quote-seal__quote footer { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #ffe1d6; }
.quote-seal__note { margin-top: 26px; max-width: 62ch; color: #fff3ee; }

.regions__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: 36px; }
.regions__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.regions__head h2 { margin: 0; }
.regions__head > p { color: var(--muted); margin: 0; }
.regions__list { list-style: none; border-top: 2px solid var(--ink); }
.regions__list li {
  display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 190px) minmax(0, 1.4fr); gap: 18px; align-items: baseline;
  padding: 20px 12px; border-bottom: 1px solid var(--line);
  transition: background-color .25s var(--ease);
}
.regions__list li:hover { background: var(--celadon); }
.regions__idx { font-family: var(--f-mono); font-weight: 600; color: var(--seal-text); letter-spacing: .1em; }
.regions__list h3 { margin: 0; text-transform: uppercase; }
.regions__coord { font-family: var(--f-mono); font-size: .8rem; color: var(--jade-700); letter-spacing: .04em; }
.regions__list p { margin: 0; color: var(--muted); font-size: .95em; }
.regions__more { margin-top: 30px; }

.cta-band { position: relative; overflow: hidden; background: var(--jade-700); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.cta-band::before { content: ""; position: absolute; right: -14%; top: -40%; width: 44%; height: 180%; background: rgba(8, 17, 15, .28); transform: skewX(-18deg); pointer-events: none; }
.cta-band::after { content: ""; position: absolute; right: 4%; top: 0; bottom: 0; width: 6px; background: var(--seal); transform: skewX(-18deg); pointer-events: none; }
.cta-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3f1eb; }
.cta-band .eyebrow { color: var(--jade-200); }
.cta-band .eyebrow__code { color: #ffc2b3; }
.cta-band__actions { display: grid; gap: 12px; justify-items: stretch; }
.cta-band__actions .btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.cta-band__direct { margin: 6px 0 0; font-family: var(--f-mono); font-size: .86rem; text-align: center; word-break: break-word; }
.cta-band__direct a { color: #fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--lacquer); color: var(--on-dark-muted); font-size: .94rem; }
.footer__seal-row { background: var(--jade-900); border-top: 4px solid var(--seal); }
.footer__seal-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding-block: 30px; }
.footer__seal-inner .seal { justify-self: start; }
.footer__motto { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.3; color: #fff; letter-spacing: .02em; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 72px); }
.brand--footer { margin-bottom: 18px; }
.footer__brand p { color: var(--on-dark-muted); }
.footer__disclaimer { font-size: .84rem; padding: 14px 16px; border-left: 3px solid var(--seal); background: rgba(127, 196, 171, .06); }
.footer__disclaimer strong { color: #fff; }
.footer__h { font-family: var(--f-mono); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--jade-300); margin-bottom: 16px; }
.footer__h--follow { margin-top: 26px; }
.footer__links { list-style: none; display: grid; gap: 9px; }
.footer__links a { color: var(--on-dark); text-decoration: none; }
.footer__links a:hover { color: var(--jade-300); text-decoration: underline; }
.footer__dl { margin: 0; display: grid; gap: 2px; }
.footer__dl dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 10px; }
.footer__dl dt:first-child { margin-top: 0; }
.footer__dl dd { margin: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.footer__dl a { color: #fff; text-decoration: none; }
.footer__dl a:hover { color: var(--jade-300); text-decoration: underline; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.social__link { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.social__link svg { width: 19px; height: 19px; }
.social__link:hover { transform: translateY(-3px); color: #fff; }
.social__link--facebook:hover { background: #1877f2; border-color: #1877f2; }
.social__link--instagram:hover { background: #d62976; border-color: #d62976; }
.social__link--linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.social__link--youtube:hover { background: #ff0000; border-color: #ff0000; }
.social__link--x:hover { background: #000; border-color: #fff; }
.footer__base { border-top: 1px solid var(--line-dark); }
.footer__base-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-size: .86rem; }
.footer__base-row p { margin: 0; }
.footer__base-row a { color: var(--jade-300); font-weight: 600; }
.footer__base-row a:hover { color: #fff; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; place-items: center; width: 48px; height: 48px; background: var(--seal); color: #fff; clip-path: var(--chamfer); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE — shared + home
   ========================================================================== */
@media (max-width: 1199px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 1100px) {
  .hero-tri__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-tri .frame--hero { grid-column: 1 / -1; order: -1; }
  .hero-tri__side { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--feature { grid-row: auto; min-height: 300px; }
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .rail::before { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .split-head, .why__grid, .context__grid, .code__grid, .cta-band__grid, .regions__head { grid-template-columns: minmax(0, 1fr); }
  .why__fig, .code__fig { position: static; }
  .code__fig { justify-self: center; }
  .mandate__grid { grid-template-columns: minmax(0, 1fr); }
  .mandate__rail { flex-direction: row; align-items: center; }
  .mandate__rail .seal { position: static; }
  .tri-cols { grid-template-columns: minmax(0, 1fr); }
  .tri-cols__item { padding: 24px 0 8px; border-left: 0; border-bottom: 1px solid var(--line); }
  .regions__list li { grid-template-columns: 48px minmax(0, 1fr); }
  .regions__list li > .regions__coord, .regions__list li > p { grid-column: 2; }
  .footer__seal-inner { grid-template-columns: auto minmax(0, 1fr); }
  .footer__seal-inner .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .topbar__note { display: none; }
  .topbar__row { justify-content: center; }
}
@media (max-width: 700px) {
  .hero-tri__grid { grid-template-columns: minmax(0, 1fr); }
  .hero-tri__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 22px; }
  .hstats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .vtext { writing-mode: horizontal-tb; letter-spacing: .3em; }
  .hero-tri__side { grid-template-columns: minmax(0, 1fr); }
  .bento__grid { grid-template-columns: minmax(0, 1fr); }
  .bento__card--feature { grid-column: auto; }
  .bento__card { min-height: 0; }
  .rail { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .rail::before { display: block; left: 28px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--jade-500) 0 10px, transparent 10px 16px); }
  .rail__step { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 22px; padding-bottom: 26px; }
  .rail__node { grid-row: span 2; width: 44px; height: 44px; margin: 6px 0 0 7px; }
  .statgrid { grid-template-columns: minmax(0, 1fr); }
  .quote-seal__grid { grid-template-columns: minmax(0, 1fr); }
  .quote-seal__cjk { writing-mode: horizontal-tb; border-left: 0; padding-left: 0; border-bottom: 2px solid rgba(255, 244, 236, .45); padding-bottom: 14px; font-size: clamp(1.4rem, 6vw, 2rem); letter-spacing: .08em; max-height: none; }
  .values li { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .values__glyph { width: 52px; height: 52px; font-size: 1.5rem; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .wordstrip__row { justify-content: center; }
}
@media (max-width: 440px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1rem; letter-spacing: .05em; }
  .emblem { width: 40px; height: 40px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hstats__num { font-size: 1.9rem; }
  .hstats__label { font-size: .64rem; letter-spacing: .04em; }
  .footer__seal-inner { grid-template-columns: minmax(0, 1fr); }
  .topbar__links { gap: 6px 14px; justify-content: center; font-size: .68rem; }
}
@media (max-width: 360px) {
  .brand__name { font-size: .9rem; }
  .header__row { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .drawer, .drawer-backdrop, .to-top { display: none !important; }
}

/* ==========================================================================
   INNER PAGES — shared
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.crumbs a { color: inherit; opacity: .85; }
.crumbs a:hover { opacity: 1; }
.crumbs [aria-current] { font-weight: 600; }
.nextlink { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); transition: border-color .25s var(--ease), background-color .25s var(--ease); position: relative; }
.nextlink::after { content: "\2192"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--seal); transition: transform .25s var(--ease); }
.nextlink:hover { border-color: var(--jade-700); background: var(--celadon); }
.nextlink:hover::after { transform: translate(4px, -50%); }
.nextlink span { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; padding-right: 28px; }
.nextlink small { font-size: .88rem; color: var(--muted); padding-right: 28px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.hero-about { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--celadon), #d6e8df); color: var(--ink); padding-block: clamp(44px, 6vw, 84px) clamp(48px, 6vw, 88px); }
.hero-about__mark { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-size: clamp(9rem, 26vw, 24rem); font-weight: 900; line-height: 1; color: rgba(21, 81, 68, .08); pointer-events: none; white-space: nowrap; }
.hero-about .wrap { position: relative; }
.hero-about .crumbs { color: var(--jade-700); }
.hero-about h1 { max-width: 17ch; color: var(--ink); }
.hero-about h1 span { color: var(--jade-600); }
.hero-about__lead { max-width: 62ch; font-size: 1.1em; color: var(--muted); }
.spec { margin: clamp(32px, 4vw, 52px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.spec__item { padding: 16px 18px 4px 0; border-right: 1px solid var(--line-strong); margin-right: 18px; }
.spec__item:last-child { border-right: 0; margin-right: 0; }
.spec dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--seal-text); margin-bottom: 6px; }
.spec dd { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }

.who__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.who__head { position: sticky; top: calc(var(--header-h) + 28px); }
.who__body p { color: var(--muted); }
.dropcap::first-letter { float: left; font-family: var(--f-display); font-weight: 700; font-size: 4.6em; line-height: .8; margin: .06em .12em 0 0; color: var(--seal); }
.who__pull { margin: 30px 0; padding: 26px 28px; background: var(--jade-900); color: #fff; position: relative; }
.who__pull::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--seal); }
.who__pull p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.35; color: #fff !important; margin-bottom: 10px; }
.who__pull span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--jade-300); }

.leader { overflow: hidden; }
.leader__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 18% 40%, rgba(30, 122, 99, .3), transparent 70%), repeating-linear-gradient(90deg, rgba(127, 196, 171, .04) 0 1px, transparent 1px 80px); }
.leader__grid { position: relative; display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.leader__portrait { display: grid; gap: 20px; justify-items: start; }
.leader__roles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.leader__roles li { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--jade-200); border: 1px solid var(--line-dark); padding: 6px 10px; }
.leader h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin-bottom: .2em; }
.leader__role { font-family: var(--f-mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--jade-300) !important; margin-bottom: 1.6em; }
.leader__lead { font-size: 1.14em; color: var(--on-dark) !important; }
.leader__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.leader__contact-label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #ff8f78; }
.leader__contact a { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: #fff; text-decoration: none; border-bottom: 1px solid var(--jade-500); overflow-wrap: anywhere; }
.leader__contact a:hover { color: var(--jade-300); }

.saksham__head { max-width: 900px; margin-bottom: clamp(32px, 4vw, 52px); }
.saksham__expand { font-family: var(--f-mono); font-size: .9rem; letter-spacing: .06em; color: var(--jade-700); }
.numwall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--ink); }
.numwall__cell { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line-strong); background: var(--paper); }
.numwall__cell:last-child { border-right: 0; }
.numwall__n { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: .95; color: var(--jade-700); }
.numwall__n small { display: block; font-size: .32em; letter-spacing: .14em; text-transform: uppercase; color: var(--seal-text); margin-top: 6px; }
.numwall__l { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.numwall__cell--seal { background: var(--seal-deep); }
.numwall__cell--seal .numwall__n, .numwall__cell--seal .numwall__n small, .numwall__cell--seal .numwall__l { color: #fff; }
.saksham__cols { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.saksham__cols p { color: var(--muted); margin: 0; }
.saksham__cols p:first-child { color: var(--ink); font-weight: 600; }

.rural__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rural__text > p { color: var(--muted); }
.focus { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.focus li { padding: 14px 18px; background: rgba(255, 255, 255, .6); border-left: 4px solid var(--jade-600); color: var(--muted); font-size: .95em; }
.focus__k { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.route { background: var(--jade-900); color: var(--on-dark); padding: clamp(24px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 24px); }
.route__title { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--jade-300); margin-bottom: 18px; }
.route__list { list-style: none; position: relative; display: grid; gap: 0; }
.route__list::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: repeating-linear-gradient(180deg, var(--jade-300) 0 6px, transparent 6px 11px); }
.route__list li { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 18px; padding: 10px 0; }
.route__dot { grid-row: span 2; width: 16px; height: 16px; margin-top: 6px; background: var(--seal); border: 3px solid var(--jade-900); box-shadow: 0 0 0 2px var(--seal); position: relative; z-index: 1; }
.route__dot--open { background: var(--jade-900); box-shadow: 0 0 0 2px var(--jade-300); }
.route__list strong { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.route__list span:last-child { font-size: .86rem; color: var(--on-dark-muted); }

.orgs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.orgs li { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: var(--jade-900); min-height: 170px; transition: background-color .25s var(--ease); }
.orgs li:hover { background: var(--jade-800); }
.orgs__i { font-family: var(--f-mono); font-size: .74rem; color: #ff8f78; letter-spacing: .12em; }
.orgs h3 { font-size: 1.08rem; margin: 0; color: #fff; }
.orgs__t { margin-top: auto; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--jade-300); }
.torus__note { margin-top: 28px; max-width: 70ch; }

.method__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.method__text p { color: var(--muted); }
.domains { list-style: none; display: grid; gap: 12px; }
.domains li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 18px 20px; border: 1px solid var(--line-strong); background: #fff; }
.domains__n { display: grid; place-items: center; width: 54px; height: 54px; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--jade-700); border: 2px solid var(--jade-700); }
.domains h3 { margin-bottom: .2em; }
.domains p { margin: 0; color: var(--muted); font-size: .94em; }
.domains__ai { background: var(--jade-900) !important; border-color: var(--jade-900) !important; }
.domains__ai .domains__n { color: #fff; border-color: var(--seal); background: var(--seal); }
.domains__ai h3 { color: #fff; }
.domains__ai p { color: var(--on-dark-muted); }

.principles__title { max-width: 22ch; margin-bottom: clamp(32px, 4vw, 56px); }
.pcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.pcols__item { padding: 28px 24px 8px; border-left: 1px solid var(--line-dark); }
.pcols__item:first-child { border-left: 0; padding-left: 0; }
.pcols__glyph { display: block; font-size: 3.4rem; font-weight: 900; line-height: 1; color: var(--seal); margin-bottom: 18px; }
.pcols__item:nth-child(even) .pcols__glyph { color: var(--jade-300); }

.notice__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.notice__box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; padding: clamp(24px, 3vw, 40px); border: 2px solid var(--ink); background: #fff; }
.notice__box .seal { align-self: start; }
.notice__box h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.notice__box p { color: var(--muted); }
.notice__next { display: grid; gap: 10px; }
.notice__next-title { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--seal-text); margin: 0 0 4px; }

@media (max-width: 1100px) {
  .orgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numwall__cell:nth-child(2) { border-right: 0; }
  .numwall__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
  .pcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcols__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec__item:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 900px) {
  .cta-band::after { display: none; }
  .who__grid, .leader__grid, .rural__grid, .method__grid, .notice__grid { grid-template-columns: minmax(0, 1fr); }
  .who__head, .route { position: static; }
  .saksham__cols { grid-template-columns: minmax(0, 1fr); }
  .orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .spec { grid-template-columns: minmax(0, 1fr); }
  .spec__item { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; }
  .numwall { grid-template-columns: minmax(0, 1fr); }
  .numwall__cell { border-right: 0 !important; border-bottom: 1px solid var(--line-strong); }
  .orgs { grid-template-columns: minmax(0, 1fr); }
  .orgs li { min-height: 0; }
  .pcols { grid-template-columns: minmax(0, 1fr); }
  .pcols__item { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line-dark); padding-bottom: 20px; }
  .notice__box { grid-template-columns: minmax(0, 1fr); }
  .notice__box .seal { justify-self: start; }
  .domains li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .domains__n { width: 44px; height: 44px; font-size: 1.1rem; }
}
@media (max-width: 700px) { .hero-about__mark { display: none; } }

/* ---------- Tables (scroll inside their own wrapper) ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-strong); background: #fff; }
.table-wrap:focus-visible { outline: 3px solid var(--seal); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.55; }
.table-wrap thead th { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--jade-900); border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) { background: var(--paper); }
.table-wrap tbody th { font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.table-wrap td { color: var(--muted); }

/* ==========================================================================
   HERITAGE
   ========================================================================== */
.hero-archive { position: relative; overflow: hidden; color: var(--on-dark); padding-block: clamp(44px, 6vw, 80px) 0;
  background: repeating-linear-gradient(90deg, rgba(127, 196, 171, .05) 0 1px, transparent 1px 120px), linear-gradient(160deg, var(--jade-900), var(--lacquer) 85%); }
.hero-archive .crumbs { color: var(--jade-300); }
.hero-archive__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-archive h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 5rem); }
.hero-archive h1 span { display: block; color: var(--jade-300); }
.hero-archive__lead { color: var(--on-dark-muted); font-size: 1.06em; max-width: 58ch; }
.hero-archive__fig { justify-self: end; }
.ruler { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.ruler li { position: relative; padding: 22px 12px 26px 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.ruler li::before { content: ""; position: absolute; left: 0; top: -1px; width: 2px; height: 14px; background: var(--seal); }
.ruler span { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: 0; color: #fff; line-height: 1; margin-bottom: 6px; }

.sourcebar { background: var(--seal-deep); color: #fff; }
.sourcebar__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding-block: 22px; }
.sourcebar p { margin: 0; font-size: .94rem; color: #fff4ef; }
.sourcebar .seal { background: #fff4ef; color: var(--seal-deep); box-shadow: inset 0 0 0 3px #fff4ef, inset 0 0 0 5px rgba(164, 46, 24, .45); }

.origins__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, .7fr); gap: 20px clamp(28px, 5vw, 72px); }
.origins__head { grid-column: 1 / -1; max-width: 900px; margin-bottom: 12px; }
.origins__text p { color: var(--muted); }
.origins__text strong { color: var(--ink); }
.origins__notes { display: grid; gap: 14px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.mnote { padding: 16px 18px; border-top: 3px solid var(--jade-700); background: var(--celadon); }
.mnote__k { font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--seal-text); }
.mnote p { margin: 6px 0 0; font-size: .88rem; color: var(--muted); line-height: 1.55; }

.chrono__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.chrono__head .eyebrow { justify-content: center; }
.chrono__list { list-style: none; position: relative; }
.chrono__list::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--jade-700), var(--jade-700)) center / 2px 100% no-repeat; }
.chrono__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); align-items: center; margin-bottom: 18px; }
.chrono__year { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1; padding: 8px 14px; min-width: 110px; text-align: center; background: var(--jade-900); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; }
.chrono__card { grid-row: 1; grid-column: 1; padding: 20px 24px; background: #fff; border: 1px solid var(--line); position: relative; }
.chrono__item:nth-child(even) .chrono__card { grid-column: 3; border-left: 4px solid var(--seal); }
.chrono__item:nth-child(odd) .chrono__card { border-right: 4px solid var(--jade-600); }
.chrono__card h3 { margin-bottom: .3em; }
.chrono__card p { margin: 0; font-size: .94rem; color: var(--muted); }

.doctrine__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.pillars__item { padding: 20px 18px; border: 1px solid var(--line-dark); background: rgba(12, 42, 36, .6); }
.pillars__n { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.8rem; line-height: 1; color: #ff8f78; margin-bottom: 10px; }
.pillars__item h3 { text-transform: uppercase; margin-bottom: .25em; }
.pillars__item p { margin: 0; font-size: .9rem; }

.envtable tbody th span { font-family: var(--f-cjk); color: var(--seal-text); margin-right: 8px; font-weight: 900; }
.envtable tbody th { white-space: nowrap; }

.abroad__title { max-width: 20ch; margin-bottom: clamp(32px, 4vw, 52px); }
.abroad__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.acard { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border: 1px solid var(--line-dark); background: rgba(8, 17, 15, .4); }
.acard--wide { grid-column: span 2; grid-row: span 2; padding: clamp(26px, 3vw, 40px); background: linear-gradient(160deg, var(--jade-700), rgba(8, 17, 15, .5)); justify-content: flex-end; }
.acard__stat { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--jade-300); }
.acard--wide .acard__stat { font-size: clamp(3.4rem, 7vw, 6rem); }
.acard__label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #ff8f78; margin-bottom: 10px; }
.acard h3 { margin-bottom: .3em; }
.acard p { margin: 0; font-size: .92rem; }
.acard--wide p { font-size: 1rem; }

.legacy__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.legacy__quote { padding: clamp(28px, 4vw, 52px); background: var(--jade-900); color: #fff; position: relative; }
.legacy__quote::after { content: ""; position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-top: 3px solid var(--seal); border-right: 3px solid var(--seal); }
.legacy__cjk { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 900; line-height: 1.2; color: var(--jade-300); margin-bottom: .5em; letter-spacing: .06em; }
.legacy__en { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; color: #fff; }
.legacy__quote footer { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.legacy__text > p { color: var(--muted); }

/* ==========================================================================
   CAPABILITIES
   ========================================================================== */
.hero-index { background: radial-gradient(ellipse 50% 70% at 90% 10%, rgba(199, 58, 34, .16), transparent 60%), var(--lacquer); color: var(--on-dark); padding-block: clamp(44px, 6vw, 80px) clamp(52px, 6vw, 88px); }
.hero-index .crumbs { color: var(--jade-300); }
.hero-index__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 20px clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.hero-index h1 { color: #fff; font-size: clamp(2.3rem, 9vw, 8.2rem); margin: 0; line-height: .9; }
.hero-index__side { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.hero-index__side p { margin: 0; color: var(--on-dark-muted); }
.ixboard { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); counter-reset: none; }
.ixboard a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 20px 20px 22px; background: var(--lacquer); color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.25; letter-spacing: .03em; transition: background-color .25s var(--ease), color .25s var(--ease); }
.ixboard a span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; color: #ff8f78; }
.ixboard a:hover { background: var(--jade-800); color: var(--jade-200); }

.philo__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.philo__fig { position: sticky; top: calc(var(--header-h) + 24px); }
.philo__lead { font-size: 1.1em; color: var(--ink); font-weight: 500; }
.philo__text > p { color: var(--muted); }
.philo__pairs { margin: 28px 0 0; display: grid; gap: 10px; }
.philo__pairs div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 14px 16px; background: var(--celadon); border-left: 4px solid var(--seal); }
.philo__pairs dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--seal-text); }
.philo__pairs dd { margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.philo__pairs dt:nth-of-type(2) { color: var(--jade-700); }

.svc__grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc__nav { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; background: var(--jade-900); }
.svc__navtitle { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--jade-300); margin-bottom: 12px; }
.svc__nav ol { list-style: none; display: grid; gap: 2px; }
.svc__nav a { display: block; padding: 9px 10px; color: var(--on-dark); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: .95rem; border-left: 2px solid transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.svc__nav a:hover { background: rgba(127, 196, 171, .1); border-left-color: var(--seal); }
.svc__list { display: grid; gap: 22px; }
.svcard { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.svcard__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.svcard__n { font-family: var(--f-mono); font-weight: 600; font-size: .9rem; color: #fff; background: var(--seal); padding: 6px 10px; flex: none; }
.svcard__head h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.8rem); text-transform: uppercase; flex: 1; min-width: 0; }
.svcard__cjk { font-size: 2.2rem; font-weight: 900; line-height: 1; color: var(--jade-600); flex: none; }
.svcard > p { color: var(--muted); }
.svcard__fig { margin: 4px 0 22px; }
.svcard__cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line-strong); }
.svcard h4 { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--jade-700); margin-bottom: 12px; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: .94rem; color: var(--ink); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; background: var(--jade-700); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 24%, 86% 10%, 38% 72%); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 600; padding: 6px 12px; background: var(--celadon); color: var(--jade-800); border: 1px solid rgba(21, 81, 68, .2); }

.tiers__head { max-width: 820px; margin-bottom: clamp(28px, 4vw, 44px); }
.tiertable thead th { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .04em; text-transform: none; }
.tiertable__t { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--jade-300); margin-bottom: 4px; }
.tiertable thead th.is-feature { background: var(--seal-deep); }
.tiertable thead th.is-feature .tiertable__t { color: #ffd9cf; }
.tiertable td { font-weight: 600; color: var(--ink); }
.tiertable td.is-feature { background: rgba(199, 58, 34, .07); color: var(--seal-text); }

.force__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.forcelist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.forcelist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px; border: 1px solid var(--line-dark); background: rgba(12, 42, 36, .55); }
.forcelist li > span { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--seal); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.forcelist h3 { margin-bottom: .25em; text-transform: uppercase; font-size: 1.05rem; }
.forcelist p { margin: 0; font-size: .9rem; }

.chev { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.chev li { padding: 26px 30px 28px 36px; background: var(--jade-900); color: #fff; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%); }
.chev li:first-child { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); padding-left: 24px; }
.chev li:nth-child(even) { background: var(--jade-700); }
.chev li:last-child { background: var(--seal-deep); }
.chev__n { display: block; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; color: #ffc2b3; margin-bottom: 8px; }
.chev li:nth-child(even) .chev__n { color: var(--jade-200); }
.chev h3 { color: #fff; text-transform: uppercase; font-size: 1.1rem; }
.chev p { margin: 0; font-size: .88rem; color: #e3efe9; line-height: 1.5; }
.engage__cta { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 26px 28px; border: 2px solid var(--ink); background: var(--paper); }
.engage__cta > p { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); text-transform: uppercase; }
.engage__cta .btn-row { margin-top: 0; }

@media (max-width: 1100px) {
  .abroad__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acard--wide { grid-row: auto; }
  .ixboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chev { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .chev li, .chev li:first-child { clip-path: none; padding: 20px 22px; border-left: 6px solid var(--seal); }
  .forcelist { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero-archive__grid, .origins__grid, .doctrine__grid, .legacy__grid, .hero-index__top, .philo__grid, .svc__grid, .force__grid { grid-template-columns: minmax(0, 1fr); }
  .hero-archive__fig { justify-self: start; }
  .ruler { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .origins__notes, .philo__fig { position: static; }
  .origins__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chrono__list::before { left: 44px; }
  .chrono__item { grid-template-columns: 88px minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .chrono__year { grid-column: 1; min-width: 0; width: 88px; padding: 8px 6px; font-size: .92rem; }
  .chrono__card, .chrono__item:nth-child(even) .chrono__card { grid-column: 2; border-right: 1px solid var(--line); border-left: 4px solid var(--jade-600); }
  .chrono__item:nth-child(even) .chrono__card { border-left-color: var(--seal); }
  .svc__nav { position: static; }
  .svc__nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svcard__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .abroad__grid { grid-template-columns: minmax(0, 1fr); }
  .acard--wide { grid-column: auto; }
  .origins__notes { grid-template-columns: minmax(0, 1fr); }
  .ruler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sourcebar__row { grid-template-columns: minmax(0, 1fr); }
  .sourcebar .seal { justify-self: start; }
  .ixboard { grid-template-columns: minmax(0, 1fr); }
  .hero-index__side { grid-template-columns: minmax(0, 1fr); }
  .hero-index__side .seal { justify-self: start; }
  .philo__pairs div { grid-template-columns: auto minmax(0, 1fr); }
  .svc__nav ol { grid-template-columns: minmax(0, 1fr); }
  .svcard__head { flex-wrap: wrap; }
  .svcard__cjk { display: none; }
  .chrono__item { grid-template-columns: 72px minmax(0, 1fr); gap: 0 12px; }
  .chrono__list::before { left: 36px; }
  .chrono__year { width: 72px; font-size: .8rem; }
}

/* ---------- Tables on small screens: no sideways scrolling ---------- */
@media (max-width: 600px) {
  .table-wrap table.stack { min-width: 0; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack, .stack tbody, .stack tr, .stack th, .stack td { display: block; width: 100%; }
  .stack tr { padding: 16px 16px 10px; border-bottom: 1px solid var(--line-strong); }
  .stack tbody th { padding: 0 0 8px; border: 0; white-space: normal; font-size: 1.05rem; }
  .stack td { padding: 6px 0; border: 0; }
  .stack td::before { content: attr(data-label); display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jade-700); margin-bottom: 2px; }
  .table-wrap table.tiertable { min-width: 0; table-layout: fixed; }
  .tiertable th, .tiertable td { padding: 10px 6px; font-size: .78rem; overflow-wrap: anywhere; }
  .tiertable thead th { font-size: .82rem; }
  .tiertable thead th:first-child, .tiertable tbody th { width: 34%; }
  .tiertable__t { font-size: .56rem; letter-spacing: .06em; }
}

/* Capabilities hero: headline owns the full row so it never breaks mid-word */
.hero-index__top { grid-template-columns: minmax(0, 1fr); }
.hero-index__side { max-width: 720px; }

/* ==========================================================================
   TRAINING
   ========================================================================== */
.hero-train { background: linear-gradient(180deg, var(--paper-2), var(--paper)); padding-block: clamp(44px, 6vw, 80px) clamp(52px, 6vw, 88px); }
.hero-train .crumbs { color: var(--jade-700); }
.hero-train__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.hero-train h1 { margin: 0; }
.hero-train h1 span { color: var(--seal-text); }
.hero-train__aside p { color: var(--muted); }
.hero-train__facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.hero-train__facts li { padding: 12px; border-top: 3px solid var(--jade-700); background: var(--celadon); font-size: .8rem; line-height: 1.35; color: var(--muted); }
.hero-train__facts strong { display: block; font-family: var(--f-display); font-size: 1.6rem; line-height: 1.05; color: var(--ink); }
.hero-train__fig { margin-inline: auto; }

.stair { list-style: none; display: grid; gap: 10px; }
.stair__step { --in: 0%; margin-left: var(--in); display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; align-items: center; width: min(720px, 100% - var(--in)); padding: 18px 22px; background: rgba(12, 42, 36, .8); border: 1px solid var(--line-dark); border-left: 4px solid var(--jade-300); }
.stair__step:nth-child(2) { --in: 8%; }
.stair__step:nth-child(3) { --in: 16%; }
.stair__step:nth-child(4) { --in: 24%; }
.stair__step:nth-child(5) { --in: 32%; }
.stair__step:nth-child(6) { --in: 40%; border-left-color: var(--seal); background: rgba(164, 46, 24, .25); }
.stair__n { font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--jade-300); }
.stair__step:nth-child(6) .stair__n { color: #ff8f78; }
.stair h3 { text-transform: uppercase; margin-bottom: .2em; }
.stair p { margin: 0; font-size: .92rem; }

.bridge__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.bridge__intro > p { color: var(--muted); }
.bridge__fig { margin-top: 26px; }
.bridge__rows { list-style: none; display: grid; gap: 12px; }
.bridge__rows li { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); }
.bridge__from { font-family: var(--f-display); font-weight: 600; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(158, 42, 22, .55); text-decoration-thickness: 2px; }
.bridge__arrow { height: 2px; background: var(--seal); position: relative; }
.bridge__arrow::after { content: ""; position: absolute; right: -1px; top: -5px; border-left: 9px solid var(--seal); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.bridge__to { font-family: var(--f-display); font-weight: 700; color: var(--ink); line-height: 1.3; }
.bridge__cert { grid-column: 1 / -1; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--jade-700); padding-top: 10px; border-top: 1px dashed var(--line-strong); }

.curric__head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 48px); }
.curric__head > p { color: var(--muted); }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 20px; background: #fff; border: 1px solid rgba(21, 81, 68, .18); min-height: 210px; }
.tile__code { font-family: var(--f-mono); font-weight: 600; font-size: .78rem; letter-spacing: .1em; color: var(--seal-text); }
.tile h3 { margin: 0; }
.tile p { margin: 0; font-size: .9rem; color: var(--muted); }
.tile__hrs { margin-top: auto; align-self: flex-start; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--jade-700); border-top: 2px solid var(--jade-700); padding-top: 6px; }
.tile--seal { background: var(--jade-900); border-color: var(--jade-900); }
.tile--seal h3 { color: #fff; }
.tile--seal p { color: var(--on-dark-muted); }
.tile--seal .tile__code { color: #ff8f78; }
.tile--seal .tile__hrs { color: var(--jade-300); border-color: var(--jade-300); }

.dials__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.dialset { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dial { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--line-dark); background: rgba(8, 17, 15, .35); }
.dial__ring, .dial__v { grid-column: 1; grid-row: 1; }
.dial__ring { width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--jade-300) calc(var(--p) * 1%), rgba(127, 196, 171, .14) 0);
  -webkit-mask: radial-gradient(circle, transparent 45px, #000 46px); mask: radial-gradient(circle, transparent 45px, #000 46px); }
.dial__v { justify-self: center; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: #fff; }
.dial__l { grid-column: 2; grid-row: 1; font-size: .9rem; color: var(--on-dark); line-height: 1.45; }

.stds { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.stds li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 18px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line-strong); }
.stds li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-strong); }
.stds__code { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--seal-text); }
.stds h3 { margin-bottom: .25em; }
.stds p { margin: 0; color: var(--muted); font-size: .94em; }

.trainq__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.trainq__cjk { writing-mode: vertical-rl; margin: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 900; letter-spacing: .16em; line-height: 1.3; color: var(--jade-300); }
.trainq__quote p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.15; color: #fff !important; margin-bottom: .5em; }
.trainq__quote footer { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.trainq__h { font-size: clamp(1.2rem, 2vw, 1.6rem); margin: 28px 0 0; color: var(--jade-200) !important; }

/* ==========================================================================
   GLOBAL DEPLOYMENTS
   ========================================================================== */
.hero-console { color: var(--on-dark); padding-block: clamp(44px, 6vw, 80px) clamp(52px, 6vw, 88px);
  background: linear-gradient(rgba(127, 196, 171, .06) 1px, transparent 1px) 0 0 / 100% 64px, linear-gradient(90deg, rgba(127, 196, 171, .06) 1px, transparent 1px) 0 0 / 64px 100%, var(--lacquer); }
.hero-console .crumbs { color: var(--jade-300); }
.hero-console__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(32px, 4vw, 52px); }
.hero-console h1 { color: #fff; }
.hero-console h1 span { display: block; color: var(--jade-300); }
.hero-console__text p { color: var(--on-dark-muted); max-width: 58ch; }
.console { background: #050b0a; border: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: .82rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.console__bar { display: flex; align-items: center; gap: 6px; margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .72rem; letter-spacing: .08em; }
.console__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--jade-600); }
.console__bar span:first-child { background: var(--seal); }
.console__list { list-style: none; padding: 10px 14px; }
.console__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(127, 196, 171, .15); color: var(--on-dark); }
.console__list span { color: #ff8f78; }
.console__list em { font-style: normal; color: var(--jade-300); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.console__foot { margin: 0; padding: 10px 14px 14px; color: var(--jade-300); font-size: .74rem; overflow-wrap: anywhere; }
.hero-console__fig { margin-inline: auto; }

.bands__title { max-width: 18ch; margin-bottom: clamp(28px, 4vw, 44px); }
.bandlist { list-style: none; border-top: 2px solid var(--ink); }
.bandlist li { display: grid; grid-template-columns: 90px minmax(0, .8fr) minmax(0, 1.4fr); gap: 16px clamp(20px, 3vw, 44px); align-items: baseline; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line-strong); }
.bandlist li:nth-child(even) { background: linear-gradient(90deg, transparent, var(--celadon) 30%, transparent); }
.bandlist__n { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--seal); }
.bandlist h3 { margin: 0; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.bandlist p { margin: 0; color: var(--muted); }

.spinelist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.spinelist li { display: grid; grid-template-columns: 74px minmax(0, 1fr); background: rgba(12, 42, 36, .7); border: 1px solid var(--line-dark); }
.spinelist__y { display: grid; place-items: center; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--jade-700); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .12em; padding: 16px 0; }
.spinelist li:last-child .spinelist__y { background: var(--seal-deep); }
.spinelist li > div { padding: 22px 24px; }
.spinelist h3 { margin-bottom: .3em; }
.spinelist p { margin: 0; font-size: .92rem; }

.rgrid__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.rgrid__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.rgrid__head h2 { margin: 0; }
.rgrid__head > p { margin: 0; color: var(--muted); }
.rgrid__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rcard { display: flex; flex-direction: column; padding: 0 24px 24px; background: #fff; border: 1px solid rgba(21, 81, 68, .18); border-top: 5px solid var(--jade-700); }
.rcard:nth-child(3n+2) { border-top-color: var(--seal); }
.rcard:nth-child(3n) { border-top-color: var(--jade-300); }
.rcard header { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; margin-bottom: 10px; border-bottom: 1px dashed var(--line-strong); font-family: var(--f-mono); font-size: .74rem; }
.rcard__id { font-weight: 600; color: var(--seal-text); letter-spacing: .1em; }
.rcard__xy { color: var(--jade-700); }
.rcard h3 { text-transform: uppercase; }
.rcard p { color: var(--muted); font-size: .93rem; }
.rcard__k { margin-top: auto; padding-top: 8px; font-size: .84rem !important; }
.rcard__k strong { color: var(--ink); }

.lifecycle__head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 60px); }
.lifecycle__head > p { color: var(--muted); }
.days { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.days::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 3px; background: linear-gradient(90deg, var(--jade-700) 0 80%, var(--seal) 80%); }
.days li { position: relative; padding-right: 20px; }
.days__d { position: relative; display: inline-block; margin-bottom: 20px; padding: 10px 14px; background: var(--jade-900); color: #fff; font-family: var(--f-mono); font-weight: 600; font-size: .9rem; letter-spacing: .06em; }
.days li:nth-child(4) .days__d { background: var(--seal); }
.days h3 { font-size: 1.08rem; }
.days p { margin: 0; color: var(--muted); font-size: .92rem; }

.multi__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.multi__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.multi__list li { padding: 12px 14px; border: 1px solid var(--line-dark); font-size: .9rem; color: var(--on-dark); border-left: 3px solid var(--seal); }

.scen__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scard { padding: clamp(22px, 2.6vw, 32px); background: var(--paper); border: 1px solid var(--line-strong); border-top: 4px solid var(--ink); }
.scard__tag { display: inline-block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--seal-deep); padding: 5px 9px; margin-bottom: 14px; }
.scard__ctx { color: var(--muted); font-size: .94rem; }
.scard dl { margin: 0; display: grid; gap: 4px; }
.scard dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jade-700); margin-top: 10px; }
.scard dd { margin: 0; font-size: .92rem; color: var(--ink); line-height: 1.55; }
.scen__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }

@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialset { grid-template-columns: minmax(0, 1fr); }
  .rgrid__cards, .scen__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .days::before { display: none; }
}
@media (max-width: 900px) {
  .hero-train__row, .bridge__grid, .dials__grid, .hero-console__grid, .multi__grid, .rgrid__head { grid-template-columns: minmax(0, 1fr); }
  .stair__step { --in: 0% !important; }
  .stds, .spinelist { grid-template-columns: minmax(0, 1fr); }
  .stds li:nth-child(even) { padding-left: 0; border-left: 0; }
  .bandlist li { grid-template-columns: 70px minmax(0, 1fr); }
  .bandlist li p { grid-column: 2; }
}
@media (max-width: 600px) {
  .hero-train__facts { grid-template-columns: minmax(0, 1fr); }
  .tiles, .rgrid__cards, .scen__grid, .multi__list { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; }
  .stair__step { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; gap: 12px; }
  .stair__n { font-size: 1.7rem; }
  .bridge__rows li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .bridge__arrow { width: 44px; transform: rotate(90deg); margin: 10px 0 10px 4px; }
  .dial { grid-template-columns: 92px minmax(0, 1fr); padding: 16px; }
  .dial__ring { width: 92px; height: 92px; -webkit-mask: radial-gradient(circle, transparent 36px, #000 37px); mask: radial-gradient(circle, transparent 36px, #000 37px); }
  .dial__v { font-size: 1.1rem; }
  .stds li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-right: 0; }
  .trainq__grid { grid-template-columns: minmax(0, 1fr); }
  .trainq__cjk { writing-mode: horizontal-tb; font-size: clamp(1.5rem, 7vw, 2rem); letter-spacing: .06em; }
  .days { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .days li { padding: 0 0 0 18px; border-left: 3px solid var(--jade-700); }
  .days li:nth-child(4), .days li:nth-child(5) { border-left-color: var(--seal); }
  .days__d { margin-bottom: 12px; }
  .bandlist li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bandlist li p { grid-column: auto; }
  .spinelist li { grid-template-columns: 52px minmax(0, 1fr); }
  .spinelist__y { font-size: 1.05rem; }
  .spinelist li > div { padding: 18px; }
  .console__list li { grid-template-columns: 30px minmax(0, 1fr); }
  .console__list em { grid-column: 2; }
}

/* ==========================================================================
   CAREERS
   ========================================================================== */
.hero-seal { position: relative; overflow: hidden; color: #fff; padding-block: clamp(44px, 6vw, 80px) clamp(52px, 6vw, 88px);
  background: radial-gradient(ellipse 60% 80% at 85% 30%, rgba(255, 255, 255, .1), transparent 60%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 16px), var(--seal-deep); }
.hero-seal .crumbs { color: #ffe1d6; }
.eyebrow--light { color: #ffe1d6; }
.eyebrow--light::before { background: #fff; }
.eyebrow--light .eyebrow__code { color: #fff; }
.eyebrow--light .eyebrow__cjk { color: #ffe1d6; }
.hero-seal__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-seal h1 { color: #fff; }
.hero-seal h1 span { display: block; color: #ffd9cf; }
.hero-seal__lead { color: #fff3ee; font-size: 1.06em; max-width: 60ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255, 255, 255, .55); padding: 7px 11px; }
.btn--light { background: var(--paper); color: var(--seal-deep); clip-path: var(--chamfer); }
.btn--light:hover { background: #fff; }
.hero-seal .btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero-seal .btn:focus-visible { outline-color: #fff; }
.frame--onseal { --c: #fff; }
.hero-seal .frame__cap { color: #ffe9e2; }
.hero-seal .frame__tag { color: #fff; }
.hero-seal__fig { justify-self: end; }

.hire__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.hire__grid > div > p { color: var(--muted); }
.profile { padding: clamp(22px, 3vw, 34px); background: var(--jade-900); color: #fff; border-top: 5px solid var(--seal); }
.profile__title { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--jade-300); margin-bottom: 14px; }
.profile dl { margin: 0; display: grid; gap: 0; }
.profile dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.profile dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #ff8f78; padding-top: 3px; }
.profile dd { margin: 0; font-size: .95rem; color: var(--on-dark); }

.gates { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.gates li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 22px; background: rgba(8, 17, 15, .4); border: 1px solid var(--line-dark); }
.gates__box { width: 30px; height: 30px; border: 2px solid var(--jade-300); position: relative; margin-top: 4px; }
.gates__box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 9px; height: 16px; border-right: 3px solid var(--jade-300); border-bottom: 3px solid var(--jade-300); transform: rotate(45deg); }
.gates__n { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #ff8f78; }
.gates h3 { margin: 4px 0 .3em; }
.gates p { margin: 0; font-size: .92rem; }
.elig__note { margin-top: 26px; padding: 18px 22px; background: var(--seal-deep); color: #fff !important; font-size: .95rem; }
.elig__note strong { color: #fff; }

.roles__head { margin-bottom: clamp(24px, 3vw, 40px); }
.roles .table-wrap a { color: var(--jade-700); font-weight: 600; }

.ladder__title { max-width: 20ch; margin-bottom: clamp(32px, 4vw, 52px); }
.ladder__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-dark); }
.ladder__grid li { padding: 24px 22px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); position: relative; }
.ladder__grid li:nth-child(4n) { border-right: 0; }
.ladder__grid li:nth-child(n+5) { border-bottom: 0; }
.ladder__grid span { display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: rgba(127, 196, 171, .45); margin-bottom: 14px; }
.ladder__grid h3 { margin-bottom: .3em; }
.ladder__grid p { margin: 0; font-size: .9rem; }
.ladder__grid li.is-final { background: var(--seal-deep); }
.ladder__grid li.is-final span { color: #ffd2c6; }
.ladder__grid li.is-final p { color: #fff3ee; }

.life__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.life__text > p { color: var(--muted); }
.life__fig { justify-self: end; }

.perks__title { max-width: 22ch; margin-bottom: clamp(28px, 4vw, 44px); }
.perkgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.perkgrid li { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; padding: 22px; background: #fff; border: 1px solid rgba(21, 81, 68, .16); }
.perkgrid__i { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; font-size: 1.6rem; font-weight: 900; color: #fff; background: var(--jade-700); }
.perkgrid li:nth-child(3n+2) .perkgrid__i { background: var(--seal); }
.perkgrid h3 { margin-bottom: .25em; }
.perkgrid p { margin: 0; color: var(--muted); font-size: .92rem; }

.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__side { color: var(--muted); }
.faq__side a { color: var(--jade-700); font-weight: 600; overflow-wrap: anywhere; }
.faq__list { display: grid; gap: 10px; }
.faq__list details { border: 1px solid var(--line-strong); background: #fff; }
.faq__list summary { position: relative; cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; background: var(--jade-900); color: #fff; font-family: var(--f-body); font-weight: 700; transition: transform .25s var(--ease), background-color .25s var(--ease); }
.faq__list details[open] summary::after { content: "\2212"; background: var(--seal); }
.faq__list summary:focus-visible { outline-offset: -3px; }
.faq__list details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.faq__list details a { color: var(--jade-700); font-weight: 600; overflow-wrap: anywhere; }

.apply { position: relative; overflow: hidden; background: var(--jade-700); color: #fff; padding-block: clamp(60px, 8vw, 110px); scroll-margin-top: var(--header-h); }
.apply::before { content: ""; position: absolute; left: -10%; bottom: -60%; width: 50%; height: 160%; background: rgba(8, 17, 15, .22); transform: skewX(-18deg); pointer-events: none; }
.apply__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.apply h2 { color: #fff; }
.apply p { color: #e3f1eb; }
.apply .eyebrow { color: var(--jade-200); }
.apply .eyebrow__code { color: #ffc2b3; }
.apply__list { margin: 14px 0 0; padding-left: 1.3em; display: grid; gap: 8px; color: #fff; }
.apply__list li::marker { color: #ffc2b3; font-family: var(--f-mono); }
.apply__card { display: grid; gap: 10px; padding: clamp(24px, 3vw, 36px); background: var(--lacquer); border-top: 5px solid var(--seal); }
.apply__label { margin: 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--jade-300) !important; }
.apply__name { margin: 0 0 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: #fff !important; }
.apply__line { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line-dark); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.apply__line span { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.apply__line:hover { color: var(--jade-300); }
.apply__btn { width: 100%; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.hero-contact { color: var(--on-dark); padding-block: clamp(44px, 6vw, 80px) clamp(48px, 6vw, 80px);
  background: radial-gradient(circle at 80% 50%, rgba(30, 122, 99, .3), transparent 45%), repeating-radial-gradient(circle at 80% 50%, transparent 0 46px, rgba(127, 196, 171, .06) 46px 47px), var(--lacquer); }
.hero-contact .crumbs { color: var(--jade-300); }
.hero-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-contact h1 { color: #fff; }
.hero-contact__lead { color: var(--on-dark-muted); font-size: 1.06em; max-width: 50ch; }
.lines { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.lines__who, .lines__big { display: grid; gap: 4px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 2.1rem); line-height: 1.15; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.lines__who span, .lines__big span { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #ff8f78; }
.lines__big:hover { color: var(--jade-300); }

.reach__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.dcard { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(24px, 3vw, 36px); background: var(--jade-900); color: #fff; }
.dcard .seal { margin-bottom: 18px; }
.dcard__title { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.dcard__dl { margin: 0 0 22px; display: grid; }
.dcard__dl div { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.dcard__dl dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--jade-300); margin-bottom: 4px; }
.dcard__dl dd { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: #fff; overflow-wrap: anywhere; }
.dcard__dl a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--jade-500); }
.dcard__dl a:hover { color: var(--jade-300); }
.dcard__follow { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 10px; }

.formwrap__title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.formwrap__intro { color: var(--muted); }
.form { display: grid; gap: 16px; margin-top: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--jade-700) 50%), linear-gradient(135deg, var(--jade-700) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--jade-700); box-shadow: 0 0 0 3px rgba(21, 81, 68, .18); }
.field__err { display: none; font-size: .84rem; font-weight: 600; color: var(--seal-text); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--seal); }
.field.is-invalid .field__err { display: block; }
.field--check { grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 4px 12px; }
.field--check input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--jade-700); }
.field--check label { font-family: var(--f-body); font-size: .92rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field--check .field__err { grid-column: 2; }
.form__submit { justify-self: start; }
.form__status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form__status.is-error { color: var(--seal-text); }
.form__status.is-ok { color: var(--jade-700); }

.include__title { max-width: 22ch; margin-bottom: clamp(28px, 4vw, 44px); }
.include__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.icol { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid rgba(21, 81, 68, .18); }
.icol h3 { display: flex; align-items: center; gap: 12px; margin: 0; text-transform: uppercase; font-size: 1.3rem; }
.icol h3 span { display: grid; place-items: center; width: 36px; height: 36px; background: var(--seal); color: #fff; font-size: 1rem; }
.icol .link-arrow { align-self: flex-start; margin-top: auto; }
.icol--dark { background: var(--jade-900); border-color: var(--jade-900); }
.icol--dark h3 { color: #fff; }
.icol--dark .ticks li { color: var(--on-dark); }
.icol--dark .ticks li::before { background: var(--jade-300); }
.icol--dark .link-arrow { color: var(--jade-300); }

.respcomm__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.rules { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.rules li { padding: 14px 16px; border-left: 3px solid var(--seal); background: rgba(127, 196, 171, .06); color: var(--on-dark-muted); font-size: .94rem; }
.rules strong { color: #fff; }

/* ==========================================================================
   404
   ========================================================================== */
.lost { background: radial-gradient(ellipse at 20% 50%, rgba(30, 122, 99, .3), transparent 60%), var(--lacquer); color: var(--on-dark); padding-block: clamp(64px, 10vw, 140px); }
.lost__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.lost__code { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(5rem, 16vw, 13rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--jade-300); }
.lost h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.lost p { color: var(--on-dark-muted); }
.lost__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; }
.lost__links a { color: var(--jade-300); font-weight: 600; }

@media (max-width: 1100px) {
  .ladder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder__grid li:nth-child(4n) { border-right: 1px solid var(--line-dark); }
  .ladder__grid li:nth-child(2n) { border-right: 0; }
  .ladder__grid li:nth-child(n+5) { border-bottom: 1px solid var(--line-dark); }
  .ladder__grid li:nth-child(n+7) { border-bottom: 0; }
  .perkgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-seal__grid, .hire__grid, .life__grid, .faq__grid, .apply__grid, .hero-contact__grid, .reach__grid, .respcomm__grid { grid-template-columns: minmax(0, 1fr); }
  .hero-seal__fig, .life__fig { justify-self: start; }
  .dcard { position: static; }
  .gates { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ladder__grid, .perkgrid, .include__grid, .form__row { grid-template-columns: minmax(0, 1fr); }
  .ladder__grid li { border-right: 0 !important; border-bottom: 1px solid var(--line-dark) !important; }
  .ladder__grid li:last-child { border-bottom: 0 !important; }
  .profile dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .perkgrid li { grid-template-columns: 48px minmax(0, 1fr); }
  .perkgrid__i { width: 48px; height: 48px; font-size: 1.35rem; }
  .gates li { padding: 18px; gap: 12px; grid-template-columns: 30px minmax(0, 1fr); }
  .lost__grid { grid-template-columns: minmax(0, 1fr); }
  .form__submit { justify-self: stretch; }
}

/* Captions inside dark heroes */
.hero-console .frame__cap, .hero-archive .frame__cap { color: var(--on-dark-muted); }
.hero-console .frame__tag, .hero-archive .frame__tag { color: #ff8f78; }

/* Late fixes */
.hero-contact h1 { font-size: clamp(2rem, 4.2vw, 4rem); }
.profile .profile__title { color: var(--jade-300); }
@media (max-width: 600px) {
  .table-wrap table.tiertable { table-layout: auto; }
  .tiertable.stack th, .tiertable.stack td { font-size: .92rem; overflow-wrap: normal; }
  .tiertable.stack tbody th { width: auto; padding: 0 0 6px; font-size: 1.02rem; }
  .tiertable.stack td { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
  .tiertable.stack td::before { margin: 0; }
  .tiertable.stack td.is-feature { background: transparent; }
}
@media (max-width: 600px) {
  .bridge__arrow { width: 2px; height: 26px; transform: none; margin: 2px 0 6px 10px; }
  .bridge__arrow::after { right: auto; left: -5px; top: auto; bottom: -3px; border-top: 9px solid var(--seal); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 0; }
}
