/* PokerCricket.com — Editorial Authority Build
   Palette: Lilac Research (Factory LIGHT_COLOR_003)
   Typography: Nunito Sans + Nunito (Factory TYPOGRAPHY_SYSTEM_014)
   Layout: Minimal Authority Blog (LAYOUT_CSS_PROMPT_054)
   Visual contract: utility-dashboard / dense-list / split-axis-timeline
   Cache version: v=3 — bump on every CSS change.
*/

/* Metric-matched fallback fonts to reduce CLS when Nunito/Nunito Sans swap in */
@font-face {
  font-family: "Nunito-fallback";
  src: local("Arial"), local("Helvetica"), local("sans-serif");
  ascent-override: 101%;
  descent-override: 35%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: "Nunito Sans-fallback";
  src: local("Arial"), local("Helvetica"), local("sans-serif");
  ascent-override: 101%;
  descent-override: 35%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

:root {
  --primary: #6657D9;
  --primary-deep: #4A3FB8;
  --accent: #D94F8A;
  --background: #F8F6FF;
  --surface: #FFFFFF;
  --surface-2: #ECE8FF;
  --surface-3: #F2EEFF;
  --text: #24203D;
  --muted: #4D4866;
  --border: #D8D0FA;
  --border-strong: #B7ABEE;
  --success: #22664A;
  --warn: #8C5C12;
  --danger: #B23A48;
  --shadow-card: 0 1px 2px rgba(36, 32, 61, 0.04), 0 8px 24px rgba(102, 87, 217, 0.08);
  --shadow-soft: 0 1px 2px rgba(36, 32, 61, 0.03);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --font-body: "Nunito Sans", "Nunito Sans-fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Nunito", "Nunito-fallback", "Nunito Sans", "Nunito Sans-fallback", system-ui, sans-serif;
  --max-w: 1240px;
  --pad-x: clamp(16px, 4vw, 36px);
}

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-deep); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
button { font-family: inherit; }

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: -9999px;
  background: var(--primary); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); z-index: 9999;
}
.skip:focus { left: 12px; top: 12px; }

/* Container */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* =================== HEADER =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px; padding-top: 10px; padding-bottom: 10px;
}
.brand-mark {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
}
.brand-mark .monogram {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-family: var(--font-display);
  display: grid; place-items: center; font-weight: 900; font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 12px rgba(102,87,217,0.32);
}
.brand-mark .name { display: flex; flex-direction: column; line-height: 1; }
.brand-mark .name strong { font-size: 17px; }
.brand-mark .name span { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.primary-nav { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }
.primary-nav a {
  display: inline-block; padding: 10px 14px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px;
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--surface-2); color: var(--primary-deep); }
.primary-nav a[aria-current="page"] { background: var(--surface-2); color: var(--primary-deep); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--primary); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 14.5px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(102,87,217,0.32);
}
.header-cta:hover { background: var(--primary-deep); color: #fff; }

.hamburger {
  display: none;
  appearance: none; border: 1px solid var(--border);
  background: var(--surface); border-radius: 10px;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  position: relative; z-index: 300;
}
.hamburger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 92vw);
  background: var(--surface); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .25s ease;
  z-index: 280; display: none;
  box-shadow: -8px 0 30px rgba(36,32,61,0.12);
  flex-direction: column;
}
.mobile-drawer[data-open="true"] { transform: translateX(0); }
.mobile-drawer.is-open { display: block; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 800;
}
.drawer-close {
  appearance: none; background: var(--surface-2); border: 0;
  width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer; color: var(--text);
}
.mobile-drawer nav { padding: 12px 12px 24px; overflow-y: auto; }
.mobile-drawer nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer nav li { border-bottom: 1px solid var(--border); }
.mobile-drawer nav a {
  display: block; padding: 14px 12px; color: var(--text); text-decoration: none; font-weight: 600;
}
.mobile-drawer nav a:hover, .mobile-drawer nav a:focus-visible { background: var(--surface-2); color: var(--primary-deep); }
.drawer-cta {
  margin: 18px; display: block; text-align: center;
  padding: 14px 18px; background: var(--primary); color: #fff;
  border-radius: 999px; font-weight: 700; text-decoration: none;
}
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(36,32,61,0.5);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
  z-index: 270;
}
.drawer-overlay[data-open="true"] { opacity: 1; pointer-events: auto; }
body.no-scroll { overflow: hidden; }

/* =================== HERO (L1 typographic-hero) =================== */
.hero {
  padding: 48px 0 36px;
  background:
    linear-gradient(180deg, var(--surface-2) 0%, var(--background) 100%);
  border-bottom: 1px solid var(--border);
  min-height: clamp(440px, 60vw, 620px);
  contain: layout paint;
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 36px;
  /* `align-items: start` keeps the hero-metric card anchored to the top of
     the column rather than following the bottom of the left column when
     Google Fonts (Nunito) swap in. Without this, the metric-grid re-flows
     upward by ~90 px when fonts arrive and registers a CLS of ~0.11. */
  align-items: start;
}
/* Reserve vertical space for the hero stat card so its bottom edge cannot
   jump up when Nunito replaces the system fallback font. */
