/* ============================================================
   BLUE PUMPKIN - Intelligence System Site
   ============================================================ */

:root {
  --bg-0: #050B14;          /* deepest void */
  --bg-1: #07111F;          /* midnight navy */
  --bg-2: #0B1A2E;          /* strategic blue card bg */
  --bg-3: #0F2543;          /* deeper card */
  --line: #14304F;          /* hairlines */
  --line-2: #1C4170;        /* highlighted lines */
  --signal: #1A9BD7;        /* electric signal blue */
  --signal-soft: #4FD0E6;   /* cyan signal */
  --signal-glow: rgba(26, 155, 215, 0.55);
  --gold: #C69A45;
  --gold-bright: #E0B65A;
  --violet: #8A78D9;          /* lavender intelligence */
  --violet-bright: #A595E8;   /* brighter accents/hover */
  --violet-soft: #7363C7;     /* muted state */
  --violet-tint: rgba(138, 120, 217, 0.18);
  --ivory: #F7F3EA;
  --ivory-dim: #E4DDCB;
  --slate: #6B7280;
  --slate-2: #94A3B8;
  --critical: #FF5A4E;

  --font-display: "Heebo", "Inter", system-ui, sans-serif;
  --font-body: "Heebo", "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "Menlo", monospace;

  --w-max: 1400px;
}

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

html, body {
  background: var(--bg-0);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  direction: rtl;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  padding-top: 76px;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--signal); color: var(--bg-0); }

/* ============================================================
   GLOBAL CHROME: noise + lattice + scanlines
   ============================================================ */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ivory);
}

.tag {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.tag .dot {
  width: 7px; height: 7px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--signal-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

.tag-gold { color: var(--gold-bright); }
.tag-gold .dot { background: var(--gold-bright); box-shadow: 0 0 12px rgba(224, 182, 90, 0.5); }

.tag-violet { color: var(--violet-bright); }
.tag-violet .dot { background: var(--violet-bright); box-shadow: 0 0 14px rgba(165, 149, 232, 0.55); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-2);
  font-weight: 400;
}

.h-display {
  font-size: clamp(40px, 5.2vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.h-section {
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.05;
}

.h-card {
  font-size: clamp(22px, 1.6vw, 28px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.lead {
  font-size: clamp(19px, 1.35vw, 22px);
  line-height: 1.6;
  color: var(--ivory-dim);
  font-weight: 400;
  max-width: 60ch;
}

.muted { color: var(--slate-2); }
.gold { color: var(--gold-bright); }
.signal { color: var(--signal-soft); }
.violet { color: var(--violet-bright); }

.mono { font-family: var(--font-mono); font-weight: 400; font-size: 13px; letter-spacing: 0.04em; }

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}

section {
  position: relative;
  z-index: 5;
}

.section-pad {
  padding: clamp(48px, 6vh, 80px) 0;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
  margin: 0;
  position: relative;
  z-index: 10;
}

.divider-marked {
  position: relative;
  height: 1px;
  background: var(--line);
}
.divider-marked::before, .divider-marked::after {
  content: "+";
  position: absolute;
  top: -8px;
  font-family: var(--font-mono);
  color: var(--signal);
  font-size: 14px;
}
.divider-marked::before { right: 40px; }
.divider-marked::after { left: 40px; }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 11, 20, 0.6);
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease;
  min-height: 72px;
}

.nav.scrolled { padding: 8px 40px; min-height: 64px; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--ivory);
  white-space: nowrap;
  flex: 0 0 auto;
}

.logo-mark {
  position: relative;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  z-index: 2;
}

.logo-mark svg, .logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(26, 155, 215, 0.5));
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--slate-2);
  text-transform: uppercase;
  margin-right: 4px;
  border-right: 1px solid var(--line-2);
  padding-right: 12px;
  display: none;
}

@media (min-width: 720px) {
  .logo-sub { display: inline; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}

@media (min-width: 980px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 14px;
  color: var(--ivory-dim);
  font-weight: 400;
  transition: color .2s ease;
  position: relative;
}

.nav-links a:hover { color: var(--ivory); }
.nav-links a::before {
  content: "";
  position: absolute;
  bottom: -22px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--signal);
  transition: width .25s ease;
}
.nav-links a:hover::before { width: 24px; }

.nav-status {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate-2);
  text-transform: uppercase;
}
@media (min-width: 1120px) { .nav-status { display: inline-flex; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--bg-0);
  background: var(--gold);
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: all .25s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 30px rgba(198, 154, 69, 0.4);
}

.btn .arrow {
  display: inline-block;
  transition: transform .25s ease;
}

.btn:hover .arrow { transform: translateX(-4px); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  background: rgba(26, 155, 215, 0.08);
  border-color: var(--signal);
  box-shadow: none;
  color: var(--ivory);
}

.btn-block {
  padding: 18px 28px;
  font-size: 15px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent, var(--bg-0) 90%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 100%;
}

.hero h1 {
  font-size: clamp(40px, 4.8vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.hero-meta b { color: var(--signal); font-weight: 500; font-size: 13.5px; }

.hero h1 .accent {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(19px, 1.45vw, 23px);
  line-height: 1.55;
  color: var(--ivory-dim);
  max-width: 64ch;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-pull {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(18px, 1.35vw, 22px);
  color: var(--ivory);
  border-right: 2px solid var(--gold);
  padding-right: 20px;
  max-width: 60ch;
  margin: 32px 0 44px;
  line-height: 1.4;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Live signal ticker at hero bottom */
.signal-strip {
  margin-top: clamp(40px, 6vh, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ivory-dim);
  overflow: hidden;
  white-space: nowrap;
}

.signal-strip .label {
  flex: 0 0 auto;
  background: var(--bg-0);
  padding: 0 14px;
  color: var(--signal);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
}
.signal-strip .label::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--signal-glow);
  animation: pulse 1.4s ease-in-out infinite;
}

.signal-track {
  display: flex;
  gap: 56px;
  animation: ticker 60s linear infinite;
  flex: 1;
}
.signal-track span {
  color: var(--ivory-dim);
}
.signal-track span b {
  color: var(--gold-bright);
  font-weight: 400;
  margin-left: 10px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

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

/* Hero corner brackets */
.corner-frame {
  position: absolute;
  pointer-events: none;
  z-index: 9;
  width: 32px; height: 32px;
  border: 1px solid var(--signal);
  opacity: 0.6;
}
.corner-frame.tl { top: 100px; right: 40px; border-bottom: none; border-left: none; }
.corner-frame.tr { top: 100px; left: 40px; border-bottom: none; border-right: none; }
.corner-frame.bl { bottom: 40px; right: 40px; border-top: none; border-left: none; }
.corner-frame.br { bottom: 40px; left: 40px; border-top: none; border-right: none; }

/* ============================================================
   PROBLEM section: split type
   ============================================================ */

.problem {
  padding: clamp(60px, 7vh, 90px) 0;
  background:
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 920px) {
  .problem-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
  }
}

.problem-grid .col-left {
  position: sticky;
  top: 120px;
  align-self: start;
}

.problem-stat {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 36px;
}
.problem-stat .num {
  font-family: var(--font-display);
  font-size: clamp(56px, 5vw, 88px);
  color: var(--gold-bright);
  line-height: 1;
  font-weight: 400;
}
.problem-stat .num small {
  font-size: 0.4em;
  color: var(--slate-2);
  font-family: var(--font-mono);
}
.problem-stat .desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--slate-2);
  line-height: 1.5;
}

.problem-text p {
  font-size: clamp(19px, 1.4vw, 24px);
  line-height: 1.55;
  color: var(--ivory);
  margin-bottom: 28px;
  font-weight: 300;
  font-family: var(--font-display);
}

.problem-text p:last-of-type { color: var(--ivory-dim); }

.contrast-rows {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.contrast-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  align-items: start;
}

.contrast-row .idx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--signal);
  letter-spacing: 0.18em;
  font-weight: 500;
}
.contrast-row .others {
  color: var(--slate-2);
  font-size: 16.5px;
  position: relative;
  padding-right: 16px;
}
.contrast-row .others::before {
  content: "";
  position: absolute;
  right: 0; top: 6px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--slate);
}
.contrast-row .ours {
  color: var(--ivory);
  font-size: 16.5px;
  font-weight: 400;
  position: relative;
  padding-right: 16px;
}
.contrast-row .ours::before {
  content: "";
  position: absolute;
  right: 0; top: 6px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(224, 182, 90, 0.6);
}

@media (max-width: 720px) {
  .contrast-row { grid-template-columns: 60px 1fr; }
  .contrast-row .others { grid-column: 2; }
  .contrast-row .ours { grid-column: 2; }
}

/* ============================================================
   SYSTEM (what BP does) – diagram with 5 nodes
   ============================================================ */

.system {
  padding: clamp(60px, 7vh, 90px) 0;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}

.system-header {
  max-width: 800px;
  margin-bottom: 80px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.system-node {
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 36px 28px;
  position: relative;
  transition: background .25s ease;
  min-height: 240px;
}

.system-node:hover {
  background: rgba(26, 155, 215, 0.04);
}

.system-node .idx {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--signal);
  letter-spacing: 0.18em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.system-node .idx::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--signal-glow);
}

.system-node h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--ivory);
  font-weight: 500;
  line-height: 1.25;
}

.system-node p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-2);
}

/* ----- OUTCOME card · turquoise treatment ----- */
.system-node.system-node--outcome {
  grid-column: 1 / -1;
  min-height: 0 !important;
  background:
    radial-gradient(ellipse 70% 90% at 90% 30%, rgba(45,212,191,0.22), transparent 60%),
    radial-gradient(ellipse 50% 90% at 10% 70%, rgba(20,184,166,0.14), transparent 60%),
    linear-gradient(135deg, rgba(45,212,191,0.10) 0%, rgba(15,37,67,0.55) 100%);
  border-left-color: rgba(45,212,191,0.45);
  border-bottom-color: rgba(45,212,191,0.45);
  overflow: hidden;
  padding: 12px 30px !important;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto auto;
  gap: 0 24px;
  align-items: center;
}
.system-node.system-node--outcome > .outcome-stamp {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin-bottom: 4px !important;
  padding: 4px 10px 4px 8px !important;
  font-size: 10.5px !important;
}
.system-node.system-node--outcome > .outcome-headline {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin: 0 !important;
}
.system-node.system-node--outcome > .outcome-body {
  grid-column: 1;
  grid-row: 3;
  max-width: none;
  margin: 4px 0 0 !important;
  white-space: nowrap;
}
.system-node.system-node--outcome > .outcome-icon {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: center;
}
.system-node.system-node--outcome > .outcome-cta {
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: end;
}

.outcome-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: #5EEAD4;
  opacity: 0.85;
  position: relative;
  z-index: 2;
}
.outcome-icon svg { width: 100%; height: 100%; }
.outcome-icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,0.20), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 900px) {
  .system-node.system-node--outcome {
    grid-template-columns: 1fr;
    padding: 32px 24px 28px;
  }
  .system-node.system-node--outcome > .outcome-stamp,
  .system-node.system-node--outcome > .outcome-headline,
  .system-node.system-node--outcome > .outcome-body,
  .system-node.system-node--outcome > .outcome-icon,
  .system-node.system-node--outcome > .outcome-cta {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .system-node.system-node--outcome > .outcome-icon { display: none; }
  .system-node.system-node--outcome > .outcome-cta { margin-top: 14px; }
  .system-node.system-node--outcome > .outcome-body { white-space: normal; }
}
.system-node.system-node--outcome::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5EEAD4, transparent);
  opacity: 0.5;
}
.system-node.system-node--outcome::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2DD4BF, transparent);
  opacity: 0.3;
}
.system-node.system-node--outcome:hover {
  background:
    radial-gradient(ellipse 90% 70% at 80% 20%, rgba(45,212,191,0.30), transparent 60%),
    radial-gradient(ellipse 60% 60% at 15% 90%, rgba(20,184,166,0.20), transparent 60%),
    linear-gradient(135deg, rgba(45,212,191,0.14) 0%, rgba(15,37,67,0.55) 100%);
}

.outcome-bracket {
  position: absolute;
  width: 20px; height: 20px;
  border: 1.5px solid #5EEAD4;
  pointer-events: none;
  z-index: 2;
}
.outcome-bracket.tl { top: 12px; right: 12px; border-bottom: none; border-left: none; }
.outcome-bracket.tr { top: 12px; left: 12px; border-bottom: none; border-right: none; }
.outcome-bracket.bl { bottom: 12px; right: 12px; border-top: none; border-left: none; }
.outcome-bracket.br { bottom: 12px; left: 12px; border-top: none; border-right: none; }

.outcome-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bg-0);
  background: #5EEAD4;
  box-shadow: 0 0 18px rgba(45,212,191,0.45);
  position: relative;
  z-index: 2;
}
.outcome-stamp .outcome-arrow {
  font-size: 14px;
  font-weight: 700;
}

.outcome-headline {
  font-family: var(--font-display) !important;
  font-size: clamp(18px, 1.5vw, 24px) !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  color: var(--ivory) !important;
  position: relative;
  z-index: 2;
}
.outcome-headline .gold {
  color: #5EEAD4 !important;
  text-shadow: 0 0 28px rgba(45,212,191,0.45);
}

.outcome-body {
  color: var(--ivory-dim) !important;
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

.outcome-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: #5EEAD4;
  border: 1px solid rgba(45,212,191,0.55);
  background: rgba(45,212,191,0.08);
  transition: all .25s ease;
  text-decoration: none;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}
.outcome-cta:hover {
  background: #5EEAD4;
  color: var(--bg-0);
  border-color: #5EEAD4;
  box-shadow: 0 0 28px rgba(45,212,191,0.45);
}
.outcome-cta .arrow {
  transition: transform .25s ease;
}
.outcome-cta:hover .arrow {
  transform: translateX(-4px);
}

/* ============================================================
   AUDIENCE
   ============================================================ */

.audience {
  padding: clamp(60px, 7vh, 90px) 0;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

.audience-header {
  max-width: 100%;
  margin-bottom: 64px;
}

.audience-list {
  border-top: 1px solid var(--line-2);
}

.aud-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding .3s ease;
}

.aud-row::before {
  content: "";
  position: absolute;
  right: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .4s ease;
}
.aud-row:hover::before { width: 100%; }

.aud-row .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-bright);
  letter-spacing: 0.18em;
}

