/* =========================================================================
   OMNILINK LANDING — Doc 0.3.14 Interface Template
   Aesthetic: 2Advanced FUI — cinematic command deck
   ========================================================================= */

:root {
  --omni-bg-base:      #0a0f1c;
  --omni-bg-deep:      #05080f;
  --omni-bg-panel:     rgba(15, 23, 42, 0.55);
  --omni-border:       rgba(255, 255, 255, 0.06);
  --omni-border-hot:   rgba(6, 182, 212, 0.35);
  --omni-border-mid:   rgba(255, 255, 255, 0.12);
  --omni-text:         #F9FAFB;
  --omni-text-muted:   #94A3B8;
  --omni-text-dim:     #64748B;
  --omni-cyan:         #06B6D4;
  --omni-cyan-glow:    #22D3EE;
  --omni-gold:         #F59E0B;
  --omni-red:          #EF4444;
  --omni-green:        #10B981;

  --d-landlink:       #F59E0B;
  --d-treelink:       #10B981;
  --d-aglink:         #F97316;
  --d-energylink:     #06B6D4;
  --d-minelink:       #8B5CF6;
  --d-aqualink:       #3B82F6;
  --d-transportlink:  #14B8A6;
  --d-defenselink:    #EF4444;
  --d-constructlink:  #D97706;
  --d-agilink:        #7C3AED;
  --d-healthlink:     #059669;
  --d-venturelink:    #EC4899;

  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--omni-bg-base);
  color: var(--omni-text);
  overflow-x: hidden;
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}

/* Cinematic void */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 100%, rgba(124, 58, 237, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 90%,  rgba(245, 158, 11, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
  opacity: 0.5;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 3; }

/* ============================  SYSTEM TICKER  ============================ */
.sys-ticker {
  position: relative;
  z-index: 10;
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--omni-border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--omni-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  white-space: nowrap;
}
.sys-ticker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--omni-green);
  box-shadow: 0 0 8px var(--omni-green);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.sys-ticker .sep { color: var(--omni-border-mid); }
.sys-ticker .hot { color: var(--omni-cyan-glow); }
.sys-ticker .ok  { color: var(--omni-green); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* ==============================  NAV  ==================================== */
.nav {
  position: sticky; top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 15, 0.7);
  border-bottom: 1px solid var(--omni-border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand .shield {
  width: 34px; height: 34px;
  filter: drop-shadow(0 0 8px rgba(245,158,11,0.45));
}
.nav-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 800; font-size: 18px;
  letter-spacing: 0.25em; line-height: 1;
}
.nav-brand .sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--omni-gold);
  letter-spacing: 0.3em;
  margin-top: 3px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--omni-text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:hover { color: var(--omni-cyan-glow); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--omni-cyan);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.btn {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 10px 20px;
  background: transparent;
  color: var(--omni-text);
  border: 1px solid var(--omni-border-mid);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  border-color: var(--omni-cyan);
  color: var(--omni-cyan-glow);
  box-shadow: 0 0 20px rgba(6,182,212,0.15), inset 0 0 20px rgba(6,182,212,0.06);
}
.btn.primary {
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(6,182,212,0.03));
  border-color: var(--omni-cyan);
  color: var(--omni-cyan-glow);
}
.btn.primary:hover {
  background: linear-gradient(135deg, rgba(6,182,212,0.28), rgba(6,182,212,0.08));
  box-shadow: 0 0 24px rgba(6,182,212,0.35);
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================  HERO  ===================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  padding: 60px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--omni-border-hot);
  background: rgba(6,182,212,0.06);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--omni-cyan-glow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 28px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.hero-tag .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--omni-cyan);
  box-shadow: 0 0 8px var(--omni-cyan);
  animation: pulse 1.5s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.2vw, 82px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero h1 .line1 { display: block; color: var(--omni-text); }
.hero h1 .line2 {
  display: block;
  background: linear-gradient(110deg, var(--omni-cyan-glow) 0%, var(--omni-cyan) 40%, #0891B2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(6,182,212,0.25));
}

.hero-lede {
  font-size: 17px; line-height: 1.65;
  color: var(--omni-text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-lede strong { color: var(--omni-text); font-weight: 600; }

.hero-ctas { display: flex; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--omni-border);
  padding-top: 28px;
  max-width: 640px;
}
.hero-stat {
  padding: 0 16px;
  border-right: 1px solid var(--omni-border);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--omni-text);
  margin-bottom: 6px;
}
.hero-stat .val .accent { color: var(--omni-cyan-glow); }
.hero-stat .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--omni-text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================  HERO VISUAL  ============================== */
.hero-visual {
  position: relative;
  z-index: 2;
  aspect-ratio: 1/1;
  max-width: 680px;
  margin-left: auto;
}
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }

/* ============================  COVENANT STRIP  =========================== */
.covenant {
  position: relative;
  padding: 80px 32px;
  border-top: 1px solid var(--omni-border);
  border-bottom: 1px solid var(--omni-border);
  overflow: hidden;
  text-align: center;
}
.covenant::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(6,182,212,0.03), transparent);
}
.covenant-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
}
.covenant-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--omni-cyan);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.covenant-triptych {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: center;
}
.covenant-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  padding: 0 24px;
  position: relative;
}
.covenant-line:nth-child(1) { color: var(--omni-text); text-align: right; border-right: 1px solid var(--omni-border-mid); }
.covenant-line:nth-child(2) {
  color: var(--omni-cyan-glow);
  font-weight: 500; text-align: center;
  font-style: italic;
  border-right: 1px solid var(--omni-border-mid);
  text-shadow: 0 0 30px rgba(6,182,212,0.3);
}
.covenant-line:nth-child(3) { color: var(--omni-gold); font-weight: 600; text-align: left; }
.covenant-scripture {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--omni-text-dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 40px;
}

/* ============================  SECTIONS  ================================ */
.section {
  padding: 100px 48px;
  max-width: 1600px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--omni-cyan);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-kicker::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--omni-cyan);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--omni-text);
}
.section-title .hl { color: var(--omni-cyan-glow); font-weight: 300; font-style: italic; }
.section-intro {
  font-size: 15px;
  color: var(--omni-text-muted);
  line-height: 1.7;
  max-width: 560px;
  padding-bottom: 8px;
}

/* DIVISION GRID */
.div-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--omni-border);
  border: 1px solid var(--omni-border);
}
.div-tile {
  --color: var(--omni-cyan);
  background: var(--omni-bg-deep);
  padding: 28px 24px 26px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.div-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color) 8%, transparent) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.div-tile::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.div-tile:hover { background: rgba(15, 23, 42, 0.9); }
.div-tile:hover::before { opacity: 1; }
.div-tile:hover::after { transform: scaleY(1); }

.div-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.div-shield {
  width: 36px; height: 40px;
  color: var(--color);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--color) 40%, transparent));
}
.div-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--omni-text-dim);
  letter-spacing: 0.2em;
}
.div-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--omni-text);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.div-tile:hover .div-name { color: var(--color); }
.div-domain {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--omni-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.div-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.div-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--omni-green);
}
.div-status .s-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.div-agent { color: var(--omni-text-dim); }

/* ============================  COUNCIL  ================================== */
.council {
  padding: 100px 48px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}
.council-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.arch-card {
  background: var(--omni-bg-panel);
  backdrop-filter: blur(8px);
  border: 1px solid var(--omni-border);
  padding: 32px 18px 24px;
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.65, 0, 0.35, 1);
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.arch-card:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--omni-border-hot);
  transform: translateY(-4px);
}
.arch-sigil {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.arch-sigil svg {
  width: 100%; height: 100%;
  color: var(--arch-color, var(--omni-cyan));
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--arch-color, var(--omni-cyan)) 45%, transparent));
}
.arch-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
  color: var(--omni-text);
}
.arch-role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--arch-color, var(--omni-cyan));
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.arch-domain {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--omni-text-muted);
  line-height: 1.5;
}
.arch-status {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--omni-green);
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.arch-status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--omni-green);
  box-shadow: 0 0 6px var(--omni-green);
  animation: pulse 2s ease-in-out infinite;
}