.hero-metric {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-card);
  min-height: 320px;
}
@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .hero-metric { min-height: 300px; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary-deep);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
#hero-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 18px 0 12px; color: var(--text); font-weight: 800;
}
.hero-lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 56ch; margin: 0 0 22px; }
.cta-pair { display: flex; gap: 12px; flex-wrap: nowrap; align-items: stretch; margin-top: 6px; min-height: 56px; }
@media (max-width: 540px) {
  .cta-pair { flex-wrap: wrap; min-height: 124px; }
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(102,87,217,0.28); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--primary-deep); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); color: var(--primary-deep); }

.hero-metric h3, .hero-metric h2.hero-metric-h, .hero-metric .card-title { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metric { padding: 14px; background: var(--surface-3); border-radius: var(--radius); }
.metric strong { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--primary-deep); letter-spacing: -0.01em; }
.metric span { display: block; font-size: 13px; line-height: 1.3; color: var(--muted); }
/* Reserve vertical space for the metric digits so the hero-metric block does not
   reflow when Google Fonts (Nunito) swaps in. Without this, local-Lighthouse
   reports a CLS of ~0.11 driven by metric-grid row growth when fonts arrive. */
.metric { min-height: 92px; }
.metric-grid { row-gap: 12px; }

/* =================== BAND =================== */
.band { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--border); }
.band.tinted { background: var(--surface-2); }
.band.deep { background: var(--surface-3); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head .kicker {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--primary-deep);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em; margin: 10px 0 0; color: var(--text);
}
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.section-head a.more {
  font-weight: 700; font-size: 14px; color: var(--primary-deep); text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
}

/* =================== L2 chapter-rail =================== */
.rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.rail a {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px;
  white-space: nowrap; scroll-snap-align: start;
}
.rail a .num {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-2); color: var(--primary-deep); font-size: 12px; font-weight: 800;
}
.rail a:hover { background: var(--surface-2); border-color: var(--border-strong); color: var(--primary-deep); }

/* =================== L3 mosaic-field =================== */
.mosaic { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.mosaic > a {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border); text-decoration: none; color: inherit;
  background: var(--surface);
}
.mosaic > a .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px; color: #fff;
  background: linear-gradient(180deg, rgba(36,32,61,0) 0%, rgba(36,32,61,0.78) 100%);
}
.mosaic > a .cap strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.mosaic > a .cap span { font-size: 13px; opacity: 0.85; }
.mosaic > a img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .35s ease; }
.mosaic > a:hover img { transform: scale(1.04); }
.m-tall { grid-column: span 7; grid-row: span 2; }
.m-wide { grid-column: span 5; }
.m-square { grid-column: span 5; }
.m-thin { grid-column: span 4; }

/* =================== L4 ranked-list =================== */
.ranked { list-style: none; margin: 0; padding: 0; }
.ranked li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border);
  position: relative;
}
.ranked li:last-child { border-bottom: 0; }
.ranked .lead { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--primary); line-height: 1; }
.ranked .body h3, .ranked .body .card-title { margin: 0 0 4px; font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em; }
.ranked .body p { margin: 0; color: var(--muted); font-size: 15px; }
.ranked .evidence {
  grid-column: 2 / -1; margin-top: 8px;
  font-size: 13px; color: var(--text); background: var(--surface-3);
  padding: 8px 12px; border-radius: 8px; display: none;
}
.ranked li:focus-within .evidence, .ranked li:hover .evidence { display: block; }