.aud-row .who h4 {
  font-size: clamp(22px, 1.7vw, 30px);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.2;
  font-family: var(--font-display);
}

.aud-row .pain {
  font-size: 14px;
  color: var(--slate-2);
  line-height: 1.55;
}

.aud-row .answer {
  font-size: 14px;
  color: var(--ivory);
  line-height: 1.55;
  padding-right: 18px;
  border-right: 1px solid var(--signal);
}

@media (max-width: 920px) {
  .aud-row {
    grid-template-columns: 60px 1fr;
  }
  .aud-row .who { grid-column: 2; }
  .aud-row .pain { grid-column: 2; }
  .aud-row .answer { grid-column: 2; }
}

/* ============================================================
   PRODUCTS
   ============================================================ */

.products {
  padding: clamp(60px, 7vh, 90px) 0;
  background: var(--bg-0);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 64px;
}

@media (min-width: 760px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-card {
  background: var(--bg-1);
  padding: 44px 36px;
  position: relative;
  transition: background .3s ease;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  background: var(--bg-2);
}

.product-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.product-card .code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--slate-2);
}
.product-card .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--signal);
  border: 1px solid var(--signal);
  padding: 4px 8px;
  background: rgba(26, 155, 215, 0.06);
}
.product-card .badge.gold { color: var(--gold-bright); border-color: var(--gold); background: rgba(198,154,69,0.06); }

.product-card h3 {
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin-bottom: 18px;
  font-family: var(--font-display);
}

.product-card p {
  color: var(--slate-2);
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
}

.product-card .cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  transition: gap .25s ease;
}
.product-card .cta:hover { gap: 18px; }

/* ============================================================
   METHOD S5
   ============================================================ */

.method {
  padding: clamp(60px, 7vh, 90px) 0;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  position: relative;
}

.method-header { max-width: 100%; margin-bottom: 80px; }

.s5-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

@media (max-width: 920px) {
  .s5-rail { grid-template-columns: 1fr; }
}

.s5-step {
  padding: 32px 22px 36px;
  position: relative;
  border-left: 1px solid var(--line);
}
.s5-step:last-child { border-left: none; }

@media (max-width: 920px) {
  .s5-step { border-left: none; border-bottom: 1px solid var(--line); }
  .s5-step:last-child { border-bottom: none; }
}

.s5-step .marker {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.18em;
  color: var(--signal);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.s5-step .marker .num {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--signal);
  color: var(--signal);
  font-size: 13px;
}
.s5-step h4 {
  font-family: var(--font-display);
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 10px;
  line-height: 1.1;
}
.s5-step .q {
  font-style: normal;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
  padding-right: 12px;
  border-right: 1px solid var(--gold);
}
.s5-step .out {
  font-size: 13px;
  color: var(--slate-2);
  line-height: 1.6;
}

/* method illustration row */
.method-illus {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 920px) {
  .method-illus { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
}

.method-illus .title {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--signal);
  margin-bottom: 18px;
  font-weight: 500;
}

.illus-table {
  border-top: 1px solid var(--line);
}
.illus-row {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.6;
}
.illus-row.head {
  color: var(--slate-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.illus-row .head1 { color: var(--ivory); font-weight: 400; }
.illus-row .head2 { color: var(--signal); font-size: 13.5px; font-weight: 500; }
.illus-row .head3 { color: var(--gold-bright); }

/* ============================================================
   SIGNALS (insights)
   ============================================================ */

.signals {
  padding: clamp(60px, 7vh, 90px) 0;
  background: var(--bg-0);
}

.signals-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.signal-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 780px) {
  .signal-cards { grid-template-columns: repeat(3, 1fr); }
}

.signal-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 32px 28px;
  position: relative;
  transition: all .3s ease;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.signal-card:hover {
  border-color: var(--signal);
  background: var(--bg-2);
  transform: translateY(-2px);
}

.signal-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--slate-2);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.signal-card .meta .series {
  color: var(--signal);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
}
.signal-card .meta .series::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--signal);
  border-radius: 50%;
}

.signal-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.22;
  margin-bottom: 18px;
  color: var(--ivory);
}

.signal-card .q {
  font-style: normal;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
  padding-right: 12px;
  border-right: 1px solid var(--gold);
}

.signal-card .read {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ivory-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.signal-card .read .line {
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

/* ============================================================
   RADAR strip
   ============================================================ */

.radar-strip {
  background: var(--bg-1);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: clamp(80px, 10vh, 120px) 0;
  position: relative;
  overflow: hidden;
}

.radar-strip .grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 10;
}
@media (min-width: 920px) {
  .radar-strip .grid-row { grid-template-columns: 1.3fr 1fr; gap: 80px; }
}

.radar-copy h2 {
  font-size: clamp(28px, 3vw, 48px);
  margin-bottom: 22px;
  line-height: 1.1;
}

.radar-copy p {
  font-size: 16px;
  color: var(--ivory-dim);
  margin-bottom: 28px;
  line-height: 1.65;
}

.radar-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  border: 1px solid var(--line-2);
  background: var(--bg-0);
}
.radar-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 18px 20px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 14px;
  direction: rtl;
}
.radar-form input::placeholder { color: var(--slate); }
.radar-form button {
  padding: 0 26px;
  background: var(--signal);
  color: var(--bg-0);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background .2s ease;
}
.radar-form button:hover { background: var(--signal-soft); }

.radar-form-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
}

/* ============================================================
   RADAR COMMAND DISPLAY - cinematic
   ============================================================ */
.radar-display {
  width: 100%;
  max-width: 580px;
  margin-right: auto;
  direction: ltr;
  text-align: left;
}

.radar-chrome {
  background: linear-gradient(180deg, #04090F, #07111F);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(26,155,215,0.08) inset,
    0 40px 80px -20px rgba(0,0,0,0.7),
    0 0 60px -10px rgba(26,155,215,0.15);
}

.radar-chrome::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  z-index: 5;
  mix-blend-mode: overlay;
}

/* top / bottom status bars */
.rd-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
  border-bottom: 1px solid var(--line);
  background: rgba(5,11,20,0.6);
  flex-wrap: wrap;
}
.rd-bar.bottom {
  border-bottom: none;
  border-top: 1px solid var(--line);
  flex-wrap: nowrap;
  overflow: hidden;
}

.rd-label {
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 11px;
}
.rd-live { color: var(--gold-bright); }
.rd-dot {
  width: 8px; height: 8px;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(224, 182, 90, 0.8);
  animation: pulse 1.2s ease-in-out infinite;
}
.rd-meta b {
  color: var(--ivory);
  font-weight: 500;
  margin-left: 6px;
}
.rd-grow { margin-left: auto; }

/* stage */
.rd-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at center, #07141F 0%, #03070D 75%);
  overflow: hidden;
}

#radar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.rd-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

/* compass labels */
.rd-compass .rc {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--slate-2);
  text-transform: uppercase;
  background: rgba(5,11,20,0.4);
  padding: 3px 7px;
  border: 1px solid var(--line);
}
.rd-compass .rc-n { top: 12px; left: 50%; transform: translateX(-50%); }
.rd-compass .rc-s { bottom: 12px; left: 50%; transform: translateX(-50%); }
.rd-compass .rc-w { left: 12px; top: 50%; transform: translateY(-50%); }
.rd-compass .rc-e { right: 12px; top: 50%; transform: translateY(-50%); }

/* target reticle - jumps to target */
.rd-reticle {
  position: absolute;
  width: 56px; height: 56px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.5s cubic-bezier(0.6, 0, 0.2, 1), top 0.5s cubic-bezier(0.6, 0, 0.2, 1);
  opacity: 0;
  z-index: 6;
}
.rd-reticle.on { opacity: 1; }
.rd-reticle .rt {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--gold-bright);
}
.rd-reticle .rt.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.rd-reticle .rt.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.rd-reticle .rt.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.rd-reticle .rt.br { bottom: 0; right: 0; border-left: none; border-top: none; }
.rd-reticle::before {
  content: "";
  position: absolute;
  inset: 50% 0;
  height: 1px;
  background: rgba(224, 182, 90, 0.4);
}
.rd-reticle::after {
  content: "";
  position: absolute;
  inset: 0 50%;
  width: 1px;
  background: rgba(224, 182, 90, 0.4);
}
.rd-target-label {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  background: rgba(5,11,20,0.85);
  padding: 3px 8px;
  border: 1px solid var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
  direction: rtl;
}

/* feed marquee */
.rd-feed {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 18px;
  direction: ltr;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.rd-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  height: 100%;
  will-change: transform;
  width: max-content;
}
.rd-feed-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ivory-dim);
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.rd-feed-item .severity {
  color: var(--signal);
  font-weight: 500;
}
.rd-feed-item .severity.high { color: var(--gold-bright); }
.rd-feed-item .severity.crit { color: var(--critical); }
.rd-feed-item .sep {
  color: var(--line-2);
  margin: 0 4px;
}

/* override existing radar-form layout to keep section tight on right side */
@media (min-width: 920px) {
  .radar-strip .grid-row {
    grid-template-columns: 1fr 1.05fr;
    gap: 80px;
  }
}

/* The radar visualization */
.radar-viz {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  padding: clamp(60px, 7vh, 90px) 0;
  background: var(--bg-0);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 920px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
}

.about-portrait {
  background: var(--bg-2);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-portrait .portrait-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: contrast(1.02) saturate(0.92);
}

.about-portrait .photo-credit {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ivory-dim, #cbd0d7);
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  text-transform: uppercase;
}

.about-portrait .frame-bracket {
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--signal);
}
.about-portrait .frame-bracket.tl { top: 14px; right: 14px; border-bottom: none; border-left: none; }
.about-portrait .frame-bracket.br { bottom: 14px; left: 14px; border-top: none; border-right: none; }

.about-portrait .coord {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--signal);
  background: var(--bg-0);
  padding: 4px 8px;
}

.about-text h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  margin-bottom: 24px;
  line-height: 1.1;
}

.about-text .sub {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.4;
}

.about-text p {
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-creds {
  margin-top: 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.about-creds .cred .num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold-bright);
  line-height: 1;
}
.about-creds .cred .lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate-2);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding: clamp(60px, 7vh, 90px) 0;
  background: linear-gradient(180deg, var(--bg-0), #03070D);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
}

.contact-side h2 {
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.contact-side .pull {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--gold-bright);
  font-size: 20px;
  margin-bottom: 32px;
  line-height: 1.4;
}
.contact-side p {
  color: var(--ivory-dim);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.contact-trust {
  margin-top: 36px;
  padding: 20px;
  border: 1px dashed var(--line-2);
  font-size: 13px;
  color: var(--slate-2);
  line-height: 1.6;
}
.contact-trust b { color: var(--signal); font-weight: 500; }

.briefing-form {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  padding: 44px;
  position: relative;
}

.briefing-form .form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ivory-dim);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 34px;
}
.briefing-form .form-head .lhs {
  color: var(--signal);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.briefing-form .form-head .lhs::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--signal-glow);
  animation: pulse 2s ease-in-out infinite;
}

.field {
  margin-bottom: 30px;
}
.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.10em;
  color: var(--ivory-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.field label .req { color: var(--gold-bright); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--line);
  padding: 18px 20px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  outline: none;
  transition: border-color .2s ease;
  direction: rtl;
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--slate);
  font-weight: 300;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--signal);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  color: var(--ivory-dim);
  background: var(--bg-0);
  cursor: pointer;
  transition: all .2s ease;
  text-transform: uppercase;
}
.chip:hover { border-color: var(--signal); color: var(--ivory); }
.chip.on {
  border-color: var(--signal);
  background: rgba(26, 155, 215, 0.12);
  color: var(--signal-soft);
}

.timing-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .timing-row { grid-template-columns: repeat(2, 1fr); }
}

.briefing-form .submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.briefing-form .micro {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.10em;
  color: var(--ivory-dim);
  line-height: 1.65;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: #03070D;
  padding: 80px 0 36px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 18px;
  font-weight: 400;
}
.foot-col ul { list-style: none; }
.foot-col li {
  font-size: 14px;
  color: var(--ivory-dim);
  margin-bottom: 10px;
  transition: color .2s ease;
}
.foot-col li:hover { color: var(--ivory); cursor: pointer; }

.foot-brand .lead-line {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  margin-top: 18px;
  color: var(--ivory);
  max-width: 32ch;
}
.foot-brand .lead-line em { color: var(--gold-bright); font-style: normal; }

/* S5 foresight step (Scenarios) - violet treatment */
.s5-step-foresight .marker .num,
.s5-step-foresight .marker {
  color: var(--violet-bright);
}
.s5-step-foresight .q {
  color: var(--violet-bright);
}
.s5-step-foresight {
  position: relative;
}
.s5-step-foresight::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 1px;
  background: var(--violet);
}

.foot-meta {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--slate);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   IMAGE FRAMES - futuristic intelligence visual treatment
   ============================================================ */

.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  isolation: isolate;
}

.img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s ease;
}

.img-frame:hover img { transform: scale(1.04); }

/* duotone-ish wash to keep all images coherent with the dark navy mission-control palette */
.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5,11,20,0) 30%, rgba(5,11,20,0.65) 100%),
    linear-gradient(220deg, rgba(26,155,215,0.10), rgba(5,11,20,0.05));
  pointer-events: none;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(26,155,215,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,155,215,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* corner brackets */
.img-frame .bracket {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--signal);
  z-index: 5;
  pointer-events: none;
  opacity: 0.85;
}
.img-frame .bracket.tl { top: 10px; right: 10px; border-bottom: none; border-left: none; }
.img-frame .bracket.tr { top: 10px; left: 10px; border-bottom: none; border-right: none; }
.img-frame .bracket.bl { bottom: 10px; right: 10px; border-top: none; border-left: none; }
.img-frame .bracket.br { bottom: 10px; left: 10px; border-top: none; border-right: none; }

.img-frame .meta-tag {
  position: absolute;
  z-index: 6;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  background: rgba(5,11,20,0.8);
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
}
.img-frame .meta-tag.bl { bottom: 16px; right: 16px; }
.img-frame .meta-tag.tr { top: 16px; left: 16px; color: var(--gold-bright); border-color: var(--gold); }

/* ============================================================
   HERO image column
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

.hero-image {
  aspect-ratio: 4/3;
  position: relative;
}
.hero-image .scan-line {
  position: absolute;
  z-index: 4;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal-soft), transparent);
  opacity: 0.6;
  animation: scan 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.6; }
  50% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* ============================================================
   FEATURE IMAGE rows (problem, system)
   ============================================================ */
