/* ==========================================================================
   GOVERNEXUS — Flagship Institutional Identity (governexus.com)
   Aesthetic: Archival Editorial Paper × Midnight Blueprint × Tufte Precision
   ========================================================================== */

@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/playfair-display.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/playfair-display-italic.woff2') format('woff2');
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/source-serif-4.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Arrows (→ ↗) and Delta (Δ) are not in the self-hosted subsets; map them to one
   explicit system symbol face so they render consistently instead of falling back ad hoc. */
@font-face {
  font-family: 'Governexus Glyphs';
  src: local('Segoe UI Symbol'), local('Apple Symbols'), local('Noto Sans Symbols 2'), local('Noto Sans Math'), local('DejaVu Sans');
  unicode-range: U+0394, U+2190-2199;
}

:root {
  /* Daylight Editorial Paper Palette */
  --paper: #FAF8F3;
  --paper-warm: #F5F2EA;
  --paper-sunken: #ECE7DB;
  --paper-card: #FFFDF9;
  --paper-pure: #FFFFFF;
  --rule-paper: rgba(15, 28, 46, 0.11);
  --rule-paper-soft: rgba(15, 28, 46, 0.065);
  --rule-paper-strong: rgba(15, 28, 46, 0.22);

  /* Midnight Studio & Blueprint Palette */
  --navy-950: #060E1A;
  --navy-900: #091526;
  --navy-850: #0D1E34;
  --navy-800: #122742;
  --navy-750: #183254;
  --rule-ink: rgba(242, 238, 228, 0.12);
  --rule-ink-soft: rgba(242, 238, 228, 0.07);
  --rule-ink-strong: rgba(242, 238, 228, 0.24);

  /* Typography Ink & Cream */
  --ink-strong: #0E1B2B;
  --ink-body: #2C3C50;
  --ink-muted: #556579;
  --ink-subtle: #5F6F82;

  --cream-strong: #F4F0E6;
  --cream-body: rgba(244, 240, 230, 0.80);
  --cream-muted: rgba(244, 240, 230, 0.60);
  --cream-subtle: rgba(244, 240, 230, 0.62);

  /* Brand & Data Semantics */
  --gold-paper: #8B6214;
  --gold-paper-soft: rgba(184, 138, 44, 0.12);
  --gold-ink: #C9972E;
  --gold-ink-bright: #E4BC62;
  --gold-ink-soft: rgba(228, 188, 98, 0.14);

  --steel-paper: #235699;
  --steel-ink: #74A7E0;

  --sage-paper: #17663C;
  --sage-paper-bg: #E6F3EC;
  --sage-ink: #5EC28B;

  --terra-paper: #9A3928;

  /* Typography Families */
  --font-display: 'Playfair Display', 'Governexus Glyphs', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Governexus Glyphs', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-reading: 'Source Serif 4', 'Governexus Glyphs', Georgia, serif;

  /* Geometry & Rhythm */
  --max-w: 1220px;
  --gutter: 44px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--ink-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.num,
table td,
table th {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Surface-aware keyboard focus rings */
:where(a, button, input, select, textarea, [tabindex="0"]):focus-visible {
  outline: 2px solid var(--gold-paper);
  outline-offset: 2px;
}

:where(.band--navy, .band--navy-deep, .gns-terminal, .colophon, .lightbox)
  :where(a, button, input, select, textarea, [tabindex="0"]):focus-visible {
  outline-color: var(--gold-ink-bright);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 11px 18px;
  border-radius: 3px;
  background-color: var(--navy-900);
  border: 1px solid var(--gold-ink-bright);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.15s var(--ease);
}
.skip-link:focus {
  transform: none;
}

/* Zero-size targets so legacy links (#early-access, #framework, #approach) land somewhere sensible */
.anchor-alias {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & ARCHITECTURAL BANDS
   ========================================================================== */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.band {
  position: relative;
  padding: 124px 0;
  border-bottom: 1px solid var(--rule-paper);
}

.band--paper {
  background-color: var(--paper);
}

.band--paper-warm {
  background-color: var(--paper-warm);
}

.band--navy {
  background-color: var(--navy-900);
  background-image: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(35, 86, 153, 0.16), transparent 70%);
  color: var(--cream-body);
  border-bottom-color: var(--rule-ink);
}

.band--navy-deep {
  background-color: var(--navy-950);
  background-image: radial-gradient(ellipse 70% 50% at 20% 0%, rgba(201, 151, 46, 0.08), transparent 65%);
  color: var(--cream-body);
  border-bottom-color: var(--rule-ink);
}

/* Eyebrow / Kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-paper);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background-color: var(--gold-paper);
  flex-shrink: 0;
}

.eyebrow--ink {
  color: var(--gold-ink-bright);
}
.eyebrow--ink::before {
  background-color: var(--gold-ink);
}

/* Section Headers */
.section-head {
  max-width: 740px;
  margin-bottom: 64px;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 60px;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  text-wrap: balance;
}

.band--navy .section-h2,
.band--navy-deep .section-h2 {
  color: var(--cream-strong);
}

/* Two-line headings: each line is its own block so text-wrap can balance it independently */
.section-h2 br {
  display: none;
}
.section-h2 br + em {
  display: block;
}

.thesis-col h3,
.platform-pillar h3,
.mandate-cell h3,
.stakeholder-card h3,
.perspectives-title,
.gns-brief-headline {
  text-wrap: balance;
}

.section-h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-paper);
}

.band--navy .section-h2 em,
.band--navy-deep .section-h2 em {
  color: var(--gold-ink-bright);
}

.section-lede {
  font-family: var(--font-reading);
  font-size: 18px;
  line-height: 1.66;
  color: var(--ink-muted);
  margin-top: 18px;
  text-wrap: pretty;
}

.section-head--split .section-lede {
  margin-top: 0;
}

.band--navy .section-lede,
.band--navy-deep .section-lede {
  color: var(--cream-muted);
}

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.btn--navy {
  background-color: var(--navy-900);
  color: var(--paper);
  border-color: var(--navy-900);
}
.btn--navy:hover {
  background-color: var(--navy-750);
  border-color: var(--navy-750);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px rgba(9, 21, 38, 0.28);
}

.btn--gold {
  background-color: var(--gold-ink);
  color: var(--navy-950);
  border-color: var(--gold-ink);
  font-weight: 700;
}
.btn--gold:hover {
  background-color: var(--gold-ink-bright);
  border-color: var(--gold-ink-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(228, 188, 98, 0.35);
}

.btn--ghost-paper {
  background-color: transparent;
  color: var(--ink-strong);
  border-color: var(--rule-paper-strong);
}
.btn--ghost-paper:hover {
  border-color: var(--ink-strong);
  background-color: rgba(14, 27, 43, 0.035);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel-paper);
  letter-spacing: 0.01em;
  transition: gap 0.2s var(--ease), color 0.2s;
}
.arrow-link:hover {
  color: var(--ink-strong);
  gap: 10px;
}

