/* ============================================================
   MENTΞCH — Media & Intelligence Platform
   "The Bloomberg of men's digital health."
   Editorial broadsheet × financial terminal.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --paper:        #FBFAF7;   /* warm editorial white */
  --paper-2:      #F3F1EC;   /* sunken paper */
  --paper-3:      #ECE9E2;   /* rule fills / chips */
  --ink:          #111114;   /* near-black text */
  --ink-2:        #3A3A40;   /* secondary text */
  --ink-3:        #6E6E78;   /* muted */
  --ink-4:        #9A9AA2;   /* faint */
  --line:         #E0DCD3;   /* hairline on paper */
  --line-2:       #CFCABF;   /* stronger hairline */

  /* Terminal (dark) surfaces */
  --term:         #0C0D11;   /* terminal black */
  --term-2:       #14161C;   /* raised terminal */
  --term-3:       #1C1F27;   /* card on terminal */
  --term-line:    rgba(255,255,255,0.10);
  --term-line-2:  rgba(255,255,255,0.16);
  --term-text:    #C7C9D1;
  --term-muted:   #7E818C;

  /* Brand / signal */
  --cobalt:       #1536D6;   /* primary intelligence accent */
  --cobalt-600:   #1430BD;
  --cobalt-tint:  rgba(21,54,214,0.08);
  --amber:        #E0820C;   /* terminal / live-data accent */
  --amber-tint:   rgba(224,130,12,0.12);
  --up:           #11864B;   /* market positive */
  --up-term:      #2BD17E;
  --down:         #CE3526;   /* market negative */
  --down-term:    #FF6A5A;

  /* Type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Motion */
  --dur: 200ms;
  --dur-fast: 120ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1280px;
  --gutter: 40px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--cobalt); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5,p { margin: 0; }