/* ============================  CTA BLOCK  ================================ */
.cta-block {
  padding: 120px 48px;
  text-align: center;
  border-top: 1px solid var(--omni-border);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(6,182,212,0.08), transparent 70%);
}
.cta-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-title .em { color: var(--omni-cyan-glow); font-style: italic; font-weight: 400; }
.cta-sub {
  font-size: 16px;
  color: var(--omni-text-muted);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 40px;
}
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================  FOOTER  =================================== */
footer {
  border-top: 1px solid var(--omni-border);
  background: var(--omni-bg-deep);
  padding: 56px 48px 40px;
}
.foot-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--omni-border);
}
.foot-brand .wm {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.foot-brand p {
  font-size: 13.5px;
  color: var(--omni-text-muted);
  line-height: 1.7;
  max-width: 380px;
}
.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--omni-cyan);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a {
  font-size: 13px;
  color: var(--omni-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: var(--font-body);
}
.foot-col a:hover { color: var(--omni-cyan-glow); }
.foot-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--omni-text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-bottom .validation {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--omni-green);
}
.foot-bottom .validation::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--omni-green);
  box-shadow: 0 0 8px var(--omni-green);
}

/* ============================  REVEAL ANIMS  ============================= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag    { animation: fade-up 0.7s 0.05s both; }
.hero h1     { animation: fade-up 0.9s 0.15s both; }
.hero-lede   { animation: fade-up 0.9s 0.3s both; }
.hero-ctas   { animation: fade-up 0.9s 0.45s both; }
.hero-stats  { animation: fade-up 0.9s 0.6s both; }
.hero-visual { animation: fade-up 1.2s 0.35s both; }

/* ============================  RESPONSIVE  =============================== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 32px 64px; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .section-head { grid-template-columns: 1fr; }
  .div-grid { grid-template-columns: repeat(3, 1fr); }
  .council-grid { grid-template-columns: repeat(3, 1fr); }
  .covenant-triptych { grid-template-columns: 1fr; gap: 24px; }
  .covenant-line { padding: 16px 0 !important; border: none !important; text-align: center !important; border-bottom: 1px solid var(--omni-border-mid) !important; }
  .covenant-line:last-child { border-bottom: none !important; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { padding: 32px 20px 48px; }
  .hero h1 { font-size: 44px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .hero-stat:nth-child(2) { border-right: none; }
  .section { padding: 64px 20px; }
  .div-grid { grid-template-columns: repeat(2, 1fr); }
  .council-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .council { padding: 64px 20px; }
  .cta-block { padding: 72px 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; padding: 32px 20px 0; }
  footer { padding: 48px 0 32px; }
  .sys-ticker { font-size: 9.5px; padding: 8px 16px; gap: 14px; }
}

/* =========================================================================
   CINEMA ROTATION LAYER  —  ported from approved index-cinema-v25
   Sits behind the hero, right under the nav. Auto-cycles all 13 atmospheres
   with crossfade + Ken Burns motion. Vignette + scanlines preserve readability.
   ========================================================================= */
.cinema {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.cinema-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(.4,0,.2,1);
  will-change: opacity;
}
.cinema-slide.active { opacity: 0.85; }
.cinema-slide .cinema-img {
  position: absolute;
  inset: -5%;
  transform: scale(1.05);
  animation: kenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.05) translate( 0%,  0%); }
  100% { transform: scale(1.18) translate(-2.5%, -2%); }
}
.cinema-motif {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}
.cinema::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at center, transparent 0%, rgba(2,3,6,0.55) 70%, rgba(2,3,6,0.92) 100%),
    linear-gradient(180deg, rgba(2,3,6,0.35) 0%, rgba(2,3,6,0.20) 40%, rgba(2,3,6,0.95) 100%);
  pointer-events: none;
  z-index: 2;
}
.cinema::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(0,0,0,0.6) 2px, rgba(0,0,0,0.6) 4px);
  pointer-events: none;
  z-index: 3;
}

/* Per-division atmospheric compositions — real photographs + color tint */
.cinema-slide[data-division="default"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(34,211,238,0.30), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(11,20,40,0.55) 100%);
}
.cinema-slide[data-division="landlink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(245,158,11,0.40), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(26,18,5,0.65) 100%);
}
.cinema-slide[data-division="treelink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(16,185,129,0.40), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(5,32,22,0.60) 100%);
}
.cinema-slide[data-division="aglink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(249,115,22,0.40), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(26,10,4,0.60) 100%);
}
.cinema-slide[data-division="energylink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(6,182,212,0.40), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(3,20,24,0.60) 100%);
}
.cinema-slide[data-division="minelink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(139,92,246,0.42), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(20,8,32,0.60) 100%);
}
.cinema-slide[data-division="aqualink"] .cinema-img {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(59,130,246,0.40), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(3,13,29,0.55) 100%);
}
.cinema-slide[data-division="transportlink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(20,184,166,0.40), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(4,24,20,0.60) 100%);
}
.cinema-slide[data-division="defenselink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(239,68,68,0.42), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(26,6,6,0.60) 100%);
}
.cinema-slide[data-division="constructlink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(217,119,6,0.42), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(26,14,4,0.60) 100%);
}
.cinema-slide[data-division="agilink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(124,58,237,0.42), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(16,5,32,0.60) 100%);
}
.cinema-slide[data-division="healthlink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(5,150,105,0.40), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(4,26,16,0.60) 100%);
}
.cinema-slide[data-division="venturelink"] .cinema-img {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(236,72,153,0.42), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(23,6,18,0.60) 100%);
}

/* Make sure hero floats above the cinema */
.hero { z-index: 4; }
.hero-content,
.hero-visual { position: relative; z-index: 5; }


/* =========================================================================
   HERO DIVISION-STATE — swap mechanism (migrated from v25 cinema-v3 pattern)
   ========================================================================= */
.hero-content { min-height: 460px; position: relative; }

.hero-default,
.hero-division {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-default { opacity: 1; transform: translateY(0); position: relative; z-index: 2; }
.hero-division {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 1;
}
.hero-content.division-selected .hero-default {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}
.hero-content.division-selected .hero-division {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.division-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--omni-cyan);
  background: rgba(6,182,212,0.10);
  color: var(--omni-cyan-glow);
  margin-bottom: 22px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: color 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.division-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  transition: color 0.4s ease;
}
.division-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--omni-text-muted);
  margin-bottom: 22px;
}
.division-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--omni-cyan);
  box-shadow: 0 0 10px currentColor;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.division-agent {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--omni-border-mid);
  color: var(--omni-text-dim);
}
.division-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--omni-text-muted);
  max-width: 520px;
  margin-bottom: 28px;
}
.division-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  max-width: 520px;
}
.metric {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--omni-border);
  padding: 14px 16px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: border-color 0.4s ease;
}
.metric-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--omni-cyan-glow);
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--omni-text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.division-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-back {
  background: transparent;
  border: 1px solid var(--omni-border-mid);
  color: var(--omni-text-muted);
  cursor: pointer;
  font-family: var(--font-mono);
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.btn-back:hover {
  border-color: var(--omni-cyan);
  color: var(--omni-cyan-glow);
}

/* Active node halo + line styling */

/* =========================================================================
   V25 WHEEL SYSTEM  —  big circular nodes around prominent OMNI/LINK hub
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

.hero-wheel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
  width: 100%;
}
.wheel-wrapper {
  position: relative;
  width: min(560px, 92vw);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 50px rgba(245,158,11,0.20));
}
.wheel-svg { width: 100%; height: 100%; overflow: visible; }

.division-node {
  cursor: pointer;
  /* No transform on the group itself anymore — visual feedback is delivered
     by the .node-pulse ring expanding outward. Keeps the geometry stable. */
}
.division-node .node-halo { transition: opacity 0.45s ease; }
.connection-line { transition: stroke 0.5s ease, stroke-width 0.5s ease, opacity 0.5s ease; }