/* ==========================================================================
   MASTHEAD
   ========================================================================== */

.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule-paper);
}

.masthead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--navy-900);
}

.masthead-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3px var(--gutter) 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.masthead-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  width: 80px;
  height: 3px;
  background-color: var(--gold-ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background-color: var(--navy-900);
  border: 1px solid rgba(201, 151, 46, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  color: var(--paper);
  line-height: 1;
}

.brand-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.18s;
}
.nav-link:hover {
  color: var(--ink-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-login {
  padding: 8px 16px;
  border-radius: 3px;
  border: 1px solid var(--rule-paper-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-strong);
  transition: all 0.18s;
}
.nav-login:hover {
  border-color: var(--navy-900);
  background-color: var(--navy-900);
  color: var(--paper);
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 3px;
  background-color: var(--navy-900);
  border: 1px solid var(--navy-900);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--paper);
  transition: all 0.18s;
}
.nav-cta:hover {
  background-color: var(--navy-750);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule-paper-strong);
  border-radius: 3px;
  background: transparent;
  align-items: center;
  justify-content: center;
  color: var(--ink-strong);
}

.mobile-menu {
  display: none;
  background-color: var(--paper);
  border-bottom: 1px solid var(--rule-paper-strong);
  padding: 16px 24px 24px;
}
.mobile-menu.is-open {
  display: block;
}
.mobile-menu-list {
  display: flex;
  flex-direction: column;
}
.mobile-menu-list a {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-paper-soft);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-strong);
  display: flex;
  justify-content: space-between;
}
.mobile-menu-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

/* ==========================================================================
   HERO — MONUMENTAL EDITORIAL + SCULPTURAL MERIDIAN + 3-OFFERING TRIPTYCH
   ========================================================================== */

.hero {
  padding: calc(var(--nav-h) + 72px) 0 88px;
  background:
    radial-gradient(ellipse 65% 55% at 76% 36%, rgba(201, 151, 46, 0.075), transparent 70%),
    linear-gradient(180deg, #FCFBF7 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--rule-paper);
  position: relative;
}

.hero-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 5.8vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.026em;
  color: var(--ink-strong);
  margin-bottom: 26px;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-paper);
}

.hero-lead {
  font-family: var(--font-reading);
  font-size: 19.5px;
  line-height: 1.62;
  color: var(--ink-body);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Hero Right: Serene Architectural Relative-Performance Folio */
.hero-art-frame {
  background-color: var(--paper-card);
  border: 1px solid var(--rule-paper-strong);
  border-top: 2.5px solid var(--navy-900);
  border-radius: 3px;
  padding: 26px 30px 22px;
  box-shadow: 0 24px 56px -26px rgba(14, 27, 43, 0.16);
  position: relative;
}

.hero-art-frame::before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: -1px;
  width: 72px;
  height: 2.5px;
  border-top-left-radius: 3px;
  background-color: var(--gold-ink);
}

.hero-art-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 20px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule-paper);
}

.hero-art-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-paper);
}

.hero-art-note {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-subtle);
}

.signature-svg {
  width: 100%;
  height: auto;
  display: block;
}

.signature-svg--tall {
  display: none;
}

.sig-row-group {
  cursor: pointer;
  transition: opacity 0.22s var(--ease);
}

.signature-ribbon {
  transition: stroke-opacity 0.22s var(--ease);
}

.hero-art-frame.has-row-hover .sig-row-group {
  opacity: 0.36;
}

.hero-art-frame.has-row-hover .sig-row-group.is-active {
  opacity: 1;
}

.hero-art-frame.has-row-hover .signature-ribbon {
  stroke-opacity: 0.35;
}

.hero-art-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid var(--rule-paper-soft);
  font-size: 11px;
  color: var(--ink-muted);
}

.hero-legend-items {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hero-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swatch-gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-ink);
  border: 1.5px solid var(--navy-900);
  display: inline-block;
}

.swatch-stone-bar {
  width: 18px;
  height: 7px;
  border-radius: 1px;
  background: linear-gradient(90deg, #DFD9CC 0%, #DFD9CC 44%, #6E675B 44%, #6E675B 56%, #DFD9CC 56%, #DFD9CC 100%);
  display: inline-block;
}

/* Hero Lower Anchor: The Three Offerings Triptych */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--paper-card);
  border: 1px solid var(--rule-paper-strong);
  border-top: 2.5px solid var(--navy-900);
  border-radius: 3px;
  box-shadow: 0 20px 50px -24px rgba(14, 27, 43, 0.14);
  position: relative;
}

.triptych::before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: -1px;
  width: 108px;
  height: 2.5px;
  border-top-left-radius: 3px;
  background-color: var(--gold-ink);
}

.triptych-card {
  padding: 32px 34px;
  border-right: 1px solid var(--rule-paper);
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  transition: background-color 0.22s var(--ease);
}

.triptych-card:last-child {
  border-right: none;
}

.triptych-card > div {
  display: contents;
}

.triptych-card .arrow-link {
  align-self: end;
  justify-self: start;
  margin-top: 20px;
}

.triptych-card:hover {
  background-color: #FFFFFF;
}
.triptych-card:hover .arrow-link {
  color: var(--gold-paper);
  gap: 10px;
}

.triptych-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.triptych-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-paper);
}

.triptych-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.triptych-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-strong);
  margin-bottom: 10px;
}

.triptych-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ==========================================================================
   BAND 02 · THE CONVICTION / GOVERNANCE GAP (MIDNIGHT NAVY)
   ========================================================================== */

.thesis-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 44px;
}

/* Side-by-side card rows share row lines (number / headline / body) through subgrid */
.thesis-col {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
  border-top: 1.5px solid rgba(228, 188, 98, 0.35);
  padding-top: 26px;
}

.thesis-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--gold-ink-bright);
  line-height: 1;
  margin-bottom: 14px;
}

.thesis-col h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream-strong);
  margin-bottom: 12px;
}

.thesis-col p {
  font-size: 15px;
  line-height: 1.68;
  color: var(--cream-muted);
}

/* ==========================================================================
   BAND 03 · OFFERING 01: THE GOVERNEXUS PLATFORM (AUTHENTIC GNS-WEB TERMINAL)
   ========================================================================== */

.gns-terminal {
  background-color: #0D1B2E;
  color: #F0ECE1;
  border: 1px solid #091526;
  border-top: 3px solid var(--gold-ink);
  border-radius: 4px;
  box-shadow:
    0 32px 72px -24px rgba(9, 21, 38, 0.42),
    0 2px 6px rgba(9, 21, 38, 0.12);
  overflow: hidden;
}