button { font-family: inherit; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 84px 0; position: relative; }
.section--pad-sm { padding: 60px 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-2 { height: 2px; background: var(--ink); border: 0; margin: 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .tick { width: 7px; height: 7px; background: var(--amber); display: inline-block; }
.eyebrow--cobalt { color: var(--cobalt); }
.eyebrow--cobalt .tick { background: var(--cobalt); }

.kicker {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cobalt);
}
.kicker.amber { color: var(--amber); }
.kicker.neg { color: var(--down); }

.serif { font-family: var(--serif); }
.h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.03; letter-spacing: -0.018em; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.014em; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.15; letter-spacing: -0.01em; }
.lead { font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.xi { font-family: var(--serif); }

.section-head { max-width: 720px; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; }

/* section label bar (Bloomberg-style) */
.sec-label {
  display: flex; align-items: baseline; gap: 14px;
  border-top: 2px solid var(--ink);
  padding-top: 12px; margin-bottom: 28px;
}
.sec-label .name {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.sec-label .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); margin-left: auto; }
.sec-label.on-term { border-top-color: var(--amber); }
.sec-label.on-term .name { color: #fff; }
.sec-label.on-term .meta { color: var(--term-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: 0.01em;
  height: 46px; padding: 0 22px; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.btn:active { transform: translateY(1px); }
.btn .ar { transition: transform var(--dur); }
.btn:hover .ar { transform: translateX(3px); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-600); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--amber { background: var(--amber); color: #1a1205; }
.btn--amber:hover { filter: brightness(1.06); }
.btn--on-term { background: transparent; color: #fff; border-color: var(--term-line-2); }
.btn--on-term:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.mono-link { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cobalt); display: inline-flex; align-items: center; gap: 7px; transition: gap var(--dur); }
.mono-link:hover { gap: 11px; }

/* ============================================================
   TICKER BAR
   ============================================================ */
.ticker-bar {
  background: var(--term); color: var(--term-text);
  border-bottom: 1px solid var(--term-line);
  height: 38px; display: flex; align-items: stretch;
  position: relative; z-index: 60;
}
.ticker-bar .label {
  display: flex; align-items: center; gap: 8px;
  background: var(--amber); color: #1a1205;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0 16px; white-space: nowrap; flex: none;
}
.ticker-bar .label .dot { width: 7px; height: 7px; border-radius: 50%; background: #1a1205; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
.ticker-view { overflow: hidden; flex: 1; position: relative; }
.ticker-track { display: inline-flex; align-items: center; height: 100%; white-space: nowrap; will-change: transform; animation: ticker-scroll 60s linear infinite; }
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 0 22px; border-right: 1px solid var(--term-line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em;
}
.tk .sym { color: var(--term-muted); }
.tk .val { color: #fff; font-weight: 500; }
.tk .chg.up { color: var(--up-term); }
.tk .chg.down { color: var(--down-term); }
.ticker-bar .clock {
  display: flex; align-items: center; padding: 0 18px; flex: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--term-muted);
  border-left: 1px solid var(--term-line);
}

/* ============================================================
   MASTHEAD / NAV
   ============================================================ */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  position: sticky; top: 0; z-index: 50;
}
.masthead .bar { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: flex; align-items: baseline; gap: 0; flex: none; }
.brand .word {
  font-family: var(--serif); font-weight: 700; font-size: 26px;
  letter-spacing: 0.06em; color: var(--ink); line-height: 1;
}
.brand .word .xi { font-weight: 600; }
.brand .tm { font-family: var(--mono); font-size: 10px; color: var(--ink-3); margin-left: 4px; align-self: flex-start; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.nav a {
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 6px 0; position: relative; transition: color var(--dur-fast);
}
.nav a::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform var(--dur); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.mast-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 2px; background: transparent; cursor: pointer; color: var(--ink); transition: border-color var(--dur-fast), background var(--dur-fast); }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.burger { display: none; }

/* ============================================================
   FRONT PAGE HERO
   ============================================================ */
.front { padding: 40px 0 64px; }
.front-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 0; }
.lead-col { padding-right: 44px; border-right: 1px solid var(--line); }
.lead-story .kicker { margin-bottom: 16px; }
.lead-story h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(36px, 5vw, 66px); line-height: 1.0; letter-spacing: -0.022em; color: var(--ink);
  text-wrap: balance;
}
.lead-story h1 .em { font-style: italic; color: var(--cobalt); }
.lead-dek { margin-top: 20px; font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.byline { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.byline .author { color: var(--ink); font-weight: 600; }
.byline .sep { width: 4px; height: 4px; background: var(--ink-4); border-radius: 50%; }
.lead-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* big stat plate under lead */
.statplate { margin-top: 38px; border: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.statplate .s { padding: 20px 22px; border-right: 1px solid var(--line); }
.statplate .s:last-child { border-right: 0; }
.statplate .v { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1; color: var(--ink); }
.statplate .v .u { font-size: 0.55em; color: var(--ink-3); }
.statplate .v .up { color: var(--up); }
.statplate .k { margin-top: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

/* latest rail */
.rail-col { padding-left: 36px; }
.rail-head { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 4px; }
.rail-head .t { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.rail-head .live { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--down); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rail-head .live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--down); animation: pulse 2s infinite; }
.rail-item { padding: 16px 0; border-bottom: 1px solid var(--line); display: block; transition: background var(--dur-fast); }
.rail-item:hover { background: var(--paper-2); }
.rail-item .meta { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.rail-item .cat { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); }
.rail-item .time { font-family: var(--mono); font-size: 10px; color: var(--ink-4); white-space: nowrap; }
.rail-item h4 { font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.25; color: var(--ink); }
.rail-item:hover h4 { color: var(--cobalt); }

/* ============================================================
   MARKET TERMINAL BAND
   ============================================================ */
.terminal { background: var(--term); color: var(--term-text); border-top: 1px solid #000; border-bottom: 1px solid #000; }
.terminal .grid-tex {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--term-line) 1px, transparent 1px), linear-gradient(90deg, var(--term-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000, transparent 80%);
}
.terminal .wrap { position: relative; z-index: 1; }
.term-tiles { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--term-line); }
.term-tile { padding: 22px 20px; border-right: 1px solid var(--term-line); position: relative; }
.term-tile:last-child { border-right: 0; }
.term-tile .sym { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--term-muted); }
.term-tile .v { font-family: var(--mono); font-weight: 600; font-size: 25px; color: #fff; margin-top: 12px; line-height: 1; }
.term-tile .v .u { font-size: 0.5em; color: var(--term-muted); }
.term-tile .d { margin-top: 9px; font-family: var(--mono); font-size: 12px; }
.term-tile .d.up { color: var(--up-term); }
.term-tile .d.down { color: var(--down-term); }
.term-tile .spark { position: absolute; right: 16px; top: 20px; width: 46px; height: 20px; opacity: 0.8; }
@media (max-width: 980px){ .term-tiles { grid-template-columns: repeat(3,1fr); } .term-tile:nth-child(3n){border-right:0;} .term-tile:nth-child(-n+3){border-bottom:1px solid var(--term-line);} }

/* ============================================================
   CONTENT PILLARS
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 26px 22px 26px 0; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar:not(:first-child) { padding-left: 22px; }
.pillar .n { font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.pillar .nm { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); margin-top: 14px; }
.pillar .ds { color: var(--ink-3); font-size: 13.5px; line-height: 1.5; margin-top: 10px; }
.pillar .eg { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.pillar:hover .nm { color: var(--cobalt); }

/* ============================================================
   MARKET MAP (focus areas)
   ============================================================ */
.mapwrap { margin-top: 4px; }
.map-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.map-filter { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); background: var(--paper); padding: 7px 13px; border-radius: 2px; cursor: pointer; transition: all var(--dur-fast); }
.map-filter:hover { border-color: var(--ink); }
.map-filter.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.map-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.map-cell { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; cursor: default; transition: background var(--dur-fast); min-height: 138px; display: flex; flex-direction: column; }
.map-cell:hover { background: var(--cobalt-tint); }
.map-cell .idx { font-family: var(--mono); font-size: 10px; color: var(--ink-4); }
.map-cell .nm { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--ink); margin-top: 10px; line-height: 1.15; }
.map-cell .ct { margin-top: auto; display: flex; align-items: baseline; gap: 6px; }
.map-cell .ct .num { font-family: var(--mono); font-weight: 600; font-size: 20px; color: var(--cobalt); }
.map-cell .ct .lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.map-cell.dim { opacity: 0.28; }
/* right edge / bottom edge cleanup handled per row count = 4 */
.map-grid .map-cell:nth-child(4n) { border-right: 0; }

/* ============================================================
   RESEARCH SYNTHESIS
   ============================================================ */
.research-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.rcard { border: 1px solid var(--line); background: var(--paper); padding: 24px; display: flex; flex-direction: column; transition: border-color var(--dur), transform var(--dur); }
.rcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.rcard .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rcard .src { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.score { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; font-weight: 600; }
.score .ring { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--up) calc(var(--p,90)*1%), var(--paper-3) 0); }
.score .ring span { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 9px; color: var(--ink); }
.rcard h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.2; color: var(--ink); }
.rcard p { color: var(--ink-3); font-size: 13.5px; line-height: 1.5; margin-top: 10px; }
.rcard .chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 4px 8px; border-radius: 2px; }
.chip.pos { color: var(--up); border-color: rgba(17,134,75,0.35); }
.chip--perma { display: inline-flex; align-items: center; gap: 6px; }
.chip--perma i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: none; }
.rcard .foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ============================================================
   TREND RADAR
   ============================================================ */
