/* ════════════════════════════════════════════════════════════════
   ARTEMION — UPGRADE LAYER (shared across all pages)
   Re-skins the marketing site in the AIRE pitch-deck palette and runs
   two committed themes: near-black dark + clean teal-on-light.
   App-window screenshots and product tiles stay dark in both worlds.
   ════════════════════════════════════════════════════════════════ */

/* ── DARK (default) ─────────────────────────────────────────────── */
:root[data-theme="dark"] {
  --bg:        #0b0d0c;
  --bg-2:      #070807;
  --surface:   #121514;
  --surface-2: #171b19;
  --ink:       #eef3f0;
  --ink-dim:   rgba(238,243,240,0.62);
  --ink-faint: rgba(238,243,240,0.34);
  --hair:      rgba(235,245,242,0.10);
  --hair-2:    rgba(235,245,242,0.19);

  --green:     #3fd3bd;
  --green-ink: #54e0c9;
  --green-soft:rgba(63,211,189,0.13);
  --gold:      #d8b65a;
  --red:       #e07a5f;

  --nav-bg:    rgba(7,8,7,0.78);
  --btn-ink:   #04130f;
  --pill-bg:   rgba(18,21,20,0.72);
  --teal-wash: rgba(63,211,189,0.16);
  --gold-wash: rgba(216,182,90,0.06);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5), 0 12px 34px -20px rgba(0,0,0,0.85);
  --shadow:    0 1px 0 rgba(255,255,255,0.03), 0 44px 90px -42px rgba(0,0,0,0.92);
}

/* ── LIGHT ──────────────────────────────────────────────────────── */
:root[data-theme="light"] {
  --bg:        #f3f6f4;
  --bg-2:      #e9efeb;
  --surface:   #ffffff;
  --surface-2: #f6faf8;
  --ink:       #0a1310;
  --ink-dim:   rgba(10,19,16,0.62);
  --ink-faint: rgba(10,19,16,0.40);
  --hair:      rgba(10,40,32,0.11);
  --hair-2:    rgba(10,40,32,0.17);

  --green:     #0f9c83;
  --green-ink: #0b8470;
  --green-soft:rgba(15,156,131,0.10);
  --gold:      #9a7b27;
  --red:       #bf4f37;

  --nav-bg:    rgba(255,255,255,0.82);
  --btn-ink:   #ffffff;
  --pill-bg:   #ffffff;
  --teal-wash: rgba(15,156,131,0.12);
  --gold-wash: rgba(154,123,39,0.07);

  --shadow-sm: 0 1px 2px rgba(20,30,26,0.05), 0 14px 34px -22px rgba(20,40,32,0.30);
  --shadow:    0 1px 0 rgba(255,255,255,0.7), 0 40px 80px -44px rgba(20,40,32,0.30);
}

body { background: var(--bg-2); color: var(--ink); }

.display { font-family: 'Space Grotesk', var(--sans); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
.eyebrow { color: var(--green-ink); }

/* nav */
.nav { background: var(--nav-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.brand .word { letter-spacing: 0.26em; color: var(--ink); }
.brand .sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--green-ink); margin-top: 3px; }
.brand .stack { display: flex; flex-direction: column; }

/* theme toggle */
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--hair-2); background: var(--surface); color: var(--ink-dim); cursor: pointer; transition: color .18s, border-color .18s, background .18s; flex: none; }
.theme-toggle:hover { color: var(--green-ink); border-color: color-mix(in srgb, var(--green) 50%, var(--hair-2)); }
.theme-toggle svg { width: 17px; height: 17px; display: block; }
.theme-toggle .ico-moon { display: none; }
.theme-toggle .ico-sun  { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-sun  { display: none; }

/* buttons */
.btn-primary { background: var(--green); color: var(--btn-ink); box-shadow: 0 1px 0 rgba(255,255,255,0.18), 0 16px 40px -18px var(--green-soft); font-weight: 600; }
.btn-primary:hover { background: var(--green-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair-2); font-weight: 600; }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--green) 55%, var(--hair-2)); color: var(--green-ink); }

/* ── COLOR CUTS ─────────────────────────────────────────────────── */
.cut { position: relative; }
.cut-bg    { background: var(--bg); }
.cut-deep  { background: var(--bg-2); }
.cut-panel { background: var(--surface); }
.cut-teal  {
  background:
    radial-gradient(120% 90% at 50% -10%, var(--teal-wash), transparent 58%),
    radial-gradient(90% 70% at 85% 120%, var(--gold-wash), transparent 60%),
    var(--bg-2);
}
.cut.rule::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green) 28%, var(--green) 72%, transparent);
  opacity: 0.42;
}
.glow { position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--green-soft) 0%, transparent 70%); }