/* Top Application Ribbon (mirrors gns-web Ribbon.tsx) */
.gns-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background-color: #0A1626;
  border-bottom: 1px solid rgba(240, 236, 225, 0.11);
}

.gns-ribbon-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gns-subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  background-color: #16283F;
  border: 1px solid rgba(240, 236, 225, 0.16);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #F0ECE1;
}

.gns-subject-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold-ink-bright);
}

.gns-meta-chip {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(240, 236, 225, 0.65);
  padding: 4px 9px;
  background-color: rgba(240, 236, 225, 0.05);
  border-radius: 3px;
}

.gns-ribbon-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gns-segmented {
  display: inline-flex;
  background-color: #060E19;
  border: 1px solid rgba(240, 236, 225, 0.16);
  border-radius: 3px;
  padding: 2px;
}

.gns-seg-btn {
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: rgba(240, 236, 225, 0.60);
  transition: all 0.16s;
}

.gns-seg-btn:hover {
  color: #F0ECE1;
}

.gns-seg-btn.is-active {
  background-color: #1A3150;
  color: #F0ECE1;
}

.gns-export-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 3px;
  background-color: rgba(201, 151, 46, 0.16);
  border: 1px solid rgba(228, 188, 98, 0.45);
  color: var(--gold-ink-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.16s;
}

.gns-export-badge:hover {
  background-color: rgba(201, 151, 46, 0.28);
}

/* Terminal Body: Left Sidenav + Main Screen Stage */
.gns-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 725px;
}

.gns-sidenav {
  background-color: #0A1626;
  border-right: 1px solid rgba(240, 236, 225, 0.10);
  padding: 16px 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.gns-nav-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.64);
  padding: 0 10px;
  margin-bottom: 7px;
}

.gns-nav-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gns-nav-btn {
  text-align: left;
  padding: 8.5px 11px;
  border-radius: 3px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(240, 236, 225, 0.66);
  transition: all 0.16s;
}

.gns-nav-btn:hover {
  background-color: rgba(240, 236, 225, 0.05);
  color: #F0ECE1;
}

.gns-nav-btn.is-active {
  background-color: #16283F;
  border-color: rgba(228, 188, 98, 0.35);
  color: #F0ECE1;
}

.gns-nav-title {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}

.gns-nav-btn.is-active .gns-nav-title {
  color: var(--gold-ink-bright);
}

.gns-nav-sub {
  display: block;
  font-size: 11px;
  color: rgba(240, 236, 225, 0.64);
  margin-top: 2px;
}

.gns-clocks-box {
  padding: 12px 10px 4px;
  border-top: 1px solid rgba(240, 236, 225, 0.08);
  font-size: 11px;
  color: rgba(240, 236, 225, 0.64);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gns-clock-row {
  display: flex;
  justify-content: space-between;
}

.gns-clock-row strong {
  color: rgba(240, 236, 225, 0.78);
  font-weight: 600;
}

/* Main Screen Stage inside Terminal */
.gns-stage {
  min-width: 0;
  padding: 26px 30px;
  background-color: #0D1B2E;
  display: flex;
  flex-direction: column;
}

.gns-screen {
  display: none;
}

.gns-screen.is-active {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ------------------------------------------------------------------
   With scripting, all six views are stacked in one grid cell of the stage and share
   three row lines (headline / content / strip) through subgrid, so the window and
   every frame inside it stay put when switching views. Inactive views stay laid out
   (hidden, inert) so each row is as tall as the tallest view.
   ------------------------------------------------------------------ */
.js .gns-terminal {
  overflow-anchor: none;
}

.js .gns-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
}

.js .gns-screen {
  display: grid;
  flex: none;
  grid-column: 1;
  grid-row: 1 / span 3;
  grid-template-rows: subgrid;
  visibility: hidden;
}

.js .gns-screen.is-active {
  visibility: visible;
}

.js .gns-brief-header,
.js .gns-brief-sizer {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(240, 236, 225, 0.10);
}

.js .gns-brief-sizer {
  visibility: hidden;
  pointer-events: none;
}

.js .gns-screen > .gns-two-col,
.js .gns-screen > .gns-screen-body {
  grid-column: 1;
  grid-row: 2;
  margin: 20px 0 16px;
}

.js .gns-screen > .gns-substrip {
  grid-column: 1;
  grid-row: 3;
  margin-top: 0;
}

.gns-screen-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Narrow: only the headline row is shared, so the content start never moves
   but short views are not padded out to the tallest one */
@media (max-width: 900px) {
  .js .gns-screen:not(.is-active) > :not(.gns-brief-header):not(.gns-brief-sizer) {
    display: none;
  }
}

@media (min-width: 901px) {
  .js .gns-stage {
    grid-template-rows: auto 1fr auto;
  }

  /* A view without a bottom strip lets its content fill the strip row too */
  .js .gns-screen > .gns-screen-body {
    grid-row: 2 / span 2;
    margin-bottom: 0;
  }
}

.gns-brief-header {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(240, 236, 225, 0.10);
}

.gns-band-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6F9FD8;
  margin-bottom: 8px;
}

.gns-band-overline::before {
  content: "";
  width: 12px;
  height: 2px;
  background-color: #6F9FD8;
}

.gns-brief-headline {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.24;
  color: #F0ECE1;
}

.gns-brief-sub {
  font-size: 13px;
  color: rgba(240, 236, 225, 0.62);
  margin-top: 6px;
}

/* Screen 1: Diverging ROTCE Attribution Tree + Five Headline Strip */
.gns-five-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.gns-kpi-tile {
  background-color: #13253E;
  border: 1px solid rgba(240, 236, 225, 0.10);
  border-radius: 3px;
  padding: 11px 12px;
}

.gns-kpi-tile--active {
  border-color: rgba(228, 188, 98, 0.55);
  background-color: #162A46;
}

.gns-kpi-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.64);
}

.gns-kpi-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-ink-bright);
  margin: 3px 0 2px;
}

.gns-kpi-peer {
  font-size: 11px;
  color: rgba(240, 236, 225, 0.64);
}

.gns-decomp-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gns-decomp-head {
  display: grid;
  grid-template-columns: 1.68fr 0.46fr 0.46fr 1.0fr 0.54fr;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(240, 236, 225, 0.18);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.64);
}

.gns-decomp-row {
  display: grid;
  grid-template-columns: 1.68fr 0.46fr 0.46fr 1.0fr 0.54fr;
  gap: 12px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(240, 236, 225, 0.07);
  font-size: 12.5px;
}

.gns-decomp-row--total {
  border-top: 1px solid rgba(240, 236, 225, 0.24);
  border-bottom: none;
  padding-top: 11px;
  font-weight: 700;
  color: #F0ECE1;
}

.gns-d-name,
.gns-d-total-label {
  white-space: nowrap;
}

