/* ============================================================
   TQS LABS — variations shared foundation
   ============================================================ */
:root {
  --obsidian: #0B0B0C;
  --carbon:   #161618;
  --charcoal: #212124;
  --slate:    #2C2C30;
  --gold:        #B68735;
  --gold-lumen:  #D2A24E;
  --gold-deep:   #8A6526;
  --ink:    #F5F4F1;
  --ink-2:  #A8A6A1;
  --ink-3:  #76767F;
  --hair:   rgba(242,242,244,0.085);
  --hair-2: rgba(242,242,244,0.14);
  --drift:      #5B8DEF;
  --conflict:   #B08AE0;
  --teal:       #46B1A1;
  --sage:       #86B95A;

  /* murmuration palette (flock motif) */
  --pine:      #0E5A3A;
  --pine-deep: #0A3D29;
  --teal-bright: #1F8A6B;
  --teal-deep: #1F6F64;
  --blue:      #5B8DEF;
  --blue-deep: #21487E;

  /* Type: Zalando Sans for headlines + subheads, mono for body + tags */
  --display: "Zalando Sans", "Inter", system-ui, sans-serif;
  --sans:    "Zalando Sans", "Inter", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--obsidian); color: var(--ink);
  font-family: var(--mono); font-size: 14.5px; line-height: 1.66;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
  padding-top: 42px;
}
h1,h2,h3,h4 { font-family: var(--display); }
::selection { background: rgba(182,135,53,0.28); }
a { color: var(--gold-lumen); text-decoration: none; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }

/* ---------- variation strip ---------- */
.vbar {
  position: fixed; top: 0; left: 0; right: 0; height: 42px; z-index: 400;
  display: flex; align-items: center; gap: 14px; padding: 0 16px;
  background: rgba(10,10,11,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair-2);
  font-family: var(--mono); overflow-x: auto; scrollbar-width: none;
}
.vbar::-webkit-scrollbar { display: none; }
.vbar .vl { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.vbar nav { display: flex; gap: 2px; }
.vbar nav a {
  font-size: 11px; letter-spacing: 0.05em; color: var(--ink-3);
  padding: 5px 10px; border-radius: 3px; white-space: nowrap;
}
.vbar nav a:hover { color: var(--ink-2); background: rgba(255,255,255,0.03); }
.vbar nav a.on { color: var(--ink); background: rgba(182,135,53,0.16); }
.vbar nav a .n { color: var(--gold-lumen); margin-right: 6px; font-size: 10px; }
.vbar .home { margin-left: auto; font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-3); white-space: nowrap; }
.vbar .home:hover { color: var(--gold-lumen); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 42px; z-index: 100;
  background: rgba(11,11,12,0.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; height: 64px; padding: 0 36px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 28px; height: 28px; display: block; }
.brand .wm { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.26em; color: var(--ink); }
.brand .wm b { color: var(--gold); font-weight: 500; }
.brand .by { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-2); padding-left: 12px; border-left: 1px solid var(--hair-2); white-space: nowrap; line-height: 1.4; }
@media (max-width: 600px) { .brand { display: grid; grid-template-columns: auto auto; column-gap: 10px; row-gap: 1px; } .brand img { grid-row: 1 / span 2; } .brand .by { border-left: 0; padding-left: 0; font-size: 9.5px; } }

