/* ============ Tokens ============ */
:root {
  /* Palette swap targets — overridden by JS */
  --accent: #1f4e7a;          /* Modern Navy default */
  --accent-soft: #eaf0f6;
  --accent-ink: #0f2c47;
  --accent-contrast: #ffffff;

  /* Neutrals (constant) */
  --ink: #0f1419;
  --ink-2: #2a3138;
  --ink-3: #545c66;
  --ink-4: #8a929c;
  --line: #e7e9ec;
  --line-2: #eef0f3;
  --bg: #ffffff;
  --bg-2: #fafbfc;
  --bg-3: #f4f5f7;

  /* Type */
  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --sans: "Inter Tight", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: 32px;
  --radius: 4px;
  --radius-lg: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(.2,.6,.2,1), transform 700ms cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }
.reveal[data-delay="5"] { transition-delay: 300ms; }
.reveal[data-delay="6"] { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Containers ============ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Top utility bar ============ */
.utility {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 12.5px;
  color: var(--ink-3);
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.utility-left { display: flex; gap: 18px; align-items: center; }
.utility-right { display: flex; gap: 16px; align-items: center; }
.utility-right a { color: var(--ink-3); }
.utility-right a:hover { color: var(--accent); }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(22,163,74,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); }
  70% { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* ============ Header ============ */
.header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.nav a:hover { color: var(--accent); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--accent);
}
.header-cta { display: flex; gap: 10px; align-items: center; }
.search-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: border-color .2s, color .2s;
}
.search-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-link {
  background: transparent;
  border: 0;
  color: var(--accent);
  padding: 0;
  height: auto;
}
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }

/* ============ Section header ============ */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.section-tight { padding: 40px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}
.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.h-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 8px 0 0;
  color: var(--ink);
}
.section-sub {
  color: var(--ink-3);
  margin-top: 10px;
  max-width: 560px;
  font-size: 15px;
}
.section-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.section-link:hover { gap: 10px; }