.gns-d-name { color: rgba(240, 236, 225, 0.86); }
.gns-d-subj { text-align: right; font-weight: 700; color: var(--gold-ink-bright); }
.gns-d-peer { text-align: right; color: rgba(240, 236, 225, 0.55); }
.gns-d-gap { text-align: right; font-weight: 700; }
.gns-gap-pos { color: #5FBF8A; }
.gns-gap-neg { color: #E08B7A; }

/* Authentic Center-Zero Diverging Bar */
.div-track {
  position: relative;
  height: 8px;
  background-color: rgba(240, 236, 225, 0.08);
  border-radius: 99px;
}

.div-zero {
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -2px;
  width: 1px;
  background-color: rgba(240, 236, 225, 0.35);
}

.div-fill-pos {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  background-color: #5FBF8A;
  border-radius: 0 99px 99px 0;
  transition: width 0.28s var(--ease);
}

.div-fill-gold {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  background-color: var(--gold-ink-bright);
  border-radius: 0 99px 99px 0;
  transition: width 0.28s var(--ease);
}

.div-fill-neg {
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  background-color: #E08B7A;
  border-radius: 99px 0 0 99px;
  transition: width 0.28s var(--ease);
}

/* Screen 2 & 3 & 4 Two-Column Terminal Split */
.gns-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-bottom: 16px;
}

.gns-panel {
  min-width: 0;
  background-color: #13253E;
  border: 1px solid rgba(240, 236, 225, 0.11);
  border-radius: 3px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gns-panel > svg {
  margin: auto 0;
}

/* Single-column layouts would otherwise blow the charts up to poster size */
.gns-panel > .gns-chart {
  max-width: 560px;
  margin: auto;
}

.nowrap {
  white-space: nowrap;
}

.gns-fill-col {
  display: flex;
  flex: 1;
  flex-direction: column;
}

/* Short content in a shared-height view: spread the rows instead of leaving a hole */
.gns-fill {
  flex: 1;
  justify-content: space-evenly;
}

.gns-fill--spread {
  display: flex;
  flex-direction: column;
}

.gns-panel-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #F0ECE1;
  margin-bottom: 12px;
}

.gns-panel-caption {
  font-size: 11px;
  font-weight: 500;
  color: rgba(240, 236, 225, 0.64);
  white-space: nowrap;
  flex-shrink: 0;
}

.gns-substrip {
  margin-top: auto;
  padding: 13px 16px;
  background-color: rgba(10, 22, 38, 0.65);
  border: 1px solid rgba(240, 236, 225, 0.10);
  border-left: 2.5px solid var(--gold-ink);
  border-radius: 3px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(240, 236, 225, 0.75);
}

.gns-substrip-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gns-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 2px;
  background-color: #16283F;
  border: 1px solid rgba(240, 236, 225, 0.12);
  color: #F0ECE1;
}

/* Mix Bar inside Franchise View */
.gns-mix-bar {
  display: flex;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  margin: 10px 0 8px;
}

/* Intrinsic Valuation: Reverse-Solved Beliefs & Shared Forecast */
.gns-belief-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gns-belief-head {
  display: grid;
  grid-template-columns: 1.45fr 0.65fr 0.65fr;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(240, 236, 225, 0.16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.64);
}

.gns-belief-row {
  display: grid;
  grid-template-columns: 1.45fr 0.65fr 0.65fr;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid rgba(240, 236, 225, 0.07);
  font-size: 12px;
}

.gns-belief-label {
  color: rgba(240, 236, 225, 0.80);
}

.gns-belief-mkt {
  text-align: right;
  color: rgba(240, 236, 225, 0.62);
}

.gns-belief-base {
  text-align: right;
  font-weight: 700;
  color: #F0ECE1;
}

.gns-forecast-mini {
  margin-top: 14px;
  padding: 10px 12px;
  background-color: rgba(10, 22, 38, 0.55);
  border: 1px solid rgba(240, 236, 225, 0.09);
  border-radius: 3px;
}

.gns-forecast-mini-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.64);
  margin-bottom: 6px;
}

.gns-forecast-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 11px;
}

.gns-forecast-mini-grid span {
  display: block;
  font-size: 11px;
  color: rgba(240, 236, 225, 0.64);
}

.gns-forecast-mini-grid strong {
  color: #F0ECE1;
  font-weight: 600;
}



.gns-factor-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gns-factor-row {
  display: grid;
  grid-template-columns: 1.35fr auto 64px 86px;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(240, 236, 225, 0.07);
  font-size: 11.5px;
}

.gns-f-name {
  color: rgba(240, 236, 225, 0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gns-f-now {
  font-size: 11px;
  color: rgba(240, 236, 225, 0.64);
  white-space: nowrap;
}

.gns-f-spark {
  width: 64px;
  height: 18px;
  display: block;
}

.gns-f-pill {
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 7px;
  border-radius: 2px;
  background-color: rgba(240, 236, 225, 0.06);
  border: 1px solid rgba(240, 236, 225, 0.12);
  color: rgba(240, 236, 225, 0.82);
  white-space: nowrap;
}

.gns-f-pill--edit {
  background-color: rgba(95, 191, 138, 0.13);
  border-color: rgba(95, 191, 138, 0.40);
  color: #5FBF8A;
}

.gns-f-pill--gold {
  background-color: rgba(228, 188, 98, 0.15);
  border-color: rgba(228, 188, 98, 0.48);
  color: var(--gold-ink-bright);
}

.gns-path-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 11.5px;
}

.gns-path-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.64);
  padding: 0 0 5px;
  text-align: right;
}

.gns-path-table thead th:first-child {
  text-align: left;
}

.gns-path-table tbody tr {
  border-top: 1px solid rgba(240, 236, 225, 0.08);
}

.gns-path-table tbody th {
  text-align: left;
  font-weight: 500;
  color: rgba(240, 236, 225, 0.72);
  padding: 5px 6px 5px 0;
}

.gns-path-table tbody td {
  text-align: right;
  color: rgba(240, 236, 225, 0.82);
  padding: 5px 0;
}

.gns-path-end {
  font-weight: 700;
  color: #F0ECE1 !important;
}

.gns-path-strong th,
.gns-path-strong td {
  font-weight: 700;
  color: #F0ECE1;
}

.gns-path-gold {
  color: var(--gold-ink-bright) !important;
}

.gns-strat-bridge {
  margin: 10px -8px 0;
  padding: 9px 8px;
  background-color: rgba(10, 22, 38, 0.58);
  border: 1px solid rgba(240, 236, 225, 0.09);
  border-radius: 3px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 6px;
  font-size: 11px;
  color: rgba(240, 236, 225, 0.72);
}

.gns-strat-bridge strong {
  color: #F0ECE1;
}