.trends { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.trend { display: grid; grid-template-columns: 44px 1.4fr 1fr 120px; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: background var(--dur-fast); }
.trend:hover { background: var(--paper-2); }
.trend .rk { font-family: var(--mono); font-size: 13px; color: var(--amber); font-weight: 600; }
.trend .nm { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); }
.trend .ds { color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.trend .sig { display: flex; flex-direction: column; gap: 6px; }
.trend .sig .bar { height: 5px; background: var(--paper-3); border-radius: 2px; overflow: hidden; }
.trend .sig .bar i { display: block; height: 100%; background: var(--cobalt); width: 0; transition: width 1s var(--ease); }
.trend .sig .lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-3); display: flex; justify-content: space-between; }
.trend .sig .lab b { color: var(--ink); }

/* ============================================================
   MENTECH 50 LEADERBOARD
   ============================================================ */
.lb { border: 1px solid var(--line); }
.lb-row { display: grid; grid-template-columns: 64px 1.6fr 1.2fr 120px 110px; gap: 16px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); transition: background var(--dur-fast); }
.lb-row:last-child { border-bottom: 0; }
.lb-row.head { background: var(--ink); color: var(--paper); border-bottom: 0; }
.lb-row.head span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); }
.lb-row:not(.head):hover { background: var(--paper-2); }
.lb-row .rank { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--ink); }
.lb-row .rank.top { color: var(--amber); }
.lb-row .co { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--ink); }
.lb-row .co small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.04em; margin-top: 2px; }
.lb-row .cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-2); text-transform: uppercase; }
.lb-row .fund { font-family: var(--mono); font-size: 13px; color: var(--ink); font-weight: 500; }
.lb-row .mo { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.lb-row .mo.up { color: var(--up); }
.lb-row .mo.down { color: var(--down); }

/* ============================================================
   AI APP
   ============================================================ */
.app-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.feat { padding: 20px 0; border-top: 1px solid var(--term-line); }
.feat .h { display: flex; align-items: center; gap: 10px; }
.feat .ic { width: 28px; height: 28px; display: grid; place-items: center; color: var(--amber); border: 1px solid var(--term-line); border-radius: 2px; flex: none; }
.feat .ic svg { width: 15px; height: 15px; }
.feat .nm { font-family: var(--sans); font-weight: 600; font-size: 15px; color: #fff; }
.feat .ds { color: var(--term-muted); font-size: 13px; line-height: 1.45; margin-top: 9px; }

/* phone mock */
.phone { width: 300px; margin: 0 auto; background: #000; border-radius: 38px; padding: 10px; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6); border: 1px solid var(--term-line-2); }
.phone .screen { background: var(--term-2); border-radius: 30px; overflow: hidden; position: relative; }
.phone .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #000; border-radius: 0 0 14px 14px; z-index: 3; }
.phone .pstatus { display: flex; justify-content: space-between; align-items: center; padding: 13px 22px 6px; font-family: var(--mono); font-size: 11px; color: #fff; }
.phone .phead { padding: 14px 18px 12px; border-bottom: 1px solid var(--term-line); }
.phone .phead .wm { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; color: #fff; }
.phone .phead .dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--term-muted); margin-top: 2px; }
.phone .pbody { padding: 16px 18px 22px; }
.brief-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.brief-h { font-family: var(--serif); font-weight: 600; font-size: 18px; color: #fff; line-height: 1.2; margin-top: 8px; }
.brief-card { background: var(--term-3); border: 1px solid var(--term-line); border-radius: 6px; padding: 12px; margin-top: 14px; }
.brief-card .bc-cat { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); }
.brief-card .bc-cat.am { color: var(--amber); }
.brief-card .bc-t { font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--term-text); margin-top: 6px; line-height: 1.3; }
.brief-card .bc-m { font-family: var(--mono); font-size: 10px; color: var(--term-muted); margin-top: 7px; }

/* ============================================================
   FORMATS
   ============================================================ */
.fmt-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.fmt { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.fmt:nth-child(2n){ border-right: 0; }
.fmt .nm { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink); }
.fmt .ds { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.fmt .spec { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--amber); white-space: nowrap; background: var(--amber-tint); padding: 5px 9px; border-radius: 2px; }

/* ============================================================
   PROOF QUOTE BAND
   ============================================================ */
.proof { background: var(--ink); color: var(--paper); }
.proof .wrap { max-width: 1040px; }
.proof .q { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 3vw, 40px); line-height: 1.28; letter-spacing: -0.01em; text-wrap: pretty; }
.proof .q b { font-weight: 600; }
.proof .q .hl { color: var(--amber); font-style: italic; }
.proof .attrib { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 28px; border-top: 1px solid var(--term-line); padding-top: 24px; }
.proof .attrib .a .v { font-family: var(--mono); font-weight: 600; font-size: 22px; color: #fff; }
.proof .attrib .a .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--term-muted); margin-top: 5px; }

