:root {
  --navy: #10194f;
  --navy-dark: #0b1220;
  --red: #b71924;
  --gold: #b08d57;
  --steel: #3e4e63;
  --bg: #f6f8f9;
  --line: rgba(16, 25, 79, 0.1);
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(11, 18, 32, 0.12);
  --soft-shadow: 0 12px 34px rgba(11, 18, 32, 0.08);
  --hero-image: url("./assets/images/vidgb-hero-brick-street.png");
  --industry-image: url("./assets/images/vidgb-brickworks-supply.png");
  --traceability-image: url("./assets/images/vidgb-traceability-desk.png");
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Sora, system-ui, sans-serif;
  color: var(--navy-dark);
  line-height: 1.5;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(176, 141, 87, .18), transparent 26rem),
    radial-gradient(circle at 78% 4%, rgba(16, 25, 79, .13), transparent 22rem),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[id] { scroll-margin-top: 120px; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--navy));
  box-shadow: 0 0 18px rgba(176,141,87,.42);
  transform-origin: left center;
}

.prototype-strip {
  background: var(--red);
  color: white;
  padding: .65rem 1rem;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: .75rem;
  letter-spacing: .04em;
}

:focus-visible {
  outline: 3px solid rgba(176, 141, 87, 0.8);
  outline-offset: 3px;
}

.page-shell { min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding:
    calc(.9rem + env(safe-area-inset-top))
    max(1rem, calc((100vw - 1280px) / 2))
    .9rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 25, 79, 0.12);
  box-shadow: 0 10px 30px rgba(11, 18, 32, .08);
}
.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--navy);
  border: 1px solid rgba(176, 141, 87, .55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 10px 24px rgba(16, 25, 79, .18);
}
.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eyebrow, .kicker, .section-kicker, .modal-badge, .floating-banner strong, .tag {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.eyebrow { font-size: .68rem; color: var(--red); font-weight: 700; }
.brand-line { display: flex; align-items: baseline; gap: .45rem; }
.brand-word {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 3.2vw, 1.55rem);
  color: var(--navy);
  line-height: 1;
}
.concept-badge {
  display: inline-block;
  padding: .18rem .45rem;
  background: rgba(183, 25, 36, .09);
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  font-weight: 800;
}
.brand-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--navy); }
.brand-subtitle {
  color: var(--steel);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.topnav {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem;
}
.topnav a {
  border-bottom: 1px solid transparent;
  padding: .5rem .6rem;
  color: var(--navy-dark);
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
}
.topnav a:hover,
.topnav a:focus-visible,
.topnav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
  background: rgba(183, 25, 36, .05);
}
.topnav a:hover, .link-button:hover { color: var(--red); text-decoration: underline; }

main { width: 100%; margin: 0; padding: 0 0 calc(5rem + env(safe-area-inset-bottom)); }
.section-grid, .section {
  width: min(1280px, calc(100% - 1.25rem));
  margin-inline: auto;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(16,25,79,.1);
  box-shadow: var(--soft-shadow);
  border-radius: 26px;
}
.section-grid { position: relative; overflow: hidden; }
.section-grid::before,
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(16, 25, 79, 0.03) 1px, transparent 1px), linear-gradient(rgba(16, 25, 79, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .8;
}
.section > * { position: relative; z-index: 1; }
.hero {
  width: 100%;
  min-height: 720px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .75fr); gap: 2rem;
  align-items: end;
  padding: 7rem max(1rem, calc((100vw - 1280px) / 2)) 3rem;
  margin: 0 0 2rem;
  border: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 25, .9) 0%, rgba(6, 10, 25, .68) 42%, rgba(6, 10, 25, .24) 76%, rgba(6, 10, 25, .1) 100%),
    linear-gradient(180deg, rgba(6, 10, 25, .06), rgba(6, 10, 25, .58)),
    var(--hero-image) center / cover no-repeat;
  box-shadow: none;
  border-radius: 0 0 28px 28px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.13) 42%, transparent 47% 100%),
    radial-gradient(circle at 76% 22%, rgba(176,141,87,.2), transparent 15rem);
  mix-blend-mode: screen;
  animation: heroSweep 8s ease-in-out infinite;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero.section-grid::before { display: none; }