.gns-bridge-term {
  display: inline-flex;
  gap: 3px;
  white-space: nowrap;
}

.gns-bridge-sep {
  color: rgba(240, 236, 225, 0.64);
}

/* Branch Network: Real-Geometry Territory Map & Linked MSA Table */
.gns-panel--map {
  padding: 16px 18px 14px;
}

.gns-map-frame {
  background: radial-gradient(circle at 52% 48%, #0C1C31 0%, #07111E 100%);
  border: 1px solid rgba(111, 159, 216, 0.18);
  border-radius: 3px;
  overflow: hidden;
}

.gns-territory-svg {
  display: block;
  width: 100%;
  height: auto;
}

.gns-map-bubble {
  cursor: pointer;
  outline: none;
}

.gns-bubble-ring {
  fill: rgba(201, 151, 46, 0.16);
  stroke: #E4BC62;
  stroke-width: 1.15;
  transition: fill 0.16s, stroke-width 0.16s, opacity 0.16s;
}

.gns-bubble-core {
  fill: #E4BC62;
  stroke: #07111E;
  stroke-width: 0.9;
  transition: r 0.16s, opacity 0.16s;
}

[data-branch-explorer].has-market-hover .gns-map-bubble:not(.is-market-active) .gns-bubble-ring,
[data-branch-explorer].has-market-hover .gns-map-bubble:not(.is-market-active) .gns-bubble-core {
  opacity: 0.34;
}

.gns-map-bubble.is-market-active .gns-bubble-ring,
.gns-map-bubble:focus-visible .gns-bubble-ring {
  fill: rgba(228, 188, 98, 0.34);
  stroke: #F5D78A;
  stroke-width: 1.8;
}

.gns-map-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(240, 236, 225, 0.08);
  font-size: 11px;
  color: rgba(240, 236, 225, 0.64);
}

.gns-map-legend-marks {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gns-map-legend-marks span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.gns-dot-steel {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #6F9FD8;
  display: inline-block;
}

.gns-dot-gold-ring {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(201, 151, 46, 0.22);
  border: 1.2px solid #E4BC62;
  display: inline-block;
}

.gns-msa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.gns-msa-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.64);
  padding: 0 5px 6px;
  text-align: left;
  border-bottom: 1px solid rgba(240, 236, 225, 0.15);
}

.gns-msa-table tbody tr {
  border-bottom: 1px solid rgba(240, 236, 225, 0.07);
  transition: background-color 0.14s;
  cursor: pointer;
}

.gns-msa-table tbody tr.is-market-active,
.gns-msa-table tbody tr:hover {
  background-color: rgba(228, 188, 98, 0.10);
}

.gns-msa-table tbody tr.is-market-active th {
  color: var(--gold-ink-bright);
}

.gns-msa-table tbody th {
  text-align: left;
  font-weight: 600;
  color: rgba(240, 236, 225, 0.88);
  padding: 6.5px 6px 6.5px 4px;
  white-space: nowrap;
}

.gns-msa-table tbody td {
  text-align: right;
  color: rgba(240, 236, 225, 0.78);
  padding: 6.5px 4px;
  white-space: nowrap;
}

.gns-msa-rest {
  cursor: default !important;
}

.gns-msa-rest th,
.gns-msa-rest td {
  color: rgba(240, 236, 225, 0.64) !important;
  font-weight: 500 !important;
  border-bottom: none;
}

.gns-footprint-foot {
  margin-top: 12px;
  padding: 10px 12px;
  background-color: rgba(10, 22, 38, 0.58);
  border: 1px solid rgba(240, 236, 225, 0.09);
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}

.gns-footprint-foot span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(240, 236, 225, 0.64);
  margin-bottom: 2px;
}

.gns-footprint-foot strong {
  color: #F0ECE1;
  font-weight: 700;
}

.gns-theme-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(240, 236, 225, 0.08);
}
.gns-theme-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gns-theme-head {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-ink-bright);
  margin-bottom: 3px;
}

.gns-theme-copy {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(240, 236, 225, 0.76);
}

/* Paper Slide Preview inside Screen 4 */
.gns-slide-card {
  margin: auto 0;
  aspect-ratio: 16 / 9;
  background-color: #FAF8F3;
  color: #0E1B2B;
  border-top: 4px solid #091526;
  border-radius: 2px;
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.gns-slide-card::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 48px;
  height: 4px;
  background-color: var(--gold-ink);
}

/* 3 Proof Pillars Beneath Terminal */
.platform-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 36px;
  margin-top: 44px;
}

.platform-pillar {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-content: start;
  border-top: 1.5px solid var(--rule-paper-strong);
  padding-top: 20px;
}

.platform-pillar h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.platform-pillar p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-muted);
}

.section-footer-cta {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-paper);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ==========================================================================
   BAND 04 · OFFERING 02: GOVERNEXUS BANK SIMULATOR
   ========================================================================== */

/* Bespoke Whole-Bank Architectural Overview Art Frame */
.sim-art-card {
  background: linear-gradient(180deg, rgba(18, 39, 66, 0.72) 0%, rgba(9, 21, 38, 0.92) 100%);
  border: 1px solid var(--rule-ink-strong);
  border-top: 2.5px solid var(--gold-ink);
  border-radius: 3px;
  padding: 32px 36px 26px;
  margin-bottom: 36px;
  box-shadow: 0 28px 64px -24px rgba(0, 0, 0, 0.6);
}

.sim-art-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-ink);
}

.sim-art-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--cream-strong);
}

.sim-art-caption {
  font-size: 12.5px;
  color: var(--cream-muted);
}

.sim-blueprint-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Stacked portrait arrangement of the same diagram for narrow screens */
.sim-blueprint-svg--tall {
  display: none;
  max-width: 460px;
  margin: 0 auto;
}

/* Two Hero Product Screens Gallery */
.sim-screens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.screen-plate {
  background-color: var(--navy-950);
  border: 1px solid var(--rule-ink-strong);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 52px -18px rgba(0, 0, 0, 0.55);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.screen-plate:hover {
  border-color: rgba(228, 188, 98, 0.55);
  transform: translateY(-2px);
}

.screen-plate-bar {
  gap: 4px 12px;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background-color: rgba(6, 14, 26, 0.95);
  border-bottom: 1px solid var(--rule-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.screen-zoom-btn {
  background: transparent;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  cursor: zoom-in;
}

.screen-plate-img-wrap {
  aspect-ratio: 16 / 10;
  padding: 14px;
  background-color: #07111F;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-plate-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  display: block;
}

.screen-plate-caption {
  padding: 20px 22px;
  flex: 1;
  background-color: rgba(13, 30, 52, 0.7);
  border-top: 1px solid var(--rule-ink);
}

.screen-plate-caption h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--cream-strong);
  margin-bottom: 6px;
}

.screen-plate-caption p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--cream-muted);
}