.feature-row {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 80px; }
  .feature-row.reverse { direction: ltr; }
  .feature-row.reverse > * { direction: rtl; }
}

.feature-row .feature-img {
  aspect-ratio: 4/3;
  position: relative;
}

.feature-row h3.fr-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  margin: 18px 0 18px;
  color: var(--ivory);
}
.feature-row p.fr-body {
  color: var(--ivory-dim);
  font-size: 18.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ============================================================
   FULL-BLEED BRAND BANNER (image 5)
   ============================================================ */
.brand-banner {
  position: relative;
  padding: 0;
  background: var(--bg-0);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-banner .bb-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8;
  max-height: 86vh;
  overflow: hidden;
}
.brand-banner .bb-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.brand-banner .bb-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,20,0.15) 0%, rgba(5,11,20,0.25) 35%, rgba(5,11,20,0.72) 65%, rgba(5,11,20,0.95) 100%),
    radial-gradient(ellipse 60% 40% at 50% 85%, rgba(5,11,20,0.65) 0%, transparent 70%);
  pointer-events: none;
}
.brand-banner .bb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,155,215,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,155,215,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mix-blend-mode: screen;
}

.brand-banner .bb-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  z-index: 4;
  text-align: center;
  padding: 40px 40px 80px;
}
.brand-banner .bb-overlay > div {
  position: relative;
  padding: 36px 60px 32px;
  max-width: 940px;
  background: rgba(5, 11, 20, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-top: 1px solid rgba(198,154,69,0.4);
  border-bottom: 1px solid rgba(198,154,69,0.4);
}
.brand-banner .bb-overlay > div::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  background: radial-gradient(ellipse at center, rgba(5,11,20,0.55) 0%, rgba(5,11,20,0.25) 60%, transparent 90%);
  z-index: -1;
}
.brand-banner .bb-overlay .tag {
  margin-bottom: 22px;
  justify-content: center;
}
.brand-banner .bb-overlay h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--ivory);
  text-shadow: 0 4px 30px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}
.brand-banner .bb-overlay h2 em {
  font-style: normal;
  color: var(--gold-bright);
  font-weight: 400;
}
.brand-banner .bb-overlay .sub {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--signal-soft);
  text-transform: uppercase;
}

/* corner frames */
.brand-banner .bb-corner {
  position: absolute;
  width: 40px; height: 40px;
  border: 1px solid var(--signal);
  opacity: 0.6;
  z-index: 5;
}
.brand-banner .bb-corner.tl { top: 24px; right: 24px; border-bottom: none; border-left: none; }
.brand-banner .bb-corner.tr { top: 24px; left: 24px; border-bottom: none; border-right: none; }
.brand-banner .bb-corner.bl { bottom: 24px; right: 24px; border-top: none; border-left: none; }
.brand-banner .bb-corner.br { bottom: 24px; left: 24px; border-top: none; border-right: none; }

/* ============================================================
   Hero center: visual area
   ============================================================ */
.hero-visual-floor {
  position: relative;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1180px) {
  .hero-visual-floor { grid-template-columns: repeat(4, 1fr); }
  .hero-visual-floor .hf-cell:nth-child(n+5) { border-top: 1px solid var(--line); margin-top: 1px; }
}
@media (max-width: 760px) {
  .hero-visual-floor { grid-template-columns: repeat(2, 1fr); }
  .hero-visual-floor .hf-cell:nth-child(n) { border-top: none; margin-top: 0; }
}
.hf-cell {
  background: var(--bg-0);
  padding: 16px 14px;
  min-height: 96px;
  position: relative;
  overflow: hidden;
}
.hf-cell::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.hf-cell:hover::after { opacity: 1; }
.hf-cell .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--signal);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}
.hf-cell .val {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ivory);
  line-height: 1.2;
  font-weight: 500;
}
.hf-cell .val small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate-2);
  display: block;
  margin-top: 6px;
  letter-spacing: 0.14em;
  font-weight: 400;
  text-transform: uppercase;
}


/* ============================================================
   SIL//OS - OS CHROME (boot, menubar, windows, dock, areas, future layer)
   ============================================================ */

/* ----- BOOT SEQUENCE ----- */
.os-boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, #08182b 0%, #050B14 70%, #03070d 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  color: var(--ivory);
  overflow: hidden;
  transition: opacity .5s ease, transform .7s ease;
  direction: ltr;
  cursor: pointer;
}
.os-boot.out { opacity: 0; transform: scale(1.04); pointer-events: none; }

.boot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.boot-vignette {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 60% 60% at center, transparent 50%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.boot-stage {
  position: relative;
  z-index: 2;
  width: min(720px, 90vw);
  text-align: center;
  padding: 40px 32px;
  border: 1px solid var(--line-2);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 80px rgba(26,155,215,0.18), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.boot-stage::before,
.boot-stage::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 1px solid var(--gold);
}
.boot-stage::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.boot-stage::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.boot-logo {
  width: 200px; height: 200px; margin: 0 auto 32px;
  filter: drop-shadow(0 0 36px rgba(79,208,230,0.78));
  animation: bootPulse 2.4s ease-in-out infinite;
}
.boot-logo img { width: 100%; height: 100%; object-fit: contain; }
@keyframes bootPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 24px rgba(26,155,215,0.55)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 36px rgba(79,208,230,0.85)); }
}

.boot-title {
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 0.28em;
  color: var(--ivory);
  margin-bottom: 6px;
}
.boot-sub {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--slate-2);
  margin-bottom: 28px;
}

.boot-log {
  background: rgba(3, 8, 16, 0.6);
  border: 1px solid var(--line);
  padding: 14px 18px;
  height: 170px;
  overflow: hidden;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--signal-soft);
  margin-bottom: 22px;
  font-family: var(--font-mono);
  position: relative;
}
.boot-log::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,17,31,0.6) 0%, transparent 30%, transparent 70%, rgba(7,17,31,0.6) 100%);
}
.boot-line {
  opacity: 0;
  animation: bootFadeIn .25s ease forwards;
}
.boot-line:nth-child(odd) { color: var(--signal-soft); }
.boot-line:nth-child(3n) { color: var(--gold-bright); }
@keyframes bootFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.boot-bar {
  position: relative;
  height: 4px;
  background: rgba(20, 48, 79, 0.6);
  margin-bottom: 14px;
  overflow: hidden;
}
.boot-bar-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--signal) 0%, var(--signal-soft) 50%, var(--gold-bright) 100%);
  transition: width .3s ease;
  box-shadow: 0 0 12px var(--signal-soft);
}

.boot-status {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--slate-2);
  margin-bottom: 22px;
  min-height: 14px;
}

.boot-skip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--slate-2);
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 8px 16px;
  cursor: pointer;
  transition: all .2s ease;
}
.boot-skip:hover {
  color: var(--ivory);
  border-color: var(--signal);
  background: rgba(26,155,215,0.08);
}

/* ----- OS MENUBAR (replaces .nav layout) ----- */
.os-menubar {
  top: 52px !important;
  left: 14px !important;
  right: 14px !important;
  padding: 22px 28px !important;
  min-height: 112px !important;
  border-radius: 16px;
  background: rgba(5, 11, 20, 0.82) !important;
  border: 1px solid var(--line-2);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 1px 0 rgba(255,255,255,0.05) inset;
  gap: 28px;
  column-gap: 28px;
}
.os-menubar.scrolled {
  padding: 18px 24px !important;
  min-height: 104px !important;
  top: 10px !important;
  background: rgba(5, 11, 20, 0.92) !important;
}
@media (max-width: 720px) {
  .os-menubar { top: 48px !important; left: 10px !important; right: 10px !important; padding: 16px 18px !important; }
}

/* Hide the SIL//OS · v1.0 sub-label inside the OS menubar until there is plenty of room — it crowds the menu items at common desktop widths. */
.os-menubar .logo-sub { display: none !important; }
@media (min-width: 1640px) {
  .os-menubar .logo-sub { display: inline !important; }
}

.os-menubar .logo-mark {
  width: 88px; height: 88px; flex: 0 0 88px;
}
.os-menubar .logo-mark img {
  filter: drop-shadow(0 0 16px rgba(79,208,230,0.75));
}
.logo-name {
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  font-weight: 500;
}
.logo-name-em {
  color: var(--signal-soft);
  font-weight: 500;
}

.menu-items {
  display: none;
  align-items: center;
  gap: 2px;
  flex: 0 1 auto;
  justify-content: center;
  flex-wrap: nowrap;
}
@media (min-width: 1100px) { .menu-items { display: flex; } }

.menu-item {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 6px 9px;
  position: relative;
  transition: color .18s ease, background .18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.menu-item:hover {
  color: var(--ivory);
  background: rgba(26,155,215,0.08);
  border-color: var(--line);
}
.menu-item.active {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(198,154,69,0.06);
}

.menu-tray {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.tray-item {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate-2);
  text-transform: uppercase;
}
/* Show tray gradually so it never overruns the menu items. */
@media (min-width: 1280px) { .tray-item.nav-status { display: inline-flex; } }
@media (min-width: 1480px) { .tray-item { display: inline-flex; } }
.tray-icon {
  color: var(--signal-soft);
  font-size: 11px;
  letter-spacing: -0.1em;
}
.tray-dot {
  width: 6px; height: 6px;
  background: #4FD0E6;
  border-radius: 50%;
  box-shadow: 0 0 8px #4FD0E6;
  animation: pulse 1.6s ease-in-out infinite;
}
.btn-tray {
  position: absolute !important;
  top: 180px !important;
  right: 28px !important;
  z-index: 50;
  padding: 16px 26px !important;
  font-size: 15px !important;
  letter-spacing: 0.06em;
  gap: 12px;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(198,154,69,0.35), 0 0 0 1px rgba(255,255,255,0.04) inset;
  border-radius: 10px;
}
.btn-tray .arrow { font-size: 16px; }
@media (max-width: 720px) {
  .btn-tray { top: 148px !important; right: 14px !important; padding: 12px 18px !important; font-size: 13px !important; }
}

/* ----- OS WINDOW chrome (applied to sections) ----- */
.os-window { position: relative; }
.os-window > .win-titlebar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 18px;
  background: linear-gradient(180deg, rgba(11,26,46,0.92) 0%, rgba(7,17,31,0.78) 100%);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-2);
  backdrop-filter: blur(8px);
  direction: ltr;
}
.win-lights {
  display: inline-flex; gap: 6px; flex: 0 0 auto;
}
.win-lights i {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.4);
}
.win-lights i:nth-child(1) { background: #ff5f56; }
.win-lights i:nth-child(2) { background: #ffbd2e; }
.win-lights i:nth-child(3) { background: #27c93f; box-shadow: 0 0 6px rgba(39,201,63,0.4); }
.win-title {
  color: var(--ivory-dim);
  flex: 1;
  text-align: center;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win-meta {
  color: var(--signal);
  flex: 0 0 auto;
  font-weight: 500;
  display: none;
}
@media (min-width: 920px) { .win-meta { display: inline; } }

/* Hero: keep its current padding but push down for titlebar */
.hero.os-window { padding-top: 260px; }

/* ----- DOCK ----- */
.os-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(7,17,31,0.72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  direction: ltr;
}
.dock-app {
  display: block;
  position: relative;
  width: 42px; height: 42px;
  transition: transform .2s ease;
}
.dock-app:hover { transform: translateY(-6px) scale(1.1); }
.dock-icon {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 9px;
  color: var(--ivory-dim);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}
.dock-icon svg { width: 22px; height: 22px; }
.dock-tile {
  background: linear-gradient(180deg, #0f2543 0%, #07111F 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.dock-tile:hover { color: var(--signal-soft); border-color: var(--signal); }
.dock-tile-gold {
  background: linear-gradient(180deg, rgba(224,182,90,0.25) 0%, rgba(198,154,69,0.1) 100%);
  color: var(--gold-bright);
  border-color: rgba(198,154,69,0.4);
}
.dock-tile-accent {
  background: linear-gradient(180deg, rgba(26,155,215,0.3) 0%, rgba(26,155,215,0.1) 100%);
  color: var(--signal-soft);
  border-color: rgba(26,155,215,0.4);
}

/* ----- Colored dock tiles (Sonoma-style) ----- */
.dock-tile-amber {
  background: linear-gradient(180deg, rgba(224,182,90,0.32) 0%, rgba(198,154,69,0.12) 100%);
  color: #F4D58A;
  border-color: rgba(198,154,69,0.45);
}
.dock-tile-amber:hover { color: #FFE6A6; border-color: rgba(224,182,90,0.7); }

.dock-tile-cyan {
  background: linear-gradient(180deg, rgba(79,208,230,0.30) 0%, rgba(26,155,215,0.10) 100%);
  color: #7FE5F0;
  border-color: rgba(79,208,230,0.45);
}
.dock-tile-cyan:hover { color: #A8F0F7; border-color: rgba(79,208,230,0.7); }

.dock-tile-violet {
  background: linear-gradient(180deg, rgba(167,139,250,0.30) 0%, rgba(124,99,210,0.10) 100%);
  color: #C9B6F7;
  border-color: rgba(167,139,250,0.45);
}
.dock-tile-violet:hover { color: #DCC9FF; border-color: rgba(167,139,250,0.7); }

.dock-tile-emerald {
  background: linear-gradient(180deg, rgba(74,222,128,0.28) 0%, rgba(34,160,90,0.10) 100%);
  color: #8FE9B0;
  border-color: rgba(74,222,128,0.45);
}
.dock-tile-emerald:hover { color: #B6F2CC; border-color: rgba(74,222,128,0.7); }

.dock-tile-blue {
  background: linear-gradient(180deg, rgba(96,165,250,0.28) 0%, rgba(56,108,200,0.10) 100%);
  color: #9CC4FB;
  border-color: rgba(96,165,250,0.45);
}
.dock-tile-blue:hover { color: #C2DBFE; border-color: rgba(96,165,250,0.7); }

.dock-tile-rose {
  background: linear-gradient(180deg, rgba(244,114,182,0.30) 0%, rgba(190,80,140,0.10) 100%);
  color: #F8A3CD;
  border-color: rgba(244,114,182,0.45);
}
.dock-tile-rose:hover { color: #FAC1DE; border-color: rgba(244,114,182,0.7); }

.dock-tile-teal {
  background: linear-gradient(180deg, rgba(45,212,191,0.28) 0%, rgba(25,150,135,0.10) 100%);
  color: #74E2D2;
  border-color: rgba(45,212,191,0.45);
}
.dock-tile-teal:hover { color: #A2EEE0; border-color: rgba(45,212,191,0.7); }

.dock-tile-orange {
  background: linear-gradient(180deg, rgba(251,146,60,0.30) 0%, rgba(210,110,30,0.10) 100%);
  color: #FCB17D;
  border-color: rgba(251,146,60,0.45);
}
.dock-tile-orange:hover { color: #FECDA8; border-color: rgba(251,146,60,0.7); }

.dock-tile-whatsapp {
  background: linear-gradient(180deg, rgba(37,211,102,0.42) 0%, rgba(18,140,70,0.18) 100%);
  color: #ffffff;
  border-color: rgba(37,211,102,0.55);
  box-shadow: 0 0 12px rgba(37,211,102,0.18);
}
.dock-tile-whatsapp:hover {
  background: linear-gradient(180deg, rgba(37,211,102,0.62) 0%, rgba(18,140,70,0.28) 100%);
  color: #ffffff;
  border-color: rgba(37,211,102,0.85);
  box-shadow: 0 0 22px rgba(37,211,102,0.35);
}
.dock-system {
  background: radial-gradient(circle, rgba(79,208,230,0.18) 0%, rgba(7,17,31,0.4) 70%);
  padding: 6px;
}
.dock-system img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(79,208,230,0.6));
}
.dock-divider {
  width: 1px;
  height: 28px;
  background: var(--line-2);
  margin: 0 4px;
  align-self: center;
}
.dock-app::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(11,26,46,0.95);
  border: 1px solid var(--line-2);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.dock-app:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 720px) {
  .os-dock { padding: 8px 10px; gap: 6px; }
  .dock-app { width: 36px; height: 36px; }
  .dock-icon svg { width: 18px; height: 18px; }
  .dock-divider { display: none; }
}

/* footer padding so dock doesn't overlap */
body { padding-bottom: 80px; }

/* ============================================================
   INTELLIGENCE AREAS
   ============================================================ */
.intel-areas {
  padding: 70px 0 60px;
  position: relative;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intel-areas .wrap { padding-top: 30px; }

.areas-header {
  max-width: 820px;
  margin-bottom: 60px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.area-card {
  position: relative;
  padding: 26px 26px 24px;
  background:
    linear-gradient(180deg, rgba(15, 37, 67, 0.5) 0%, rgba(7,17,31,0.35) 100%);
  border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.area-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(26,155,215,0.025) 18px 19px);
  pointer-events: none;
}
.area-card:hover {
  border-color: var(--signal);
  transform: translateY(-4px);
  background:
    linear-gradient(180deg, rgba(26, 155, 215, 0.08) 0%, rgba(7,17,31,0.45) 100%);
}

.area-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.area-code { color: var(--signal); font-weight: 500; }
.area-status {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--signal-soft);
}
.area-status.crit { color: var(--gold-bright); }
.area-status.gold { color: var(--gold-bright); }
.area-status.violet { color: var(--violet-bright); }
.area-status.violet .area-dot { background: var(--violet-bright); box-shadow: 0 0 10px rgba(165,149,232,0.6); }
.area-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse 1.8s ease-in-out infinite;
}

.area-icon {
  width: 52px; height: 52px;
  color: var(--signal-soft);
  display: grid; place-items: center;
  margin-top: 4px;
  filter: drop-shadow(0 0 12px rgba(79,208,230,0.4));
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ivory);
}
.area-card p.area-he {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ivory-dim);
  font-weight: 300;
}
.area-tags {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}
.area-tags li {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-2);
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: rgba(7,17,31,0.5);
}

/* ---- Layer mini-video: 9:16 clip on the left, text on the right ---- */
.area-body {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 16px;
}
.area-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.area-video {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 46%, 196px);
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(170deg, rgba(26,155,215,0.10) 0%, rgba(7,17,31,0.7) 100%);
  overflow: hidden;
  cursor: pointer;
}
.area-video .area-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 2;
}
/* once a real clip has data, fade it in over the placeholder */
.area-video.has-video .area-video-el { opacity: 1; }

/* placeholder: the layer icon + a small tag, shown until a clip loads */
.area-video-ph {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  text-align: center;
  color: var(--signal-soft);
}
.area-video-ph svg {
  width: 56px;
  height: 56px;
  opacity: 0.85;
  filter: drop-shadow(0 0 10px rgba(79,208,230,0.35));
}
.area-video-ph-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.area-video-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(7,17,31,0.25) 5px 6px);
  pointer-events: none;
}

/* play affordance — visible while idle, hides during playback */
.area-video-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7,17,31,0.66);
  border: 1px solid var(--line-2);
  color: var(--ivory);
  backdrop-filter: blur(3px);
  transition: opacity .25s ease;
}
.area-video-play svg { width: 13px; height: 13px; }
.area-video.is-playing .area-video-play { opacity: 0; }
.area-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .25s ease;
}
.area-card:hover .area-video { border-color: var(--signal); }
.area-card:hover .area-video::after { border-color: rgba(79,208,230,0.35); }