.hero-copy h1, .section-header h2 {
  margin: .5rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--navy);
  letter-spacing: 0;
}
.hero-copy h1 {
  font-size: clamp(2.55rem, 6.8vw, 4.25rem);
  line-height: 1.02;
  max-width: 13ch;
}
.hero-copy h1 { color: white; text-shadow: 0 12px 34px rgba(0,0,0,.36); }
.hero .kicker,
.hero .status-line,
.hero .lede { color: rgba(255,255,255,.88); }
.hero .kicker { color: var(--gold); }
.status-pill {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: white;
  padding: .25rem .55rem;
  border: 1px solid rgba(255,255,255,.22);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.status-line { color: var(--steel); font-weight: 700; }
.hero .notice {
  max-width: 760px;
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(12px);
}
.lede, .section-header p, .info-card p, .metric p, .status-card p, .flow-item, .notice p, .callout p, .modal-body p {
  color: var(--steel); line-height: 1.65;
}
.lede { max-width: 68ch; font-size: 1.03rem; margin: 1.25rem 0 0; }
.cta-row { display:flex; gap:.85rem; flex-wrap:wrap; margin-top: 1.5rem; }
.button {
  min-height: 44px; padding: .85rem 1.15rem; border: 1px solid var(--navy);
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: white; color: var(--navy); cursor: pointer; font-weight: 700;
  border-radius: 14px;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.button.primary { background: var(--navy); color: white; border-bottom: 3px solid var(--gold); }
.button.secondary { background: transparent; }
.hero .button.primary { background: white; color: var(--navy); border-color: white; }
.hero .button.secondary { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}
.button:focus-visible {
  border-color: var(--gold);
}

.hero-panel, .stats-grid, .cards-grid, .flow-grid { display: grid; gap: 1rem; }
.hero-panel { grid-template-columns: repeat(2, 1fr); }
.status-card, .metric, .info-card, .flow-card, .notice, .callout {
  background: white; border: 1px solid rgba(16,25,79,.12); padding: 1rem;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(11, 18, 32, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.status-card:hover, .metric:hover, .info-card:hover, .flow-card:hover, .component-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(11, 18, 32, .1);
  border-color: rgba(16,25,79,.22);
}
.status-card span, .metric span { font-size: .7rem; color: var(--red); font-family: "JetBrains Mono", monospace; font-weight: 700; }
.status-card strong, .metric strong { display:block; margin: .4rem 0; font-family: "Space Grotesk", sans-serif; color: var(--navy); }
.hero-stat strong { font-size: 2rem; }
.hero .status-card {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,.34);
}
.compact-hero h1 { max-width: 15ch; }
.rotating-term {
  color: var(--gold);
  white-space: nowrap;
}
.rotating-term.is-changing {
  animation: termShift .38s ease;
}
.compact-hero .lede {
  max-width: 61ch;
  font-size: 1.08rem;
}
.executive-deck {
  max-width: 760px;
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, .92);
  border-left: 4px solid var(--gold);
  color: var(--navy-dark);
  line-height: 1.55;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.executive-deck strong { color: var(--navy); }
.orchestration-console {
  max-width: 760px;
  margin-top: 1rem;
  padding: .9rem;
  background: rgba(6, 10, 25, .72);
  border: 1px solid rgba(255,255,255,.22);
  color: white;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0,0,0,.16);
}
.console-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .75rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 8px rgba(34,197,94,.14);
  animation: consolePulse 1.8s infinite;
}
.console-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.console-feed li {
  display: grid;
  gap: .25rem;
  padding: .7rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease, color .22s ease;
}
.console-feed li.active {
  transform: translateY(-2px);
  background: rgba(176,141,87,.18);
  border-color: rgba(176,141,87,.55);
  color: white;
}
.console-feed span {
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  text-transform: uppercase;
}
.console-feed em {
  font-style: normal;
  font-size: .82rem;
}
.executive-panel { align-self: end; }
.executive-panel .status-card { min-height: 154px; }
.section { padding: 2rem; margin: 1.5rem auto; position: relative; overflow: hidden; }
.executive-section {
  padding: 1.65rem;
  margin: 1rem auto;
}
.executive-section .section-header { margin-bottom: 1.1rem; }
.executive-section .section-header h2 { max-width: 860px; }
.executive-section .section-header p { margin: .7rem 0 0; }
.image-band {
  background:
    linear-gradient(105deg, rgba(10,16,36,.84) 0%, rgba(10,16,36,.52) 46%, rgba(10,16,36,.14) 100%),
    var(--industry-image) center / cover no-repeat;
  border-color: rgba(176,141,87,.28);
}
.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.14), transparent 55%, rgba(176,141,87,.1));
}
.image-band > * { position: relative; z-index: 1; }
.image-band .section-header h2,
.image-band .section-header p,
.image-band .section-kicker {
  color: white;
}
.image-band .section-header {
  border-left-color: rgba(255,255,255,.72);
}
.traceability-band {
  background:
    linear-gradient(105deg, rgba(10,16,36,.86) 0%, rgba(10,16,36,.56) 42%, rgba(10,16,36,.16) 100%),
    var(--traceability-image) center / cover no-repeat;
}
.traceability-band .section-header h2,
.traceability-band .section-header p,
.traceability-band .section-kicker {
  color: white;
}
.traceability-band .section-header {
  border-left-color: rgba(255,255,255,.72);
}
.section-header { border-left: 4px solid var(--navy); padding-left: 1rem; margin-bottom: 1.5rem; }
.section-header h2 { font-size: clamp(1.8rem, 4.8vw, 2.65rem); }
.section-kicker { color: var(--red); font-size: .72rem; font-weight: 700; }
.narrow p { max-width: 58rem; }
.flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flow-card { background: #f7f9fb; }
.flow-card.highlighted { background: rgba(16,25,79,.04); border-color: rgba(16,25,79,.25); }
.tag { display: inline-block; font-size: .68rem; padding: .3rem .5rem; margin-bottom: .75rem; border-radius: 999px; }
.tag.red { background: #ffe9e9; color: var(--red); }
.tag.navy { background: rgba(16,25,79,.08); color: var(--navy); }
.flow-item { background: white; border: 1px solid rgba(16,25,79,.1); padding: .85rem; font-size: .85rem; }
.arrow { text-align: center; font-weight: 900; color: var(--red); margin: .2rem 0; }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric p { font-size: .82rem; margin: .3rem 0 0; }
.callout.navy-block { background: var(--navy); color: white; margin-top: 1rem; }
.callout.navy-block p { color: rgba(255,255,255,.85); }
.cards-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card h3, .metric strong, .notice-title, .modal-head h2 { font-family: "Space Grotesk", sans-serif; }
.info-card h3 { margin: 0 0 .6rem; color: var(--navy); font-size: 1rem; }
.policy-grid, .knowledge-grid, .module-stack, .roadmap-grid { display: grid; gap: 1rem; }
.policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.module-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roadmap-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.policy-card .policy-subtitle, .module-label, .roadmap-card span, .footer-note {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}
.policy-subtitle { color: var(--red); margin-bottom: .5rem; font-weight: 700; }
.module-card, .roadmap-card {
  background: white; border: 1px solid rgba(16,25,79,.12); padding: 1rem;
  border-radius: 18px;
}
.module-card h3 { margin: .4rem 0; font-family: "Space Grotesk", sans-serif; color: var(--navy); }
.module-label { color: var(--red); margin-bottom: .35rem; }
.module-card p, .roadmap-card strong { color: var(--steel); line-height: 1.55; }
.roadmap-card span { color: var(--red); display: block; margin-bottom: .4rem; }
.notice { background: #fff2f2; border-color: rgba(183,25,36,.25); margin-bottom: 1rem; }
.notice-title { color: var(--red); font-size: .78rem; font-weight: 800; margin-bottom: .5rem; }
.metric.accent { border-bottom: 4px solid var(--red); }
.section-help {
  color: var(--steel);
  font-weight: 700;
  margin: 1rem 0;
}
.land-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .9fr;
  gap: 1rem;
}
.land-grid h3, .assessment-card h3 {
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
}
.check-list {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li, .assessment-card, .passport, .component-card {
  background: white;
  border: 1px solid rgba(16,25,79,.12);
  padding: 1rem;
}
.check-list li strong {
  display: block;
  color: var(--navy);
}
.check-list li {
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.check-list li:hover,
.check-list li.selected {
  transform: translateY(-1px);
  border-color: rgba(16, 25, 79, .35);
  background: #fbfcfd;
}
.check-list li.selected {
  box-shadow: inset 4px 0 0 var(--gold);
}
.check-list.risk li { border-left: 3px solid var(--red); }
.assessment-card strong {
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}
.chip-row span, .chip-row button, .tabs span {
  border: 1px solid rgba(16,25,79,.16);
  background: white;
  padding: .45rem .65rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  color: var(--navy);
  cursor: pointer;
}
.chip-row button.active,
.chip-row button:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}
.tabs button {
  border: 1px solid rgba(16,25,79,.16);
  background: white;
  padding: .45rem .65rem;
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  color: var(--navy);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.tabs button.active,
.tabs button:hover {
  transform: translateY(-1px);
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.search-input {
  width: 100%;
  border: 1px solid rgba(16,25,79,.18);
  padding: .9rem 1rem;
  background: white;
}
.component-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.component-card span {
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem;
  text-transform: uppercase;
}
.component-card h3 {
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}
.component-card p { font-size: .82rem; color: var(--steel); }
.component-card {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.component-card[hidden] { display: none; }
.passport { margin-top: 1rem; }
.passport dl {
  display: grid;
  grid-template-columns: minmax(180px, .5fr) 1fr;
  gap: .5rem 1rem;
}
.passport dt {
  color: var(--steel);
  font-weight: 700;
}
.passport dd {
  margin: 0;
  color: var(--navy);
}
.alphabet span { min-width: 2rem; text-align: center; }
.registry-shell { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; }
.registry-form {
  display: grid; gap: .9rem; padding: 1rem; background: white; border: 1px solid rgba(16,25,79,.12);
}
.registry-form label {
  display: grid; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--navy);
}
.registry-form input, .registry-form select, .registry-form textarea {
  width: 100%; border: 1px solid rgba(16,25,79,.18); padding: .8rem .85rem; background: white;
}
.registry-form .success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: .8rem;
  font-size: .85rem;
}
.form-status {
  margin: 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(16,25,79,.12);
  background: rgba(16,25,79,.04);
  color: var(--steel);
  font-size: .85rem;
}
.form-status[data-state="success"] {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.form-status[data-state="error"] {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.checkbox-row { grid-template-columns: 20px 1fr; align-items: start; }
.checkbox-row input { width: 16px; height: 16px; margin-top: .2rem; }

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.decision-card {
  position: relative;
  min-height: 190px;
  padding: 1.15rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,248,249,.92));
  border: 1px solid rgba(16,25,79,.14);
  box-shadow: 0 10px 24px rgba(11, 18, 32, .05);
}
.decision-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 54px;
  height: 2px;
  background: var(--gold);
}
.decision-card span {
  display: inline-block;
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.decision-card h3 {
  margin: .7rem 0 .45rem;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}
.decision-card p {
  margin: 0;
  color: var(--steel);
  font-size: .92rem;
  line-height: 1.55;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
  border: 1px solid rgba(16,25,79,.14);
  background: var(--navy);
  color: white;
}
.proof-strip div {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.14);
}
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.proof-strip span {
  display: block;
  line-height: 1.45;
}
.prestige-grid .info-card,
.approval-card {
  border-top: 3px solid var(--gold);
  background:
    linear-gradient(180deg, white, rgba(255,255,255,.86));
}
.approval-card p,
.compact-faq p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.58;
}
.brief-frame {
  display: grid;
  gap: .35rem;
  margin-top: 1rem;
  padding: 1.1rem 1.2rem;
  background:
    linear-gradient(90deg, rgba(16,25,79,.06), rgba(176,141,87,.12));
  border: 1px solid rgba(16,25,79,.14);
}
.brief-frame span {
  color: var(--red);
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brief-frame strong {
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  line-height: 1.42;
}
.navy-brief {
  background:
    linear-gradient(120deg, rgba(16,25,79,.98), rgba(11,18,32,.94)),
    var(--industry-image) center / cover no-repeat;
  color: white;
}
.navy-brief span { color: var(--gold); }
.navy-brief strong { color: white; }
.compact-land .check-list li {
  min-height: 108px;
  font-size: .9rem;
  line-height: 1.5;
}
.compact-land .assessment-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.prestige-chips span {
  background: rgba(255,255,255,.92);
  border-color: rgba(16,25,79,.18);
  box-shadow: 0 8px 18px rgba(11, 18, 32, .04);
}
.compact-components {
  margin-top: .9rem;
}
.compact-components .component-card {
  min-height: 162px;
}
.passport-grid .module-card {
  min-height: 152px;
}
.compact-passport {
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(246,248,249,.92));
  border-left: 4px solid var(--gold);
}
.executive-notice {
  background: #fff7ed;
  border-color: rgba(176,141,87,.42);
}
.executive-roadmap .roadmap-card {
  min-height: 210px;
  position: relative;
  overflow: hidden;
}
.executive-roadmap .roadmap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(16,25,79,.14);
}
.executive-roadmap .roadmap-card.active {
  border-color: rgba(176,141,87,.72);
  box-shadow: 0 16px 34px rgba(176,141,87,.16);
}
.executive-roadmap .roadmap-card.active::before { background: var(--gold); }
.roadmap-card p {
  margin: .65rem 0 0;
  color: var(--steel);
  font-size: .85rem;
  line-height: 1.48;
}
.compact-register {
  grid-template-columns: .85fr 1.15fr;
}
.compact-register .notice {
  margin: 0;
}
.compact-faq .info-card {
  min-height: 156px;
}
.section-header.narrow {
  max-width: 980px;
}
.stakeholder-lens {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 1rem;
  margin-top: 1rem;
}
.lens-tabs {
  display: grid;
  gap: .55rem;
}
.lens-tabs button {
  min-height: 58px;
  padding: .8rem 1rem;
  border: 1px solid rgba(16,25,79,.14);
  background: rgba(255,255,255,.88);
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.lens-tabs button:hover,
.lens-tabs button.active {
  transform: translateX(4px);
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  box-shadow: 0 14px 28px rgba(16,25,79,.14);
}
.lens-panel {
  min-height: 250px;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(16,25,79,.96), rgba(11,18,32,.94)),
    var(--industry-image) center / cover no-repeat;
  color: white;
  border: 1px solid rgba(176,141,87,.42);
  box-shadow: 0 20px 40px rgba(11,18,32,.12);
}
.lens-panel span {
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lens-panel h3 {
  margin: .7rem 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
}
.lens-panel p {
  max-width: 62ch;
  color: rgba(255,255,255,.84);
  line-height: 1.65;
}
.lens-panel strong {
  display: inline-block;
  margin-top: .8rem;
  padding: .75rem .9rem;
  background: rgba(255,255,255,.1);
  border-left: 3px solid var(--gold);
}
.lens-panel.is-changing {
  animation: panelSwitch .28s ease;
}
.roadmap-card {
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.roadmap-card:hover,
.roadmap-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(176,141,87,.58);
  box-shadow: 0 18px 36px rgba(11,18,32,.1);
}
.roadmap-detail {
  display: grid;
  gap: .35rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--navy);
  color: white;
  border: 1px solid rgba(176,141,87,.42);
}
.roadmap-detail span {
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.roadmap-detail strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}
.roadmap-detail p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}
.roadmap-detail.is-changing {
  animation: panelSwitch .28s ease;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.count-up {
  font-variant-numeric: tabular-nums;
}
.footer {
  width: 100%;
  margin: 0;
  padding:
    3rem max(1rem, calc((100vw - 1280px) / 2))
    calc(3rem + env(safe-area-inset-bottom));
  background: var(--navy-dark);
  color: white;
  border: 1px solid rgba(255,255,255,.12);
}
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.footer-mark { background: rgba(255,255,255,.08); }
.footer-title { font-family: "Space Grotesk", sans-serif; font-size: 1.2rem; margin-bottom: .5rem; }
.footer p { color: rgba(255,255,255,.85); max-width: 70ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-family: "JetBrains Mono", monospace; font-size: .75rem; }
.footer-links a { color: white; }
.footer-note { margin-top: 1rem; color: rgba(255,255,255,.72); }

.mobile-dock {
  display: none;
}

.floating-banner {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 25;
  display: flex; gap: .75rem; align-items: flex-start;
  max-width: 320px; padding: .9rem; background: white; border: 1px solid rgba(16,25,79,.12); box-shadow: var(--shadow);
  border-radius: 18px;
}
.pulse { width: 10px; height: 10px; margin-top: .35rem; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; flex: 0 0 auto; }
.floating-banner p { margin: .25rem 0 0; font-size: .78rem; color: var(--navy-dark); }
.link-button { margin-top: .3rem; padding: 0; border: 0; background: transparent; color: var(--navy); text-decoration: underline; cursor: pointer; font-family: "JetBrains Mono", monospace; font-size: .7rem; }
.link-button:focus-visible { color: var(--red); }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center;
  background: rgba(11,18,32,.72); backdrop-filter: blur(8px); padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: min(860px, 100%); max-height: 90vh; overflow: auto; background: white; border: 2px solid var(--navy); box-shadow: 0 25px 50px rgba(0,0,0,.35);
  border-radius: 22px;
}
.modal:focus-visible { outline: none; }
.modal-head, .modal-body, .modal-footer { padding: 1.5rem; }
.modal-head { border-bottom: 2px solid var(--red); }
.modal-head h2 { margin: .4rem 0 0; color: var(--navy); }
.modal-body { display: grid; gap: 1rem; }
.lead-box { background: #f8fafc; border-left: 4px solid var(--navy); padding: 1rem; margin: 0; color: var(--navy-dark); }
.modal-section h3 { margin: 0 0 .35rem; font-size: .92rem; color: var(--navy); }
.modal-section p { margin: 0; font-size: .92rem; }
.modal-footer {
  border-top: 1px solid rgba(16,25,79,.08); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.modal-footer span { font-family: "JetBrains Mono", monospace; font-size: .72rem; color: var(--steel); }
.muted { color: rgba(255,255,255,.85); }

@keyframes pulse { 50% { opacity: .45; transform: scale(.85); } }
@keyframes consolePulse {
  50% { transform: scale(.82); box-shadow: 0 0 0 4px rgba(34,197,94,.1); }
}
@keyframes heroSweep {
  0%, 100% { opacity: .32; transform: translateX(-10%); }
  50% { opacity: .68; transform: translateX(9%); }
}
@keyframes termShift {
  0% { opacity: .35; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes panelSwitch {
  0% { opacity: .45; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .hero, .flow-grid, .stats-grid, .stats-grid.four, .cards-grid.two, .policy-grid, .knowledge-grid, .module-stack, .registry-shell, .roadmap-grid, .land-grid, .component-grid, .decision-grid, .proof-strip, .stakeholder-lens { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: none; }
  .passport dl { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.35rem, 8vw, 3rem); }
  .section-header h2 { font-size: clamp(1.7rem, 5.8vw, 2.15rem); }
  .console-feed { grid-template-columns: 1fr; }
  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .proof-strip div:last-child { border-bottom: 0; }
  .hero {
    min-height: auto;
    padding-top: 5rem;
    background-position: 58% center;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
  .topnav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .15rem;
  }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
@media (max-width: 640px) {
  .topbar {
    padding-inline: .75rem;
    gap: .5rem;
  }
  .brand-subtitle,
  .prototype-strip,
  .floating-banner,
  .footer-links,
  .footer-note {
    display: none;
  }
  .topnav {
    display: none;
  }
  .hero, .section {
    width: min(1280px, calc(100% - .75rem));
    padding: .85rem;
    border-radius: 20px;
  }
  .hero {
    padding-top: 2.6rem;
    padding-bottom: 1rem;
    gap: .75rem;
  }
  .hero-panel {
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  .hero-panel .status-card {
    min-height: auto;
    padding: .85rem;
  }
  .hero-stat strong {
    font-size: 1.3rem;
  }
  .hero-stat p {
    font-size: .76rem;
    line-height: 1.42;
  }
  .hero-panel .status-card:nth-child(n + 3),
  .proof-strip,
  #policy,
  #newtowns,
  #offtake,
  #traceability,
  #trades-economy,
  #energy,
  #capital,
  #roadmap,
  #modules,
  #faq {
    display: none;
  }
  .hero .status-line,
  .executive-deck,
  .orchestration-console {
    display: none;
  }
  .hero .lede {
    margin-top: .6rem;
    font-size: .95rem;
    max-width: 30ch;
  }
  .hero-copy .cta-row {
    margin-top: 1rem;
  }
  .cta-row {
    flex-direction: column;
    margin-top: 1rem;
    gap: .6rem;
  }
  .cta-row .button,
  .button {
    width: 100%;
    justify-content: center;
  }
  .cta-row .button {
    flex: 1 1 100%;
    min-height: 48px;
  }
  .section-header {
    padding-left: .9rem;
  }
  main { width: 100%; }
  .hero-copy h1 {
    font-size: 1.72rem;
    line-height: 1.04;
    max-width: 11ch;
  }
  .section-header h2 { font-size: 1.34rem; }
  .section-header p,
  .lede,
  .status-line {
    font-size: .9rem;
  }
  .executive-section { margin: .5rem auto; }
  .rotating-term { white-space: normal; }
  .lens-tabs button:hover,
  .lens-tabs button.active {
    transform: translateY(-1px);
  }
  .modal {
    max-height: 88vh;
    border-radius: 18px;
  }
  .modal-head,
  .modal-body,
  .modal-footer {
    padding: 1.1rem;
  }
  .mobile-dock {
    position: fixed;
    left: .35rem;
    right: .35rem;
    bottom: calc(.35rem + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .3rem;
    padding: .3rem;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(16,25,79,.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .mobile-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: .5rem .35rem;
    border-radius: 12px;
    background: rgba(16,25,79,.04);
    color: var(--navy);
    font-family: "JetBrains Mono", monospace;
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .mobile-dock a:active {
    background: var(--navy);
    color: white;
  }
  main {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom));
  }
  #newtowns,
  #offtake,
  #traceability,
  #trades-economy,
  #energy,
  #capital,
  #roadmap,
  #faq {
    display: none;
  }
  .hero-panel .status-card:nth-child(n + 3) {
    display: none;
  }
  .search-input,
  .supply-filters,
  .topbar .concept-badge {
    display: none;
  }
  .component-grid {
    grid-template-columns: 1fr;
  }
  .component-card:nth-child(n + 4) {
    display: none;
  }
  .proof-strip,
  .decision-grid,
  .policy-grid,
  .land-grid,
  .component-grid,
  .registry-shell,
  .stakeholder-lens {
    gap: .75rem;
  }
  .section {
    margin: .7rem auto;
  }
  .section-header {
    margin-bottom: 1rem;
  }
  .section-header p,
  .lede,
  .status-line {
    font-size: .9rem;
  }
  .check-list li,
  .component-card,
  .decision-card,
  .info-card,
  .metric,
  .status-card,
  .notice,
  .callout {
    padding: .9rem;
    border-radius: 16px;
  }
  .registry-form {
    padding: .9rem;
  }
  .footer {
    padding: 1.4rem .85rem calc(6rem + env(safe-area-inset-bottom));
  }
  .footer-brand {
    margin-bottom: .5rem;
  }
  .footer p {
    margin-top: .35rem;
    font-size: .9rem;
    max-width: 32ch;
  }
}

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