/* Deployment Formats Strip */
.sim-formats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-ink);
}

.sim-format {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-content: start;
}

.sim-format h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--cream-strong);
  margin-bottom: 5px;
}

.sim-format p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--cream-muted);
}

.section-footer-cta--ink {
  border-top-color: var(--rule-ink);
}

/* Lightbox Modal for High-DPI Screen Inspection */
.lightbox {
  --lb-pad: 36px;
  --lb-bar: 48px;
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(5, 11, 20, 0.92);
  backdrop-filter: blur(8px);
  padding: var(--lb-pad);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  overscroll-behavior: contain;
}

.lightbox.is-open {
  display: flex;
}

html.lightbox-open {
  overflow: hidden;
}

.lightbox-inner {
  max-width: 1320px;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 0;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: var(--lb-bar);
  color: var(--cream-strong);
  font-size: 13px;
  font-weight: 600;
}

.lightbox-close {
  flex-shrink: 0;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  background-color: rgba(244, 240, 230, 0.14);
  border: 1px solid var(--rule-ink-strong);
  border-radius: 3px;
  color: var(--cream-strong);
  font-size: 13px;
  font-weight: 600;
}

.lightbox-close:hover {
  background-color: rgba(244, 240, 230, 0.24);
}

.lightbox-view {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.lightbox-stage {
  display: flex;
  justify-content: center;
  max-width: 100%;
  min-height: 0;
}

.lightbox-stage:focus-visible {
  outline-offset: -3px;
}

.lightbox-hint {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 99px;
  background-color: rgba(6, 14, 26, 0.88);
  border: 1px solid var(--rule-ink-strong);
  color: var(--cream-strong);
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox-hint.is-gone {
  opacity: 0;
}

.lightbox-inner img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 2 * var(--lb-pad) - var(--lb-bar) - 12px);
  max-height: calc(100dvh - 2 * var(--lb-pad) - var(--lb-bar) - 12px);
  min-height: 0;
  object-fit: contain;
  border-radius: 3px;
  border: 1px solid var(--rule-ink-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   BAND 05 · OFFERING 03: STRATEGIC ADVISORY & PERSPECTIVES
   ========================================================================== */

.mandates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink-strong);
  border-left: 1px solid var(--rule-paper);
  margin-bottom: 72px;
}

.mandate-cell {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-content: start;
  padding: 30px 28px;
  border-right: 1px solid var(--rule-paper);
  border-bottom: 1px solid var(--rule-paper);
  background-color: var(--paper-card);
  transition: background-color 0.2s;
}

.mandate-cell:hover {
  background-color: #FFFFFF;
}

.mandate-idx {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-paper);
  margin-bottom: 10px;
}

.mandate-cell h3 {
  font-family: var(--font-display);
  font-size: 20.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-strong);
  margin-bottom: 9px;
}

.mandate-cell p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-muted);
}

/* Practitioner Perspectives Folio */
.perspectives-block {
  background-color: var(--paper-warm);
  border: 1px solid var(--rule-paper-strong);
  border-radius: 3px;
  padding: 48px 44px;
}

.perspectives-head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  align-items: end;
  margin-bottom: 36px;
}

.perspectives-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.16;
  color: var(--ink-strong);
}

.perspectives-sub {
  font-family: var(--font-reading);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.perspectives-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 22px;
}

.perspective-folio {
  background-color: var(--paper-card);
  border: 1px solid var(--rule-paper);
  border-top: 2.5px solid var(--navy-900);
  border-radius: 3px;
  padding: 28px 26px;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  position: relative;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.perspective-folio > div {
  display: contents;
}

.perspective-folio::before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: -1px;
  width: 44px;
  height: 2.5px;
  border-top-left-radius: 3px;
  background-color: var(--gold-ink);
}

.perspective-folio:hover {
  background-color: #FFFFFF;
  box-shadow: 0 14px 32px -18px rgba(14, 27, 43, 0.14);
}

.perspective-domain {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-paper);
  margin-bottom: 12px;
}

.perspective-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19.5px;
  line-height: 1.42;
  color: var(--ink-strong);
}

.perspective-pov {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  padding-top: 14px;
  border-top: 1px solid var(--rule-paper-soft);
}

/* ==========================================================================
   BAND 06 · WHO WE SERVE & FOUNDER PEDIGREE
   ========================================================================== */

.stakeholders-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 16px;
  margin-bottom: 72px;
}

.stakeholder-card {
  background-color: var(--paper-card);
  border: 1px solid var(--rule-paper);
  border-top: 2px solid var(--navy-900);
  border-radius: 2px;
  padding: 26px 22px 28px;
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
}

.stakeholder-card h3 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.24;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.stakeholder-card p {
  font-size: 13px;
  line-height: 1.58;
  color: var(--ink-muted);
}

/* Founder Folio */
.founder-card {
  background-color: var(--paper-card);
  border: 1px solid var(--rule-paper-strong);
  border-top: 2.5px solid var(--navy-900);
  border-radius: 3px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  gap: 52px;
  align-items: center;
  position: relative;
}

.founder-card::before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: -1px;
  width: 72px;
  height: 2.5px;
  border-top-left-radius: 3px;
  background-color: var(--gold-ink);
}

.founder-name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink-strong);
  line-height: 1.12;
  margin-bottom: 5px;
}

.founder-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-paper);
  margin-bottom: 18px;
}

.founder-bio {
  font-family: var(--font-reading);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-body);
}

.founder-bio strong {
  color: var(--ink-strong);
  font-weight: 600;
}

.founder-pullquote {
  border-left: 2.5px solid var(--gold-paper);
  padding-left: 32px;
}

.founder-pullquote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22.5px;
  line-height: 1.48;
  color: var(--ink-strong);
  margin-bottom: 14px;
}

.founder-pullquote cite {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ==========================================================================
   BAND 07 · DIRECT EXECUTIVE INQUIRY & COLOPHON
   ========================================================================== */

.inquire-layout {
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  gap: 60px;
  align-items: start;
}

.pathway-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.pathway-btn {
  text-align: left;
  padding: 16px 20px;
  border-radius: 3px;
  background-color: rgba(244, 240, 230, 0.035);
  border: 1px solid var(--rule-ink);
  color: var(--cream-body);
  transition: all 0.2s var(--ease);
}

.pathway-btn:hover {
  background-color: rgba(244, 240, 230, 0.07);
  border-color: var(--rule-ink-strong);
}

.pathway-btn.is-selected {
  background-color: var(--navy-800);
  border-color: var(--gold-ink-bright);
}

.pathway-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.pathway-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--cream-strong);
}

.pathway-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-ink-bright);
}

.pathway-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cream-muted);
}

.direct-mail-line {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--cream-muted);
}