@media (max-width: 480px) {
  .area-video { width: clamp(140px, 46%, 180px); }
}

.area-card-meta {
  background:
    linear-gradient(135deg, rgba(198,154,69,0.12) 0%, rgba(11,26,46,0.5) 100%);
  border-color: var(--gold);
}
.area-card-meta::before { display: none; }
.area-card-meta:hover { border-color: var(--gold-bright); background: linear-gradient(135deg, rgba(198,154,69,0.16) 0%, rgba(11,26,46,0.55) 100%); }
.area-meta-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.18;
  color: var(--ivory);
}
.area-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding-top: 8px;
  transition: gap .2s ease;
}
.area-cta:hover { gap: 14px; }

/* ============================================================
   FUTURE LAYER
   ============================================================ */
.future-layer {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,155,215,0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, #06101d 50%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
}
.future-layer .wrap { padding-top: 30px; }

.fl-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,155,215,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,155,215,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.fl-header {
  max-width: 820px;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

.fl-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .fl-stack { grid-template-columns: 1fr; } }

.fl-product {
  position: relative;
  padding: 32px 30px;
  background:
    linear-gradient(180deg, rgba(11, 26, 46, 0.72) 0%, rgba(7,17,31,0.5) 100%);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.fl-product::after {
  content: ""; position: absolute;
  top: 0; right: 0;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal-soft));
}

.fl-meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fl-id { color: var(--gold-bright); font-weight: 500; }
.fl-build { color: var(--slate-2); }

.fl-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ivory);
}
.fl-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--signal-soft);
}

.fl-viz {
  height: 160px;
  margin: 4px 0 8px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(26,155,215,0.04) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(26,155,215,0.04) 22px 23px),
    radial-gradient(circle at 50% 50%, rgba(26,155,215,0.1), transparent 70%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.fl-body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ivory-dim);
  font-weight: 300;
}

/* Habitat Index viz */
.habitat-grid {
  display: grid;
  grid-template-columns: repeat(6, 14px);
  grid-template-rows: repeat(2, 14px);
  gap: 6px;
}
.hx {
  width: 14px; height: 14px;
  background: var(--signal);
  opacity: 0.3;
  animation: hxPulse 2.6s ease-in-out infinite;
}
.hx-1 { opacity: 0.85; background: var(--gold-bright); animation-delay: .0s; }
.hx-2 { opacity: 0.45; animation-delay: .2s; }
.hx-3 { opacity: 0.7; background: var(--violet-bright); animation-delay: .4s; }
.hx-4 { opacity: 0.3; animation-delay: .6s; }
.hx-5 { opacity: 0.95; background: var(--gold-bright); animation-delay: .8s; }
.hx-6 { opacity: 0.55; animation-delay: 1s; }
.hx-7 { opacity: 0.4; animation-delay: .15s; }
.hx-8 { opacity: 0.8; background: var(--violet-bright); animation-delay: .3s; }
.hx-9 { opacity: 0.3; animation-delay: .45s; }
.hx-10 { opacity: 0.65; animation-delay: .65s; }
.hx-11 { opacity: 0.4; animation-delay: .85s; }
.hx-12 { opacity: 0.7; background: var(--gold-bright); animation-delay: 1.05s; }
@keyframes hxPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.fl-viz-axis {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 12px 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--slate);
  pointer-events: none;
}

/* Globe viz */
.globe {
  position: relative;
  width: 120px; height: 120px;
}
.globe-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(26,155,215,0.6);
  border-radius: 50%;
}
.globe-ring.r1 { transform: rotateX(70deg); border-color: rgba(79,208,230,0.7); }
.globe-ring.r2 { transform: rotateY(70deg); border-color: rgba(26,155,215,0.55); }
.globe-ring.r3 { transform: rotate(45deg) scaleY(0.35); border-color: rgba(198,154,69,0.6); }
.globe-core {
  position: absolute;
  inset: 38%;
  background: radial-gradient(circle, var(--gold-bright), var(--signal) 70%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(79,208,230,0.5);
  animation: corePulse 2.2s ease-in-out infinite;
}
@keyframes corePulse {
  0%,100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.2); opacity: 1; }
}
.globe-pin {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--signal-soft);
  box-shadow: 0 0 8px var(--signal-soft);
}
.globe-pin.p1 { top: 18%; left: 50%; background: var(--gold-bright); box-shadow: 0 0 10px var(--gold-bright); }
.globe-pin.p2 { top: 50%; left: 18%; }
.globe-pin.p3 { top: 50%; left: 82%; background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); }
.globe-pin.p4 { top: 78%; left: 38%; background: var(--violet-bright); box-shadow: 0 0 10px var(--violet-bright); }
.globe-pin.p5 { top: 38%; left: 72%; }

/* Brief stack viz */
.brief-stack { position: relative; width: 140px; height: 110px; }
.bs-doc {
  position: absolute;
  width: 86px; height: 110px;
  background: linear-gradient(180deg, #1a3a5f 0%, #0b1a2e 100%);
  border: 1px solid var(--line-2);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.bs-doc i {
  display: block; height: 4px;
  background: var(--slate);
  opacity: 0.6;
}
.bs-doc i.long { width: 80%; background: var(--signal-soft); opacity: 0.85; }
.bs-1 { left: 0; top: 0; transform: rotate(-5deg); }
.bs-2 { left: 28px; top: -4px; transform: rotate(2deg); border-color: var(--signal); }
.bs-3 { left: 54px; top: 0; transform: rotate(7deg); border-color: var(--gold); }
.bs-3 i.long { background: var(--gold-bright); }

/* Agent viz */
.fl-viz-agent { place-items: stretch; padding: 16px 18px; }
.agent-prompt {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ivory);
  position: relative;
  align-self: center;
  width: 100%;
  direction: ltr;
  text-align: left;
}
.ap-q { display: block; color: var(--slate-2); font-size: 12px; margin-bottom: 8px; }
.ap-a {
  display: block;
  color: var(--violet-bright);
  transition: opacity .3s ease;
  min-height: 22px;
}
.ap-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--gold-bright);
  margin-right: 4px;
  vertical-align: middle;
  animation: cursorBlink 1s steps(2) infinite;
}
@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.fl-foot {
  position: relative;
  margin-top: 56px;
  padding: 36px 44px 32px;
  border: 1px solid var(--gold);
  background:
    radial-gradient(ellipse 70% 100% at 88% 20%, rgba(198,154,69,0.14), transparent 60%),
    linear-gradient(135deg, rgba(198,154,69,0.10) 0%, rgba(7,17,31,0.55) 100%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 28px;
  align-items: stretch;
}

/* corner brackets — same vocabulary as os-window etc. */
.fl-foot-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-bright);
  border-style: solid;
  border-width: 0;
}
.fl-foot-bracket.tl { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.fl-foot-bracket.tr { top: -1px; left: -1px;  border-top-width: 1px; border-left-width: 1px; }
.fl-foot-bracket.bl { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.fl-foot-bracket.br { bottom: -1px; left: -1px;  border-bottom-width: 1px; border-left-width: 1px; }

/* vertical rail decoration on the start side */
.fl-foot-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
}
.fl-foot-rail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  flex-shrink: 0;
}
.fl-foot-rail-dot-end {
  background: var(--gold-bright);
  box-shadow: 0 0 14px var(--gold-bright);
}
.fl-foot-rail-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(198,154,69,0.7) 0,
    rgba(198,154,69,0.3) 50%,
    rgba(225,182,90,0.85) 100%);
  margin: 6px 0;
  min-height: 60px;
}

/* body column */
.fl-foot-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* eyebrow tag */
.fl-foot-tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--violet-bright);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fl-foot-tag-mark {
  color: rgba(138,120,217,0.5);
  font-weight: 600;
}

/* big lead — the manifesto statement */
.fl-foot-lead {
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.18;
  color: var(--ivory);
  margin: 4px 0 0;
  letter-spacing: -0.01em;
}

/* supporting line */
.fl-foot-text {
  font-family: var(--font-display, var(--font-sans));
  font-size: 17px;
  line-height: 1.55;
  color: var(--ivory-dim);
  max-width: 60ch;
  margin: 0;
}

/* the transition: ממידע בודד → למערכת מחוברת */
.fl-foot-arrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(7,17,31,0.45);
  border: 1px dashed rgba(198,154,69,0.35);
  width: fit-content;
  max-width: 100%;
}
.fl-foot-arrow-from {
  font-family: var(--font-display, var(--font-sans));
  font-size: 17px;
  font-weight: 500;
  color: var(--slate-2);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.fl-foot-arrow-line {
  position: relative;
  flex: 1;
  min-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,168,83,0.3), var(--gold-bright));
}
.fl-foot-arrow-line i {
  position: absolute;
  /* RTL parent: arrow head points left → toward "destination" on the visual left */
  left: -2px;
  top: -3px;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 6px solid var(--gold-bright);
}
.fl-foot-arrow-to {
  font-family: var(--font-display, var(--font-sans));
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(225,182,90,0.35);
}

/* meta footer row: build id + status stamp */
.fl-foot-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(198,154,69,0.18);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.fl-foot-meta-id { color: var(--gold); }
.fl-foot-meta-sep {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,154,69,0.18), transparent);
  max-width: 80px;
}
.fl-foot-meta-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--signal-soft);
}
.fl-foot-meta-stamp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-soft);
  box-shadow: 0 0 8px var(--signal-soft);
  animation: mmPulse 2.4s ease-in-out infinite;
}