/* =========================================================================
   ASYMMETRIC PHOTO MASK  (v25 pattern)
   Photo is bright on the right (where the wheel sits), fades to dark on the
   left (where text lives). Replaces the radial vignette.
   ========================================================================= */
.cinema-slide.active { opacity: 0.92; }
.cinema-slide .cinema-img {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: kenBurns 32s ease-in-out infinite alternate;
  will-change: transform;
}
/* Asymmetric darkening: heavy on left (where text lives), light on right (where wheel sings).
   Replaces the broken mask-composite approach. */
.cinema::after {
  background:
    linear-gradient(to right,
      rgba(2,4,10,0.92) 0%,
      rgba(2,4,10,0.78) 22%,
      rgba(2,4,10,0.45) 42%,
      rgba(2,4,10,0.20) 62%,
      rgba(2,4,10,0.10) 100%),
    linear-gradient(to bottom,
      rgba(2,4,10,0.30) 0%,
      transparent 14%,
      transparent 84%,
      rgba(2,4,10,0.55) 100%);
}

@keyframes kenBurns {
  0%   { transform: scale(1.05) translate( 0%,  0%); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

/* =========================================================================
   HERO TYPOGRAPHY UPGRADE  —  Oswald for all titles (matches v25)
   ========================================================================= */
.hero h1 {
  font-family: 'Oswald', 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.05;
  text-shadow: 0 2px 30px rgba(0,0,0,0.65);
}
.hero h1 .line2 { letter-spacing: 1px; }
.hero-lede { text-shadow: 0 1px 20px rgba(0,0,0,0.7); }

.division-title {
  font-family: 'Oswald', 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(54px, 6.2vw, 80px) !important;
  letter-spacing: 3px !important;
  line-height: 1 !important;
  text-shadow: 0 2px 30px rgba(0,0,0,0.7);
}
.division-label { font-family: 'Oswald', 'Outfit', sans-serif; font-weight: 500; letter-spacing: 4px !important; }

/* Make hero strong/visible against bright photos */
.hero-stat .val { text-shadow: 0 1px 16px rgba(0,0,0,0.65); }
.metric { background: rgba(8, 12, 24, 0.78); }

/* Primary button: gold gradient (matches v25 .btn-primary) */
.btn.primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-color: #F59E0B;
  color: #0a0f1c;
  font-weight: 700;
}
.btn.primary:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 4px 24px rgba(245,158,11,0.45);
  color: #0a0f1c;
}

/* Hero grid: equal columns so wheel has room to breathe */
.hero { grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1500px; }
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .wheel-wrapper { width: min(440px, 90vw); }
}

/* =========================================================================
   CINEMA INDICATOR STRIP  —  live readout under the nav
   ========================================================================= */
.cinema-indicator {
  position: relative;
  z-index: 15;
  background: rgba(6, 8, 15, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--omni-border);
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--omni-text-muted);
}
.cinema-indicator .ci-label { color: var(--omni-text-dim); margin-right: 10px; }
.cinema-indicator .ci-current {
  color: var(--ci-color, var(--omni-cyan-glow));
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.6s ease;
}
.cinema-indicator .ci-current::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--ci-color, var(--omni-cyan));
  box-shadow: 0 0 10px var(--ci-color, var(--omni-cyan));
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
  transition: background 0.6s ease, box-shadow 0.6s ease;
}
.cinema-indicator .ci-pips { display: flex; gap: 6px; }
.cinema-indicator .ci-pip {
  width: 18px; height: 2px;
  background: rgba(255,255,255,0.15);
  transition: background 0.4s ease;
}
.cinema-indicator .ci-pip.active { background: var(--ci-color, var(--omni-cyan-glow)); }





@media (max-width: 720px) {
  
  
  .cinema-indicator { padding: 8px 16px; font-size: 9px; gap: 12px; }
  .cinema-indicator .ci-pips { display: none; }
}

/* =========================================================================
   WHEEL-BACKDROP PHOTO LAYER  —  merged from hero-slider v20
   Full-width photographic environment sitting INSIDE the hero section.
   Asymmetric mask: dark on the left (copy), full-strength on the right (wheel).
   Sits BELOW .hero-content/.hero-visual (z-index 5) and ABOVE the cinema layer.
   Only active when a division is selected — default state stays purely cinematic.
   ========================================================================= */
.wheel-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.wheel-photo {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: 75% center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 18%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0.9) 58%, #000 75%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 18%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0.9) 58%, #000 75%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.wheel-photo.active {
  opacity: 0.55;
  animation: photoBreathe 36s ease-in-out infinite alternate;
}
@media (max-width: 900px) { .wheel-photo.active { opacity: 0.35; } }
@keyframes photoBreathe {
  0%   { transform: scale(1.03) translate( 0.5%,  0%); }
  100% { transform: scale(1.10) translate(-1.2%, -0.8%); }
}
/* Per-division focal positioning */
.wheel-photo[data-division="landlink"]      { background-position: 55% center; }
.wheel-photo[data-division="treelink"]      { background-position: 78% center; }
.wheel-photo[data-division="aglink"]        { background-position: 50% center; }
.wheel-photo[data-division="energylink"]    { background-position: 35% center; }
.wheel-photo[data-division="minelink"]      { background-position: 50% center; }
.wheel-photo[data-division="aqualink"]      { background-position: 50% center; }
.wheel-photo[data-division="transportlink"] { background-position: 50% center; }
.wheel-photo[data-division="defenselink"]   { background-position: 50% center; }
.wheel-photo[data-division="constructlink"] { background-position: 80% center; }
.wheel-photo[data-division="agilink"]       { background-position: 50% center; }
.wheel-photo[data-division="healthlink"]    { background-position: 58% center; }
.wheel-photo[data-division="venturelink"]   { background-position: 45% center; }

/* =========================================================================
   AGLINK DIVISION OVERLAY — anchored ear tag, transmission beam, vitals HUD
   ========================================================================= */
.aglink-photo { background-image: none !important; display: block; }
.aglink-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% center;
  display: block;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(.4,0,.2,1);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 18%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0.9) 58%, #000 75%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 18%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0.9) 58%, #000 75%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.aglink-photo.active .aglink-img {
  opacity: 0.55;
  animation: photoBreathe 36s ease-in-out infinite alternate;
}
@media (max-width: 900px) { .aglink-photo.active .aglink-img { opacity: 0.35; } }

.aglink-anchors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
  transition-delay: 0.2s;
}
.aglink-photo.active .aglink-anchors { opacity: 1; transition-delay: 0.8s; }