/* ============ HERO ============ */
.hero {
  padding: 36px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
}
.hero-feature {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16/10;
  background: #1a1a1a;
  cursor: pointer;
}
.hero-feature .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1);
}
.hero-feature:hover .img { transform: scale(1.04); }
.hero-feature::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%);
}
.hero-content {
  position: absolute;
  left: 32px; right: 32px; bottom: 28px;
  z-index: 2;
  color: white;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 14px 0 12px;
  max-width: 640px;
}
.hero-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
  align-items: center;
}
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.6); }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-card {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color .2s, transform .2s;
  cursor: pointer;
  flex: 1;
  min-height: 0;
}
.side-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.side-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.side-body { min-width: 0; flex: 1; }
.side-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.side-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}
.side-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--sans);
}
.side-stat .num {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.side-stat .delta {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
}
.delta-up { color: #15803d; background: #dcfce7; }
.delta-down { color: #b91c1c; background: #fee2e2; }
.delta-flat { color: var(--ink-3); background: var(--bg-3); }

/* ============ Insights grid ============ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: transform .2s;
}
.card:hover { transform: translateY(-2px); }
.card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
}
.card-img .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(.2,.6,.2,1);
}
.card:hover .card-img .img { transform: scale(1.05); }
.card-cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  background: rgba(255,255,255,.95);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.card-meta {
  font-size: 12px;
  color: var(--ink-4);
  display: flex;
  gap: 10px;
  align-items: center;
}
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.card-title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  transition: color .2s;
  text-wrap: pretty;
}
.card:hover .card-title { color: var(--accent); }
.card-excerpt {
  color: var(--ink-3);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* ============ Neighborhoods ============ */
.hood-bg { background: var(--bg-2); }
.hood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hood-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.hood-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.hood-map {
  height: 110px;
  margin: -20px -20px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hood-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.hood-loc {
  font-size: 12px;
  color: var(--ink-4);
  margin-bottom: 14px;
}
.hood-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hood-stat-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin-bottom: 4px;
  font-weight: 600;
}
.hood-stat-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.hood-stat-val .trend {
  font-size: 11px;
  font-weight: 600;
}
.trend-up { color: #15803d; }
.trend-down { color: #b91c1c; }

/* ============ Guides ============ */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.guide-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s, background .2s;
  cursor: pointer;
  align-items: center;
}
.guide-card:hover {
  border-color: var(--accent);
  background: var(--bg-2);
}
.guide-cover {
  aspect-ratio: 3/4;
  background: var(--accent-soft);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.guide-cover .label {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.guide-cover .pages {
  position: absolute;
  bottom: 12px; right: 12px;
  font-size: 10.5px;
  color: var(--accent);
  opacity: 0.7;
}
.guide-cover svg { width: 60%; height: 60%; opacity: 0.85; }
.guide-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.guide-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
}
.guide-desc {
  color: var(--ink-3);
  font-size: 14px;
  margin: 0 0 14px;
}
.guide-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-4);
}

/* ============ Trending ranked list ============ */
.trending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.trend-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .2s;
}
.trend-row:hover { padding-left: 8px; }
.trend-rank {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.trend-body { min-width: 0; }
.trend-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}
.trend-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 4px;
  text-wrap: pretty;
}
.trend-meta {
  font-size: 12px;
  color: var(--ink-4);
}
.trend-spark {
  width: 60px;
  height: 24px;
  color: var(--accent);
}

/* ============ Featured video ============ */
.video-bg { background: var(--ink); color: white; }
.video-bg .h-title { color: white; }
.video-bg .eyebrow { color: rgba(255,255,255,.7); }
.video-bg .eyebrow::before { background: rgba(255,255,255,.5); }
.video-bg .section-sub { color: rgba(255,255,255,.7); }

.video-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.video-main {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: #2a2a2a;
}
.video-main .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(.2,.6,.2,1);
}
.video-main:hover .img { transform: scale(1.03); }
.video-main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.7) 100%);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 2;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.video-main:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-info {
  position: absolute;
  left: 28px; right: 28px; bottom: 24px;
  z-index: 2;
  color: white;
}
.video-info .vt {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 8px 0 4px;
}
.video-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-side h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin: 0 0 4px;
}
.video-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  align-items: center;
}
.video-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
.video-thumb {
  width: 80px; height: 56px;
  border-radius: 5px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  position: relative;
}
.video-thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: white;
  font-size: 12px;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .2s;
}
.video-item:hover .video-thumb::after { opacity: 1; }
.video-it-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 4px;
  color: white;
}
.video-it-meta {
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
}

/* ============ Topics tag cloud ============ */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.topic-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
  background: var(--bg);
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.chip .count {
  font-size: 11px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}
.chip:hover .count { color: var(--accent); }

/* ============ Newsletter ============ */
.newsletter-bg { background: var(--accent); color: white; }
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter-bg .h-title { color: white; font-size: clamp(32px, 3.6vw, 46px); }
.newsletter-bg .section-sub { color: rgba(255,255,255,.85); max-width: none; font-size: 16px; }
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(6px);
}
.nl-row {
  display: flex;
  gap: 10px;
}
.nl-zip { flex: 0 0 110px; }
.nl-input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: background .2s;
}
.nl-input:focus { background: white; }
.nl-btn {
  height: 46px;
  padding: 0 22px;
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.nl-btn:hover { background: black; }
.nl-perks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  margin-top: 4px;
}
.nl-perks span { display: inline-flex; align-items: center; gap: 6px; }

/* ============ CTA ============ */
.cta-bg { background: var(--bg-3); }
.cta-card {
  background: var(--ink);
  color: white;
  border-radius: 14px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent) 0%, transparent 50%);
  opacity: 0.5;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .h-title { color: white; font-size: clamp(28px, 3vw, 40px); }
.cta-card .section-sub { color: rgba(255,255,255,.75); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.cta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.cta-stat-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.cta-stat-num .accent { color: var(--accent); }
.cta-stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}