@media (max-width: 720px) {
  .fl-foot { padding: 26px 22px 24px; gap: 0 18px; }
  .fl-foot-arrow { flex-wrap: wrap; gap: 8px 12px; }
  .fl-foot-arrow-line { min-width: 40px; }
}

/* ============================================================
   responsive tweaks for new chrome
   ============================================================ */
@media (max-width: 720px) {
  .nav .logo-name, .nav .logo-name-em { font-size: 11px; letter-spacing: 0.1em; }
  .nav .logo-sub { display: none !important; }
  .os-window > .win-titlebar { padding: 8px 14px; font-size: 10px; gap: 10px; }
  .hero.os-window { padding-top: 220px; }
  .area-meta-title, .fl-foot-text { font-size: 18px; }
  .boot-log { height: 130px; font-size: 11px; }
}


/* ============================================================
   FAQ SECTION (GEO-optimized accordion)
   ============================================================ */
.faq {
  padding: 70px 0 60px;
  position: relative;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq .wrap { padding-top: 30px; }
.faq-header { max-width: 820px; margin-bottom: 40px; }

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-2);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.4);
  transition: background .2s ease;
}
.faq-item:hover { background: rgba(11, 26, 46, 0.55); }
.faq-item[open] { background: rgba(11, 26, 46, 0.7); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  user-select: none;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-q-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--signal);
  font-weight: 500;
}
.faq-q-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ivory);
  line-height: 1.3;
}
.faq-q-arrow {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--gold-bright);
  font-weight: 400;
  transition: transform .25s ease;
  width: 24px; height: 24px;
  display: grid; place-items: center;
}
.faq-item[open] .faq-q-arrow { transform: rotate(45deg); }

.faq-a {
  padding: 0 28px 26px calc(28px + 22px + 30px);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ivory-dim);
  max-width: 80ch;
}
.faq-a strong { color: var(--ivory); font-weight: 600; }
.faq-a ol { padding-right: 22px; margin-top: 10px; display: grid; gap: 6px; }
.faq-a ol li { padding-right: 6px; }

@media (max-width: 720px) {
  .faq-item summary { padding: 18px 18px; grid-template-columns: auto 1fr auto; gap: 14px; }
  .faq-a { padding: 0 18px 22px 18px; font-size: 14.5px; }
}


/* ============================================================
   LAYER BANDS (Slow / Mid / Fast)
   ============================================================ */
.layer-band {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}
.layer-band:first-of-type { margin-top: 40px; }

.band-label {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.band-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--slate-2);
  font-weight: 500;
}
.band-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ivory);
}
.band-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--slate-2);
  text-transform: uppercase;
  margin-right: auto;
}

.band-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

/* Band-color accent on cards */
.band-slow .area-card { border-color: rgba(26, 155, 215, 0.35); }
.band-slow .area-card .area-video-ph { color: var(--signal); }
.band-slow .area-card:hover .area-video { border-color: var(--signal); }
.band-mid .area-card .area-video-ph { color: var(--gold-bright); }
.band-mid .area-card:hover .area-video { border-color: var(--gold); }
.band-mid .area-card:hover .area-video::after { border-color: rgba(198,154,69,0.4); }
.band-fast .area-card .area-video-ph { color: var(--signal-soft); }
.band-fast .area-card:hover .area-video { border-color: var(--signal-soft); }
.band-slow .area-card .area-status { color: var(--signal); }
.band-slow .band-title::before {
  content: "■";
  color: var(--signal);
  margin-left: 8px;
  font-size: 0.7em;
}

.band-mid .area-card { border-color: rgba(198, 154, 69, 0.35); }
.band-mid .area-card .area-status { color: var(--gold-bright); }
.band-mid .band-title::before {
  content: "■";
  color: var(--gold-bright);
  margin-left: 8px;
  font-size: 0.7em;
}

.band-fast .area-card { border-color: rgba(79, 208, 230, 0.4); }
.band-fast .area-card .area-status { color: var(--signal-soft); }
.band-fast .band-title::before {
  content: "■";
  color: var(--signal-soft);
  margin-left: 8px;
  font-size: 0.7em;
}

/* Closing thesis quote */
.layer-quote {
  margin-top: 70px;
  padding: 44px 48px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  background: linear-gradient(135deg, rgba(198,154,69,0.08) 0%, rgba(11,26,46,0.45) 100%);
  text-align: center;
}
.lq-tag {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-bright);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.layer-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--ivory);
  max-width: 28ch;
  margin: 0 auto;
}
.layer-quote blockquote em {
  font-style: normal;
  color: var(--signal-soft);
}
.layer-quote blockquote em.gold { color: var(--gold-bright); }
.lq-attr {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--slate-2);
  text-transform: uppercase;
}

/* Hero floor band accents — distinct colors per tempo */
.hf-cell.hf-slow .lbl  { color: #1A9BD7; }            /* deep blue */
.hf-cell.hf-mid  .lbl  { color: #E0B65A; }            /* gold */
.hf-cell.hf-fast .lbl  { color: #5EEAD4; }            /* turquoise */

/* Tinted background + accent border so the three tempos read at a glance */
.hf-cell.hf-slow {
  background:
    linear-gradient(180deg, rgba(26,155,215,0.10) 0%, rgba(26,155,215,0.02) 100%),
    var(--bg-0);
  box-shadow: inset 0 -2px 0 rgba(26,155,215,0.55);
}
.hf-cell.hf-mid {
  background:
    linear-gradient(180deg, rgba(224,182,90,0.10) 0%, rgba(224,182,90,0.02) 100%),
    var(--bg-0);
  box-shadow: inset 0 -2px 0 rgba(224,182,90,0.55);
}
.hf-cell.hf-fast {
  background:
    linear-gradient(180deg, rgba(94,234,212,0.10) 0%, rgba(94,234,212,0.02) 100%),
    var(--bg-0);
  box-shadow: inset 0 -2px 0 rgba(94,234,212,0.55);
}

/* Tempo-tinted small label */
.hf-cell.hf-slow .val small { color: rgba(26,155,215,0.75); }
.hf-cell.hf-mid  .val small { color: rgba(224,182,90,0.80); }
.hf-cell.hf-fast .val small { color: rgba(94,234,212,0.80); }

@media (max-width: 720px) {
  .layer-quote { padding: 32px 24px; }
  .layer-band { margin-top: 44px; }
}

/* ============================================================
   LEARN PROMO · home-page section pointing to /learn/
   ============================================================ */
.learn-promo {
  padding: clamp(60px, 7vh, 90px) 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(198, 154, 69, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  position: relative;
}

.learn-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.learn-promo-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg-1);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all .2s;
  min-height: 280px;
}

.learn-promo-card:hover {
  background: var(--bg-2);
  border-color: var(--violet);
  box-shadow: 0 14px 40px rgba(138,120,217,0.18);
}

.learn-promo-card .lp-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--slate-2);
  font-weight: 500;
}

.learn-promo-card .lp-lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.learn-promo-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.25;
  color: var(--ivory);
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.learn-promo-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ivory-dim);
  margin: 0 0 18px;
  flex: 1;
}

.learn-promo-card .lp-arrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.learn-promo-extras {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.learn-promo-extra {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg-0);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .2s;
}

.learn-promo-extra:hover {
  background: var(--bg-2);
}

.learn-promo-extra .lpe-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
}

.learn-promo-extra .lpe-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.35;
}

.learn-promo-extra .lpe-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate-2);
  margin-top: auto;
}

/* ==================================================================
   CINEMATIC BOOT · "James Bond OS" entry sequence
   Replaces the basic boot. Same IDs so JS works unchanged.
   ================================================================== */

.os-boot.cinematic {
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(26,155,215,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 75% 75%, rgba(138,120,217,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(18, 14, 6, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse at center, #07111F 0%, #050B14 70%, #02060c 100%);
  color: #f6efdc;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  display: block;
  overflow: hidden;
}

/* letterbox bars · slide in like a film opening */
.cine-bar {
  position: absolute;
  left: 0; right: 0;
  height: 56px;
  background: #000;
  z-index: 30;
  transform: translateY(0);
  animation: cineBarIn 1s cubic-bezier(.22,.61,.36,1) both;
  box-shadow: 0 0 60px rgba(0,0,0,0.95);
}
.cine-bar-top { top: 0; transform: translateY(-100%); animation-name: cineBarTopIn; }
.cine-bar-bot { bottom: 0; transform: translateY(100%); animation-name: cineBarBotIn; }
@keyframes cineBarTopIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes cineBarBotIn { from { transform: translateY(100%);  } to { transform: translateY(0); } }

/* canvas — keep the boot's net field readable as a blue signal field */
.os-boot.cinematic .boot-canvas {
  opacity: 0.35;
  filter: saturate(1.1) brightness(0.95);
  mix-blend-mode: screen;
}

/* atmospheric vignette + grid (now signal-blue and violet tinted) */
.cine-vignette {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 50% at center, transparent 30%, rgba(2,6,12,0.85) 100%);
  pointer-events: none;
}
.cine-grid {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26,155,215,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,83,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, #000 30%, transparent 80%);
}

/* concentric scope rings · slow rotation */
.cine-rings {
  position: absolute;
  top: 50%; left: 50%;
  width: 110vmin; height: 110vmin;
  margin: -55vmin 0 0 -55vmin;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
  animation: cineRingRot 60s linear infinite;
}
.cine-rings .cine-ticks { animation: cineRingRot 22s linear infinite reverse; transform-origin: 400px 400px; }
@keyframes cineRingRot { to { transform: rotate(360deg); } }

/* HUD strips inside the letterbox */
.cine-hud {
  position: absolute;
  left: 0; right: 0;
  height: 56px;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(212,168,83,0.85);
  text-transform: uppercase;
  pointer-events: none;
  animation: cineFade 1.2s ease 0.6s both;
}
.cine-hud-top { top: 0; }
.cine-hud-bot { bottom: 0; }
.cine-hud-l { justify-self: start; display:flex; align-items:center; gap: 10px; }
.cine-hud-c { justify-self: center; display:flex; align-items:center; gap: 16px; color: rgba(255,237,196,0.95); letter-spacing: 0.34em; font-weight: 600; }
.cine-hud-r { justify-self: end; display:flex; align-items:center; gap: 10px; }
.cine-dim { color: rgba(212,168,83,0.45); }
.cine-mono { font-family: var(--font-mono); color: #f6efdc; }
.cine-coord { font-family: var(--font-mono); color: rgba(212,168,83,0.85); }
.cine-timecode { font-family: var(--font-mono); color: #ffe9b2; min-width: 110px; display:inline-block; text-align:right; }

.cine-pip {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff3a2e;
  box-shadow: 0 0 8px #ff3a2e, 0 0 18px rgba(255,58,46,0.6);
  animation: cinePip 1.4s ease-in-out infinite;
}
@keyframes cinePip { 0%, 60% { opacity: 1; } 70%, 100% { opacity: 0.25; } }
.cine-marker {
  width: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.6), transparent);
}

/* main stage · sized to fit ≤ 720px viewports comfortably */
.os-boot.cinematic { overflow-y: auto; }
.cine-stage {
  position: relative;
  z-index: 10;
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 108px 32px 76px;
  display: grid;
  gap: 22px;
  min-height: 100vh;
  align-content: center;
  animation: cineStageIn 1.1s cubic-bezier(.22,.61,.36,1) 0.4s both;
}
@media (max-height: 820px) {
  .cine-stage { padding: 92px 32px 64px; gap: 16px; min-height: 0; }
}
@keyframes cineStageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cineFade { from { opacity: 0; } to { opacity: 1; } }

/* mast: logo + title + meta */
.cine-mast {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212,168,83,0.25);
  position: relative;
}
.cine-mast::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, #d4a853, transparent);
}
.cine-mast-mark {
  width: 120px; height: 120px;
  display: grid; place-items: center;
  border: 1px solid rgba(212,168,83,0.4);
  background: rgba(0,0,0,0.4);
  position: relative;
  filter: drop-shadow(0 0 24px rgba(212,168,83,0.25));
}
.cine-mast-mark::before, .cine-mast-mark::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 1px solid #d4a853;
}
.cine-mast-mark::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cine-mast-mark::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.cine-mast-mark img { width: 112px; height: 112px; object-fit: contain; opacity: 0.96; }

.cine-mast-text { min-width: 0; }
.cine-mast-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: rgba(212,168,83,0.7);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cine-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  padding: 3px 8px;
  border: 1px solid #ff3a2e;
  color: #ff5a4e;
  background: rgba(255,58,46,0.06);
  transform: rotate(-2deg);
  font-weight: 700;
}
.cine-mast-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 44px);
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 1.05;
  color: #fdf3d6;
  text-shadow: 0 0 30px rgba(212,168,83,0.12);
}
.cine-mast-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: rgba(246,239,220,0.5);
  text-transform: uppercase;
  margin-top: 6px;
}
.cine-mast-meta {
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
  min-width: 220px;
}
.cine-mast-meta > div {
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px;
  justify-content: end;
  align-items: baseline;
}
.cine-mast-meta span { color: rgba(212,168,83,0.55); }
.cine-mast-meta b { color: #f6efdc; font-weight: 600; letter-spacing: 0.22em; }

/* two-column body */
.cine-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}

.cine-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(15, 37, 67, 0.55), rgba(7, 17, 31, 0.78));
  border: 1px solid rgba(28, 65, 112, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 18px 12px;
  display: grid;
  gap: 10px;
  min-height: 220px;
}
.cine-panel-files { border-top: 1px solid rgba(26,155,215,0.55); }
.cine-panel-dossier { border-top: 1px solid rgba(212,168,83,0.55); }
.cine-panel::before, .cine-panel::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1px solid #d4a853;
}
.cine-panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cine-panel::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.cine-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,168,83,0.18);
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.cine-panel-eyebrow {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(212,168,83,0.55);
}
.cine-panel-title {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  color: #fdf3d6;
  font-weight: 600;
}
.cine-panel-tag {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  padding: 3px 8px;
  border: 1px solid rgba(255,58,46,0.65);
  color: #ff8b80;
  background: rgba(255,58,46,0.07);
}
.cine-panel-tag.green {
  border-color: rgba(110, 220, 150, 0.65);
  color: #b8efcb;
  background: rgba(60, 180, 120, 0.08);
}