.direct-mail-line a {
  color: var(--gold-ink-bright);
  font-weight: 600;
  border-bottom: 1px solid rgba(228, 188, 98, 0.4);
}

/* Inquiry Form Sheet */
.form-sheet {
  background-color: var(--navy-900);
  border: 1px solid var(--rule-ink-strong);
  border-top: 2.5px solid var(--gold-ink);
  border-radius: 3px;
  padding: 36px;
  box-shadow: 0 24px 56px -20px rgba(0, 0, 0, 0.55);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 3px;
  background-color: rgba(6, 14, 26, 0.7);
  border: 1px solid var(--rule-ink-strong);
  color: var(--cream-strong);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s, background-color 0.18s;
}

.signup-form textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.45;
}

.signup-form input::placeholder,
.signup-form textarea::placeholder {
  color: rgba(244, 240, 230, 0.32);
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  border-color: var(--gold-ink-bright);
  background-color: rgba(6, 14, 26, 0.95);
}

.signup-form select {
  cursor: pointer;
  text-overflow: ellipsis;
}

.signup-form select option {
  background-color: var(--navy-900);
  color: var(--cream-strong);
}

.signup-submit {
  padding: 15px 28px;
  border-radius: 3px;
  background-color: var(--gold-ink);
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
  border: 1px solid var(--gold-ink);
  transition: all 0.2s var(--ease);
  margin-top: 4px;
}

.signup-submit:hover:not(:disabled) {
  background-color: var(--gold-ink-bright);
  border-color: var(--gold-ink-bright);
  transform: translateY(-1px);
}

.signup-submit.is-confirmed {
  background-color: var(--sage-paper);
  border-color: var(--sage-ink);
  color: #FFFFFF;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cream-body);
}

.form-status.is-success {
  color: var(--gold-ink-bright);
}

.form-status.is-error {
  color: #E08B7A;
}

.form-status a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-noscript {
  font-size: 15px;
  color: var(--cream-strong);
}

.form-noscript a {
  color: var(--gold-ink-bright);
  font-weight: 600;
  border-bottom: 1px solid rgba(228, 188, 98, 0.4);
}

.form-footnote {
  font-size: 12px;
  color: var(--cream-subtle);
}

/* Colophon Footer */
.colophon {
  background-color: #040A13;
  color: var(--cream-muted);
  padding: 42px 0;
}

.colophon-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.colophon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.colophon-links a {
  font-size: 12.5px;
  color: var(--cream-muted);
  transition: color 0.18s;
}
.colophon-links a:hover {
  color: var(--cream-strong);
}

.colophon-copy {
  font-size: 12px;
  color: var(--cream-subtle);
}

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background-color: rgba(6, 14, 26, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule-ink-strong);
}

.mobile-bar.is-hidden {
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.2s var(--ease), visibility 0s linear 0.2s;
}

.mobile-bar a {
  display: block;
  text-align: center;
  padding: 12px 18px;
  border-radius: 3px;
  background-color: var(--gold-ink);
  color: var(--navy-950);
  font-size: 13.5px;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE ADAPTATION
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-top,
  .section-head--split,
  .founder-card,
  .inquire-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gns-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gns-sidenav {
    border-right: none;
    border-bottom: 1px solid rgba(240, 236, 225, 0.10);
    padding: 14px 16px;
  }

  .gns-nav-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .gns-clocks-box {
    display: none;
  }

  .mandates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .triptych-card {
    padding: 28px 24px;
  }

  .perspectives-head,
  .perspectives-cards {
    grid-template-columns: 1fr;
  }

  /* Five cards: three over two, each row filling the width */
  .stakeholders-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .stakeholder-card {
    grid-column: span 2;
  }
  .stakeholder-card:nth-child(n + 4) {
    grid-column: span 3;
  }
}

/* The wide architecture diagram needs ~1000px to stay legible; stack it below that */
@media (max-width: 1099px) {
  .sim-blueprint-svg--wide {
    display: none;
  }
  .sim-blueprint-svg--tall {
    display: block;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .nav-actions {
    margin-left: auto;
  }

  .triptych,
  .thesis-columns,
  .sim-screens-grid,
  .platform-pillars {
    grid-template-columns: 1fr;
  }

  .gns-two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .gns-five-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .gns-kpi-tile:last-child {
    grid-column: 1 / -1;
  }

  .triptych-card {
    border-right: none;
    border-bottom: 1px solid var(--rule-paper);
  }
  .triptych-card:last-child {
    border-bottom: none;
  }

  .sim-formats,
  .stakeholders-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stakeholder-card,
  .stakeholder-card:nth-child(n + 4) {
    grid-column: auto;
  }
  .stakeholder-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --bar-h: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .colophon {
    padding-bottom: calc(42px + var(--bar-h));
  }

  .band {
    padding: 76px 0;
  }

  .hero {
    padding: calc(var(--nav-h) + 36px) 0 56px;
  }

  .gns-nav-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .gns-nav-sub {
    display: none;
  }

  .gns-five-strip {
    grid-template-columns: 1fr;
  }

  .gns-factor-row {
    grid-template-columns: 1fr 86px;
  }

  .gns-f-now,
  .gns-f-spark {
    display: none;
  }

  .gns-msa-table {
    font-size: 11px;
  }

  .gns-msa-table thead th:nth-child(2),
  .gns-msa-table tbody td:nth-child(2) {
    display: none;
  }

  .gns-msa-table tbody th,
  .gns-msa-table tbody td {
    padding: 6px 3px;
  }

  .gns-stage {
    padding: 20px 16px;
  }

  .gns-decomp-head,
  .gns-decomp-row {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.55fr) minmax(0, 0.8fr) minmax(0, 0.7fr);
    gap: 8px;
  }

  .gns-decomp-head span {
    min-width: 0;
    letter-spacing: 0.04em;
  }

  .gns-d-name,
  .gns-d-total-label {
    white-space: normal;
  }

  .gns-d-peer,
  .gns-h-peer {
    display: none;
  }

  .mandates-grid,
  .sim-formats,
  .stakeholders-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-art-frame,
  .sim-art-card,
  .perspectives-block,
  .founder-card,
  .form-sheet {
    padding: 24px 20px;
  }

  .founder-pullquote {
    padding-left: 20px;
  }

  .mobile-bar {
    display: block;
  }

  .lightbox {
    --lb-pad: 12px;
  }

  .colophon-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    width: 100%;
  }
  .colophon-links a {
    min-height: 44px;
  }

  /* Charts are scaled down on phones: let them bleed to the panel edge and enlarge their labels */
  .signature-svg--wide {
    display: none;
  }
  .signature-svg--tall {
    display: block;
  }

  .gns-chart {
    width: calc(100% + 28px) !important;
    max-width: none;
    margin-left: -14px !important;
    margin-right: -14px !important;
  }
  .gns-chart text {
    font-size: 12.5px;
  }
  .gns-chart--valuation text {
    font-size: 12.5px;
  }
  .gns-chart .chart-row {
    font-size: 13.5px;
  }

  .sim-art-card {
    padding-left: 12px;
    padding-right: 12px;
  }
  .sim-art-header {
    padding-left: 8px;
    padding-right: 8px;
  }
  .sim-blueprint-svg--tall text {
    font-size: 12px;
  }
  .sim-blueprint-svg--tall text[font-size="18"] {
    font-size: 18px;
  }

  .gns-msa-table tbody th {
    white-space: normal;
  }

  .gns-map-legend {
    flex-wrap: wrap;
  }
  .gns-map-legend span {
    white-space: nowrap;
  }
}