/* ============ Footer ============ */
.footer {
  background: #0a0d10;
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { color: white; }
.footer-brand .brand { color: white; font-size: 24px; }
.footer-brand .brand-mark { background: var(--accent); }
.footer-tag {
  margin: 14px 0 22px;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  font-size: 13.5px;
  line-height: 1.6;
}
.footer h5 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  color: rgba(255,255,255,.55);
  font-size: 13.5px;
  transition: color .15s;
}
.footer ul a:hover { color: var(--accent-contrast); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}
.social {
  display: flex;
  gap: 8px;
}
.social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.6);
  transition: all .15s;
}
.social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.contact-line {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .hood-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: 1fr; }
  .trending-grid { grid-template-columns: 1fr; gap: 0; }
  .video-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}

/* ── Tablet / large mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Tighter section padding */
  .section { padding: 44px 0; }
  .hero { padding: 24px 0 40px; }

  /* Section heads wrap so "View all" link doesn't get squeezed */
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Header: hide sign-in, keep only primary CTA + search */
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0;
    height: 60px;
  }
  .nav { display: none; }
  .header-cta { gap: 12px; }
  .btn-ghost.btn-sm { display: none !important; }

  /* Utility bar: stack left/right */
  .utility-inner { flex-direction: column; height: auto; padding: 8px 0; gap: 4px; }
  .utility-left, .utility-right { flex-wrap: wrap; gap: 10px; }
  .utility-right { font-size: 11.5px; }

  /* Hero content inset */
  .hero-content { left: 18px; right: 18px; bottom: 18px; }
  .hero-title { font-size: clamp(22px, 5.5vw, 34px); margin: 10px 0 8px; }

  /* Side cards: horizontal scroll on tablet if needed */
  .hero-side { flex-direction: row; overflow-x: auto; gap: 12px; padding-bottom: 4px; }
  .side-card { min-width: 260px; flex: 0 0 260px; }

  /* Insights 2-col stays, but reduce gap */
  .insights-grid { gap: 18px; }

  /* Guide card: smaller cover image */
  .guide-card { grid-template-columns: 140px 1fr; gap: 16px; padding: 18px; }

  /* Newsletter inputs stack */
  .nl-row { flex-direction: column; }
  .nl-input, .nl-zip { flex: unset !important; width: 100%; }
  .nl-btn { width: 100%; }

  /* Topics: single column */
  .topics-grid { grid-template-columns: 1fr; }

  /* Tweaks panel: narrower on small screens */
  .twk-panel { width: calc(100vw - 32px); max-width: 320px; }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }
  .hero { padding: 16px 0 32px; }

  /* Grids → single column */
  .insights-grid,
  .hood-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Guide card: stacked */
  .guide-card { grid-template-columns: 1fr; }
  .guide-cover { aspect-ratio: 16/7; }

  /* Hero side cards: vertical again */
  .hero-side { flex-direction: column; overflow-x: unset; }
  .side-card { min-width: unset; flex: unset; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 48px 0 24px; }

  /* CTA */
  .cta-card { padding: 32px 20px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Header: tighten further */
  .header-inner { height: 56px; }
  .header-cta { gap: 10px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 26px; height: 26px; font-size: 11px; }
  .btn-primary.btn-sm { font-size: 12px; padding: 0 10px; }

  /* Utility: hide right side on very small screens */
  .utility-right { display: none; }

  /* Section head */
  .h-title { font-size: clamp(24px, 6.5vw, 34px); }

  /* Trending: reduce rank size */
  .trend-rank { font-size: 22px; }
  .trend-row { gap: 12px; }

  /* Video info */
  .video-info { left: 16px; right: 16px; bottom: 16px; }
  .video-info .vt { font-size: 18px; }
  .play-btn { width: 60px; height: 60px; }

  /* Newsletter */
  .newsletter-bg .section { padding: 40px 0; }
}