.cine-panel-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid rgba(212,168,83,0.12);
  color: rgba(246,239,220,0.7);
}

/* override stock boot-log inside cinematic */
.os-boot.cinematic .boot-log {
  background: transparent;
  border: none;
  height: 160px;
  margin: 0;
  padding: 4px 2px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(246,239,220,0.85);
  font-family: var(--font-mono);
}
@media (max-height: 820px) {
  .os-boot.cinematic .boot-log { height: 130px; font-size: 11.5px; line-height: 1.5; }
  .cine-panel { min-height: 180px; }
}
.os-boot.cinematic .boot-log::after { display: none; }
.os-boot.cinematic .boot-line {
  letter-spacing: 0.06em;
  color: rgba(246,239,220,0.78);
}
.os-boot.cinematic .boot-line:nth-child(odd)  { color: rgba(246,239,220,0.85); }
.os-boot.cinematic .boot-line:nth-child(3n)   { color: #f1c97a; }
.os-boot.cinematic .boot-line:nth-child(4n)   { color: #6cc6ea; }
.os-boot.cinematic .boot-line:nth-child(7n)   { color: #b4a8ee; }
.os-boot.cinematic .boot-line:last-child {
  color: #ffe09a;
  text-shadow: 0 0 10px rgba(212,168,83,0.5);
}

/* dossier panel · portrait + meta */
.cine-dossier-body {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: stretch;
}
.cine-portrait {
  position: relative;
  width: 100px; height: 128px;
  border: 1px solid rgba(212,168,83,0.4);
  background:
    repeating-linear-gradient(0deg, rgba(212,168,83,0.06) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, rgba(212,168,83,0.10), transparent 70%),
    #0a0805;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cine-portrait-corner {
  position: absolute; width: 12px; height: 12px;
  border: 1px solid #d4a853;
}
.cine-portrait-corner.tl { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.cine-portrait-corner.tr { top: 4px; right: 4px; border-left: none; border-bottom: none; }
.cine-portrait-corner.bl { bottom: 4px; left: 4px; border-right: none; border-top: none; }
.cine-portrait-corner.br { bottom: 4px; right: 4px; border-left: none; border-top: none; }
.cine-portrait-inner {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(212,168,83,0.35), transparent 60%),
    radial-gradient(circle at center, rgba(212,168,83,0.12), transparent 75%),
    #0e0a05;
  border: 1px solid rgba(212,168,83,0.4);
  display: grid; place-items: center;
  overflow: hidden;
}
.cine-portrait-inner::before {
  content: "";
  position: absolute; inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 60% 30% at center 80%, rgba(212,168,83,0.55), transparent 70%),
    radial-gradient(ellipse 50% 60% at center 35%, rgba(212,168,83,0.45), transparent 75%);
  filter: blur(0.6px);
  opacity: 0;
}
.cine-portrait-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter:
    drop-shadow(0 0 10px rgba(26,155,215,0.45))
    drop-shadow(0 0 22px rgba(212,168,83,0.18));
  z-index: 1;
}
.cine-portrait-id {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  color: rgba(212,168,83,0.7);
  text-transform: uppercase;
  text-shadow: 0 1px 0 #000;
  z-index: 2;
}
.cine-portrait-scan {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(180deg, rgba(212,168,83,0.9), transparent);
  animation: cineScan 2.4s cubic-bezier(.55,0,.45,1) infinite;
  box-shadow: 0 0 12px rgba(212,168,83,0.55);
  z-index: 3;
}
@keyframes cineScan {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(126px); }
  100% { transform: translateY(0); }
}

.cine-dossier-meta {
  display: grid;
  gap: 8px;
  align-content: center;
}
.cine-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(212,168,83,0.12);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-8px);
  animation: cineRowRunIn 0.55s cubic-bezier(.2,.7,.2,1) forwards;
}
.cine-row:nth-child(1) { animation-delay: 0.35s; }
.cine-row:nth-child(2) { animation-delay: 0.70s; }
.cine-row:nth-child(3) { animation-delay: 1.05s; }
.cine-row:nth-child(4) { animation-delay: 1.40s; }
.cine-row:nth-child(5) { animation-delay: 1.75s; }
.cine-row:nth-child(6) { animation-delay: 2.10s; }
.cine-row b {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
}
.cine-row b::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: -2px;
  width: 7px;
  background: #f1c97a;
  box-shadow: 0 0 8px rgba(241,201,122,0.7);
  animation: cineCaretBlink 0.9s steps(2, end) infinite;
}
.cine-row.typed b::after { display: none; }
@keyframes cineRowRunIn {
  0%   { opacity: 0; transform: translateX(-8px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes cineCaretBlink {
  0%, 50%  { opacity: 1; }
  51%,100% { opacity: 0; }
}
.cine-row span { color: rgba(212,168,83,0.55); }
.cine-row b { color: #f6efdc; font-weight: 600; letter-spacing: 0.16em; }
.cine-row b.green { color: #b8efcb; text-shadow: 0 0 8px rgba(110,220,150,0.4); }
.cine-row b.green::before {
  content: "●";
  display: inline-block;
  color: #6edc96;
  margin-inline-end: 6px;
  animation: cinePip 1.6s ease-in-out infinite;
}

/* biometric mini-bars in footer */
.cine-biometric {
  display: inline-flex;
  gap: 3px;
  align-items: end;
}
.cine-bio-bar {
  width: 4px;
  background: #d4a853;
  display: inline-block;
  animation: cineBio 1.4s ease-in-out infinite;
}
.cine-bio-bar:nth-child(1) { height: 6px;  animation-delay: 0s; }
.cine-bio-bar:nth-child(2) { height: 10px; animation-delay: .15s; }
.cine-bio-bar:nth-child(3) { height: 14px; animation-delay: .3s; }
.cine-bio-bar:nth-child(4) { height: 8px;  animation-delay: .45s; }
.cine-bio-bar:nth-child(5) { height: 12px; animation-delay: .6s; }
@keyframes cineBio {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* progress section */
.cine-progress {
  display: grid;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(15,37,67,0.6), rgba(7,17,31,0.78));
  border: 1px solid rgba(28, 65, 112, 0.55);
  border-top: 1px solid rgba(26,155,215,0.4);
  position: relative;
}
.cine-progress::before, .cine-progress::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1px solid #d4a853;
}
.cine-progress::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cine-progress::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.cine-progress-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.cine-bar-progress {
  height: 2px;
  background: rgba(212,168,83,0.12);
  margin: 0;
  position: relative;
  overflow: visible;
}
.cine-bar-progress .boot-bar-fill {
  background: linear-gradient(90deg, rgba(26,155,215,0) 0%, #1A9BD7 25%, #d4a853 60%, #ffe9b2 100%);
  box-shadow: 0 0 14px rgba(212,168,83,0.6), 0 0 24px rgba(26,155,215,0.3);
  transition: width .35s cubic-bezier(.22,.61,.36,1);
}
.cine-bar-progress .boot-bar-fill::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 2px; height: 8px;
  background: #ffe9b2;
  box-shadow: 0 0 10px #ffe9b2;
}
#cine-pct { color: #ffe9b2; min-width: 48px; text-align: right; }

.cine-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cine-status-dot {
  width: 7px; height: 7px;
  background: #ff3a2e;
  box-shadow: 0 0 8px #ff3a2e;
  border-radius: 50%;
  animation: cinePip 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.os-boot.cinematic .boot-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246,239,220,0.85);
  margin: 0;
  min-height: 14px;
}

/* enter button · luxe gold */
.boot-skip.cine-enter {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  margin-top: 4px;
  background: linear-gradient(180deg, rgba(79,208,230,0.14), rgba(26,155,215,0.06));
  border: 1px solid rgba(79,208,230,0.6);
  color: #e8f8ff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: all .3s cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 0 0 1px rgba(79,208,230,0.08), 0 0 24px rgba(26,155,215,0.14);
}
/* once the decryption finishes, the button glows invitingly */
.os-boot.cinematic.ready .cine-enter {
  background: linear-gradient(180deg, rgba(79,208,230,0.30), rgba(26,155,215,0.12));
  border-color: #4FD0E6;
  animation: cineEnterPulse 2.2s ease-in-out infinite;
}
@keyframes cineEnterPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(79,208,230,0.55), 0 0 30px rgba(79,208,230,0.40), 0 0 60px rgba(26,155,215,0.30); }
  50%      { box-shadow: 0 0 0 1px rgba(79,208,230,0.9),  0 0 44px rgba(79,208,230,0.60), 0 0 80px rgba(26,155,215,0.45); }
}
.boot-skip.cine-enter::before, .boot-skip.cine-enter::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border: 1px solid #4FD0E6;
  transition: all .3s ease;
}
.boot-skip.cine-enter::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.boot-skip.cine-enter::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.boot-skip.cine-enter:hover {
  background: linear-gradient(180deg, rgba(79,208,230,0.32), rgba(26,155,215,0.16));
  color: #f4fcff;
  box-shadow: 0 0 0 1px rgba(79,208,230,0.55), 0 0 36px rgba(79,208,230,0.45), inset 0 0 24px rgba(26,155,215,0.10);
  transform: translateY(-1px);
}
.boot-skip.cine-enter:hover::before,
.boot-skip.cine-enter:hover::after { width: 20px; height: 20px; }

.cine-enter-key {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #4FD0E6;
  padding: 4px 8px;
  border: 1px solid rgba(79,208,230,0.55);
  background: rgba(0,0,0,0.4);
}
.cine-enter-label {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #e8f8ff;
}
.cine-enter-arrow {
  font-size: 14px;
  color: #4FD0E6;
  transition: transform .3s ease;
}
.boot-skip.cine-enter:hover .cine-enter-arrow { transform: translateX(4px); }

/* fade-out · cinematic blackout */
.os-boot.cinematic.out {
  opacity: 0;
  transform: none;
  transition: opacity .9s cubic-bezier(.4,0,.6,1);
}
.os-boot.cinematic.out .cine-bar-top { animation: cineBarTopOut .8s cubic-bezier(.4,0,.6,1) both; }
.os-boot.cinematic.out .cine-bar-bot { animation: cineBarBotOut .8s cubic-bezier(.4,0,.6,1) both; }
.os-boot.cinematic.out .cine-stage { animation: cineStageOut .6s ease both; }
@keyframes cineBarTopOut { to { transform: translateY(-100%); } }
@keyframes cineBarBotOut { to { transform: translateY(100%);  } }
@keyframes cineStageOut  { to { opacity: 0; transform: translateY(-6px); } }

/* mobile */
@media (max-width: 820px) {
  .cine-mast { grid-template-columns: 84px 1fr; gap: 16px; }
  .cine-mast-mark { width: 84px; height: 84px; }
  .cine-mast-mark img { width: 78px; height: 78px; }
  .cine-mast-meta { display: none; }
  .cine-mast-title { font-size: 26px; letter-spacing: 0.12em; }
  .cine-cols { grid-template-columns: 1fr; }
  .cine-hud { font-size: 9.5px; letter-spacing: 0.16em; gap: 10px; padding: 0 14px; }
  .cine-hud-c { display: none; }
  .cine-bar { height: 40px; }
  .cine-hud { height: 40px; }
  .cine-stage { padding: 64px 18px 68px; }
  .os-boot.cinematic .boot-log { height: 160px; font-size: 11.5px; }
  .cine-dossier-body { grid-template-columns: 88px 1fr; }
  .cine-portrait { width: 88px; height: 110px; }
  .boot-skip.cine-enter { padding: 14px 18px; gap: 12px; font-size: 10.5px; }
  .cine-enter-label { font-size: 12px; }
}

/* ============================================================
   MOUSE INTELLIGENCE · INTERACTIVE EFFECTS
   ============================================================ */

/* ── Custom cursor ── */
.mi-cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--signal-soft);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.2s;
  box-shadow: 0 0 20px var(--signal-glow), 0 0 60px rgba(26, 155, 215, 0.2);
  mix-blend-mode: screen;
  will-change: left, top;
}
.mi-cursor-ring {
  position: fixed;
  width: 44px; height: 44px;
  border: 1px solid rgba(79, 208, 230, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.3s;
  will-change: left, top;
}
.mi-cursor-dot.hovering {
  width: 14px; height: 14px;
  background: var(--gold-bright);
  box-shadow: 0 0 30px rgba(224, 182, 90, 0.5);
}
.mi-cursor-ring.hovering {
  width: 64px; height: 64px;
  border-color: rgba(224, 182, 90, 0.45);
}

/* Hide custom cursor on touch / small screens */
@media (hover: none), (max-width: 768px) {
  .mi-cursor-dot, .mi-cursor-ring { display: none !important; }
  body.mi-active { cursor: auto !important; }
}

body.mi-active .hero { cursor: none; }
body.mi-active .hero a, body.mi-active .hero button,
body.mi-active .hero [data-tilt] { cursor: none; }

/* ── Mouse glow layer ── */
.mi-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(26, 155, 215, 0.05), transparent 60%);
}

/* ── Particle canvas ── */
#mi-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

/* ── 3D Tilt cards (applied to existing cards) ── */
.mi-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.mi-tilt:hover {
  transition: transform 0.1s ease, box-shadow 0.3s ease;
}
.mi-tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--cx, 50%) var(--cy, 50%), rgba(26, 155, 215, 0.1), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 1;
}
.mi-tilt:hover::after { opacity: 1; }

/* ── Magnetic button wrapper ── */
.mi-mag-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mi-mag-wrap > .btn {
  will-change: transform;
  transition: transform 0.15s ease-out, background 0.25s, box-shadow 0.3s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.mi-mag-wrap > .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255,255,255,0.2), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.mi-mag-wrap > .btn:hover::after { opacity: 1; }
.mi-mag-wrap > .btn.btn-ghost::after {
  background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(26, 155, 215, 0.15), transparent 60%);
}

