/* ═══════════════════════════════════════════
   FONT FACES — Neue Haas Grotesk Display Pro
═══════════════════════════════════════════ */
@font-face { font-family:"Neue Haas Grotesk Display Pro"; font-weight:300; font-style:normal; font-display:swap; src:url("../fonts/NeueHaasDisplayLight.ttf") format("truetype"); }
@font-face { font-family:"Neue Haas Grotesk Display Pro"; font-weight:400; font-style:normal; font-display:swap; src:url("../fonts/NeueHaasDisplayRoman.ttf") format("truetype"); }
@font-face { font-family:"Neue Haas Grotesk Display Pro"; font-weight:500; font-style:normal; font-display:swap; src:url("../fonts/NeueHaasDisplayMediu.ttf") format("truetype"); }
@font-face { font-family:"Neue Haas Grotesk Display Pro"; font-weight:700; font-style:normal; font-display:swap; src:url("../fonts/NeueHaasDisplayBold.ttf") format("truetype"); }
@font-face { font-family:"Neue Haas Grotesk Display Pro"; font-weight:900; font-style:normal; font-display:swap; src:url("../fonts/NeueHaasDisplayBlack.ttf") format("truetype"); }
@font-face { font-family:"Neue Haas Grotesk Display Pro"; font-weight:400; font-style:italic; font-display:swap; src:url("../fonts/NeueHaasDisplayRomanItalic.ttf") format("truetype"); }
@font-face { font-family:"Neue Haas Grotesk Display Pro"; font-weight:500; font-style:italic; font-display:swap; src:url("../fonts/NeueHaasDisplayMediumItalic.ttf") format("truetype"); }
@font-face { font-family:"Neue Haas Grotesk Display Pro"; font-weight:700; font-style:italic; font-display:swap; src:url("../fonts/NeueHaasDisplayBoldItalic.ttf") format("truetype"); }

/* ═══════════════════════════════════════════
   DESIGN TOKENS — from mohit-ramani-ui-kit.html
═══════════════════════════════════════════ */
:root {
  --bg-deep: #070B18;
  --bg-navy: #0B1226;
  --brand: #2D6BF0;
  --brand-press: #2D6BF0;
  --brand-bright: #2D6BF0;
  --brand-soft: #2D6BF0;
  --ink: #FFFFFF;
  --ink-muted: #AFC0DC;
  --ink-dim: #6B7DA0;
  --hairline: rgba(140,170,225,.14);
  --hairline-strong: rgba(150,180,235,.28);
  --panel: linear-gradient(158deg, rgba(30,54,104,.42) 0%, rgba(13,24,50,.55) 60%, rgba(8,13,28,.62) 100%);
  --panel-solid: linear-gradient(158deg, rgba(24,44,90,.52) 0%, rgba(12,22,46,.72) 58%, #090f22 100%);
  --display: "Neue Haas Grotesk Display Pro", system-ui, sans-serif;
  --grotesk: "Neue Haas Grotesk Display Pro", system-ui, sans-serif;
  --mono: "Neue Haas Grotesk Display Pro", system-ui, sans-serif;
  --maxw: 100%;
  --field: radial-gradient(95% 75% at 82% 6%, #3057a6 0%, rgba(30,57,116,.5) 28%, rgba(16,33,74,.16) 52%, transparent 70%), linear-gradient(180deg, #0e1d40 0%, #0b1733 32%, #091230 50%, #080e20 68%, #070b18 100%);
  --hexfade: linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.18) 75%, transparent 96%);
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Lenis smooth-scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--grotesk);
  color: var(--ink);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  font-size: 18px; font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   BACKGROUND FIELD
═══════════════════════════════════════════ */
.site-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(95% 75% at 82% 6%, #3057a6 0%, rgba(30,57,116,.48) 28%, rgba(16,33,74,.14) 52%, transparent 70%),
    linear-gradient(180deg, #0e1d40 0%, #0b1733 32%, #091230 50%, #080e20 68%, #070b18 100%);
}
#hexbg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .7;
}

/* Read progress bar */
#read-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  width: 0%; background: var(--brand); z-index: 1000;
  transition: width .08s linear;
}

/* ═══════════════════════════════════════════
   WRAPPER
═══════════════════════════════════════════ */
.wrap {
  position: relative; z-index: 10;
  max-width: var(--maxw); margin-inline: auto; padding: 0 60px;
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 28px;
}
.nav-inner {
  max-width: 100%; margin: 0 auto;
  padding: 12px 14px 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  transition: background .3s, border-color .3s;
}
nav.scrolled .nav-inner {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.16);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.nav-ava {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 30%, #3b6fe8, #16264c);
  border: 2px solid var(--brand-soft);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 13px; color: #fff;
}
.nav-name {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  text-transform: none; letter-spacing: 0; color: var(--ink);
}
.nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0;
  text-transform: none; color: var(--ink-muted); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--display); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--brand); text-decoration: none;
  background: #fff; border: 1px solid #fff; padding: 10px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #eaf0ff; color: var(--brand-press); }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); display: inline-block; }