/* Ear tag anchor — percentage-positioned against the image */
.ag-anchor-eartag {
  position: absolute;
  left: 39%; top: 35%;
  width: 6%; max-width: 78px; min-width: 48px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 12px rgba(249,115,22,0.45));
}
.ag-eartag-svg { width: 100%; height: auto; display: block; }
.ag-eartag-led-v8 {
  fill: #F97316;
  filter: drop-shadow(0 0 2px #F97316);
  animation: agLedPulseV8 1.4s ease-in-out infinite;
}
@keyframes agLedPulseV8 {
  0%, 100% { opacity: 0.5; r: 0.9; }
  50%      { opacity: 1;   r: 1.3; }
}

/* Transmission beam */
.ag-beam-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ag-beam-v8 {
  stroke: #F97316;
  stroke-width: 0.35;
  stroke-dasharray: 1.2 1.8;
  fill: none;
  filter: drop-shadow(0 0 1.5px #F97316);
  animation: agBeamFlowV8 1.5s linear infinite;
  opacity: 0.85;
}
@keyframes agBeamFlowV8 { to { stroke-dashoffset: -6; } }

/* Drone rings */
.ag-anchor-drone {
  position: absolute;
  left: 50%; top: 17%;
  width: 8%; max-width: 96px; min-width: 56px;
  transform: translate(-50%, -50%);
}
.ag-anchor-drone svg { width: 100%; height: auto; display: block; }
.ag-drone-ring-v8 {
  fill: none;
  stroke: #F97316;
  stroke-width: 0.5;
  opacity: 0;
  animation: agRingPulseV8 1.6s ease-out infinite;
  transform-origin: center;
}
@keyframes agRingPulseV8 {
  0%   { r: 4;  opacity: 0.9; }
  100% { r: 18; opacity: 0;   }
}

/* Vitals HUD panel */
.ag-anchor-hud {
  position: absolute;
  left: 22%; top: 30%;
  margin-top: -50px;
  width: 24%; max-width: 260px; min-width: 170px;
  transform: translate(-50%, -50%) scale(0.9);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
  font-family: 'JetBrains Mono', monospace;
  pointer-events: none;
}
.aglink-photo.active .ag-anchor-hud {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 1s;
}
.ag-hud-panel {
  background: linear-gradient(180deg, rgba(12,18,32,0.92) 0%, rgba(12,18,32,0.80) 100%);
  border: 1px solid rgba(249,115,22,0.35);
  border-radius: 4px;
  padding: 10px 14px;
  min-width: 180px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  box-shadow: 0 0 24px rgba(249,115,22,0.12), 0 4px 20px rgba(0,0,0,0.4);
}
.ag-hud-panel::before, .ag-hud-panel::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid #F97316;
}
.ag-hud-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.ag-hud-panel::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.ag-hud-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.ag-hud-header { margin-bottom: 2px; }
.ag-hud-label { font-size: 9px; letter-spacing: 1.2px; color: #9CA3AF; text-transform: uppercase; }
.ag-hud-live { font-size: 9px; color: #10B981; letter-spacing: 0.5px; }
.ag-hud-id { font-size: 16px; font-weight: 700; color: #F9FAFB; letter-spacing: 1px; }
.ag-hud-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 8px 0; }
.ag-hud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ag-hud-cell { display: flex; flex-direction: column; gap: 2px; }
.ag-hud-value { font-size: 15px; font-weight: 700; color: #F9FAFB; line-height: 1; }
.ag-hud-unit { font-size: 9px; color: #9CA3AF; font-weight: 400; margin-left: 3px; }
.ag-bpm-v8 { animation: agBpmTickV8 0.9s ease-in-out infinite; }
@keyframes agBpmTickV8 {
  0%, 100% { color: #F9FAFB; }
  50%      { color: #F97316; }
}
.ag-hud-footer { justify-content: flex-end; margin-bottom: 0; margin-top: 4px; }
.ag-hud-token { font-size: 10px; color: #F97316; font-weight: 700; letter-spacing: 1.5px; }

/* Mobile: relocate HUD so it doesn't overlap wheel or cow */
@media (max-width: 900px) {
  .ag-anchor-hud {
    left: 4%; top: auto; bottom: 8%;
    transform: scale(0.78);
    transform-origin: bottom left;
    width: 56%; max-width: 220px;
  }
  .aglink-photo.active .ag-anchor-hud { transform: scale(0.78); }
  .ag-hud-panel { min-width: 150px; padding: 8px 12px; }
}

/* Ensure wheel-backdrop sits below the hero copy + wheel SVG */
.hero-content { z-index: 5; }
.hero-visual  { z-index: 5; }


/* =========================================================================
   MOBILE NAVIGATION TOGGLE  —  hamburger + slide-down panel
   Hexagonal clip-path to match the .hero-tag / shield aesthetic.
   ========================================================================= */
.nav-toggle {
  display: none;               /* hidden on desktop */
  width: 44px; height: 44px;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid var(--omni-border-hot);
  color: var(--omni-cyan-glow);
  cursor: pointer;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  background: rgba(6, 182, 212, 0.14);
  border-color: var(--omni-cyan);
}
.nav-toggle .bars {
  width: 18px; height: 14px;
  position: relative;
  display: block;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after,
.nav-toggle .bars span {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.5);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s ease, top 0.3s ease;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span    { top: 6px; display: block; }
.nav-toggle .bars::after  { top: 12px; }

/* Open state: morph bars into an X */
.nav-toggle[aria-expanded="true"] .bars::before { top: 6px; transform: rotate(45deg);  }
.nav-toggle[aria-expanded="true"] .bars span    { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after  { top: 6px; transform: rotate(-45deg); }

/* Mobile breakpoint: show toggle, hide CTA buttons, convert nav-links into a slide panel. */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }  /* Sign In / Enter Command live in the panel instead */

  .nav-links {
    display: flex;              /* override the earlier `display: none` */
    position: fixed;
    top: 64px;                  /* sits directly under the nav bar */
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 20px;
    background: rgba(6, 8, 15, 0.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--omni-border-hot);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.6),
                0 0 60px rgba(6, 182, 212, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1),
                opacity 0.25s ease;
    z-index: 19;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--omni-text-muted);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  }
  .nav-links a:hover,
  .nav-links a:focus {
    color: var(--omni-cyan-glow);
    background: rgba(6, 182, 212, 0.04);
    border-left-color: var(--omni-cyan);
  }
  .nav-links a::after { display: none; }  /* underline hover not needed on mobile */

  /* Mobile CTAs rendered inside the panel */
  .nav-links .nav-cta-mobile {
    display: flex; flex-direction: column; gap: 10px;
    padding: 16px 24px 8px;
    border-top: 1px solid var(--omni-border);
    margin-top: 8px;
  }
  .nav-links .nav-cta-mobile .btn { justify-content: center; }
}

@media (max-width: 720px) {
  .nav-links { top: 60px; }  /* nav is slightly shorter */
}

/* Body-lock when panel is open so page doesn't scroll behind */
body.nav-open { overflow: hidden; }

/* =========================================================================
   TIER 2 — V9-TREELINK CHROME INTEGRATION
   Loading screen, topbar, nav lockup, Genesis tier section, Canton certs
   ========================================================================= */

/* ── Body lock during loading ──────────────────────────────────────────── */
body.loading { overflow: hidden; }

/* ── LOADING SCREEN ────────────────────────────────────────────────────── */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #020306 0%, #0a1220 50%, #020306 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loading-screen.fade-out { opacity: 0; visibility: hidden; }
.loading-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.loading-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.loading-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, rgba(245,158,11,0.05) 40%, transparent 70%);
  animation: loadPulse1 4s ease-in-out infinite, waveIn 1.0s ease-out 1.3s both;
}
.loading-glow-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, rgba(245,158,11,0.04) 50%, transparent 70%);
  animation: loadPulse2 3s ease-in-out infinite, waveIn 0.8s ease-out 1.1s both;
  animation-delay: 0.5s, 1.1s;
}
.loading-glow-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(251,191,36,0.10) 0%, transparent 60%);
  animation: loadPulse3 2.5s ease-in-out infinite, waveIn 0.7s ease-out 0.9s both;
  animation-delay: 1s, 0.9s;
}
@keyframes loadPulse1 { 0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } }
@keyframes loadPulse2 { 0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.15); } }
@keyframes loadPulse3 { 0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); } }