/* ── Coords bar ── */
.mi-coords {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 100;
  padding: 8px 30px;
  background: rgba(5, 11, 20, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate-2);
  direction: ltr;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mi-coords.visible { transform: translateY(0); }

.mi-coords .cv { color: var(--signal-soft); font-weight: 500; }
.mi-coords .gv { color: var(--gold-bright); }

.mi-coord-group {
  display: flex;
  gap: 24px;
  align-items: center;
}

.mi-vel-bar {
  width: 70px;
  height: 3px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}
.mi-vel-fill {
  height: 100%;
  background: var(--signal);
  border-radius: 2px;
  transition: width 0.12s ease;
  box-shadow: 0 0 6px var(--signal-glow);
}

/* ── Parallax depth elements ── */
.mi-parallax { will-change: transform; }

/* Dock spacing to not overlap coords */
body.mi-active .os-dock { bottom: 38px; }

@media (hover: none), (max-width: 768px) {
  .mi-coords { display: none !important; }
  body.mi-active .os-dock { bottom: 0; }
}

/* ==================================================================
   v2 — MINIMAL BOOT, HERO TAGLINE, METHOD METRICS, CUSTOM CARD
   ================================================================== */

/* ---- RTL safety: any English-only label inside a dir="rtl" page must
   be flagged unicode-bidi: plaintext so periods/commas stay on the right
   end of the sentence (where the eye expects). Covers product codes,
   monospace tags, window-chrome titles, future-layer descriptors, etc. */
.fl-tag, .fl-name, .fl-id, .fl-build,
.win-title, .win-meta,
.meta-tag, .mono,
.signal-strip .label, .signal-track > span,
.hero-meta, .hero-meta b, .hero-meta span,
.s5-step h4, .s5-step .marker,
.area-code, .area-status,
.band-tag, .band-title, .band-meta,
.product-card .code, .product-card .badge,
.fl-foot-tag,
.bb-sub, .boot-min-tag,
.cred .num,
.outcome-stamp, .outcome-stamp span {
  unicode-bidi: plaintext;
}

/* ---- Minimal 1.5s boot ---- */
.boot-min {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse at center, rgba(11,26,46,0.96) 0%, var(--bg-0) 70%),
    var(--bg-0);
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity .5s cubic-bezier(.4,0,.6,1);
  cursor: pointer;
}
.boot-min.out { opacity: 0; pointer-events: none; }
.boot-min-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: bootMinIn 1s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes bootMinIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.boot-min-mark {
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
}
.boot-min-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 0 32px rgba(26,155,215,0.32));
}
.boot-min-brand {
  font-family: var(--font-display, var(--font-sans));
  font-size: 32px;
  letter-spacing: 0.28em;
  color: var(--signal);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 6px;
  text-shadow: 0 0 24px rgba(26,155,215,0.45);
}
.boot-min-name {
  font-family: var(--font-display, var(--font-sans));
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ivory);
  font-weight: 500;
}
.boot-min-em {
  color: var(--signal);
  font-style: italic;
  font-weight: 400;
}
.boot-min-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-top: 8px;
}
.boot-min-tag .bbw {
  font-weight: 600;
}
.boot-min-sub {
  font-family: var(--font-display, var(--font-sans));
  font-size: 14px;
  letter-spacing: 0.02em;
  font-style: italic;
  color: var(--slate-2);
  margin-top: 2px;
  text-align: center;
  max-width: 360px;
  text-wrap: balance;
}
.boot-min-bar {
  position: relative;
  width: 180px;
  height: 1px;
  background: rgba(246,239,220,0.08);
  overflow: hidden;
  margin-top: 8px;
}
.boot-min-bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: bootMinScan 2.4s linear infinite;
}
@keyframes bootMinScan {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ---- Hero prism tagline ---- */
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.005em;
  margin: 24px 0 18px;
  line-height: 1.4;
}
.hero-tagline-mark {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  display: inline-block;
  background:
    conic-gradient(from 220deg,
      var(--signal-soft) 0deg,
      var(--gold) 120deg,
      #b4a8ee 240deg,
      var(--signal-soft) 360deg);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 8px rgba(212,168,83,0.4));
}

/* ---- Methodology metric strip ---- */
.method-metrics {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(180deg, rgba(7,17,31,0.55) 0%, rgba(11,26,46,0.7) 100%);
  /* faint blueprint grid */
  background-image:
    linear-gradient(rgba(79,208,230,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,208,230,0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7,17,31,0.55) 0%, rgba(11,26,46,0.7) 100%);
  background-size: 28px 28px, 28px 28px, auto;
}
/* connecting top accent rail running across the strip */
.method-metrics::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0,
    rgba(26,155,215,0.0) 4%,
    rgba(26,155,215,0.55) 14%,
    rgba(79,208,230,0.55) 38%,
    rgba(217,154,85,0.55) 62%,
    rgba(198,154,69,0.7) 86%,
    transparent 100%);
}
.method-metrics::after {
  content: "// METHODOLOGY · METRICS";
  position: absolute;
  top: -10px;
  right: 18px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: var(--slate-2);
  background: var(--bg-0);
}

/* corner brackets, same vocabulary as .os-window */
.mm-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold);
  border-style: solid;
  border-width: 0;
}
.mm-corner.tl { top: -1px; left: -1px;  border-top-width: 1px; border-left-width: 1px; }
.mm-corner.tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.mm-corner.bl { bottom: -1px; left: -1px;  border-bottom-width: 1px; border-left-width: 1px; }
.mm-corner.br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

.mm-cell {
  position: relative;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  border-right: 1px solid var(--line-2);
  color: var(--signal);  /* default accent, overridden per cell below */
  transition: background .35s ease, transform .35s ease;
}
.mm-cell:last-child { border-right: none; }

.mm-cell:hover {
  background: linear-gradient(180deg, rgba(26,155,215,0.06) 0%, transparent 60%);
}
.mm-cell:hover .mm-glyph { opacity: 1; transform: translateY(-2px); }

/* eyebrow row: code + tiny pulse dot */
.mm-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.mm-eyebrow-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--slate-2);
}
.mm-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: mmPulse 2.4s ease-in-out infinite;
}
@keyframes mmPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* glyph: faint icon hint */
.mm-glyph {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 22px;
  height: 22px;
  color: currentColor;
  opacity: 0.55;
  transition: opacity .35s ease, transform .35s ease;
}
.mm-glyph svg { width: 100%; height: 100%; }

.mm-num {
  font-family: var(--font-mono);
  font-size: clamp(40px, 4.4vw, 56px);
  color: var(--ivory);
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 300;
  margin-top: 12px;
  text-shadow: 0 0 24px color-mix(in srgb, currentColor 35%, transparent);
}
.mm-lab {
  font-family: var(--font-display, var(--font-sans));
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: var(--ivory);
  font-weight: 500;
  margin-top: 4px;
}
.mm-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.mm-note {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: color-mix(in srgb, currentColor 75%, var(--slate-2));
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed color-mix(in srgb, currentColor 35%, transparent);
  width: 100%;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* per-cell accent color (drives glyph, pulse dot, num glow, note border) */
.mm-c-1 { color: var(--signal); }
.mm-c-2 { color: var(--signal-soft); }
.mm-c-3 { color: #d99a55; }
.mm-c-4 { color: var(--gold-bright); }

/* the gold pillar cell stays subtly highlighted */
.mm-cell-gold {
  background:
    linear-gradient(180deg, rgba(198,154,69,0.07) 0%, transparent 70%);
}
.mm-cell-gold .mm-num { color: var(--gold-bright); }
.mm-cell-gold:hover {
  background: linear-gradient(180deg, rgba(198,154,69,0.14) 0%, transparent 60%);
}

@media (max-width: 880px) {
  .method-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .mm-cell {
    border-right: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
  }
  .mm-cell:nth-child(2n) { border-right: none; }
  .mm-cell:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .method-metrics { grid-template-columns: 1fr; }
  .mm-cell:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line-2); }
  .mm-cell:last-child { border-right: none; border-bottom: none; }
}

/* ---- 8th product card · custom.build ---- */
.product-card-custom {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(160deg, rgba(138,120,217,0.10) 0%, rgba(11,26,46,0.5) 100%);
  border-color: rgba(138,120,217,0.42) !important;
  position: relative;
  overflow: hidden;
  color: inherit;
}
.product-card-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(138,120,217,0.05) 14px 15px);
  pointer-events: none;
}
.product-card-custom h3 {
  color: var(--ivory);
}
.product-card-custom .cta {
  color: #b4a8ee;
}
.badge-violet {
  background: rgba(138,120,217,0.16);
  color: #b4a8ee;
  border-color: rgba(138,120,217,0.4) !important;
}

/* ---- 4-word narrative gradient (boot screen + brand banner) ----
   Each word gets its color from the .bbw-N class wherever it appears. */
.bbw {
  font-weight: 600;
  letter-spacing: 0.16em;
  transition: text-shadow .4s ease, color .4s ease;
}
.bbw-1 { color: var(--signal);                  text-shadow: 0 0 14px rgba(26,155,215,0.35); }
.bbw-2 { color: var(--signal-soft);             text-shadow: 0 0 14px rgba(79,208,230,0.35); }
.bbw-3 { color: var(--violet-bright, #b4a8ee);  text-shadow: 0 0 14px rgba(138,120,217,0.40); }
.bbw-4 { color: var(--gold-bright);             text-shadow: 0 0 14px rgba(225,176,74,0.40); }
.bbw:hover { text-shadow: 0 0 20px currentColor; }

/* ---- S5 methodology rail — narrative color gradient ----
   1 SIGNAL    → signal blue   (the raw signal, on the surface)
   2 SYSTEM    → cyan/teal     (going deeper into structure)
   3 STAKES    → copper/amber  (what's at risk, value)
   4 SCENARIOS → violet        (futures, possibilities) [also styled via .s5-step-foresight]
   5 STRATEGY  → gold          (the decision, the act) */

.s5-step:nth-child(1) .marker,
.s5-step:nth-child(1) .marker .num,
.s5-step:nth-child(1) .q {
  color: var(--signal);
}
.s5-step:nth-child(1) .marker .num {
  border-color: rgba(26,155,215,0.5);
  background: rgba(26,155,215,0.08);
}
.s5-step:nth-child(1) .q {
  border-right-color: var(--signal) !important;
}

.s5-step:nth-child(2) .marker,
.s5-step:nth-child(2) .marker .num,
.s5-step:nth-child(2) .q {
  color: var(--signal-soft);
}
.s5-step:nth-child(2) .marker .num {
  border-color: rgba(79,208,230,0.5);
  background: rgba(79,208,230,0.08);
}
.s5-step:nth-child(2) .q {
  border-right-color: var(--signal-soft) !important;
}

.s5-step:nth-child(3) .marker,
.s5-step:nth-child(3) .marker .num,
.s5-step:nth-child(3) .q {
  color: #d99a55; /* copper-amber */
}
.s5-step:nth-child(3) .marker .num {
  border-color: rgba(217,154,85,0.55);
  background: rgba(217,154,85,0.08);
}
.s5-step:nth-child(3) .q {
  border-right-color: #d99a55 !important;
}

/* :nth-child(4) keeps the .s5-step-foresight violet treatment from the prior block.
   We just make the border + background of its .num match. */
.s5-step:nth-child(4) .marker .num {
  border-color: rgba(138,120,217,0.55);
  background: rgba(138,120,217,0.08);
}
.s5-step:nth-child(4) .q {
  border-right-color: var(--violet-bright, #b4a8ee) !important;
}

.s5-step:nth-child(5) .marker,
.s5-step:nth-child(5) .marker .num,
.s5-step:nth-child(5) .q {
  color: var(--gold-bright);
}
.s5-step:nth-child(5) .marker .num {
  border-color: rgba(225,176,74,0.6);
  background: rgba(225,176,74,0.10);
}
.s5-step:nth-child(5) .q {
  border-right-color: var(--gold-bright) !important;
}

/* a faint vertical color rail at the start of each step (top accent) */
.s5-step::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.s5-step:nth-child(1)::before { background: var(--signal); }
.s5-step:nth-child(2)::before { background: var(--signal-soft); }
.s5-step:nth-child(3)::before { background: #d99a55; }
.s5-step:nth-child(4)::before { background: var(--violet-bright, #b4a8ee); }
.s5-step:nth-child(5)::before { background: var(--gold-bright); }


/* ============================================================
   BOOK_05 · Briefing modal (matches OS-window aesthetic)
   ============================================================ */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.book-modal.is-open { display: flex; }

.book-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: bookModalFade .25s ease both;
}

.book-modal__win {
  position: relative;
  width: min(960px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(198,154,69,0.10), transparent 60%),
    linear-gradient(180deg, rgba(13,28,50,0.96) 0%, rgba(5,11,20,0.98) 100%);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 1px 0 rgba(255,255,255,0.06) inset;
  overflow: hidden;
  animation: bookModalRise .32s cubic-bezier(.2,.7,.2,1) both;
}

.book-modal__titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(5, 11, 20, 0.85);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate-2);
  text-transform: uppercase;
  flex-shrink: 0;
}
.book-modal__lights { display: inline-flex; gap: 6px; }
.book-modal__lights i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2a3a52;
  display: inline-block;
}
.book-modal__lights i:nth-child(1) { background: #c69a45; }
.book-modal__lights i:nth-child(2) { background: #2a3a52; }
.book-modal__lights i:nth-child(3) { background: #2a3a52; }
.book-modal__title-meta { flex: 1; }
.book-modal__close {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  width: 30px; height: 26px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
  transition: all .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.book-modal__close:hover {
  color: var(--ivory);
  background: rgba(26,155,215,0.10);
  border-color: var(--signal);
}

.book-modal__body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 32px 36px 36px;
  overflow-y: auto;
}
@media (max-width: 720px) {
  .book-modal__body {
    grid-template-columns: 1fr;
    padding: 22px 22px 26px;
    gap: 22px;
  }
}

.book-modal__cover {
  position: relative;
  align-self: start;
}
.book-modal__cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.55),
    0 0 0 1px rgba(198,154,69,0.30);
}
.book-modal__cover-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(5,11,20,0.85);
  border: 1px solid rgba(224,182,90,0.55);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  text-transform: uppercase;
}
.book-modal__cover-dot {
  width: 6px; height: 6px;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-bright);
  animation: pulse 1.8s ease-in-out infinite;
}

.book-modal__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.book-modal__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.book-modal__subtitle {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--slate-2);
  margin-bottom: 22px;
}
.book-modal__pull {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ivory);
  padding: 14px 18px;
  border-right: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(198,154,69,0.08), transparent);
  margin-bottom: 22px;
  border-radius: 0 4px 4px 0;
}
.book-modal__pull em {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 600;
}
.book-modal__lede {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ivory);
  margin: 0 0 14px;
}
.book-modal__lede strong { color: var(--gold-bright); font-weight: 600; }
.book-modal__content p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ivory-dim);
  margin: 0 0 12px;
}