/* ── HERO ───────────────────────────────────────────────────────── */
.heroA { padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 78px); overflow: hidden; }
.heroA .display { font-size: clamp(42px, 7.4vw, 96px); margin: 24px 0 0; max-width: 15ch; }
.heroA .display .teal { color: var(--green-ink); }
.heroA .lead { margin-top: 24px; font-size: clamp(16px, 1.6vw, 20px); }
.heroA-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.statrow { margin-top: clamp(40px, 5vw, 60px); }
.statrow .stat .v { font-size: clamp(32px, 4.4vw, 50px); white-space: nowrap; }

.casc-highlights { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.casc-highlights li { position: relative; padding-left: 26px; color: var(--ink); font-size: 15px; line-height: 1.4; text-wrap: pretty; }
.casc-highlights li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green-ink); font-weight: 700; }

/* ── DARK APP WINDOW (always dark; product UI is dark) ───────────── */
.appwin { border: 1px solid var(--hair-2); border-radius: 14px; background: #0a0c0b; overflow: hidden;
  box-shadow: 0 40px 90px -44px rgba(0,0,0,0.7); }
:root[data-theme="dark"] .appwin { box-shadow: 0 54px 110px -46px rgba(0,0,0,0.92), 0 0 0 1px rgba(63,211,189,0.04); }
.appwin .bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid rgba(235,245,242,0.08); background: #080a09; }
.appwin .bar .d { width: 9px; height: 9px; border-radius: 50%; background: rgba(238,243,240,0.15); }
.appwin .bar .u { margin-left: 10px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(238,243,240,0.4); }
.appwin .bar .u::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fd3bd; box-shadow: 0 0 8px #3fd3bd; }
.appwin img { width: 100%; display: block; }
.appwin.thumb { border-radius: 11px; }
.appwin.thumb img { height: 172px; object-fit: cover; }

.wincap { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); display: flex; align-items: center; gap: 9px; margin-top: 13px; }