.loading-rays {
  position: absolute;
  top: 50%; left: 50%;
  width: 400px; height: 400px;
  transform: translate(-50%, -50%);
  animation: rotateRays 30s linear infinite, waveIn 0.8s ease-out 1.4s both;
  opacity: 0.25;
}
@keyframes rotateRays {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.loading-shield {
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 0 30px rgba(245,158,11,0.4));
}
@keyframes shimmer       { 0% { stop-color: #B45309; } 25% { stop-color: #F59E0B; } 50% { stop-color: #FFD700; } 75% { stop-color: #FBBF24; } 100% { stop-color: #B45309; } }
@keyframes shimmerOffset { 0% { stop-color: #FFD700; } 25% { stop-color: #FBBF24; } 50% { stop-color: #B45309; } 75% { stop-color: #F59E0B; } 100% { stop-color: #FFD700; } }
.shimmer-stop-1 { animation: shimmer 3s ease-in-out infinite; }
.shimmer-stop-2 { animation: shimmerOffset 3s ease-in-out infinite; animation-delay: 0.5s; }
.shimmer-stop-3 { animation: shimmer 3s ease-in-out infinite; animation-delay: 1s; }
.shimmer-stop-4 { animation: shimmerOffset 3s ease-in-out infinite; animation-delay: 1.5s; }

@keyframes flameFlicker {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  25% { opacity: 0.9; transform: scaleY(0.98); }
  50% { opacity: 1; transform: scaleY(1.02); }
  75% { opacity: 0.95; transform: scaleY(0.99); }
}
.ls-flame { transform-origin: bottom center; animation: flameFlicker 1.5s ease-in-out infinite; }

@keyframes nodePulse {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(245,158,11,0.5)); }
  50%      { filter: drop-shadow(0 0 8px rgba(245,158,11,0.8)); }
}
@keyframes heptagonBreath { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes centerShimmer { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes waveIn { 0% { opacity: 0; } 100% { opacity: 1; } }

.loading-progress {
  position: absolute;
  bottom: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  animation: waveIn 0.5s ease-out 1.8s both;
}
.loading-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #F59E0B, #FFD700);
  border-radius: 2px;
  animation: loadProgress 2.5s ease-out forwards;
}
@keyframes loadProgress { 0% { width: 0%; } 100% { width: 100%; } }

.ls-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: #F59E0B;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}
@keyframes float1 { 0% { transform: translateY(0) translateX(0); opacity: 0; } 20% { opacity: 0.8; } 80% { opacity: 0.8; } 100% { transform: translateY(-150px) translateX(25px); opacity: 0; } }
@keyframes float2 { 0% { transform: translateY(0) translateX(0); opacity: 0; } 20% { opacity: 0.6; } 80% { opacity: 0.6; } 100% { transform: translateY(-130px) translateX(-30px); opacity: 0; } }
@keyframes float3 { 0% { transform: translateY(0) translateX(0); opacity: 0; } 20% { opacity: 0.7; } 80% { opacity: 0.7; } 100% { transform: translateY(-160px) translateX(15px); opacity: 0; } }
@keyframes float4 { 0% { transform: translateY(0) translateX(0); opacity: 0; } 20% { opacity: 0.5; } 80% { opacity: 0.5; } 100% { transform: translateY(-140px) translateX(-20px); opacity: 0; } }
.ls-p1 { top: 55%; left: 45%; animation: float1 5s ease-in-out infinite; }
.ls-p2 { top: 58%; left: 52%; animation: float2 6s ease-in-out infinite; animation-delay: 1s; }
.ls-p3 { top: 53%; left: 48%; animation: float3 5.5s ease-in-out infinite; animation-delay: 2s; }
.ls-p4 { top: 56%; left: 51%; animation: float4 6.5s ease-in-out infinite; animation-delay: 0.5s; }

/* ── TOPBAR ─────────────────────────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 11;
  background: #111827;
  padding: 10px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--omni-border);
  font-family: var(--font-body);
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  color: var(--omni-text-dim);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.social-link:hover { color: var(--omni-gold); }
.social-link svg { width: 14px; height: 14px; fill: currentColor; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--omni-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.topbar-item:hover { color: var(--omni-gold); }
.topbar-item svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }
@media (max-width: 768px) {
  .topbar { padding: 10px 24px; }
  .topbar-right { display: none; }
}

/* ── NAV LOCKUP: real horizontal corporate logo ─────────────────────────── */
.nav-brand-lockup {
  display: block;
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(245,158,11,0.35));
  transition: filter 0.3s ease;
}
.nav-brand:hover .nav-brand-lockup { filter: drop-shadow(0 0 20px rgba(245,158,11,0.55)); }
@media (max-width: 768px) { .nav-brand-lockup { height: 44px; } }

/* ── GENESIS FOUNDATION 5-TIER SECTION ──────────────────────────────────── */
.genesis-foundation {
  position: relative;
  z-index: 4;
  padding: 96px 48px;
  background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.04) 50%, transparent 100%);
  border-top: 1px solid var(--omni-border);
}
.genesis-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.genesis-text h2 {
  font-family: 'Oswald', var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.genesis-text p {
  font-size: 16px;
  color: var(--omni-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.genesis-text blockquote {
  margin: 28px 0 0 0;
  padding: 20px 28px;
  background: var(--omni-bg-panel);
  border-left: 3px solid var(--d-minelink);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--omni-text);
  font-family: 'Oswald', var(--font-display);
  letter-spacing: 0.5px;
  line-height: 1.55;
}
.genesis-tiers {
  background: var(--omni-bg-panel);
  border: 1px solid var(--omni-border);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(12px);
}
.tier-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--omni-border);
}
.tier-item:last-child { border-bottom: none; }
.tier-num {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--d-minelink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.tier-info h4 {
  font-family: 'Oswald', var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--omni-text);
}
.tier-info p {
  font-size: 13px;
  color: var(--omni-text-muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .genesis-content { grid-template-columns: 1fr; gap: 40px; }
  .genesis-foundation { padding: 64px 24px; }
}

/* ── CANTON NETWORK CERTIFICATIONS (footer) ─────────────────────────────── */
.canton-certifications {
  margin-top: 32px;
  padding: 24px 48px 0;
  border-top: 1px solid var(--omni-border);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.canton-cert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.canton-logo-svg { width: 28px; height: 28px; flex-shrink: 0; }
.canton-network-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--omni-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.canton-badges-row { display: flex; gap: 16px; flex-wrap: wrap; }
.canton-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--omni-border);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.canton-badge:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--omni-border-mid);
}
.canton-badge .badge-icon { width: 32px; height: 32px; flex-shrink: 0; }
.canton-badge .badge-icon svg { width: 100%; height: 100%; }
.canton-badge .badge-text { display: flex; flex-direction: column; gap: 2px; }
.canton-badge .badge-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--omni-text);
  font-family: var(--font-body);
}
.canton-badge .badge-course {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--omni-text-dim);
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .canton-certifications { padding: 24px 24px 0; }
}


/* =========================================================================
   DROPDOWN MENU SYSTEM
   Hover-reveal dropdowns. Divisions = mega-dropdown (3-col grid).
   Cyan accents matching the existing nav language.
   ========================================================================= */

/* Reset the OLD .nav-links rules — they were styled for plain <li><a> links
   and break the new dropdown structure. We override them with new behavior. */