/* Spacing between stacked cards (the shared-row grids above carry no row gap) */
@media (max-width: 1080px) {
  .perspective-folio + .perspective-folio {
    margin-top: 22px;
  }
  .stakeholder-card:nth-child(n + 4) {
    margin-top: 16px;
  }
}

@media (max-width: 900px) {
  .thesis-col + .thesis-col {
    margin-top: 44px;
  }
  .platform-pillar + .platform-pillar {
    margin-top: 36px;
  }
  .sim-format:nth-child(n + 3) {
    margin-top: 20px;
  }
  .stakeholder-card:nth-child(n + 3) {
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .sim-format:nth-child(n + 2) {
    margin-top: 20px;
  }
  .stakeholder-card:nth-child(n + 2) {
    margin-top: 16px;
  }
}

/* Touch widths: 44px minimum tap targets */
@media (max-width: 900px), (pointer: coarse) {
  .nav-login {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .brand {
    min-height: 44px;
  }


  .gns-nav-btn,
.gns-seg-btn,
.gns-export-badge {
    min-height: 44px;
  }

  .gns-nav-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .gns-seg-btn {
    padding-left: 10px;
    padding-right: 10px;
  }

  .signup-form input,
  .signup-form select {
    min-height: 44px;
  }

  .colophon-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .direct-mail-line a,
  .arrow-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (min-width: 901px) and (pointer: coarse) {
  .nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ==========================================================================
   NO-SCRIPT FALLBACK (html.no-js is swapped to .js by an inline script in <head>)
   ========================================================================== */

.no-js .gns-shell {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.no-js .gns-sidenav,
.no-js .gns-ribbon-right,
.no-js .gns-case-switch,
.no-js .zoom-hint,
.no-js .mobile-toggle,
.no-js .pathway-list,
.no-js #briefing-form {
  display: none;
}

.no-js .gns-screen {
  display: flex;
  flex-direction: column;
}

.no-js .gns-screen + .gns-screen {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(240, 236, 225, 0.18);
}

.no-js .screen-zoom-btn {
  cursor: default;
}

.no-js .nav-links {
  display: flex;
}

@media (max-width: 900px) {
  .no-js {
    --nav-h: 116px;
  }

  .no-js .masthead-inner {
    flex-wrap: wrap;
    align-content: center;
    gap: 4px 16px;
    padding-top: 6px;
    padding-bottom: 4px;
  }

  .no-js .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 0 18px;
  }

  .no-js .nav-link {
    padding: 4px 0;
  }
}

@media (max-width: 640px) {
  .btn {
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }
}

/* Narrow screens: the enlarged screenshot is shown at a readable size and panned */
@media (max-width: 700px) {
  .lightbox-view {
    flex: 1 1 auto;
  }
  .lightbox-stage {
    display: block;
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    max-height: calc(100vh - 2 * var(--lb-pad) - var(--lb-bar) - 12px);
    max-height: calc(100dvh - 2 * var(--lb-pad) - var(--lb-bar) - 12px);
    border: 1px solid var(--rule-ink-strong);
    border-radius: 3px;
    background-color: #07111F;
  }
  .lightbox-inner img {
    width: min(240vw, 2200px);
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .lightbox-hint {
    display: block;
  }
}

@media (max-width: 700px), (pointer: coarse) {
  .lightbox-esc {
    display: none;
  }
}

@media (max-width: 380px) {
  .gns-msa-table tbody td:nth-child(4) {
    white-space: normal;
  }
  .gns-msa-table thead th {
    letter-spacing: 0.02em;
    padding-left: 2px;
    padding-right: 2px;
  }
  .gns-msa-table tbody th,
  .gns-msa-table tbody td {
    padding-left: 2px;
    padding-right: 2px;
  }
  .gns-panel {
    padding-left: 14px;
    padding-right: 14px;
  }
  .masthead-inner {
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand-name {
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-login {
    padding: 8px 10px;
  }
}

@media print {
  .masthead {
    position: static;
  }
  .mobile-bar,
  .lightbox {
    display: none !important;
  }
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* A view that has just been deactivated hides at once: no control may linger through a transition. */
.js .gns-screen:not(.is-active),
.js .gns-screen:not(.is-active) * {
  transition: none !important;
}
@media (max-width: 640px) {
  /* Some overlines wrap to two lines on phones; reserve two everywhere so every headline starts on the same line. */
  .gns-screen .gns-band-overline {
    min-height: 36px;
    align-items: flex-start;
  }
}

/* Strategy scenario switch: sits under the scatter chart */
.gns-case-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.gns-case-label {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.64);
}
.gns-case-switch {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background-color: rgba(240, 236, 225, 0.05);
  box-shadow: inset 0 0 0 1px rgba(240, 236, 225, 0.12);
}
.gns-case-btn {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 auto;
  border: 0;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(240, 236, 225, 0.70);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s, box-shadow 0.16s;
}
.gns-case-btn:hover {
  color: #F0ECE1;
  background-color: rgba(240, 236, 225, 0.06);
}
.gns-case-btn.is-active {
  color: var(--gold-ink-bright);
  background-color: rgba(228, 188, 98, 0.14);
  box-shadow: inset 0 0 0 1px rgba(228, 188, 98, 0.50);
}
@media (hover: none), (max-width: 900px) {
  .gns-case-btn {
    min-height: 44px;
  }
}
@media (max-width: 420px) {
  .gns-case-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .gns-case-btn {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.no-js .gns-case-row {
  display: none;
}
@media (max-width: 420px) {
  /* Plan path figures need air between columns on phones */
  .gns-path-table th,
  .gns-path-table td {
    font-size: 11px;
    padding-left: 7px;
  }
  .gns-path-table th:first-child {
    padding-left: 0;
  }
  .gns-path-table thead th {
    letter-spacing: 0.04em;
  }
}
@media (min-width: 1081px) {
  /* Side by side, the form starts level with the heading text rather than with the small label above it. */
  .inquire-layout .form-sheet {
    margin-top: 50px;
  }
}