.nav-collapse { display: contents; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 0; cursor: pointer; flex: 0 0 auto;
  align-items: center; justify-content: center; padding: 0;
}

/* ═══════════════════════════════════════════
   BLUE HIGHLIGHT BOX (signature move)
═══════════════════════════════════════════ */
hl, .hl {
  background: var(--brand); color: #fff;
  padding: 14px; border-radius: 12px;
  display: inline-block; line-height: .76; vertical-align: baseline;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ═══════════════════════════════════════════
   EYEBROW / KICKER
═══════════════════════════════════════════ */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  text-transform: none; color: var(--brand-bright);
  display: flex; align-items: center; gap: 12px;
}
.kicker-line {
  width: 13px; height: 14px; flex: 0 0 auto; display: inline-block;
  background: url("icons/label.svg") no-repeat center / contain;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 13px 26px;
  font-family: var(--display); font-weight: 500; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: background .15s, transform .15s, border-color .15s, color .15s;
}
.btn-primary { background: #fff; color: var(--brand); }
.btn-primary:hover { background: #eaf0ff; color: var(--brand-press); }
.ico { flex: 0 0 auto; transition: transform .2s ease; }
.btn:hover .ico,
.nav-cta:hover .ico,
.post-btn:hover .ico { transform: translateX(4px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
.btn-ghost:hover { border-color: var(--brand-soft); color: var(--brand-soft); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  padding: 0;
}
.hero-inner {
  padding: 170px 0 0;
}
.hero-kicker { margin-bottom: 16px; color: var(--ink-muted); }
.hero-sp { display: none; }
.hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: none;
  font-size: clamp(46px, 9vw, 92px);
  line-height: 1.2em; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero-sub {
  font-family: var(--grotesk); font-weight: 400;
  font-size: 20px;
  color: var(--ink-muted); max-width: 50%; line-height: 1.5; margin-bottom: 22px;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 0;
}
.hero-handle {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em;
  color: var(--ink-dim); display: flex; align-items: center; gap: 8px;
}

/* ═══════════════════════════════════════════
   STATS — track-record ledger (asymmetric)
═══════════════════════════════════════════ */
.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 60px 0 0;
}

/* Featured stat */
.stat-feature {
  position: relative; overflow: hidden;
  border: 1px solid var(--hairline-strong); border-radius: 20px;
  background: linear-gradient(158deg, rgba(34,60,116,.46) 0%, rgba(10,16,34,.72) 70%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 38px 38px 34px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 280px;
  transition: border-color .25s;
}
.stat-feature:hover { border-color: rgba(79,134,255,.5); }
.stat-feature .stat-ghost {
  position: absolute; right: -18px; bottom: -54px;
  font-family: var(--display); font-weight: 600; font-size: 300px; line-height: .7;
  color: rgba(79,134,255,.03); pointer-events: none; user-select: none; letter-spacing: -.04em;
}
.stat-eyebrow {
  font-family: var(--mono); font-size: 14px; letter-spacing: .04em;
  color: var(--brand-bright); position: relative;
  display: inline-flex; align-items: center; gap: 10px;
}
.stat-eyebrow::before {
  content: ''; flex: 0 0 auto; width: 13px; height: 14px;
  background: url("icons/label.svg") no-repeat center / contain;
}
.stat-feature-main { position: relative; }
.stat-num {
  font-family: var(--display); font-weight: 500; line-height: .92;
  color: var(--ink);
}
.stat-feature .stat-num {
  font-size: clamp(72px, 10vw, 116px);
  color: var(--brand);
  margin-bottom: 10px;
}
.stat-feature-label {
  font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink);
  margin-bottom: 10px;
}
.stat-feature-note {
  font-size: 14px; color: var(--ink-muted); line-height: 1.65; max-width: 340px;
}

/* Ledger rows */
.stat-list { display: flex; flex-direction: column; gap: 16px; }
.stat-line {
  flex: 1; position: relative; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: 16px;
  background: linear-gradient(158deg, rgba(30,54,104,.26) 0%, rgba(8,13,28,.5) 100%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: border-color .25s, transform .25s;
}
.stat-line:hover { border-color: rgba(79,134,255,.42); transform: translateX(4px); }
.stat-line::before {
  content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px;
  background: var(--brand); opacity: 0; transition: opacity .25s;
}
.stat-line:hover::before { opacity: 1; }
.stat-line-l { display: flex; align-items: center; gap: 24px; }
.stat-line .stat-num { font-size: clamp(40px, 4.4vw, 56px); color: var(--brand); min-width: 96px; }
.stat-line-label {
  font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink);
}
.stat-line-sub {
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--ink-dim);
  text-align: right; max-width: 44%; line-height: 1.5;
}

/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee-wrap {
  background: var(--brand);
  padding: 16px 0; overflow: hidden; position: relative; z-index: 10;
}
.marquee-track {
  display: flex; animation: marquee 30s linear infinite; white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0 26px;
  font-family: var(--mono); font-size: 16px; letter-spacing: .01em;
  text-transform: none; color: #fff;
}
.marquee-item .dia { width: 13px; height: 14px; flex: 0 0 auto; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   SECTION SCAFFOLD
═══════════════════════════════════════════ */
main > * + * { margin-top: 80px; }
main + .wrap { margin-top: 80px; }
section { padding: 0; }
.sec-head {
  display: flex; align-items: baseline; gap: 18px; margin-bottom: 12px;
}
.sec-no {
  font-family: var(--mono); font-size: 13px; color: var(--brand-bright); letter-spacing: .12em;
}
.sec-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(30px, 4.5vw, 42px); letter-spacing: .01em;
}
.sec-note {
  color: var(--ink-muted); max-width: 640px; font-size: 18px;
  margin-bottom: 48px; line-height: 1.5;
}
/* Section intro — label + heading + note (matches The Position) */
.sec-intro { margin-bottom: 52px; }
.sec-heading {
  font-family: var(--display); font-weight: 400; text-transform: none;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.2em; letter-spacing: -.015em;
  margin-bottom: 18px;
}
.sec-intro .sec-note { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   PANEL
═══════════════════════════════════════════ */
.panel {
  background: var(--panel); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 28px; backdrop-filter: blur(3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* ═══════════════════════════════════════════
   POSITION / ABOUT
═══════════════════════════════════════════ */
.pos-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: start;
}
.pos-left { display: flex; flex-direction: column; gap: 44px; }
.pos-left h2 {
  font-family: var(--display); font-weight: 400; text-transform: none;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.2em; letter-spacing: -.015em;
}
.pos-text { display: flex; flex-direction: column; gap: 14px; }
.pos-left p {
  font-size: 18px; color: var(--ink-muted); line-height: 1.5; margin: 0;
}
.manifesto {
  margin: 0;
  border: 1px solid var(--hairline-strong); border-radius: 18px;
  background: linear-gradient(158deg, rgba(30,54,104,.30) 0%, rgba(8,13,28,.52) 100%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 22px 26px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
}
.mf-deny { display: flex; flex-wrap: nowrap; gap: 10px; margin: 0; }
.mf-deny .hl {
  display: inline-block; font-family: var(--display); font-weight: 400; font-size: 16px;
  padding: 9px 16px; line-height: 1.1;
}
.manifesto .mf-claim {
  font-family: var(--display); font-weight: 400; font-size: 18px;
  color: #FFFFFF; line-height: 1; margin: 0; align-self: center;
}
.pos-right { display: flex; flex-direction: column; gap: 12px; }

/* Fact cards — bento below the pills */
.pos-bento {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 60px;
}
.pos-bento .fact-card { grid-column: span 2; }
.pos-bento .fact-card.b3 { grid-column: span 3; }
.fact-card {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, rgba(34,58,112,.40) 0%, rgba(9,15,32,.82) 76%);
  border: 1px solid var(--hairline-strong); border-radius: 20px; padding: 24px;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 -40px 80px -40px rgba(45,107,240,.10), 0 22px 50px -28px rgba(0,0,0,.7);
  transition: border-color .28s, transform .28s, box-shadow .28s;
}
.fc-no {
  position: absolute; right: 34px; top: 0px; z-index: 0; pointer-events: none;
  font-family: var(--display); font-weight: 400; font-size: 150px; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(180deg, #2D6BF0 0%, rgba(45,107,240,0) 75%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.fact-card::before {
  content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,134,255,.45), transparent);
}
.fact-card::after {
  content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(45,107,240,.18) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.fact-card:hover {
  border-color: rgba(79,134,255,.5); transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 28px 56px -26px rgba(0,0,0,.7);
}
.fact-card:hover::after { opacity: 1; }
.fact-label {
  display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 2;
  font-family: var(--mono); letter-spacing: .02em;
  color: #fff; margin-bottom: 18px;
}
.fact-label::before {
  content: ''; flex: 0 0 auto; width: 12px; height: 13px;
  background: url("icons/label.svg") no-repeat center / contain;
}
.fact-val { font-size: 16px; color: var(--ink-muted); line-height: 1.7; position: relative; z-index: 2; }
.fact-val strong { color: var(--ink); font-weight: 500; }

/* Industries strip */
.industries {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0;
}
.ind-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); letter-spacing: .01em; text-transform: none;
  color: var(--brand); background: #fff; border: 1px solid #fff;
  padding: 8px 16px; border-radius: 999px;
}
.ind-pill::before {
  content: ''; flex: 0 0 auto; width: 12px; height: 13px;
  background: url("icons/label.svg") no-repeat center / contain;
}

/* ═══════════════════════════════════════════
   BLOG CATEGORIES GRID
═══════════════════════════════════════════ */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  grid-auto-rows: 1fr;
}
.cat-card {
  background: linear-gradient(158deg, rgba(20,28,52,.7) 0%, rgba(9,13,26,.9) 100%);
  border: 1px solid var(--hairline); border-radius: 22px; padding: 24px;
  cursor: pointer; position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 400px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .26s, transform .26s, box-shadow .26s, background .26s;
}
.cat-card::after {
  content: '';
  position: absolute; bottom: 26px; right: 26px;
  width: 22px; height: 22px;
  background: url("icons/arrow.svg") no-repeat center / contain;
  opacity: 0; transform: translateX(-8px); transition: opacity .22s, transform .22s;
}
.cat-card:hover {
  border-color: rgba(79,134,255,.45); transform: translateY(-4px);
  box-shadow: 0 26px 54px -28px rgba(0,0,0,.7);
}
.cat-card:hover::after { opacity: 1; transform: translateX(0); }
.cat-glow {
  position: absolute; top: -130px; right: -130px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(45,107,240,.30) 0%, rgba(45,107,240,.12) 32%, transparent 68%);
  filter: blur(30px);
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.cat-card:hover .cat-glow { opacity: 1; }
.cat-no {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0;
  color: var(--ink-dim); margin-bottom: 4px; display: block;
}
.cat-name {
  font-family: var(--display); font-weight: 400; text-transform: none;
  font-size: 28px; letter-spacing: -.01em; line-height: 1.2;
}
.cat-desc {
  font-size: 16px; color: var(--ink-dim); line-height: 1.6; margin-top: auto; padding-top: 40px;
  transition: transform .3s ease, color .3s ease;
}
.cat-card:hover .cat-desc { transform: translateY(-18px); color: #fff; }

/* ═══════════════════════════════════════════
   BLOG POSTS
═══════════════════════════════════════════ */
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Stacked-scroll: full-width sticky cards (solid bg = smooth, no blur repaint) */
.posts-stack { display: flex; flex-direction: column; gap: 26px; }
.posts-stack .post-card {
  position: sticky; width: 100%; min-height: 360px;
  background: linear-gradient(158deg, #141c34 0%, #0a0f1f 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transform-origin: center top; will-change: transform;
  box-shadow: 0 -4px 60px -14px rgba(0,0,0,.6);
  opacity: 1 !important;
}
/* don't let the reveal transform-transition fight GSAP's scrub */
.posts-stack .post-card.reveal { transition: opacity .6s ease; transform: none; }
.posts-stack .post-card .post-title { max-width: 820px; }
.posts-stack .post-card .post-excerpt { max-width: 720px; }
.posts-stack .post-card:nth-child(1) { top: 120px; }
.posts-stack .post-card:nth-child(2) { top: 140px; }
.posts-stack .post-card:nth-child(3) { top: 160px; }
.posts-stack .post-card:nth-child(4) { top: 180px; }
.posts-stack .post-card:nth-child(5) { top: 200px; }
.posts-stack .post-card:nth-child(6) { top: 220px; }
.post-card {
  background: linear-gradient(158deg, rgba(20,28,52,.7) 0%, rgba(9,13,26,.92) 100%);
  border: 1px solid var(--hairline); border-radius: 22px; padding: 36px;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  position: relative; overflow: hidden; min-height: 300px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .26s, transform .26s, box-shadow .26s;
}
.post-glow {
  position: absolute; top: -140px; right: -140px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(45,107,240,.30) 0%, rgba(45,107,240,.1) 32%, transparent 68%);
  filter: blur(34px); pointer-events: none; opacity: 0; transition: opacity .3s;
}
.post-card:hover {
  border-color: rgba(79,134,255,.45); transform: translateY(-5px);
  box-shadow: 0 28px 56px -28px rgba(0,0,0,.72);
}
.post-card:hover .post-glow { opacity: 1; }
.post-top {
  display: flex; align-items: center; margin-bottom: 24px; position: relative; z-index: 1;
}
.post-cat {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 14px; letter-spacing: .02em; color: var(--ink-muted);
}
.post-cat::before {
  content: ''; flex: 0 0 auto; width: 13px; height: 14px;
  background: url("icons/label.svg") no-repeat center / contain;
}
.post-title {
  font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: -.01em;
  font-size: clamp(22px, 1.7vw, 27px); line-height: 1.25; color: #fff; margin-bottom: 16px;
  position: relative; z-index: 1; transition: color .2s;
}
.post-card:hover .post-title { color: var(--brand-soft); }
.post-excerpt {
  font-size: 16px; color: var(--ink-dim); line-height: 1.6; margin-bottom: 30px;
  position: relative; z-index: 1;
}
.post-foot {
  margin-top: auto; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.post-date { font-family: var(--mono); font-size: 13px; color: var(--ink-dim); white-space: nowrap; }
.post-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--brand);
  background: #fff; border-radius: 999px; padding: 10px 18px; text-decoration: none;
  transition: background .2s, color .2s;
}
.post-btn:hover { background: #eaf0ff; color: var(--brand-press); }

/* Homepage post cards: the whole card is the link, so the button is redundant. */
#posts .post-btn { display: none; }

/* ═══════════════════════════════════════════
   NEWSLETTER LISTING (image cards, 3 per row)
═══════════════════════════════════════════ */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 60px 0 0;
}
.news-card {
  background: linear-gradient(158deg, rgba(20,28,52,.7) 0%, rgba(9,13,26,.92) 100%);
  border: 1px solid var(--hairline); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  position: relative; min-height: 380px; padding: 18px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .26s, transform .26s, box-shadow .26s;
}
.news-card:hover {
  border-color: rgba(79,134,255,.45); transform: translateY(-5px);
  box-shadow: 0 28px 56px -28px rgba(0,0,0,.72);
}
/* Image / thumbnail — swap the gradient for a real cover by adding
   style="background-image:url('assets/img/your-cover.jpg')" on the element */
.news-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--hairline);
  background-size: cover; background-position: center;
}
.news-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,11,24,.55) 100%);
}
.news-card:hover .news-thumb { transform: none; }
.news-thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.news-card:hover .news-thumb-img { transform: scale(1.05); }
/* Placeholder gradient variants (used until a real cover image is dropped in) */
.news-thumb.g1 { background-image: linear-gradient(150deg, #2d6bf0 0%, #16224a 70%); }
.news-thumb.g2 { background-image: linear-gradient(150deg, #6c47ff 0%, #131a3c 72%); }
.news-thumb.g3 { background-image: linear-gradient(150deg, #0f8f8f 0%, #0c1730 74%); }
.news-thumb.g4 { background-image: linear-gradient(150deg, #c2410c 0%, #1a1330 74%); }
.news-thumb.g5 { background-image: linear-gradient(150deg, #1f7a4d 0%, #0a1524 74%); }
.news-thumb.g6 { background-image: linear-gradient(150deg, #b4267a 0%, #14112c 74%); }
.news-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: #fff;
  background: rgba(7,11,24,.55); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 6px 12px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.news-body {
  display: flex; flex-direction: column; flex: 1; padding: 20px 6px 6px;
}
.news-body .post-top { margin-bottom: 16px; }
.news-body .post-title { font-size: clamp(20px, 1.5vw, 23px); margin-bottom: 12px; }
.news-card:hover .post-title { color: var(--brand-soft); }
.news-body .post-excerpt { font-size: 15px; margin-bottom: 24px; }
.news-body .post-btn { white-space: nowrap; }
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-body .post-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 640px)  { .news-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   PHILOSOPHY / QUOTE BAND
═══════════════════════════════════════════ */
.quote-band {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, rgba(38,64,124,.46) 0%, rgba(10,16,34,.72) 72%);
  border: 1px solid var(--hairline-strong); border-radius: 24px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 28px 64px -32px rgba(0,0,0,.62);
  padding: 60px 56px; min-height: 380px;
  display: flex; align-items: center;
}
.qb-glow {
  position: absolute; top: -45%; left: 50%; transform: translateX(-50%);
  width: 95%; height: 130%; pointer-events: none;
  background: radial-gradient(58% 58% at 50% 0%, rgba(45,107,240,.34) 0%, rgba(45,107,240,.08) 38%, transparent 64%);
}
.qb-content { position: relative; z-index: 2; max-width: 62%; }
.qb-quote {
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2em; color: #fff;
}
.qb-attr {
  margin-top: 30px; font-family: var(--display); font-weight: 300; font-size: 18px;
  letter-spacing: 0; color: var(--ink-muted);
}
.qb-attr b { color: #fff; font-weight: 400; }
.qb-photo {
  position: absolute; right: 60px; bottom: 0; top: 32px; scale: 1.1; height: 100%; width: auto;
  object-fit: contain; object-position: bottom right; pointer-events: none; z-index: 1;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  background: linear-gradient(158deg, rgba(26,36,64,.5) 0%, rgba(10,15,30,.7) 100%);
  border: 1px solid var(--hairline); border-radius: 18px; padding: 34px;
  display: flex; flex-direction: column; margin: 0;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .25s;
}
.quote-card:hover { border-color: rgba(79,134,255,.35); }
.q-mark { display: block; width: 36px; height: auto; margin-bottom: 22px; }
.q-text {
  font-family: var(--display); font-weight: 400; font-size: 17px;
  color: var(--ink-muted); line-height: 1.6; margin: 0 0 30px; flex: 1;
}
.q-author { display: flex; align-items: center; gap: 13px; }
.q-ava {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 30%, #3b6fe8, #16264c);
  border: 2px solid var(--brand);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 500; font-size: 14px; color: #fff;
}
.q-name {
  font-family: var(--display); font-weight: 500; font-size: 16px; line-height: 1.2;
  text-transform: none; letter-spacing: 0; color: #fff;
}
.q-role {
  font-family: var(--mono); font-size: 12px; color: var(--ink-dim); line-height: 1.2;
  letter-spacing: 0; text-transform: none; margin-top: 3px;
}

/* ═══════════════════════════════════════════
   CASE STUDIES
═══════════════════════════════════════════ */
.work-rows { border-top: 1px solid var(--hairline-strong); }
.work-row {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 36px; align-items: center;
  padding: 34px 16px; border-bottom: 1px solid var(--hairline);
  position: relative; transition: background .26s, padding .26s;
}
.work-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--brand); transform: scaleY(0); transition: transform .26s;
}
.work-row:hover {
  background: rgba(45,107,240,.05); padding-left: 26px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.work-row:hover::before { transform: scaleY(1); }
.c-num {
  font-family: var(--display); font-weight: 400; font-size: 50px; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(180deg, #2D6BF0 0%, rgba(45,107,240,.28) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.c-name {
  font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2vw, 30px); text-transform: none;
  letter-spacing: -.01em; line-height: 1.2; transition: color .2s;
}
.work-row:hover .c-name { color: var(--brand-soft); }
.c-desc { font-size: 15px; color: var(--ink-dim); line-height: 1.55; margin-top: 8px; max-width: 560px; }
.c-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0; text-transform: none;
  color: #fff; border: 1px solid var(--brand); background: var(--brand);
  padding: 6px 14px; border-radius: 999px;
}
.tag::before {
  content: ''; flex: 0 0 auto; width: 11px; height: 12px;
  background: url("icons/label-white.svg") no-repeat center / contain;
}

/* ═══════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════ */
.nl-block {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, rgba(38,64,124,.5) 0%, rgba(10,16,34,.8) 74%);
  border: 1px solid var(--hairline-strong); border-radius: 26px; padding: 64px 60px;
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 72px -34px rgba(0,0,0,.66);
}
.nl-block::before {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 380px; height: 380px; pointer-events: none;
  background: radial-gradient(circle, rgba(45,107,240,.24) 0%, transparent 68%);
  filter: blur(20px);
}
.nl-title {
  font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: -.015em;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.2em; margin-bottom: 0;
  position: relative; z-index: 1;
}
.nl-sub { font-size: 16px; color: var(--ink-muted); line-height: 1.6; margin: 0; position: relative; z-index: 1; }
.nl-form { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 1; }
.nl-input {
  background: rgba(7,11,24,.6); border: 1px solid var(--hairline-strong);
  border-radius: 12px; padding: 16px 20px;
  font-family: var(--grotesk); font-size: 15px; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.nl-input::placeholder { color: var(--ink-dim); }
.nl-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45,107,240,.18); }
.nl-form .btn { width: auto; align-self: flex-start; margin-top: 4px; }
.nl-notice {
  font-family: var(--mono); font-size: 12px; color: var(--ink-dim);
  letter-spacing: 0; margin-top: 6px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  padding: 84px 0 48px; border-top: 1px solid var(--hairline);
}
.footer-lead { max-width: 860px; margin-bottom: 60px; }
.footer-lead h2 {
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.18; color: #fff;
}
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid var(--hairline);
}
.footer-brand { max-width: 420px; }
.footer-name {
  display: flex; align-items: center; gap: 10px; color: #fff;
  font-family: var(--display); font-weight: 500; font-size: 20px;
  text-transform: none; letter-spacing: 0; margin-bottom: 12px;
}
.footer-tagline {
  font-family: var(--mono); font-size: 13px; color: var(--ink-dim);
  letter-spacing: 0; text-transform: none; margin-bottom: 18px;
}
.footer-bio { font-size: 15px; color: var(--ink-muted); line-height: 1.7; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-label, .footer-social-label {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  text-transform: none; color: var(--brand); margin-bottom: 8px;
}
.footer-nav a, .footer-social a {
  font-family: var(--display); font-size: 15px; letter-spacing: 0; text-transform: none;
  color: var(--ink-muted); text-decoration: none; transition: color .2s;
}
.footer-social a { display: flex; align-items: center; gap: 10px; }
.footer-nav a:hover, .footer-social a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy, .footer-handle { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); letter-spacing: 0; }
.footer-handle { display: flex; align-items: center; gap: 8px; }
.footer-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,.68,0,1.1), transform .7s cubic-bezier(.22,.68,0,1.1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }
.d7 { transition-delay: .56s; }
.d8 { transition-delay: .64s; }

/* ═══════════════════════════════════════════
   CURSOR BLINK
═══════════════════════════════════════════ */
.cursor {
  display: inline-block; width: 3px; height: .92em;
  background: var(--brand-bright); vertical-align: text-bottom;
  margin-left: 3px; animation: blink .85s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ═══════════════════════════════════════════
   LABEL TYPE SCALE — Neue Haas, 14px
═══════════════════════════════════════════ */
.nav-links a, .nav-cta, .kicker, .hero-handle, .sec-no,
.stat-label, .fact-label, .ind-pill, .post-cat, .post-foot,
.phil-attr, .q-role, .nl-notice, .post-read-link {
  font-size: 14px;
}
.nav-links a { font-size: 15px; }

/* ═══════════════════════════════════════════
   MOBILE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .wrap { padding: 0 40px; }
  nav { padding: 14px 40px; }
  .nav-inner {
    padding: 8px 8px 8px 16px; border-radius: 28px; flex-wrap: wrap; row-gap: 0;
    align-items: center;
    transition: border-radius .35s ease, background .3s, border-color .3s;
  }
  .nav-dot { display: none; }
  .nav-toggle { display: flex; order: 2; }
  .nav-logo { order: 1; }

  /* Collapsible wrapper — animate height */
  .nav-collapse {
    display: block; order: 3; width: 100%;
    max-height: 0; opacity: 0; overflow: hidden;
    pointer-events: none;
    transition: max-height .4s ease, opacity .3s ease;
  }
  .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    width: 100%; gap: 22px; padding-top: 16px;
  }
  .nav-links a { font-size: 22px; color: var(--ink); }
  .nav-cta {
    display: flex; width: 100%; justify-content: space-between;
    padding: 16px 24px; font-size: 16px; margin-top: 18px;
  }

  /* Open state */
  nav.open .nav-collapse { max-height: 460px; opacity: 1; pointer-events: auto; padding-bottom: 14px; }
  .hero-inner { min-height: auto; justify-content: flex-start; padding: 126px 0 0; }
  .hero-br { display: none; }
  .hero-sp { display: inline; }
  .hero-sub { max-width: 100%; }
  main > * + * { margin-top: 60px; }
  main + .wrap { margin-top: 60px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .stat-feature { min-height: 240px; }
  .pos-grid { grid-template-columns: 1fr; gap: 36px; }
  .pos-bento { grid-template-columns: 1fr 1fr; }
  .pos-bento .fact-card, .pos-bento .fact-card.b3 { grid-column: auto; }
  .mf-deny { flex-wrap: wrap; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card.feature { grid-row: auto; }
  .posts-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .nl-block { grid-template-columns: 1fr; padding: 36px 26px; }
  .work-row { grid-template-columns: 70px 1fr; gap: 24px; }
  .work-row .c-tags { grid-column: 1 / -1; justify-content: flex-start; margin-top: 4px; }
  .work-row:hover { padding-left: 16px; }
  .quote-band { padding: 40px 30px; min-height: 0; display: flex; flex-direction: column; }
  .qb-content { max-width: 100%; }
  .qb-photo {
    position: static !important; display: block; order: 2;
    height: auto; width: 74%; max-width: 320px;
    margin: 28px auto -40px; inset: auto; align-self: center;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .footer-lead { margin-bottom: 44px; }
}
@media (max-width: 540px) {
  .wrap { padding: 0 22px; }
  nav { padding: 14px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .hero-sub { font-size: 16px; }
  .hero h1 { font-size: 40px; }
  .post-card { padding: 24px; }
  .quote-card { padding: 24px; }
  .cat-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .cat-card { min-height: 280px; }
  .cat-card.feature, .cat-card.wide { grid-column: auto; grid-row: auto; }
  .stats { grid-template-columns: 1fr; }
  .pos-bento { grid-template-columns: 1fr; }
  .work-row { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .c-num { font-size: 40px; display: block; }
  .c-name { font-size: 22px; }
  .stat-line {
    display: grid; grid-template-columns: auto 1fr;
    column-gap: 20px; row-gap: 6px; align-items: center;
    padding: 22px;
  }
  .stat-line-l { display: contents; }
  .stat-line .stat-num { grid-row: 1 / 3; align-self: center; min-width: 86px; font-size: 46px; }
  .stat-line-label { white-space: nowrap; align-self: end; }
  .stat-line-sub { max-width: 100%; text-align: left; align-self: start; }
  .stat-line-sub br { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  footer { padding: 40px 0; }
  .marquee-track { animation-duration: 8s; }
}

/* ═══════════════════════════════════════════
   EXPERIENCE / ARTICLE PAGES
═══════════════════════════════════════════ */
.nav-links a.active { color: var(--ink); }

/* page header (clears fixed nav) */
.page-head { padding: 170px 0 0; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  font-family: var(--mono); font-size: 14px; color: var(--brand); text-decoration: none;
}
.back-link img { width: 16px; height: 16px; transform: rotate(180deg); }
.back-link:hover { color: var(--brand-press); }

/* page header + glow */
.page-head { position: relative; padding: 120px 0 0; }
.page-head::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(900px, 92%); height: 460px; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(45,107,240,.16) 0%, transparent 62%);
}
.page-head > * { position: relative; z-index: 1; }

/* article header */
.article-header { margin-bottom: 8px; }
.article-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 56px);
  line-height: 1.2em; letter-spacing: -.015em; color: #fff; margin: 22px 0 0;
}
.article-lead { font-size: 21px; color: var(--ink-muted); line-height: 1.6; margin-top: 20px; }

/* article meta row */
.post-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px;
  margin-top: 26px;
  font-family: var(--mono); font-size: 14px; color: var(--ink-dim);
}
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-dim); }
.post-author { display: flex; align-items: center; gap: 12px; }
.post-author .q-ava { width: 42px; height: 42px; }
.post-author b { font-family: var(--display); font-weight: 400; color: #fff; font-size: 15px; }

/* asymmetric article layout: reading column + sticky sidebar */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; }
.article-side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 16px; }
/* Mohit author card (matches Mohit Ramani.svg) */
.mr-card {
  position: relative; overflow: hidden;
  background: #070B18; border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px; padding: 24px;
  box-shadow: inset 0 1px 0 rgba(160,180,210,.10);
}
.mr-card::before {
  content: ''; position: absolute; top: -70px; left: -70px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(45,107,240,.40) 0%, transparent 70%);
  filter: blur(28px); pointer-events: none; z-index: 0;
}
.mr-card > * { position: relative; z-index: 1; }
.mr-photo {
  width: 100%; aspect-ratio: 356 / 370; border-radius: 16px; overflow: hidden;
  background: transparent;
}
.mr-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.mr-name { font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: -.01em; color: #fff; margin-top: 12px; line-height: 1.1; }
.mr-role { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); margin-top: 8px; }
.mr-bio { font-size: 14px; color: var(--ink-muted); line-height: 1.6; margin-top: 18px; }

/* share card (matches Share this fix.svg) */
.share-card::before { display: none; }
.share-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 14px; letter-spacing: .01em; color: #fff;
}
.share-label::before {
  content: ''; flex: 0 0 auto; width: 12px; height: 13px;
  background: url("icons/label.svg") no-repeat center / contain;
}
.share-icons { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.share-icons a {
  display: inline-flex; color: var(--ink-muted); transition: color .2s, transform .2s;
}
.share-icons a:hover { color: var(--brand); transform: translateY(-2px); }
.share-icons svg { width: 20px; height: 20px; display: block; }

/* article body */
.article { max-width: 100%; }
.article > * + * { margin-top: 22px; }
.article p { font-size: 18px; color: var(--ink-muted); line-height: 1.75; }
.article h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 34px);
  color: #fff; letter-spacing: -.01em; line-height: 1.2;
  margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--hairline);
}
.article h3 {
  font-family: var(--display); font-weight: 400; font-size: 21px; color: #fff; margin-top: 34px;
}
.article strong { color: #fff; font-weight: 400; }
.article a { color: var(--brand-bright); }
.article ul, .article ol { padding-left: 22px; color: var(--ink-muted); font-size: 18px; line-height: 1.75; }
.article li + li { margin-top: 8px; }
.article blockquote {
  position: relative; border: 0; background: none; margin: 24px 0; padding: 0;
  font-family: var(--display); font-weight: 400; font-style: normal;
  font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; letter-spacing: -.01em; color: #fff;
}
.article blockquote::before {
  content: ''; display: block; width: 46px; height: 40px; margin-bottom: 18px;
  background: url("svg/‘‘.svg") no-repeat left center / contain;
}
.article pre {
  background: #090f1f; border: 1px solid var(--hairline-strong); border-radius: 14px;
  padding: 22px 24px; overflow-x: auto; margin: 8px 0;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: #c7d3ee;
}
.article :not(pre) > code {
  font-family: var(--mono); font-size: .86em;
  background: var(--brand); color: #fff; padding: 3px 8px; border-radius: 6px;
  white-space: nowrap;
}
.article .callout {
  background: linear-gradient(158deg, rgba(45,107,240,.12) 0%, rgba(10,15,30,.5) 100%);
  border: 1px solid rgba(45,107,240,.3);
  border-radius: 16px; padding: 24px 26px; margin: 8px 0;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.article .callout .callout-label {
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--brand-bright);
  margin-bottom: 12px; display: flex; align-items: center; gap: 9px;
}
.article .callout p { font-size: 16px; color: var(--ink-muted); line-height: 1.65; margin: 0; }
.article hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }

/* related posts footer of article */
.exp-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; color: #fff;
  background: var(--brand); border: 1px solid var(--brand);
  padding: 6px 14px; border-radius: 999px;
}
.exp-tag::before {
  content: ''; flex: 0 0 auto; width: 11px; height: 12px;
  background: url("icons/label-white.svg") no-repeat center / contain;
}

/* article layout base is defined below the earlier media blocks, so these
   overrides come last to win the cascade */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
}
@media (max-width: 540px) {
  .article-layout { display: flex; flex-direction: column; gap: 40px; }
  .article-side { position: static; order: 2; }
  .article { order: 1; }
}