/* ── DARK PRODUCT TILES (always-dark, screenshot-free) ───────────── */
.tile { background: #0a0c0b; border: 1px solid var(--hair-2); border-radius: 12px; padding: 16px 16px 14px; overflow: hidden; }
:root[data-theme="dark"] .tile { box-shadow: 0 30px 64px -40px rgba(0,0,0,0.9); }
.tile .tk { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(238,243,240,0.42); display: flex; align-items: center; justify-content: space-between; }
.tile .tk .seal { display: inline-flex; align-items: center; gap: 6px; color: #54e0c9; }
.tile .tk .seal i { width: 6px; height: 6px; border-radius: 50%; background: #3fd3bd; box-shadow: 0 0 7px #3fd3bd; }

/* evidence ledger / stacked SLN·ELN·Δ */
.ledger-rows { margin-top: 12px; display: flex; flex-direction: column; }
.ledger-rows .lr { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(235,245,242,0.07); }
.ledger-rows .lr:last-child { border-bottom: 0; }
.ledger-rows .lr .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(238,243,240,0.5); }
.ledger-rows .lr .lab b { display: block; color: rgba(238,243,240,0.82); font-weight: 500; font-size: 12px; letter-spacing: .04em; }
.ledger-rows .lr .num { font-family: var(--mono); font-feature-settings:"zero" 1,"tnum" 1; font-size: clamp(18px, 2.1vw, 23px); letter-spacing: -.01em; }
.num-gold { color: #d8b65a; }
.num-red  { color: #e07a5f; }
.num-green{ color: #54e0c9; }
.tile .tfoot { margin-top: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: rgba(238,243,240,0.42); display: flex; align-items: center; gap: 8px; }
.tile .tfoot .ck { color: #54e0c9; }

/* mono feed (L01) */
.feed { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 11.5px; }
.feed .fr { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; color: rgba(238,243,240,0.55); white-space: nowrap; }
.feed .fr .src { color: #54e0c9; }
.feed .fr .act { color: rgba(238,243,240,0.78); overflow: hidden; text-overflow: ellipsis; }

/* trust sparkline (L02) */
.spark { margin-top: 10px; }
.spark svg { width: 100%; height: 70px; display: block; }
.spark .meta { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; }
.spark .meta .v { font-family: var(--mono); font-size: 22px; color: #d8b65a; }
.spark .meta .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(238,243,240,0.42); }

/* cloud convergence (L03 / enterprise) */
.cloudmerge { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cloudmerge .ctag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--hair-2); color: rgba(238,243,240,0.82); background: rgba(235,245,242,0.04); }
.cloudmerge .arrow { color: rgba(238,243,240,0.4); font-family: var(--mono); }
.cloudmerge .one { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, #3fd3bd 45%, transparent); color: #54e0c9; background: rgba(63,211,189,0.12); }

/* slider tile (L06) */
.slider-tile { margin-top: 16px; }
.slider-tile .strack { height: 8px; border-radius: 999px; background: rgba(235,245,242,0.08); position: relative; }
.slider-tile .strack > i { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; border-radius: 999px; background: linear-gradient(90deg, rgba(63,211,189,0.4), #3fd3bd); }
.slider-tile .strack > b { position: absolute; left: 55%; top: 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; border-radius: 50%; background: #3fd3bd; box-shadow: 0 0 0 4px rgba(63,211,189,0.18); }
.slider-tile .smeta { margin-top: 14px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: rgba(238,243,240,0.5); }
.slider-tile .smeta .hi { color: #54e0c9; }

/* ── INTERACTIVE L4 GRAPH (clickable nodes light their paths) ────── */
.l4meta { display: flex; flex-wrap: wrap; gap: 8px; }
.l4meta .m { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); border: 1px solid var(--hair); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.l4meta .focus { color: var(--green-ink); border-color: color-mix(in srgb, var(--green) 38%, var(--hair)); }
.graph { background: #0a0c0b; }
.graph svg { width: 100%; height: 190px; display: block; touch-action: manipulation; }
.gedge { stroke: rgba(63,211,189,0.16); stroke-width: 1; transition: stroke .25s, stroke-width .25s, opacity .25s; }
.graph.has-sel .gedge { opacity: .28; }
.gedge.lit { stroke: #3fd3bd; stroke-width: 2; opacity: 1; filter: drop-shadow(0 0 4px rgba(63,211,189,0.85)); }
.gnode { fill: #e07a5f; stroke: #0a0c0b; stroke-width: 2; transition: fill .2s, opacity .2s; pointer-events: none; }
.ghit { fill: transparent; cursor: pointer; }
.gn:hover .gnode { fill: #ec8d74; }
.graph.has-sel .gn:not(.active):not(.adj) .gnode { opacity: .42; }
.gn.adj .gnode { fill: #54e0c9; }
.gn.active .gnode { fill: #ffd34e; stroke: #3fd3bd; }
.gn.active .ghalo { fill: rgba(255,211,78,0.18); }
.ghalo { fill: transparent; transition: fill .2s; pointer-events: none; }

/* ── INTERACTIVE L5 SLIDER (toggle moves, % + dollars update) ────── */
.quant-slider { position: relative; margin-top: 18px; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.qs-track { position: relative; width: 100%; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.qs-track > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 55%, transparent), var(--gold)); }
.qs-handle { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 2px solid var(--surface); box-shadow: 0 0 0 4px var(--gold-wash); transition: box-shadow .15s; }
.quant-slider:hover .qs-handle, .quant-slider:active .qs-handle { box-shadow: 0 0 0 6px var(--gold-wash); }
.quant-hint { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 13px; display: flex; align-items: center; gap: 7px; }
.quant-hint::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* big number mini-stat (dark) */
.bignum { margin-top: 8px; }
.bignum .bv { font-family: var(--mono); font-feature-settings:"zero" 1,"tnum" 1; font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em; }
.bignum .bs { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(238,243,240,0.42); margin-top: 8px; }

/* ── CISO CASCADE ───────────────────────────────────────────────── */
.cascade-vis { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px){ .cascade-vis { grid-template-columns: 0.92fr 1.08fr; gap: 56px; } }
.casc { border: 1px solid var(--hair-2); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.casc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--hair); }
.casc-head .t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.casc-head .org { font-family: 'Space Grotesk', var(--sans); font-weight: 600; font-size: 15px; color: var(--ink); }
.casc-head .sln { font-family: var(--mono); font-size: 14px; color: var(--gold); }
.casc-body { padding: 16px 20px 20px; }
.dept { position: relative; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.dept:last-of-type { border-bottom: 0; }
.dept-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.dept-name { font-family: 'Space Grotesk', var(--sans); font-weight: 500; font-size: 15px; color: var(--ink); }
.dept-name .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-left: 8px; }
.dept-val { font-family: var(--mono); font-size: 14px; color: var(--ink-dim); }
.dept-bar { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); margin-top: 9px; overflow: hidden; }
.dept-bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 55%, transparent), var(--gold)); }
.dept.hot { padding: 14px 14px; margin: 6px -6px 0; border: 1px solid color-mix(in srgb, var(--green) 42%, var(--hair-2)); border-radius: 12px; background: var(--green-soft); }
.dept.hot .dept-val { color: var(--ink); }
.indiv { margin-top: 12px; padding: 11px 13px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--hair); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.indiv .who { display: flex; align-items: center; gap: 10px; }
.indiv .ava { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 10.5px; color: var(--btn-ink); background: var(--green); flex: none; }
.indiv .nm { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.indiv .sub { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); }
.indiv .eln { font-family: var(--mono); font-size: 13px; color: var(--red); text-align: right; }
.indiv .eln b { display: block; font-weight: 400; font-size: 10px; color: var(--ink-faint); letter-spacing: .08em; text-transform: uppercase; }
.casc-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair); border-top: 1px solid var(--hair); }
.casc-foot .cell { background: var(--surface); padding: 13px 18px; }
.casc-foot .k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); display: flex; align-items: center; gap: 7px; }
.casc-foot .v { font-family: 'Space Grotesk', var(--sans); font-size: 14px; color: var(--ink); margin-top: 5px; }
.casc-foot .v .ok { color: var(--green-ink); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: cascPulse 2.4s infinite; }
@keyframes cascPulse { 0%{ box-shadow: 0 0 0 0 var(--green-soft);} 70%{ box-shadow: 0 0 0 7px transparent;} 100%{ box-shadow:0 0 0 0 transparent;} }
@media (prefers-reduced-motion: reduce){ .pulse { animation: none; } }

/* 5-step strip */
.steps { display: grid; gap: 14px; margin-top: clamp(34px, 4vw, 52px); grid-template-columns: 1fr; }
@media (min-width: 720px){ .steps { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: 20px 18px 18px; border: 1px solid var(--hair); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-sm); }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--green-ink); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--green) 35%, var(--hair-2)); background: var(--green-soft); }
.step h4 { font-family: 'Space Grotesk', var(--sans); font-weight: 600; font-size: 16px; margin: 14px 0 7px; color: var(--ink); letter-spacing: -0.01em; }
.step p { font-size: 13.5px; line-height: 1.42; color: var(--ink-dim); margin: 0; text-wrap: pretty; }
.step.final { border-color: color-mix(in srgb, var(--green) 42%, var(--hair-2)); background: linear-gradient(165deg, var(--green-soft), transparent); }
@media (min-width: 720px){ .step:not(:last-child)::after { content: ""; position: absolute; top: 35px; right: -8px; width: 8px; height: 1px; background: var(--hair-2); z-index: 1; } }

/* ── CAPABILITIES ───────────────────────────────────────────────── */
.cap-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px 24px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.cap-card:hover { border-color: color-mix(in srgb, var(--green) 45%, var(--hair)); transform: translateY(-2px); }
.cap-card .display { font-size: 23px; margin: 12px 0 9px; color: var(--ink); }
.cap-card .lead { font-size: 14.5px; color: var(--ink-dim); }
.cap-vis { margin-top: auto; padding-top: 22px; }
.quant-tile { border: 1px solid var(--hair-2); border-radius: 11px; background: linear-gradient(160deg, var(--gold-wash), transparent), var(--surface-2); padding: 20px; min-height: 172px; display: flex; flex-direction: column; justify-content: center; }
.quant-fig { font-family: var(--mono); font-feature-settings:"zero" 1,"tnum" 1; font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.02em; color: var(--gold); white-space: nowrap; }
.quant-sub { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 10px; }
.quant-bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); margin-top: 18px; overflow: hidden; }
.quant-bar > i { display: block; height: 100%; width: 42%; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 55%, transparent), var(--gold)); }