.book-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 18px 0;
  margin: 14px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.book-modal__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.book-modal__meta-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.20em;
  color: var(--slate-2);
  text-transform: uppercase;
}
.book-modal__meta-val {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ivory);
}
.book-modal__meta-val.gold { color: var(--gold-bright); }

.book-modal__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Book card hover lift */
.book-card { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.book-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(20,48,79,0.18);
}
.book-card--soon:hover {
  background: rgba(198,154,69,0.06);
  box-shadow: 0 6px 20px rgba(198,154,69,0.15);
}

@keyframes bookModalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bookModalRise {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .book-modal__scrim, .book-modal__win { animation: none; }
}


/* ============================================================
   BOOK_05 · "Coming Soon" wide card — distinct treatment
   ============================================================ */
.book-card--wide.book-card--soon {
  border: 1px solid rgba(224,182,90,0.55) !important;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 18px,
      rgba(224,182,90,0.045) 18px 19px
    ),
    radial-gradient(ellipse 70% 100% at 95% 50%, rgba(224,182,90,0.16), transparent 60%),
    radial-gradient(ellipse 60% 100% at 10% 50%, rgba(198,154,69,0.10), transparent 60%),
    linear-gradient(180deg, rgba(34,24,8,0.45) 0%, rgba(20,14,4,0.55) 100%) !important;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(224,182,90,0.18) !important;
}
.book-card--wide.book-card--soon::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(224,182,90,0) 0%, rgba(224,182,90,0.85) 50%, rgba(224,182,90,0) 100%);
  box-shadow: 0 0 12px rgba(224,182,90,0.6);
}
.book-card--wide.book-card--soon::after {
  content: "COMING_SOON";
  position: absolute;
  top: 50%;
  left: -6px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.45em;
  color: rgba(224,182,90,0.25);
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}
.book-card--wide.book-card--soon:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright) !important;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 18px,
      rgba(224,182,90,0.06) 18px 19px
    ),
    radial-gradient(ellipse 70% 100% at 95% 50%, rgba(224,182,90,0.22), transparent 60%),
    radial-gradient(ellipse 60% 100% at 10% 50%, rgba(198,154,69,0.14), transparent 60%),
    linear-gradient(180deg, rgba(34,24,8,0.55) 0%, rgba(20,14,4,0.65) 100%) !important;
  box-shadow:
    0 12px 32px rgba(198,154,69,0.25),
    inset 0 1px 0 rgba(224,182,90,0.25) !important;
}

/* On narrow viewports the books grid collapses to fewer columns;
   the wide card should not insist on span 2 when only 1-2 columns exist. */
@media (max-width: 760px) {
  .book-card--wide { grid-column: span 1 !important; }
  .book-card--wide.book-card--soon::after { display: none; }
}


/* ============================================================
   ECOSYSTEM · sister properties
   ============================================================ */
.ecosystem {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(ellipse 40% 50% at 80% 0%, rgba(26,155,215,0.06), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 100%, rgba(198,154,69,0.04), transparent 60%);
}
.ecosystem-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.ecosystem-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0;
}
.ecosystem-head .lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory-dim);
  max-width: 60ch;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) {
  .ecosystem-grid { grid-template-columns: 1fr; }
}

.eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(13,28,50,0.55) 0%, rgba(5,11,20,0.65) 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.eco-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--line-2);
  transition: background .25s ease;
}
.eco-card:hover:not(.eco-card--here) {
  transform: translateY(-3px);
  border-color: var(--signal);
  background: linear-gradient(180deg, rgba(13,28,50,0.75) 0%, rgba(5,11,20,0.85) 100%);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.eco-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.eco-card__layer {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.20em;
  color: var(--slate-2);
  text-transform: uppercase;
}
.eco-card__arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--slate-2);
  transition: color .2s ease, transform .2s ease;
}
.eco-card:hover .eco-card__arrow {
  color: var(--signal);
  transform: translate(-3px, -3px);
}

.eco-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.eco-card__url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal);
  letter-spacing: 0.04em;
  margin-top: -6px;
}
.eco-card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ivory-dim);
  margin: 0;
  flex: 1;
}
.eco-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  color: var(--slate-2);
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

/* HERE card — current site */
.eco-card--here {
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(26,155,215,0.10), transparent 60%),
    linear-gradient(180deg, rgba(15,37,67,0.65) 0%, rgba(5,11,20,0.75) 100%);
  border-color: var(--signal);
}
.eco-card--here::before { background: var(--signal); box-shadow: 0 0 12px rgba(26,155,215,0.6); }
.eco-card--here .eco-card__url { color: var(--ivory); }
.eco-card--here .eco-card__layer { color: var(--signal); }
.eco-card--here:hover { cursor: default; }

.eco-card__here-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(26,155,215,0.15);
  border: 1px solid var(--signal);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ivory);
  text-transform: uppercase;
}
.eco-card__here-dot {
  width: 5px; height: 5px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--signal);
  animation: pulse 1.8s ease-in-out infinite;
}

/* Analysis layer · gold accent */
.eco-card--global::before { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.eco-card--global:hover { border-color: var(--gold); }
.eco-card--global:hover .eco-card__arrow { color: var(--gold-bright); }
.eco-card--global:hover .eco-card__url { color: var(--gold-bright); }

/* Execution layer · turquoise accent */
.eco-card--re::before { background: linear-gradient(90deg, transparent, #5EEAD4, transparent); }
.eco-card--re:hover { border-color: #5EEAD4; }
.eco-card--re:hover .eco-card__arrow { color: #5EEAD4; }
.eco-card--re:hover .eco-card__url { color: #5EEAD4; }


/* ============================================================
   ATLAS · LIVE product card treatment
   ============================================================ */
.fl-product--live {
  position: relative;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.fl-product--live:hover {
  transform: translateY(-3px);
  border-color: var(--signal-soft);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.45),
    0 0 0 1px rgba(94,234,212,0.15) inset;
}
.fl-product--live:hover .fl-cta-arrow {
  transform: translateX(-4px);
}

.fl-build--live {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--signal-soft) !important;
  background: rgba(94,234,212,0.08);
  border: 1px solid rgba(94,234,212,0.30);
  padding: 3px 10px !important;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.fl-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-soft);
  box-shadow: 0 0 10px var(--signal-soft);
  animation: pulse 1.8s ease-in-out infinite;
}

.fl-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--signal-soft);
  text-transform: uppercase;
}
.fl-cta-arrow {
  font-size: 16px;
  transition: transform .2s ease;
  color: var(--signal-soft);
}


/* ============================================================
   A11Y · Skip Link
   ============================================================ */
.a11y-skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100000;
  padding: 10px 18px;
  background: var(--signal-soft, #5EEAD4);
  color: #050B14;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 3px;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .25s ease;
}
.a11y-skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   A11Y · Floating Button
   ============================================================ */
.a11y-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px 11px 14px;
  background: linear-gradient(180deg, #0D1C32, #050B14);
  border: 1px solid rgba(94,234,212,0.45);
  border-radius: 999px;
  color: #5EEAD4;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  cursor: pointer;
  box-shadow:
    0 6px 24px rgba(0,0,0,0.5),
    0 0 0 0 rgba(94,234,212,0.4);
  transition: box-shadow .25s ease, transform .2s ease, border-color .25s ease;
}
.a11y-btn:hover {
  transform: translateY(-1px);
  border-color: #5EEAD4;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.55),
    0 0 0 6px rgba(94,234,212,0.08);
}
.a11y-btn:focus-visible {
  outline: 2px solid #5EEAD4;
  outline-offset: 3px;
}
.a11y-btn.is-active {
  background: #5EEAD4;
  color: #050B14;
  border-color: #5EEAD4;
}
.a11y-btn svg { display: block; }
.a11y-btn-label { white-space: nowrap; }

@media (max-width: 640px) {
  .a11y-btn { padding: 10px; }
  .a11y-btn-label { display: none; }
}

/* ============================================================
   A11Y · Panel
   ============================================================ */
.a11y-panel {
  position: fixed;
  bottom: 78px;
  left: 20px;
  z-index: 99991;
  width: 320px;
  max-width: calc(100vw - 40px);
  max-height: 75vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0D1C32, #050B14);
  border: 1px solid #14304F;
  border-radius: 6px;
  box-shadow:
    0 24px 70px rgba(0,0,0,0.6),
    0 0 0 1px rgba(94,234,212,0.08);
  font-family: var(--font-display, 'Heebo', system-ui, sans-serif);
  color: #F2EDE3;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity .22s ease, transform .22s ease;
}
.a11y-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.a11y-panel[hidden] { display: none !important; }

.a11y-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #14304F;
}
.a11y-panel-kicker {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #5EEAD4;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.a11y-panel-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #F2EDE3;
}
.a11y-panel-close {
  background: transparent;
  border: 1px solid #14304F;
  color: #C9C0AF;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.a11y-panel-close:hover { color: #F2EDE3; border-color: #5EEAD4; }
.a11y-panel-close:focus-visible { outline: 2px solid #5EEAD4; outline-offset: 2px; }

.a11y-panel-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.a11y-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.a11y-group-title {
  margin: 0;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #1A9BD7;
  text-transform: uppercase;
}

.a11y-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px;
  background: rgba(20,48,79,0.30);
  border: 1px solid #14304F;
  border-radius: 4px;
}
.a11y-ctl {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  border: 1px solid #14304F;
  background: rgba(13,28,50,0.6);
  color: #F2EDE3;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.a11y-ctl:hover { border-color: #5EEAD4; color: #5EEAD4; }
.a11y-ctl:focus-visible { outline: 2px solid #5EEAD4; outline-offset: 2px; }
.a11y-readout {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: #5EEAD4;
  letter-spacing: 0.05em;
}

.a11y-toggles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.a11y-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(20,48,79,0.20);
  border: 1px solid #14304F;
  border-radius: 3px;
  color: #C9C0AF;
  font-size: 14px;
  text-align: right;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.a11y-toggle:hover {
  border-color: rgba(94,234,212,0.45);
  color: #F2EDE3;
}
.a11y-toggle:focus-visible {
  outline: 2px solid #5EEAD4;
  outline-offset: 2px;
}
.a11y-toggle.is-on {
  background: rgba(94,234,212,0.10);
  border-color: rgba(94,234,212,0.55);
  color: #F2EDE3;
}
.a11y-toggle-name { flex: 1; }
.a11y-toggle-state {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #14304F;
  position: relative;
  flex-shrink: 0;
  transition: background .15s ease;
}
.a11y-toggle-state::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #8B9BB0;
  transition: transform .18s ease, background .18s ease;
}
.a11y-toggle.is-on .a11y-toggle-state { background: rgba(94,234,212,0.30); }
.a11y-toggle.is-on .a11y-toggle-state::after {
  background: #5EEAD4;
  transform: translateX(-14px); /* RTL */
}

.a11y-reset {
  width: 100%;
  padding: 10px;
  background: rgba(224,115,140,0.06);
  border: 1px solid rgba(224,115,140,0.40);
  color: #E0738C;
  border-radius: 3px;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 10px;
}
.a11y-reset:hover { background: rgba(224,115,140,0.14); color: #fff; }
.a11y-reset:focus-visible { outline: 2px solid #E0738C; outline-offset: 2px; }

.a11y-statement-link {
  display: block;
  font-size: 12px;
  color: #8B9BB0;
  text-decoration: none;
  text-align: center;
  border-bottom: 1px dashed rgba(139,155,176,0.4);
  padding-bottom: 2px;
  width: fit-content;
  margin: 0 auto;
}
.a11y-statement-link:hover { color: #5EEAD4; border-bottom-color: #5EEAD4; }

/* ============================================================
   A11Y · Applied Modifications (root classes)
   ============================================================ */

/* Font scale — drives a custom property used in :root */
:root { --a11y-font-scale: 1; }
html.a11y-high-contrast,
html.a11y-invert,
html.a11y-grayscale,
html:not(.a11y-high-contrast):not(.a11y-invert):not(.a11y-grayscale) {
  /* applies always: scale body font via the variable */
}
body { font-size: calc(15.5px * var(--a11y-font-scale, 1)); }

/* High contrast — push backgrounds darker, text lighter, accents brighter */
html.a11y-high-contrast {
  filter: contrast(1.35);
}
html.a11y-high-contrast body {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-high-contrast a,
html.a11y-high-contrast .menu-item,
html.a11y-high-contrast .gold,
html.a11y-high-contrast .signal { color: #FFEE5C !important; }

/* Invert — flip colors */
html.a11y-invert { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert img,
html.a11y-invert video,
html.a11y-invert canvas,
html.a11y-invert svg image,
html.a11y-invert .a11y-btn,
html.a11y-invert .a11y-panel { filter: invert(1) hue-rotate(180deg); }

/* Grayscale */
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-grayscale .a11y-btn,
html.a11y-grayscale .a11y-panel { filter: grayscale(0); }

/* Readable font (dyslexia-friendly: open sans / verdana) */
html.a11y-readable-font,
html.a11y-readable-font body,
html.a11y-readable-font * {
  font-family: 'Verdana', 'Tahoma', Arial, sans-serif !important;
  letter-spacing: 0.02em !important;
}

/* Highlight links */
html.a11y-highlight-links a:not(.a11y-skip-link):not(.a11y-statement-link) {
  background: rgba(255, 238, 92, 0.15) !important;
  outline: 1px solid #FFEE5C !important;
  outline-offset: 2px;
  text-decoration: underline !important;
}

/* Increase spacing */
html.a11y-increase-spacing p,
html.a11y-increase-spacing li,
html.a11y-increase-spacing h1,
html.a11y-increase-spacing h2,
html.a11y-increase-spacing h3,
html.a11y-increase-spacing h4,
html.a11y-increase-spacing h5 {
  line-height: 1.95 !important;
  letter-spacing: 0.04em !important;
  word-spacing: 0.10em !important;
}

/* Stop animations */
html.a11y-stop-animations *,
html.a11y-stop-animations *::before,
html.a11y-stop-animations *::after {
  animation-duration: 0.001s !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
}
html.a11y-stop-animations #mi-particles { display: none !important; }

/* ============================================================
   A11Y · Focus visible improvements
   ============================================================ */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.menu-item:focus-visible {
  outline: 2px solid #5EEAD4 !important;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