/* ---------- full-bleed color bands: visual breaks in the dark page ---------- */
body { overflow-x: hidden; }
section.band { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); background: var(--band-bg); border-top-color: transparent; }
section.band-pine { --band-bg: #0A3D29; --ink-3: #AEC2B7; }
section.band-navy { --band-bg: #10233F; --ink-3: #A3AFC2; }
section.band-light { --band-bg: #F0EEE9; color: #0B0B0C; --ink: #0B0B0C; --ink-2: #4B4A47; --ink-3: #6A6964; --gold-lumen: #7E5B20; --hair: rgba(11,11,12,0.12); --hair-2: rgba(11,11,12,0.2); }
section.band-pine .ccard, section.band-navy .ccard, section.band-pine .pc, section.band-navy .pc, section.band-pine .tier, section.band-navy .tier { background: rgba(11,11,12,0.3); }
section.band-light .caro-card, section.band-light .caro-btn { --ink: #F5F4F1; --ink-2: #A8A6A1; --ink-3: #76767F; --gold-lumen: #D2A24E; --hair: rgba(242,242,244,0.085); --hair-2: rgba(242,242,244,0.14); color: #F5F4F1; }
.nav-links { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav-links a { font-family: var(--mono); font-size: 12px; color: var(--ink-2); padding: 8px 12px; border-radius: 4px; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.035); }
@media (max-width: 760px) { .nav-links a:not(.btn-gold) { display: none; } }

/* ---------- gold CTA ---------- */
.btn-gold {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.03em; font-weight: 600;
  background: var(--gold); color: #0B0B0C !important;
  border: 1px solid var(--gold); border-radius: 4px; padding: 14px 24px;
  transition: background .18s, border-color .18s, transform .18s;
}
.btn-gold:hover { background: var(--gold-lumen); border-color: var(--gold-lumen); }
.btn-gold .ar { transition: transform .18s; }
.btn-gold:hover .ar { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.03em;
  color: var(--ink) !important; background: transparent;
  border: 1px solid var(--hair-2); border-radius: 4px; padding: 14px 24px;
  transition: border-color .18s, background .18s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(182,135,53,0.08); }
.nav .btn-gold { padding: 9px 16px; font-size: 12px; }
.nav .btn-ghost { padding: 8px 15px; font-size: 12px; }
.nav .nav-links { gap: 6px; }
.nav .nav-links .nav-btn { margin-left: 4px; }

/* ---------- murmuration motif surfaces ---------- */
.murmur-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; }
.flock-canvas { display: block; width: 100%; height: 100%; }
.murmur-divider { width: 100%; height: 92px; overflow: hidden; opacity: 0.9; pointer-events: none; }
.murmur-divider svg { width: 100%; height: 100%; display: block; }

/* ---------- charcoal cards ---------- */
.ccard {
  position: relative; background: var(--charcoal);
  border: 1px solid var(--hair); padding: 28px 30px;
}
.ccard .ln { font-family: var(--mono); font-size: 11px; color: var(--gold-lumen); letter-spacing: 0.12em; }
.ccard h3 { font-size: 18px; margin: 14px 0 10px; line-height: 1.25; letter-spacing: -0.01em; }
.ccard p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.ccard .hl { color: var(--gold-lumen); }

/* instrument corner ticks */
.tick::before, .tick::after { content: ""; position: absolute; width: 9px; height: 9px; border-color: var(--gold); border-style: solid; opacity: 0.55; pointer-events: none; }
.tick::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.tick::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* signal gold top rule */
.grule { border-top: 2px solid var(--gold); }

/* ---------- labels ---------- */
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--gold); opacity: 0.7; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chip { font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: rgba(255,255,255,0.03); border: 1px solid var(--hair); border-radius: 3px; padding: 4px 9px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hair); padding: 40px 0 56px; margin-top: 0; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 36px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot img { width: 22px; height: 22px; opacity: 0.92; }
.foot .fwm { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.24em; color: var(--ink-2); }
.foot .fmeta { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; text-align: right; }
@media (max-width: 640px) { .foot .fmeta { margin-left: 0; text-align: left; } }

/* ---------- reveal (non-cinematic pages) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-animate] { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
  .js [data-animate].in { opacity: 1; transform: none; }
}
html.reveal-all [data-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* numbers */
.num { font-variant-numeric: tabular-nums; }


/* ===== page ===== */

  /* SIGNAL · BEACON — bold weights, gold structure, centered flow + flowing murmuration */
  h1,h2,h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; margin: 0; line-height: 1.08; }
  body { background: var(--obsidian); }
  .scrim { position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 118% 82% at 50% 30%, transparent 24%, rgba(11,11,12,0.66) 100%); }

  section { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--hair); position: relative; }
  section::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 64px; height: 2px; background: var(--gold); }
  section.hero::before { display: none; }

  /* hero — centered, huge */
  .hero { border-top: 0; text-align: center; padding-top: clamp(72px, 9vw, 120px); }
  .hero .kicker { color: var(--gold); letter-spacing: 0.26em; }
  .hero h1 { font-size: clamp(38px, 6.2vw, 80px); margin-top: 26px; }
  .hero h1 .u { background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-position: 0 96%; background-size: 100% 3px; padding-bottom: 4px; }
  .hero h1 .g { color: var(--gold); }
  .hero .sub { margin: 28px auto 0; font-size: clamp(17px, 1.9vw, 21px); color: var(--ink-2); max-width: 56ch; line-height: 1.6; }
  .hero .ctas { display: flex; gap: 14px; margin-top: 42px; justify-content: center; flex-wrap: wrap; }
  .hero .synctag { margin-top: 44px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--teal); }
  /* let the flock read through the hero stat cards */
  .hero .strip .ccard { background: rgba(33,33,36,0.82); backdrop-filter: blur(7px); }
  .hero .strip { margin-top: clamp(52px,6vw,76px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .hero .strip .ccard { padding: 20px 22px; text-align: left; }
  .hero .strip .v { font-family: var(--mono); font-size: 15px; }
  .hero .strip .v b { color: var(--gold-lumen); font-weight: 600; }
  .hero .strip .k { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
  @media (max-width: 760px) { .hero .strip { grid-template-columns: 1fr 1fr; } }

  .shead { text-align: center; max-width: 720px; margin: 0 auto 56px; }
  .shead .sn { font-family: var(--mono); font-size: 12px; color: var(--gold-lumen); letter-spacing: 0.24em; text-transform: uppercase; }
  .shead h2 { font-size: clamp(28px, 3.6vw, 46px); margin-top: 16px; }
  .shead .lead { color: var(--ink-2); font-size: 17px; margin-top: 18px; }

  /* why sovereign */
  .sov-sec { padding: clamp(64px,8vw,104px) 0; border-top: 1px solid var(--hair); position: relative; }
  .sov-sec::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 64px; height: 2px; background: var(--gold); }
  .sov-inner { max-width: 860px; margin: 0 auto; }
  .sov-inner .sn { font-family: var(--mono); font-size: 12px; color: var(--gold-lumen); letter-spacing: 0.24em; text-transform: uppercase; }
  .sov-inner h2 { font-size: clamp(26px, 3.4vw, 42px); margin-top: 16px; }
  .sov-inner .sov-body { margin-top: 26px; color: var(--ink-2); font-size: 15px; line-height: 1.75; border-left: 2px solid var(--gold); padding-left: 28px; }
  .sov-inner .sov-body strong { color: var(--ink); }
  .sov-inner .sov-close { margin-top: 22px; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(18px, 2vw, 24px); color: var(--ink); }
  .sov-inner .sov-close .g { color: var(--gold); }

  /* video overview cards */
  .vid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1020px; margin: 0 auto; }
  @media (max-width: 760px) { .vid2 { grid-template-columns: 1fr; } }
  .vidcard { background: var(--charcoal); border: 1px solid var(--hair); border-top: 2px solid var(--gold); display: flex; flex-direction: column; }
  .vidposter { position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; background: linear-gradient(128deg, #0A3D29 0%, #1F6F64 46%, #21487E 100%); }
  .vidposter .pflock { position: absolute; inset: 0; opacity: 0.8; }
  .vidposter .pflock svg { width: 100%; height: 100%; }
  .vidposter .pgrain { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 20%, transparent 30%, rgba(11,11,12,0.55) 100%); }
  .vidposter .ptitle { position: absolute; left: 22px; bottom: 20px; right: 90px; }
  .vidposter .ptitle .pk { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(245,244,241,0.75); }
  .vidposter .ptitle .pt { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; line-height: 1.15; }
  .vidposter .play { position: absolute; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; transition: transform .18s, background .18s; }
  .vidposter:hover .play { transform: scale(1.07); background: var(--gold-lumen); }
  .vidposter .play::after { content: ""; display: block; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #0B0B0C; margin-left: 4px; }
  .vidposter .pcc { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink); background: rgba(11,11,12,0.55); border: 1px solid rgba(245,244,241,0.3); border-radius: 3px; padding: 3px 7px; }
  .vidbody { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
  .vidbody .vtag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); display: flex; justify-content: space-between; gap: 12px; }
  .vidbody .vtag .d { color: var(--ink-3); letter-spacing: 0.06em; }
  .vidbody h3 { font-size: 19px; letter-spacing: -0.02em; }
  .vidbody p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 0; }
  .vidnote { text-align: center; margin-top: 20px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.05em; }

  /* production page: no variations chrome */
  .vbar { display: none !important; }
  body { padding-top: 0 !important; }
  .nav { top: 0 !important; }

  /* announcements carousel */
  .caro-sec { padding: clamp(64px,8vw,104px) 0; border-top: 1px solid var(--hair); position: relative; }
  .caro-sec::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 64px; height: 2px; background: var(--gold); }
  .caro-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
  .caro-head .sn { font-family: var(--mono); font-size: 12px; color: var(--gold-lumen); letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
  .caro-head h2 { font-size: clamp(24px, 3vw, 38px); }
  .caro-head .caro-ctrl { margin-left: auto; display: flex; gap: 8px; align-items: center; }
  .caro-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: var(--charcoal); border: 1px solid var(--hair-2); border-radius: 4px; color: var(--ink); font-family: var(--mono); font-size: 16px; cursor: pointer; transition: border-color .15s, background .15s; }
  .caro-btn:hover { border-color: var(--gold); background: rgba(182,135,53,0.1); }
  .caro-btn:disabled { opacity: 0.35; cursor: default; }
  .caro-btn:disabled:hover { border-color: var(--hair-2); background: var(--charcoal); }
  .caro-viewport { overflow: hidden; }
  .caro-track { display: flex; gap: 16px; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
  @media (prefers-reduced-motion: reduce) { .caro-track { transition: none; } }
  .caro-card { flex: 0 0 100%; background: var(--charcoal); border: 1px solid var(--hair); border-top: 2px solid var(--gold); display: flex; flex-direction: column; }
  .caro-media { position: relative; aspect-ratio: 1200 / 630; height: auto; background: var(--carbon); border-bottom: 1px solid var(--hair); }
  .caro-media.caro-art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .caro-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .caro-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); display: flex; justify-content: space-between; gap: 12px; }
  .caro-tag .d { color: var(--ink-3); letter-spacing: 0.06em; }
  .caro-card h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; }
  .caro-card p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 0; }
  .caro-card .more { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--gold-lumen); }
  .caro-card .more .ar { display: inline-block; transition: transform .18s; }
  .caro-card:hover .more .ar { transform: translateX(4px); }
  .caro-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
  .caro-dots button { width: 26px; height: 4px; border-radius: 2px; border: 0; background: var(--slate); cursor: pointer; transition: background .2s; padding: 0; }
  .caro-dots button.on { background: var(--gold); }
  .caro-card .more { background: none; border: 0; cursor: pointer; text-align: left; padding: 12px 0 0; }
  .caro-textcard { justify-content: center; }
  .caro-textcard .tc-body { padding: clamp(32px,5vw,64px) clamp(28px,7vw,96px); display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
  .caro-textcard h3 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; }
  .caro-textcard .lede { font-family: var(--mono); font-size: 13px; color: var(--teal); line-height: 1.7; margin: 0; }
  .caro-textcard p { font-size: 14px; color: var(--ink-2); line-height: 1.75; margin: 0; }
  .caro-textcard p strong { color: var(--ink); }



  /* thesis — two col, gold drop rule */
  .thesis { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1020px; margin: 0 auto; align-items: start; }
  .thesis .big { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
  .thesis .big .g { color: var(--gold); }
  .thesis .body { color: var(--ink-2); font-size: 16.5px; border-left: 2px solid var(--gold); padding-left: 28px; }
  .thesis strong { color: var(--ink); }
  @media (max-width: 820px) { .thesis { grid-template-columns: 1fr; gap: 28px; } }

  /* research lines — charcoal cards w/ gold top rule, 2-col */
  .lines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .lines .ccard { padding: 32px 34px; }
  .lines .ccard h3 { font-size: 21px; margin-top: 14px; }
  .lines .ccard p { font-size: 15px; margin-top: 12px; }
  .lines .ccard .ln { font-size: 12px; }
  .lines .span2 { grid-column: 1 / -1; }
  @media (max-width: 720px) { .lines { grid-template-columns: 1fr; } }

  /* results — giant centered numerals row */
  .out3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1020px; margin: 0 auto; }
  .out3 .ccard { text-align: center; padding: 44px 30px; }
  .out3 .ov { font-family: var(--mono); font-size: clamp(46px, 5.6vw, 74px); color: var(--ink); line-height: 1; }
  .out3 .ov .sign { color: var(--gold); }
  .out3 .ok { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
  .out3 .ok b { color: var(--ink); }
  .note { text-align: center; margin-top: 18px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.05em; }
  .mclink { display: block; text-align: center; margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--gold-lumen); }
  .mclink .ar { display: inline-block; transition: transform .18s; }
  .mclink:hover .ar { transform: translateX(4px); }
  @media (max-width: 720px) { .out3 { grid-template-columns: 1fr; } }

  /* approach — numbered list rows */
  .appr { max-width: 860px; margin: 0 auto; }
  .appr .row { display: grid; grid-template-columns: 90px 240px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--hair); align-items: baseline; }
  .appr .row:first-child { border-top: 0; }
  .appr .an { font-family: var(--mono); font-size: 13px; color: var(--gold-lumen); letter-spacing: 0.1em; }
  .appr h3 { font-size: 17px; }
  .appr p { color: var(--ink-2); font-size: 15px; margin: 0; }
  @media (max-width: 720px) { .appr .row { grid-template-columns: 1fr; gap: 8px; } }

  /* contact — full gold panel */
  .goldpanel { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: #0B0B0C; padding: clamp(48px,6vw,72px) clamp(36px,5vw,64px); display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
  .goldpanel h2 { color: #0B0B0C; font-size: clamp(28px, 3.8vw, 48px); letter-spacing: -0.025em; }
  .goldpanel p { color: rgba(11,11,12,0.78); font-size: 16.5px; max-width: 48ch; margin-top: 14px; font-weight: 500; }
  .goldpanel .actions { margin-left: auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
  .goldpanel .btn-dark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 14px; font-weight: 600; background: #0B0B0C; color: var(--gold-lumen) !important; border-radius: 4px; padding: 16px 28px; transition: background .18s; }
  .goldpanel .btn-dark:hover { background: #161618; }
  .goldpanel .hiring { font-family: var(--mono); font-size: 11.5px; color: rgba(11,11,12,0.7); }
  .goldpanel .hiring a { color: #0B0B0C; border-bottom: 1px solid rgba(11,11,12,0.4); }
  @media (max-width: 780px) { .goldpanel .actions { margin-left: 0; align-items: flex-start; } }

  /* book a call form */
  .book-sec { padding: clamp(64px,8vw,104px) 0; border-top: 1px solid var(--hair); position: relative; }
  .book-sec::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 64px; height: 2px; background: var(--gold); }
  .book-inner { max-width: 720px; margin: 0 auto; }
  .book-inner .sn { font-family: var(--mono); font-size: 12px; color: var(--gold-lumen); letter-spacing: 0.24em; text-transform: uppercase; }
  .book-inner h2 { font-size: clamp(26px, 3.4vw, 42px); margin-top: 16px; }
  .book-inner .bl { color: var(--ink-2); font-size: 14px; margin-top: 14px; line-height: 1.7; }
  .bform { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .bform .full { grid-column: 1 / -1; }
  .bform label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
  .bform input, .bform select, .bform textarea { font-family: var(--mono); font-size: 14px; color: var(--ink); background: var(--charcoal); border: 1px solid var(--hair-2); border-radius: 4px; padding: 13px 15px; outline: none; transition: border-color .15s; width: 100%; box-sizing: border-box; }
  .bform input:focus, .bform select:focus, .bform textarea:focus { border-color: var(--gold); }
  .bform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
  .bform textarea { min-height: 110px; resize: vertical; }
  .bform .brow { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
  .bform button { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; background: var(--gold); color: #0B0B0C; border: 1px solid var(--gold); border-radius: 4px; padding: 14px 26px; cursor: pointer; transition: background .18s; }
  .bform button:hover { background: var(--gold-lumen); }
  .bform .bnote { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.03em; }
  .bform .cq { text-transform: none; letter-spacing: 0.04em; color: var(--gold-lumen); }
  @media (max-width: 640px) { .bform { grid-template-columns: 1fr; } }

  h1,h2,h3,h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; margin: 0; line-height: 1.1; }

  .page-head { padding: clamp(56px,7vw,96px) 0 clamp(36px,4vw,56px); border-bottom: 1px solid var(--hair); }
  .page-head .kicker { color: var(--gold); letter-spacing: 0.26em; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; }
  .page-head h2 { font-size: clamp(32px, 4.6vw, 58px); margin-top: 18px; }
  .page-head .sub { color: var(--ink-2); font-size: 15px; margin-top: 18px; max-width: 68ch; line-height: 1.7; }
  .page-head .sub strong { color: var(--ink); }
  .method { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; max-width: 900px; }
  .method .mrow { font-family: var(--mono); font-size: 12px; color: var(--ink-3); line-height: 1.7; }
  .method .mrow b { color: var(--ink-2); font-weight: 500; }
  @media (max-width: 720px) { .method { grid-template-columns: 1fr; } }

  /* model card */
  section.mcard { padding: clamp(52px,6vw,80px) 0; border-bottom: 1px solid var(--hair); position: relative; }
  section.mcard::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 2px; background: var(--acc, var(--gold)); }
  .mc-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; margin-bottom: 30px; }
  @media (max-width: 860px) { .mc-top { grid-template-columns: 1fr; gap: 24px; } }
  .mc-id .mi { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--acc, var(--gold-lumen)); display: flex; align-items: center; gap: 12px; }
  .mc-id .mi::before { content: ""; width: 18px; height: 1px; background: var(--acc, var(--gold)); }
  .mc-id h3 { font-size: clamp(26px, 3.2vw, 40px); margin-top: 14px; }
  .mc-id .tagline { font-family: var(--display); font-weight: 500; font-size: 17px; color: var(--ink-2); margin-top: 10px; letter-spacing: -0.01em; }
  .mc-id .desc { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; max-width: 62ch; }
  .mc-id .desc strong { color: var(--ink); }

  /* stat tiles */
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { background: var(--charcoal); border: 1px solid var(--hair); border-top: 2px solid var(--acc, var(--gold)); padding: 22px 24px; }
  .stat .sv { font-family: var(--mono); font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--ink); }
  .stat .sv .u { color: var(--acc, var(--gold-lumen)); }
  .stat .sk { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); line-height: 1.6; }
  .stat .sd { margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); line-height: 1.6; }
  @media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

  /* spec grid */
  .spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  @media (max-width: 760px) { .spec { grid-template-columns: 1fr; } }
  .spec .sp { background: var(--charcoal); border: 1px solid var(--hair); padding: 20px 24px; }
  .spec .sp h4 { font-size: 12.5px; letter-spacing: 0.02em; font-family: var(--mono); font-weight: 500; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
  .spec .sp ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
  .spec .sp li { font-family: var(--mono); font-size: 12px; color: var(--ink-2); line-height: 1.65; padding-left: 16px; position: relative; }
  .spec .sp li::before { content: "·"; position: absolute; left: 2px; color: var(--acc, var(--gold)); }
  .spec .sp li b { color: var(--ink); font-weight: 500; }

  /* defect class pills */
  .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid; border-radius: 3px; padding: 4px 10px; }
  .pill.drift      { color: #5B8DEF; border-color: rgba(91,141,239,0.4); }
  .pill.corruption { color: #E5484D; border-color: rgba(229,72,77,0.4); }
  .pill.conflict   { color: #B08AE0; border-color: rgba(176,138,224,0.4); }
  .pill.compliance { color: #E8A857; border-color: rgba(232,168,87,0.4); }
  .pill.integrity  { color: #E07B3F; border-color: rgba(224,123,63,0.4); }

  /* murmuration divider per card */
  .mc-flock { height: 72px; margin-top: 30px; opacity: 0.75; pointer-events: none; }
  .mc-flock svg { width: 100%; height: 100%; display: block; }

  /* how it works strip */
  .platform { padding: clamp(56px,7vw,88px) 0; border-bottom: 1px solid var(--hair); }
  .platform .sn { font-family: var(--mono); font-size: 12px; color: var(--gold-lumen); letter-spacing: 0.24em; text-transform: uppercase; }
  .platform h2 { font-size: clamp(24px, 3vw, 38px); margin-top: 14px; margin-bottom: 32px; }
  .plat4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  @media (max-width: 760px) { .plat4 { grid-template-columns: 1fr; } }
  .plat4 .pc { background: var(--charcoal); border: 1px solid var(--hair); border-top: 2px solid var(--gold); padding: 24px 26px; }
  .plat4 .pc h3 { font-size: 15px; letter-spacing: -0.01em; margin-bottom: 10px; }
  .plat4 .pc p { font-family: var(--mono); font-size: 12px; color: var(--ink-2); line-height: 1.7; margin: 0; }
  .plat4 .pc p b { color: var(--ink); font-weight: 500; }

  /* tiers */
  .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
  @media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }
  .tier { background: var(--carbon); border: 1px solid var(--hair); padding: 20px 24px; text-align: center; }
  .tier .tv { font-family: var(--mono); font-size: 24px; color: var(--gold-lumen); }
  .tier .tn { font-family: var(--display); font-weight: 700; font-size: 15px; margin-top: 8px; color: var(--ink); }
  .tier .td { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 6px; letter-spacing: 0.04em; }

  .backrow { padding: 40px 0 8px; }
  .backrow a { font-family: var(--mono); font-size: 12.5px; color: var(--gold-lumen); }

  /* per-card accents */
  #health   { --acc: #46B1A1; }
  #it       { --acc: #5B8DEF; }
  #retail   { --acc: #D2A24E; }
  #property { --acc: #1F8A6B; }
  #finance  { --acc: #B08AE0; }



/* ===== static-export additions ===== */
.foot .fnote { flex-basis: 100%; margin: 6px 0 0; font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
/* progressive enhancement: without JS the carousel scrolls natively and JS-only controls hide */
html:not(.js) .caro-viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .caro-card { scroll-snap-align: start; }
html:not(.js) .caro-ctrl, html:not(.js) .caro-nextlink, html:not(.js) .caro-dots, html:not(.js) .js-only { display: none !important; }

  a.vidposter { display: block; color: inherit; text-decoration: none; }
  .vidposter .ptitle span { display: block; }