/* ── PROOF / CUSTOMER ───────────────────────────────────────────── */
.proof { border-block: 1px solid var(--hair); }
.proof .item { color: var(--ink-dim); }
.proof .item::before { background: var(--green); opacity: .9; }
.custproof { border: 0; }
.cust-claim p, .quote p { font-family: 'Space Grotesk', var(--sans); color: var(--ink); }
.cust-claim .ce { color: var(--green-ink); }

/* ── CTA ────────────────────────────────────────────────────────── */
.ctaCut { overflow: hidden; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.cta-actions .btn { font-size: 16px; padding: 14px 24px; }
.cta-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.cta-tags .ct { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-faint); }
.cta-tags .ct::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; }

/* footer */
.foot { border-top: 1px solid var(--hair); background: var(--bg-2); }
.foot a { color: var(--ink-dim); }
.foot a:hover { color: var(--green-ink); }

/* live pill */
.live { background: var(--pill-bg); border: 1px solid var(--hair); color: var(--ink-dim); }

/* reveal-on-scroll (JS-gated) */
.js .rev { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .js .rev { opacity: 1; transform: none; transition: none; } }

/* ── MOBILE RESPONSIVE NAV (added 2026-06-11) ──────────────────── */
@media (max-width: 768px){
  .nav { flex-wrap: wrap; gap: 10px 14px; }
  .nav-links { order: 5; width: 100%; justify-content: center; flex-wrap: wrap; gap: 4px; }
  .nav-links a { padding: 8px 12px; }
}
@media (max-width: 430px){
  .brand .sub { display: none; }
  .nav .btn-primary { padding: 11px 16px; font-size: 14px; }
  .nav-links a { font-size: 13px; padding: 7px 10px; }
}