.nav-links {
  display: flex !important;
  gap: 0 !important;
  list-style: none;
  align-items: stretch;
  margin: 0;
  padding: 0;
}
/* Cancel the inherited uppercase + cyan-underline behavior from old .nav-links a
   for elements INSIDE the dropdown panels — those need normal-case text */
.nav-links .dropdown a,
.nav-links .dropdown a:hover {
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-body);
  font-weight: normal;
  color: var(--omni-text);
}
.nav-links .dropdown a::after { display: none; }

/* Top-level nav item wrapper (relative for absolute dropdown positioning) */
.nav-links > .nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
  list-style: none;
}

/* Trigger label */
.nav-links .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 22px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--omni-text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links .nav-trigger:hover,
.nav-links .nav-item:hover .nav-trigger,
.nav-links .nav-item:focus-within .nav-trigger {
  color: var(--omni-cyan-glow);
}
/* Caret SVG — explicit size so it doesn't render at viewBox dimensions */
.nav-links .nav-trigger .caret {
  width: 9px;
  height: 9px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-links .nav-item:hover .nav-trigger .caret,
.nav-links .nav-item:focus-within .nav-trigger .caret {
  transform: rotate(180deg);
}
/* Animated cyan underline under each trigger */
.nav-links .nav-trigger::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--omni-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links .nav-item:hover .nav-trigger::after,
.nav-links .nav-item:focus-within .nav-trigger::after {
  transform: scaleX(1);
}

/* Dropdown panel — HIDDEN by default; reveals on parent :hover or :focus-within */
.nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: rgba(8, 12, 22, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--omni-border);
  border-top: 1px solid var(--omni-cyan);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 24px rgba(6, 182, 212, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1100;
  padding: 8px 0;
  pointer-events: none;
}
.nav-links .nav-item:hover .dropdown,
.nav-links .nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown header eyebrow (the small uppercase label inside the panel) */
.nav-links .dropdown .dropdown-eyebrow {
  display: block;
  padding: 8px 22px 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--omni-text-dim);
  border-bottom: 1px solid var(--omni-border);
  margin-bottom: 6px;
}

/* Standard single-column dropdown items */
.nav-links .dropdown .dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--omni-text);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: normal;
}
.nav-links .dropdown .dropdown-item:hover {
  background: rgba(6, 182, 212, 0.06);
  border-left-color: var(--omni-cyan);
}
.nav-links .dropdown .di-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--omni-text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-links .dropdown .di-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.nav-links .dropdown .dropdown-item:hover .di-icon { color: var(--omni-cyan-glow); }
.nav-links .dropdown .di-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nav-links .dropdown .di-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--omni-text);
  letter-spacing: 0.01em;
  font-family: var(--font-body);
  text-transform: none;
}
.nav-links .dropdown .di-desc {
  font-size: 11px;
  color: var(--omni-text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: none;
}

/* MEGA-DROPDOWN for Divisions: 3-col grid of all 12 */
.nav-links .dropdown.mega {
  min-width: 760px;
  left: auto;
  right: -160px;
  padding: 12px 8px;
}
.nav-links .dropdown.mega .dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 6px;
}
.nav-links .dropdown.mega .dropdown-grid .dropdown-item {
  padding: 10px 14px;
  border-radius: 6px;
  border-left: none;
}
.nav-links .dropdown.mega .dropdown-grid .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-left: none;
}
.nav-links .dropdown.mega .div-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color, var(--omni-cyan));
  box-shadow: 0 0 8px var(--dot-color, var(--omni-cyan));
  margin-top: 5px;
  flex-shrink: 0;
  display: inline-block;
}
.nav-links .dropdown.mega .di-title {
  font-family: 'Oswald', var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--omni-text);
}
.nav-links .dropdown.mega .dropdown-item:hover .di-title {
  color: var(--dot-color);
}

/* Mega-dropdown footer link */
.nav-links .dropdown.mega .dropdown-footer {
  margin-top: 10px;
  padding: 12px 22px 6px;
  border-top: 1px solid var(--omni-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--omni-text-dim);
}
.nav-links .dropdown.mega .dropdown-footer a {
  color: var(--omni-cyan-glow);
  text-decoration: none;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.nav-links .dropdown.mega .dropdown-footer a:hover { color: var(--omni-text); }

/* Mobile: hide nav-links entirely (mobile drawer is separate) */
@media (max-width: 1024px) {
  .nav-links { display: none !important; }
}




/* =========================================================================
   HUB TEXT SYNC — center text reflects the hovered/selected division
   Smooth fill transition so the color shift reads as the primary feedback;
   font-size/letter-spacing also tween for prefixes of varying length.
   ========================================================================= */
.hub-text {
  transition: fill 0.28s ease, font-size 0.28s ease, letter-spacing 0.28s ease;
  pointer-events: none;
}
/* =========================================================================
   PULSE RING ON HOVER — heptagonal radar ping in the division color
   Adapted from the classic CSS box-shadow pulse pattern (Codepen-style).
   For SVG we animate a duplicate polygon's transform + opacity instead.
   The body is opaque, so only the part of the pulse that escapes past the
   body silhouette is visible — reads as an expanding ring of colored light.
   ========================================================================= */
.division-node .node-pulse {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  /* will-change so the GPU prepares for the animation, no judder on first hover */
  will-change: transform, opacity;
}
.division-node:hover .node-pulse,
.division-node:focus-within .node-pulse {
  animation: heptaPulse 0.9s ease-out;
}
@keyframes heptaPulse {
  0%   { opacity: 0.55; transform: scale(1);    }
  60%  { opacity: 0.18; transform: scale(1.55); }
  100% { opacity: 0;    transform: scale(1.85); }
}

/* =========================================================================
   WHEEL NODE HOVER — minimal, paint-stable, hit-area-stable
   Strict rules:
     - Halo: pointer-events:none so it can NEVER intercept events while fading
     - Body stroke-width: only bumps by 0.5px on hover (visual-only, no shake)
     - NO filter changes (drop-shadow on/off causes browser repaint flicker)
     - NO font-size changes (glyph reflow nudges layout)
     - NO transform changes anywhere on the group
   ========================================================================= */
.division-node { cursor: pointer; }
.division-node .node-halo {
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
.division-node .node-body {
  transition: stroke-width 0.22s ease-out;
}
.division-node text {
  pointer-events: none;
  transition: fill-opacity 0.2s ease;
}
.division-node:hover .node-halo { opacity: 0.16; }
.division-node:hover .node-body { stroke-width: 2; }
.division-node .node-hit {
  fill: transparent;
  pointer-events: all;
}

/* =========================================================================
   WHEEL DRAG FIX — disable native browser drag-image on SVG nodes
   Without this, click+drag on a node triggers HTML5 drag-and-drop and a
   ghost copy of the element follows the cursor until mouse-up. Cosmetic
   but distracting. Block it at the source.
   ========================================================================= */
.wheel-svg,
.wheel-svg *,
.division-node,
.division-node * {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}


/* ═══ AUDIENCE / CAPABILITY / FIRM SECTION STYLES ═══ */

      @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&amp;family=Bebas+Neue&amp;display=swap');
      .omni { font-family: 'Oswald', 'Arial Black', sans-serif; font-weight: 700; }
      .link { font-family: 'Bebas Neue', 'Impact', sans-serif; font-weight: 400; }
      .tagline { font-family: 'Bebas Neue', 'Arial', sans-serif; }
    
/* ============================================================
   AUDIENCE / SOLUTIONS SECTIONS — Phase 1 institutional pages
   Each .audience-section accepts --audience-accent as its themed color.
   ============================================================ */
.audience-section {
  padding: 96px 0 80px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.05);
  scroll-margin-top: 100px;
}
.audience-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--audience-accent, #F59E0B), transparent);
  opacity: 0.6;
}
.audience-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* Header block */
.audience-header { text-align: center; margin-bottom: 56px; }
.audience-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--audience-accent, #F59E0B);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid var(--audience-accent, #F59E0B);
  border-radius: 2px;
  background: rgba(0,0,0,0.3);
}
.audience-header h2 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: #F9FAFB;
  margin: 0 0 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.audience-header h2 .accent {
  color: var(--audience-accent, #F59E0B);
  font-weight: 500;
}
.audience-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #9CA3AF;
  font-size: 16px;
  line-height: 1.7;
}