/* ============================================================
   API TERMINAL
   ============================================================ */
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.code-window { border: 1px solid var(--term-line); border-radius: 6px; overflow: hidden; background: var(--term-2); }
.code-window .cw-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--term-line); font-family: var(--mono); font-size: 11px; color: var(--term-muted); }
.code-window .cw-bar .m { color: var(--amber); }
.code-window pre { margin: 0; padding: 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--term-text); overflow-x: auto; }
.code-window .k { color: var(--cobalt); } /* but cobalt on dark is low-contrast; use lighter */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 22px; }
.tier { border: 1px solid var(--term-line); padding: 18px; border-radius: 4px; }
.tier.feat { border-color: var(--amber); background: var(--amber-tint); }
.tier .tn { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--term-muted); }
.tier .tp { font-family: var(--mono); font-weight: 600; font-size: 22px; color: #fff; margin-top: 10px; }
.tier .tp small { font-size: 11px; color: var(--term-muted); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.news { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.news-form { display: flex; gap: 10px; margin-top: 24px; max-width: 460px; }
.news-form input { flex: 1; height: 52px; border: 1px solid var(--line-2); background: var(--paper); padding: 0 16px; font-family: var(--sans); font-size: 15px; color: var(--ink); border-radius: 2px; }
.news-form input:focus { outline: none; border-color: var(--cobalt); }
.news-meta { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }
.news-sample { border: 1px solid var(--line); background: var(--paper); padding: 0; }
.news-sample .ns-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.news-sample .ns-head .t { font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.news-sample .ns-head .d { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.news-sample .ns-item { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.news-sample .ns-item:last-child { border-bottom: 0; }
.news-sample .ns-item .c { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); }
.news-sample .ns-item .h { font-family: var(--serif); font-weight: 500; font-size: 15px; color: var(--ink); margin-top: 5px; line-height: 1.25; }

/* ============================================================
   PERMA WELLBEING LENS (dark band)
   ============================================================ */
.perma-band .perma-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--term-line); margin-top: 52px; }
.perma-band .pcol { padding: 28px 22px; border-right: 1px solid var(--term-line); }
.perma-band .pcol:last-child { border-right: 0; }
.perma-band .pbadge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 22px; color: #0A0B0E; margin-bottom: 20px; }
.perma-band .pword { font-family: var(--serif); font-weight: 600; font-size: 24px; color: #fff; letter-spacing: -0.01em; }
.perma-band .plabel { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--term-muted); margin-top: 7px; }
.perma-band .pdesc { color: var(--term-muted); font-size: 13.5px; line-height: 1.55; margin-top: 16px; }
@media (max-width: 980px) {
  .perma-band .perma-grid { grid-template-columns: 1fr 1fr; }
  .perma-band .pcol:nth-child(2n) { border-right: 0; }
  .perma-band .pcol:nth-child(-n+4) { border-bottom: 1px solid var(--term-line); }
}
@media (max-width: 560px) {
  .perma-band .perma-grid { grid-template-columns: 1fr; }
  .perma-band .pcol { border-right: 0; border-bottom: 1px solid var(--term-line); }
  .perma-band .pcol:last-child { border-bottom: 0; }
}

/* ---- Human Coherence Score (website) ---- */
.perma-band .coh-divide { height: 1px; background: var(--term-line); margin: 64px 0 48px; position: relative; }
.perma-band .coh-divide::after { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 1px; background: #E0820C; }
.perma-band .coh-web { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--term-line); margin-top: 44px; }
.perma-band .ccol { padding: 26px 20px; border-right: 1px solid var(--term-line); }
.perma-band .ccol:last-child { border-right: 0; }
.perma-band .cidx { font-family: var(--mono); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; }
.perma-band .cnm { font-family: var(--serif); font-weight: 600; font-size: 19px; color: #fff; margin-top: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.perma-band .cperma { font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.1em; color: #E0820C; border: 1px solid rgba(224,130,12,0.4); padding: 2px 5px; border-radius: 3px; }
.perma-band .cin { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.02em; line-height: 1.55; text-transform: uppercase; color: var(--term-muted); margin-top: 12px; }
.perma-band .coh-mech { display: flex; flex-wrap: wrap; gap: 0; margin-top: 24px; }
.perma-band .cm { font-family: var(--sans); font-size: 13px; color: var(--term-muted); line-height: 1.5; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--term-line); margin-bottom: 8px; }
.perma-band .cm:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.perma-band .cm b { color: #fff; font-weight: 600; }
@media (max-width: 980px) {
  .perma-band .coh-web { grid-template-columns: 1fr 1fr 1fr; }
  .perma-band .ccol:nth-child(3n) { border-right: 0; }
  .perma-band .ccol:nth-child(-n+3) { border-bottom: 1px solid var(--term-line); }
  .perma-band .cm { border-right: 0; padding-right: 0; margin-right: 0; width: 100%; }
}
@media (max-width: 560px) {
  .perma-band .coh-web { grid-template-columns: 1fr 1fr; }
  .perma-band .ccol { border-right: 1px solid var(--term-line); }
  .perma-band .ccol:nth-child(2n) { border-right: 0; }
  .perma-band .ccol:nth-child(-n+4) { border-bottom: 1px solid var(--term-line); }
}

/* ============================================================
   OFFERINGS (recurring + high-ticket, B2C + B2B)
   ============================================================ */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.offer { border: 1px solid var(--line); background: var(--paper); padding: 30px; border-radius: 10px; display: flex; flex-direction: column; transition: border-color var(--dur), transform var(--dur); }
.offer:hover { border-color: var(--line-2); transform: translateY(-3px); }
.offer .otag { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); }
.offer h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; color: var(--ink); margin: 14px 0 0; letter-spacing: -0.01em; }
.offer p { font-size: 15px; line-height: 1.55; color: var(--ink-3); margin: 12px 0 0; }
.offer .ev { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--amber); }
@media (max-width: 1080px) and (min-width: 781px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .offers { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--term); color: var(--term-text); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--term-line); }
.footer .word { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: 0.06em; color: #fff; }
.footer-brand p { color: var(--term-muted); font-size: 13.5px; line-height: 1.6; max-width: 38ch; margin-top: 16px; }
.footer-brand .badges { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.footer-brand .badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--term-muted); border: 1px solid var(--term-line); padding: 5px 9px; border-radius: 2px; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--term-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--term-text); font-size: 13.5px; padding: 5px 0; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--amber); }
.footer-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 26px; }
.footer-bot .m { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--term-muted); }
.disclaimer { margin-top: 18px; font-family: var(--sans); font-size: 11px; line-height: 1.6; color: var(--term-muted); max-width: 80ch; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.07s; }
.reveal.d2 { transition-delay: 0.14s; }
.reveal.d3 { transition-delay: 0.21s; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;} html{scroll-behavior:auto;} .ticker-track{animation:none;} }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--paper); transform: translateY(-100%); transition: transform var(--dur) var(--ease); display: flex; flex-direction: column; padding: 18px var(--gutter); }
.mobile-menu.open { transform: none; }
.mm-head { display: flex; align-items: center; justify-content: space-between; height: 54px; border-bottom: 1px solid var(--line); }
.mm-head .word { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: 0.06em; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 18px; }
.mobile-menu nav a { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-cta { margin-top: auto; padding: 20px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .front-grid { grid-template-columns: 1fr; }
  .lead-col { padding-right: 0; border-right: 0; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
  .rail-col { padding-left: 0; padding-top: 32px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { border-right: 0; padding-left: 0 !important; padding-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:nth-child(odd){ padding-right: 22px; border-right: 1px solid var(--line); }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .map-grid { grid-template-columns: repeat(2,1fr); }
  .map-grid .map-cell:nth-child(4n){ border-right: 1px solid var(--line); }
  .map-grid .map-cell:nth-child(2n){ border-right: 0; }
  .app-grid, .api-grid, .news-grid { grid-template-columns: 1fr; gap: 40px; }
  .feat-list { gap: 0 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  :root { --gutter: 20px; }
  .section { padding: 56px 0; }
  .nav { display: none; }
  .mast-actions .btn { display: none; }
  .burger { display: grid; }
  .statplate { grid-template-columns: 1fr; }
  .statplate .s { border-right: 0; border-bottom: 1px solid var(--line); }
  .statplate .s:last-child { border-bottom: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding-right: 0 !important; border-right: 0 !important; }
  .research-grid, .fmt-grid { grid-template-columns: 1fr; }
  .fmt { border-right: 0; }
  .map-grid { grid-template-columns: 1fr; }
  .map-grid .map-cell { border-right: 0 !important; }
  .trend { grid-template-columns: 30px 1fr; gap: 10px 14px; }
  .trend .ds { grid-column: 2; }
  .trend .sig { grid-column: 2; }
  .lb-row { grid-template-columns: 40px 1fr 86px; gap: 12px; }
  .lb-row .cat, .lb-row.head span.h-cat { display: none; }
  .lb-row .fund, .lb-row.head span.h-fund { display: none; }
  .feat-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .news-form .btn { width: 100%; }
}