/* =================== L5 split-axis-timeline =================== */
.timeline { position: relative; padding-left: 0; }
.timeline-axis {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  margin-bottom: 16px;
}
.timeline-axis span {
  border-top: 2px solid var(--border-strong); padding-top: 8px;
  font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase;
}
.timeline-axis span.active { border-color: var(--primary); color: var(--primary-deep); }
.timeline-list { display: grid; gap: 14px; }
.timeline-row {
  display: grid; grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.timeline-row time { font-family: var(--font-display); font-weight: 800; color: var(--primary-deep); font-size: 14px; }
.timeline-row h3, .timeline-row .card-title { margin: 0 0 6px; font-family: var(--font-display); font-size: 17px; }
.timeline-row p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* =================== L6 reference-ledger =================== */
.ledger-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.ledger {
  width: 100%; border-collapse: collapse; min-width: 720px;
  font-size: 14.5px;
}
.ledger thead th {
  text-align: left; padding: 14px 16px; background: var(--surface-2);
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary-deep); border-bottom: 1px solid var(--border);
}
.ledger tbody td {
  padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.ledger tbody tr:last-child td { border-bottom: 0; }
.ledger tbody tr:hover { background: var(--surface-3); }
.ledger .row-name { font-weight: 700; color: var(--text); }
.ledger .annot { color: var(--muted); font-size: 13px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag.ok { background: rgba(46,125,91,0.12); color: var(--success); }
.tag.warn { background: rgba(183,121,31,0.15); color: var(--warn); }
.tag.no { background: rgba(178,58,72,0.12); color: var(--danger); }

/* =================== L7 questions desk =================== */
.desk { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.desk-index { position: sticky; top: 96px; }
.desk-index ul { list-style: none; padding: 0; margin: 0; }
.desk-index li { margin-bottom: 4px; }
.desk-index a {
  display: block; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px;
}
.desk-index a:hover, .desk-index a:focus-visible { background: var(--surface-2); color: var(--primary-deep); }
.desk-q { padding: 18px 0; border-bottom: 1px solid var(--border); }
.desk-q:last-child { border-bottom: 0; }
.desk-q h3, .desk-q .card-title { margin: 0 0 8px; font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em; }
.desk-q p { margin: 0; color: var(--text); font-size: 15px; }

/* Card title — replaces <h3> in card/list/grid contexts to keep heading order strict (h1 → h2 only). */
.card-title { margin: 0 0 8px; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.25; color: inherit; letter-spacing: -0.01em; }
.card-title strong { font-weight: inherit; }

/* =================== L8 next-step action strip =================== */
.action-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff; padding: clamp(36px, 5vw, 56px) 0;
}
.action-strip h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 8px; letter-spacing: -0.02em; }
.action-strip p { margin: 0 0 22px; color: rgba(255,255,255,0.88); max-width: 60ch; }
.action-strip .btn-primary { background: #fff; color: var(--primary-deep); }
.action-strip .btn-primary:hover { background: var(--surface-2); color: var(--primary-deep); }
.action-strip .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.action-strip .btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* =================== Inline image row =================== */
.inline-img {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px; align-items: center; margin: 28px 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.inline-img img { border-radius: var(--radius-sm); }
.inline-img.alt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.inline-img.alt img { order: 2; }
.inline-img figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* =================== Hero cover (latest-news hero image) =================== */
.hero-cover {
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
}
.hero-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =================== Card grid (used sparingly) =================== */
.cards {
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-soft);
}
.card h3, .card .card-title { margin: 0 0 8px; font-family: var(--font-display); font-size: 18px; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.card a { font-weight: 700; font-size: 14px; text-decoration: none; color: var(--primary-deep); border-bottom: 1px solid var(--border-strong); }

/* =================== Compliance strip =================== */
.compliance {
  background: var(--surface-3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; font-size: 13px; color: var(--muted);
}
.compliance .wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.compliance .pill { background: var(--surface); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); font-weight: 700; color: var(--text); font-size: 12px; }

/* =================== Footer =================== */
.site-footer {
  background: var(--text); color: rgba(255,255,255,0.86);
  padding: 56px 0 24px; margin-top: 0;
}
.site-footer h3 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin: 0 0 12px; }
.site-footer a { color: rgba(255,255,255,0.86); text-decoration: none; display: block; padding: 4px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 36px; }
.footer-brand p { font-size: 14px; opacity: 0.78; max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.6);
}

/* =================== Mobile sticky CTA =================== */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 290; display: none;
}
.sticky-cta .inner {
  display: flex; gap: 10px; align-items: center;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 8px 8px 8px 16px;
  box-shadow: 0 12px 30px rgba(36,32,61,0.18);
}
.sticky-cta .label { font-weight: 700; font-size: 14px; color: var(--text); }
.sticky-cta .btn { padding: 12px 18px; border-radius: 999px; flex: 1 1 auto; justify-content: center; }

/* =================== Article / Hub page content =================== */
.page-hero {
  padding: 44px 0 24px; background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-deep); }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px;
}
.page-hero .lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 70ch; margin: 0; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px);
  margin: 32px 0 12px; letter-spacing: -0.015em;
}
.prose h3, .prose .card-title { font-family: var(--font-display); font-size: clamp(18px, 2vw, 21px); margin: 24px 0 8px; font-weight: 700; color: inherit; line-height: 1.25; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  margin: 18px 0; padding: 16px 18px; background: var(--surface-3);
  border-left: 3px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: normal; color: var(--text);
}
.prose figure { margin: 24px 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.hub-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.hub-nav a {
  padding: 8px 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 13.5px; color: var(--text);
}
.hub-nav a:hover { background: var(--surface-2); color: var(--primary-deep); border-color: var(--border-strong); }

/* =================== Responsive =================== */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: stretch; }
  .mosaic { grid-template-columns: repeat(6, 1fr); }
  .m-tall, .m-wide, .m-square, .m-thin { grid-column: span 6; grid-row: auto; }
  .mosaic > a .cap strong { font-size: 16px; }
  .desk { grid-template-columns: 1fr; gap: 18px; }
  .desk-index { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: inline-block; }
  .sticky-cta { display: block; }
  .inline-img, .inline-img.alt { grid-template-columns: 1fr; }
  .inline-img.alt img { order: 0; }
  .timeline-axis { grid-template-columns: repeat(3, 1fr); }
  .timeline-axis span:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 88px; }
}
@media (max-width: 480px) {
  #hero-h { font-size: 32px; }
  .metric strong { font-size: 22px; }
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