/* Value cards grid */
.audience-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 48px 0;
}
.vc {
  background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.vc::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--audience-accent, #F59E0B);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}
.vc:hover {
  transform: translateY(-3px);
  border-color: var(--audience-accent, #F59E0B);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px var(--audience-accent, #F59E0B);
}
.vc:hover::before { opacity: 1; }
.vc-icon {
  width: 32px; height: 32px;
  color: var(--audience-accent, #F59E0B);
  margin-bottom: 18px;
  stroke: var(--audience-accent, #F59E0B);
  fill: none;
  stroke-width: 1.5;
}
.vc h3 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #F9FAFB;
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}
.vc p {
  font-size: 13.5px;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.6;
}

/* How-it-works flow */
.audience-flow {
  background: linear-gradient(180deg, rgba(15,23,42,0.5) 0%, rgba(15,23,42,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 32px;
  margin: 40px 0 32px;
}
.audience-flow-eyebrow {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--audience-accent, #F59E0B);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.audience-flow ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  counter-reset: step;
}
.audience-flow li {
  position: relative;
  padding: 14px 14px 14px 42px;
  font-size: 13.5px;
  color: #D1D5DB;
  counter-increment: step;
  background: rgba(0,0,0,0.2);
  border-left: 2px solid var(--audience-accent, #F59E0B);
  border-radius: 0 4px 4px 0;
  line-height: 1.4;
}
.audience-flow li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 14px;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--audience-accent, #F59E0B);
  font-weight: 600;
  opacity: 0.9;
}

/* CTA */
.audience-cta { text-align: center; margin-top: 36px; }
.audience-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--audience-accent, #F59E0B);
  color: var(--audience-accent, #F59E0B);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}
.audience-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--audience-accent, #F59E0B);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 3px;
}
.audience-cta-btn:hover {
  color: #0a0f1c;
  box-shadow: 0 4px 24px rgba(245,158,11,0.25);
}
.audience-cta-btn:hover::before { opacity: 1; z-index: 0; }
.audience-cta-btn > * { position: relative; z-index: 1; }
.audience-cta-btn .arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}
.audience-cta-btn:hover .arrow { transform: translateX(4px); }

/* Mobile */
@media (max-width: 768px) {
  .audience-section { padding: 64px 0 48px; }
  .audience-container { padding: 0 20px; }
  .audience-flow { padding: 24px 20px; }
}


/* ============================================================
   INSIGHTS SECTIONS — Phase 3 credibility pages
   Reuses .audience-section skeleton · adds specialized inner blocks
   ============================================================ */

/* ---------- Research papers grid ---------- */
.insight-papers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.paper-card {
  background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.paper-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--audience-accent, #60A5FA);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.paper-card:hover {
  border-color: var(--audience-accent, #60A5FA);
  transform: translateY(-2px);
}
.paper-card:hover::before { opacity: 1; }
.paper-card .pc-meta {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--audience-accent, #60A5FA);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.paper-card h3 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #F9FAFB;
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.paper-card p {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0 0 16px;
  line-height: 1.6;
  flex: 1;
}
.paper-card .pc-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--audience-accent, #60A5FA);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease;
}
.paper-card .pc-link:hover { color: #F9FAFB; }

/* ---------- Press timeline ---------- */
.insight-press {
  margin: 32px 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.2) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 8px 28px;
}
.press-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: start;
}
.press-item:last-child { border-bottom: none; }
.press-date {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--audience-accent, #F97316);
  text-transform: uppercase;
  padding-top: 4px;
  white-space: nowrap;
}
.press-body h3 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #F9FAFB;
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.press-body p {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.6;
}
.press-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--audience-accent, #F97316);
  border: 1px solid var(--audience-accent, #F97316);
  padding: 2px 7px;
  border-radius: 2px;
  margin-right: 10px;
  text-transform: uppercase;
  vertical-align: middle;
}
@media (max-width: 640px) {
  .press-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Audit trail terminal ---------- */
.insight-terminal {
  background: #06080C;
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: 6px;
  padding: 0;
  margin: 32px 0;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  overflow: hidden;
  box-shadow: 0 0 48px rgba(6,182,212,0.08), inset 0 0 24px rgba(6,182,212,0.03);
}
.terminal-header {
  background: rgba(6,182,212,0.08);
  border-bottom: 1px solid rgba(6,182,212,0.2);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9CA3AF;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.terminal-header .t-left { display: flex; align-items: center; gap: 10px; }
.terminal-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06B6D4;
  animation: ct-pulse 2.2s ease-in-out infinite;
}
@keyframes ct-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(6,182,212,0); }
}
.terminal-header .t-net { color: #06B6D4; letter-spacing: 2px; }
.terminal-body {
  padding: 14px 18px;
  max-height: 420px;
  overflow-y: auto;
}
.terminal-body::-webkit-scrollbar { width: 6px; }
.terminal-body::-webkit-scrollbar-track { background: rgba(6,182,212,0.05); }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(6,182,212,0.3); border-radius: 3px; }
.terminal-row {
  display: grid;
  grid-template-columns: 85px 145px 120px 1fr 90px;
  gap: 14px;
  padding: 9px 0;
  font-size: 12px;
  color: #D1D5DB;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
  align-items: center;
}
.terminal-row:last-child { border-bottom: none; }
.terminal-row:hover { background: rgba(6,182,212,0.04); }
.tr-time { color: #6B7280; font-size: 11px; }
.tr-hash { color: #22D3EE; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.tr-action { color: #F9FAFB; font-size: 11px; letter-spacing: 0.5px; }
.tr-division {
  color: #9CA3AF;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.tr-mel-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #10B981;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tr-mel-ok::before {
  content: "●";
  font-size: 10px;
}
@media (max-width: 768px) {
  .terminal-row {
    grid-template-columns: 70px 1fr 70px;
    grid-template-areas: "time action status" "hash hash division";
    font-size: 11px;
  }
  .tr-time { grid-area: time; }
  .tr-hash { grid-area: hash; font-size: 10px; }
  .tr-action { grid-area: action; }
  .tr-division { grid-area: division; text-align: right; }
  .tr-mel-ok { grid-area: status; }
}

/* ---------- Insight stats strip (4-up) ---------- */
.insight-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 32px;
}
@media (max-width: 768px) { .insight-stats { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.3s ease;
}
.stat-card:hover { border-color: var(--audience-accent); }
.stat-card .stat-value {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--audience-accent);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.stat-card .stat-label {
  display: block;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #9CA3AF;
  text-transform: uppercase;
}

/* ---------- MEL protocol dashboard (10-cell grid) ---------- */
.insight-mel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin: 32px 0;
}
.mel-card {
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--audience-accent);
  border-radius: 4px;
  padding: 16px 18px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.mel-card:hover {
  background: rgba(15,23,42,0.8);
  border-color: rgba(245,158,11,0.2);
  border-left-color: var(--audience-accent);
}
.mel-card .mel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.mel-card .mel-code {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--audience-accent);
  letter-spacing: 1.5px;
  font-weight: 600;
}
.mel-card .mel-status {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: #10B981;
  letter-spacing: 1.5px;
  padding: 2px 7px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 2px;
}
.mel-card h4 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 14px;
  color: #F9FAFB;
  margin: 0 0 5px;
  font-weight: 500;
  letter-spacing: -0.1px;
}
.mel-card .mel-scripture {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--audience-accent);
  opacity: 0.9;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.mel-card p {
  font-size: 12px;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Canton certifications ---------- */
.insight-certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.cert-card {
  background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.cert-card:hover { transform: translateY(-3px); }
.cert-card.complete { border-color: rgba(16,185,129,0.3); }
.cert-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--audience-accent);
  opacity: 0.7;
}
.cert-course {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--audience-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cert-status {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 9px;
  padding: 3px 9px;
  border-radius: 2px;
  letter-spacing: 1.5px;
}
.cert-status.ok {
  background: rgba(16,185,129,0.15);
  color: #10B981;
  border: 1px solid rgba(16,185,129,0.3);
}
.cert-status.pending {
  background: rgba(245,158,11,0.15);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,0.3);
}
.cert-card h3 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 17px;
  color: #F9FAFB;
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.cert-card .cert-desc {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0 0 16px;
  line-height: 1.5;
}
.cert-detail {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
  color: #D1D5DB;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  letter-spacing: 0.5px;
  line-height: 1.7;
}
.cert-detail div { margin-bottom: 4px; }
.cert-detail strong { color: var(--audience-accent); font-weight: 500; }

.cert-attestation {
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 18px 24px;
  margin-top: 8px;
  text-align: center;
}
.cert-attestation p {
  font-size: 12px;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}
.cert-attestation strong { color: #F9FAFB; }

/* ---------- Tokenization outlook editorial themes ---------- */
.insight-outlook {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 860px) { .insight-outlook { grid-template-columns: 1fr; } }
.theme-card {
  background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.4) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.theme-card:hover {
  border-color: var(--audience-accent);
  transform: translateY(-3px);
}
.theme-num {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--audience-accent);
  letter-spacing: 3px;
  margin-bottom: 12px;
  display: block;
}
.theme-card h3 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 20px;
  color: #F9FAFB;
  margin: 0 0 14px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.theme-card p {
  font-size: 14px;
  color: #D1D5DB;
  margin: 0;
  line-height: 1.65;
}
.theme-sig {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--audience-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* ============================================================
   FIRM + PORTAL SECTIONS — Phase 4 identity & access pages
   Reuses .audience-section skeleton · adds Firm-specific blocks
   ============================================================ */

/* ---------- About: principles ---------- */
.firm-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 32px 0;
}
.principle-card {
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--audience-accent);
  padding: 20px 22px;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.principle-card:hover { background: rgba(15,23,42,0.75); }
.principle-card h4 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--audience-accent);
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.principle-card p {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Chairman's Letter editorial ---------- */
.chairman-letter {
  max-width: 780px;
  margin: 32px auto;
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.3) 100%);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 6px;
  padding: 52px 56px;
  position: relative;
}
.chairman-letter::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 2px;
  background: var(--audience-accent);
  opacity: 0.8;
}
.chairman-letter .salutation {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--audience-accent);
  margin: 0 0 4px;
  font-weight: 400;
  letter-spacing: 0.3px;
}
.chairman-letter .letter-meta {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #9CA3AF;
  letter-spacing: 2px;
  margin-bottom: 32px;
  text-transform: uppercase;
  display: block;
}
.chairman-letter p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #D1D5DB;
  margin: 0 0 18px;
  line-height: 1.8;
}
.chairman-letter .doctrine {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--audience-accent);
  font-style: italic;
  margin: 28px 0 24px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chairman-letter .closing {
  margin-top: 36px;
}
.chairman-letter .closing p { margin-bottom: 8px; }
.chairman-letter .sig-name {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 17px;
  color: #F9FAFB;
  font-weight: 400;
  margin: 18px 0 4px;
  letter-spacing: -0.2px;
}
.chairman-letter .sig-title {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--audience-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .chairman-letter { padding: 36px 28px; }
}

/* ---------- Careers: role cards ---------- */
.firm-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 32px 0;
}
.role-card {
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.role-card:hover {
  border-color: var(--audience-accent);
  transform: translateY(-2px);
}
.role-card .role-eyebrow {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--audience-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.role-card h4 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 15px;
  color: #F9FAFB;
  margin: 0 0 8px;
  font-weight: 500;
}
.role-card p {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.55;
}

.firm-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0 16px;
}
@media (max-width: 768px) { .firm-values { grid-template-columns: 1fr; } }
.value-line {
  text-align: center;
  padding: 24px 18px;
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}
.value-line .vl-axiom {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--audience-accent);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}
.value-line .vl-mandate {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 14px;
  color: #D1D5DB;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ---------- Contact: channel cards ---------- */
.firm-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 32px 0;
}
.channel-card {
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 22px;
  transition: border-color 0.3s ease;
}
.channel-card:hover { border-color: var(--audience-accent); }
.channel-card .ch-eyebrow {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--audience-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.channel-card h4 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 15px;
  color: #F9FAFB;
  margin: 0 0 6px;
  font-weight: 500;
}
.channel-card p {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0 0 14px;
  line-height: 1.5;
}
.channel-email {
  display: inline-block;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--audience-accent);
  padding: 7px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.3s ease;
}
.channel-email:hover {
  background: rgba(0,0,0,0.5);
  border-color: var(--audience-accent);
}

/* ---------- Locations ---------- */
.firm-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin: 32px 0;
}
.location-card {
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.location-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--audience-accent);
  opacity: 0.5;
}
.loc-pin {
  width: 20px;
  height: 20px;
  color: var(--audience-accent);
  stroke: var(--audience-accent);
  fill: none;
  stroke-width: 1.8;
  margin-bottom: 12px;
}
.location-card .loc-role {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--audience-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.location-card h4 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 15px;
  color: #F9FAFB;
  margin: 0 0 10px;
  font-weight: 500;
}
.location-card p {
  font-size: 13px;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Portal preview ---------- */
.portal-preview {
  background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.4) 100%);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 8px;
  padding: 28px;
  margin: 32px 0;
  box-shadow: 0 0 48px rgba(245,158,11,0.06);
}
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.portal-header .p-logo {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 14px;
  color: #F9FAFB;
  font-weight: 500;
  letter-spacing: 2px;
}
.portal-header .p-logo::before {
  content: "⬡";
  color: var(--audience-accent);
  margin-right: 8px;
  font-size: 16px;
}
.portal-header .p-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #10B981;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.portal-header .p-status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: ct-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
}
.portal-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.portal-feature {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 18px 20px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.portal-feature:hover {
  border-color: var(--audience-accent);
  background: rgba(0,0,0,0.5);
}
.portal-feature .pf-icon {
  width: 22px;
  height: 22px;
  color: var(--audience-accent);
  stroke: var(--audience-accent);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 12px;
}
.portal-feature h5 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 13px;
  color: #F9FAFB;
  margin: 0 0 5px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.portal-feature p {
  font-size: 11.5px;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.55;
}
.portal-actions {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  justify-content: center;
  flex-wrap: wrap;
}
.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.portal-btn.primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0a0f1c;
  border: 1px solid #F59E0B;
}
.portal-btn.primary:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 4px 24px rgba(245,158,11,0.45);
}
.portal-btn.secondary {
  background: transparent;
  color: var(--audience-accent);
  border: 1px solid var(--audience-accent);
}
.portal-btn.secondary:hover {
  background: rgba(245,158,11,0.1);
}
.portal-access-note {
  text-align: center;
  font-size: 11px;
  color: #6B7280;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  letter-spacing: 1px;
  margin-top: 16px;
  text-transform: uppercase;
}

