/* =============================================================
   VIDEOWALLA — Offer Proposal
   Editorial / Magazine. Purple-dominant. Yellow accents.
   ============================================================= */

:root {
  /* Brand tokens */
  --purple: #69359C;
  --purple-deep: #4a2470;
  --purple-ink: #1a0a2e;
  --yellow: #FDCC0D;
  --yellow-soft: #ffe27a;
  --cream: #f6efde;
  --cream-deep: #ece2c8;
  --paper: #fbf6e7;
  --ink: #1a0a2e;
  --ink-dim: rgba(26, 10, 46, 0.62);
  --ink-faint: rgba(26, 10, 46, 0.20);
  --rule: rgba(26, 10, 46, 0.18);

  /* Palette-driven (defaults: purple-dominant) */
  --bg: var(--paper);
  --fg: var(--ink);
  --hero-bg: var(--purple);
  --hero-fg: var(--cream);
  --section-purple-bg: var(--purple);
  --section-purple-fg: var(--cream);
  --accent: var(--yellow);

  /* Type */
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

/* ----- Palette switches (driven by [data-palette] on body) ----- */
body[data-palette="purple"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --hero-bg: var(--purple);
  --hero-fg: var(--cream);
  --accent: var(--yellow);
}
body[data-palette="yellow"] {
  --bg: #fff7d6;
  --fg: var(--purple-ink);
  --hero-bg: var(--yellow);
  --hero-fg: var(--purple-ink);
  --accent: var(--purple);
}
body[data-palette="cream"] {
  --bg: #fbf6e7;
  --fg: var(--purple-ink);
  --hero-bg: var(--cream);
  --hero-fg: var(--purple-ink);
  --accent: var(--purple);
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
strong, b { font-weight: 600; }
em { font-style: italic; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.eyebrow-dim { color: var(--ink-dim); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(251, 246, 231, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--yellow); border-radius: 50%; overflow: hidden; }
.nav-mark img { width: 34px; height: 34px; object-fit: cover; }
.nav-wordmark { font-family: var(--serif); font-size: 22px; font-style: italic; letter-spacing: -0.01em; color: var(--purple); font-weight: 400; }
.nav-links { display: flex; gap: 28px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-dim); }
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  background: var(--purple); color: var(--paper);
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--purple-deep); }

@media (max-width: 900px) { .nav-links { display: none; } }

/* ============ HERO ============ */
.hero {
  background: var(--hero-bg);
  color: var(--hero-fg);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(253, 204, 13, 0.15), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(253, 204, 13, 0.10), transparent 35%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 48px; }

.hero-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid rgba(253, 204, 13, 0.3);
  padding-bottom: 20px; margin-bottom: 60px;
  color: var(--hero-fg); opacity: 0.85;
}
.hero-meta .eyebrow-dim { color: inherit; opacity: 0.7; }

.hero-display {
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 180px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 80px;
  text-wrap: pretty;
}
.hero-display em {
  font-style: italic;
  color: var(--yellow);
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: end;
  border-top: 1px solid rgba(253, 204, 13, 0.3);
  padding-top: 32px;
}
.hero-foot-left { display: flex; flex-direction: column; gap: 8px; }
.hero-foot-title { font-family: var(--serif); font-size: 32px; font-style: italic; line-height: 1; }
.hero-foot-logo {
  width: 200px; aspect-ratio: 354/250;
  background: var(--yellow); border-radius: 16px;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.hero-foot-logo img { width: 100%; height: 100%; object-fit: contain; }
.hero-foot-right { text-align: right; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.hero-toc { font-family: var(--mono); font-size: 12px; line-height: 1.9; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; }
.hero-toc li::before { content: attr(data-i); }

@media (max-width: 900px) {
  .hero-foot { grid-template-columns: 1fr; text-align: left; }
  .hero-foot-right { align-items: flex-start; text-align: left; }
}

/* ============ KICKER (section openers) ============ */
.kicker {
  display: flex; gap: 16px; align-items: baseline;
  padding-bottom: 24px; margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.kicker-num { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--accent); }
.kicker-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; }
.kicker-light .kicker-num, .kicker-light .kicker-label { color: var(--cream); }
.kicker-light { border-color: rgba(246,239,222,0.25); }

/* ============ STORY ============ */
.story { padding: 120px 0; background: var(--bg); }
.section-display {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  max-width: 14ch;
  text-wrap: balance;
}
.section-display em { color: var(--purple); font-style: italic; }

.prose-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 120px;
}
.lede {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--purple);
  margin: 0;
  font-style: italic;
}
.prose p { font-size: 18px; line-height: 1.65; margin: 0 0 18px; max-width: 60ch; }
.prose strong { color: var(--purple); font-weight: 600; }

@media (max-width: 900px) {
  .prose-grid { grid-template-columns: 1fr; gap: 32px; }
  .lede { font-size: 24px; }
}

/* OS overview grid */
.os-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.os-card {
  background: var(--bg);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 280px;
  transition: background 0.2s;
  cursor: pointer;
}
.os-card:hover { background: var(--purple); color: var(--cream); }
.os-card:hover .os-num { color: var(--yellow); }
.os-num { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 0.9; color: var(--purple); }
.os-card h3 { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -0.01em; }
.os-card p { font-size: 14px; line-height: 1.55; margin: 0; opacity: 0.85; flex: 1; }
.os-from { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.os-from b { font-family: var(--sans); font-size: 14px; letter-spacing: 0; font-weight: 600; }

@media (max-width: 1100px) { .os-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .os-grid { grid-template-columns: 1fr; } }

/* ============ OS SECTIONS ============ */
.osec { padding: 140px 0; position: relative; }
.osec-content { background: var(--bg); }
.osec-ads { background: var(--purple); color: var(--cream); }
.osec-ads .osec-num,
.osec-ads .osec-title em,
.osec-ads .ad-channel { color: var(--yellow); }
.osec-email { background: var(--bg); }
.osec-web { background: var(--purple-deep); color: var(--cream); }
.osec-web .osec-num,
.osec-web .osec-title em,
.osec-web .web-tag { color: var(--yellow); }

.osec-head { max-width: 880px; margin-bottom: 80px; }
.osec-num {
  display: inline-block;
  font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--purple);
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid currentColor;
}
.osec-title {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.osec-title em { color: var(--purple); }
.osec-content .osec-title em { color: var(--purple); }
.osec-email .osec-title em { color: var(--purple); }
.osec-lede {
  font-size: 22px;
  line-height: 1.45;
  max-width: 60ch;
  margin: 0;
  opacity: 0.92;
}

/* ----- Benefits (Content OS) ----- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}
.benefit {
  background: var(--purple);
  color: var(--cream);
  padding: 32px;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.benefit-num {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--yellow);
}
.benefit h4 { font-family: var(--serif); font-size: 36px; font-weight: 400; font-style: italic; }
.benefit p { font-size: 15px; line-height: 1.55; margin: 0; opacity: 0.85; }

@media (max-width: 800px) { .benefits { grid-template-columns: 1fr; } }

/* ----- Pricing pair ----- */
.pricing-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.pricing-pair--single { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }

.price-card {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 40px 36px 36px;
  display: flex; flex-direction: column; gap: 28px;
}
.osec-ads .price-card, .osec-email .price-card, .osec-web .price-card { background: var(--cream); }
.price-card--featured {
  background: var(--purple);
  color: var(--cream);
  border-color: var(--purple);
}
.osec-email .price-card--featured { background: var(--purple); color: var(--cream); }

.ribbon {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--yellow);
  color: var(--purple-ink);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 999px;
}
.ribbon-yellow { background: var(--yellow); color: var(--purple-ink); }

.price-head { display: flex; flex-direction: column; gap: 10px; }
.price-eyebrow {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-dim);
}
.price-card--featured .price-eyebrow { color: rgba(246, 239, 222, 0.65); }
.price-name { font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.price-blurb { font-size: 15px; line-height: 1.5; margin: 0; opacity: 0.78; max-width: 38ch; }

.price-amount {
  display: flex; align-items: baseline; gap: 12px;
  padding: 24px 0 20px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.price-card--featured .price-amount { border-color: rgba(246, 239, 222, 0.2); }
.amt { font-family: var(--serif); font-size: 72px; line-height: 0.9; font-weight: 400; letter-spacing: -0.03em; }
.per { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.78; }

.price-list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.price-list li { padding-left: 24px; position: relative; line-height: 1.5; }
.price-list li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--yellow); font-weight: 600;
}
.price-card--featured .price-list li::before { color: var(--yellow); }
.price-list b { font-weight: 600; }

.price-cta {
  align-self: flex-start;
  margin-top: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 14px 22px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  transition: transform 0.15s, background 0.2s;
}
.price-card--featured .price-cta { background: var(--yellow); color: var(--purple-ink); }
.price-cta:hover { transform: translateY(-2px); }

@media (max-width: 800px) { .pricing-pair { grid-template-columns: 1fr; } }

/* ----- Included ----- */
.included {
  background: var(--purple);
  color: var(--cream);
  border-radius: 4px;
  padding: 32px 36px;
  display: flex; align-items: center; gap: 40px;
}
.included-label {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--yellow); flex-shrink: 0;
}
.included-list { display: flex; flex-wrap: wrap; gap: 32px; }
.included-list li { font-size: 15px; }
.included-list li::before { content: "✓ "; color: var(--yellow); margin-right: 4px; }

@media (max-width: 800px) {
  .included { flex-direction: column; align-items: flex-start; }
  .included-list { gap: 12px; }
}

/* ============ ADS OS ============ */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.ad-card {
  background: var(--cream);
  color: var(--ink);
  padding: 32px 28px;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 240px;
}
.ad-channel {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--purple);
}
.ad-card h3 { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.ad-card p { font-size: 14px; line-height: 1.55; margin: 0; opacity: 0.82; flex: 1; }
.ad-price { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--rule); padding-top: 16px; }
.ad-price > span:first-child { font-family: var(--serif); font-size: 36px; line-height: 1; }
.ad-price .per { margin: 0; }

.ads-included {
  background: var(--yellow);
  color: var(--purple-ink);
  border-radius: 4px;
  padding: 28px 36px;
}
.ads-included .included-label { color: var(--purple-deep); display: block; margin-bottom: 14px; }
.ads-included-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ads-included-list .check { color: var(--purple); font-weight: 700; margin-right: 6px; }

@media (max-width: 900px) {
  .ads-grid { grid-template-columns: 1fr; }
  .ads-included-list { grid-template-columns: 1fr 1fr; }
}

/* ============ EMAIL OS — FUNNEL ============ */
.funnel {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin: 56px 0 64px;
}
.funnel-stage {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 28px 26px;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 10px;
}
.funnel-stage--mid { background: var(--purple); color: var(--cream); border-color: var(--purple); }
.funnel-stage--mid .funnel-tag { color: var(--yellow); }
.funnel-tag {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--purple);
}
.funnel-stage h4 { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; font-style: italic; }
.funnel-stage p { font-size: 14px; line-height: 1.55; margin: 0; opacity: 0.85; }
.funnel-arrow {
  align-self: center;
  font-family: var(--serif); font-size: 48px; color: var(--purple); font-style: italic;
}

@media (max-width: 900px) {
  .funnel { grid-template-columns: 1fr; }
  .funnel-arrow { transform: rotate(90deg); }
}

/* ============ WEB OS ============ */
.web-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.web-card {
  background: var(--cream);
  color: var(--ink);
  padding: 40px 36px;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 18px;
}
.web-card--allin { background: var(--yellow); }
.web-tag {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--purple);
}
.web-card h3 { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; }
.web-card > p { font-size: 15px; line-height: 1.55; margin: 0; opacity: 0.85; }
.web-price { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 18px 0; margin: 4px 0; }
.web-price .amt { font-size: 52px; }
.web-price .per { margin: 0; }
.web-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.web-list li { padding-left: 22px; position: relative; }
.web-list li::before { content: "→"; position: absolute; left: 0; color: var(--purple); font-weight: 600; }
.web-note { font-size: 13px; opacity: 0.7; font-style: italic; margin: 0; }

@media (max-width: 800px) { .web-grid { grid-template-columns: 1fr; } }

/* ============ BUILD YOUR STACK ============ */
.stack {
  padding: 140px 0;
  background: var(--ink);
  color: var(--cream);
}
.stack .kicker { border-color: rgba(246,239,222,0.2); }
.stack .kicker-num, .stack .kicker-label { color: var(--yellow); }
.stack .section-display em { color: var(--yellow); }
.stack-lede {
  font-size: 18px; line-height: 1.55; max-width: 60ch;
  opacity: 0.82; margin: 0 0 64px;
}

.calculator {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.calc-options { display: flex; flex-direction: column; gap: 24px; }
.calc-group {
  background: rgba(246,239,222,0.06);
  border: 1px solid rgba(246,239,222,0.12);
  border-radius: 6px;
  padding: 20px 24px;
}
.calc-group-head {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(246,239,222,0.12);
}
.calc-num { font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--yellow); }
.calc-name { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; }

.calc-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(246,239,222,0.08);
  cursor: pointer;
  font-size: 15px;
}
.calc-row:first-of-type { border-top: none; }
.calc-row input { width: 16px; height: 16px; accent-color: var(--yellow); cursor: pointer; }
.calc-row:hover .calc-label { color: var(--yellow); }
.calc-label { transition: color 0.15s; }
.calc-price { font-family: var(--mono); font-size: 13px; opacity: 0.78; letter-spacing: 0.04em; }
.calc-row--note { opacity: 0.5; cursor: default; }
.calc-row--note .calc-price { font-style: italic; }

.calc-summary {
  background: var(--cream);
  color: var(--ink);
  border-radius: 6px;
  padding: 28px 28px 24px;
  position: sticky;
  top: 96px;
  display: flex; flex-direction: column; gap: 18px;
}
.calc-summary .eyebrow { color: var(--purple); }
.calc-picked {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  min-height: 80px;
}
.calc-picked li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
}
.calc-picked li:last-child { border-bottom: none; }
.calc-empty { color: var(--ink-dim); font-style: italic; border: none !important; }
.calc-total {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--purple);
  color: var(--cream);
  padding: 20px 22px;
  border-radius: 4px;
  margin-top: 4px;
}
.calc-total-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--yellow); }
.calc-total-amount { font-family: var(--serif); font-size: 56px; line-height: 1; }
.calc-total-unit { font-family: var(--mono); font-size: 12px; opacity: 0.75; letter-spacing: 0.1em; }
.calc-cta { background: var(--purple); color: var(--cream) !important; align-self: stretch; text-align: center; }
.calc-cta:hover { background: var(--purple-deep); }

@media (max-width: 1000px) {
  .calculator { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
}

/* ============ TALK ============ */
.talk {
  padding: 140px 0;
  background: var(--purple);
  color: var(--cream);
}
.talk-display {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 64px;
  text-wrap: pretty;
}
.talk-display em { color: var(--yellow); font-style: italic; }

.talk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.talk-card {
  background: rgba(246,239,222,0.06);
  border: 1px solid rgba(246,239,222,0.18);
  padding: 32px 28px;
  border-radius: 6px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
  transition: background 0.2s, transform 0.15s;
}
.talk-card:hover { background: rgba(253, 204, 13, 0.12); transform: translateY(-4px); }
.talk-card--alt { background: var(--yellow); color: var(--purple-ink); border-color: var(--yellow); }
.talk-card--alt:hover { background: #ffe27a; }
.talk-num { font-family: var(--serif); font-size: 36px; font-style: italic; color: var(--yellow); line-height: 1; }
.talk-card--alt .talk-num { color: var(--purple); }
.talk-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.talk-card p { font-size: 14px; line-height: 1.55; margin: 0; opacity: 0.82; flex: 1; }
.talk-link { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--yellow); }
.talk-card--alt .talk-link { color: var(--purple); }

@media (max-width: 900px) { .talk-grid { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.foot {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 24px;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246,239,222,0.15);
}
.foot-brand img { width: 120px; background: var(--yellow); padding: 8px; border-radius: 12px; }
.foot-tag { font-family: var(--serif); font-style: italic; font-size: 22px; margin-top: 16px; color: var(--yellow); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-cols .eyebrow { color: var(--yellow); display: block; margin-bottom: 14px; }
.foot-cols ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; opacity: 0.82; }
.foot-bottom {
  max-width: 1240px; margin: 24px auto 0; padding: 0 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(246,239,222,0.6);
}
.foot-bottom a { color: var(--yellow); }
.foot-links { display: flex; gap: 28px; }
.foot-links a { color: var(--yellow); }

@media (max-width: 900px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 12px; }
}

/* ============ TWEAKS PANEL ============ */
.tweaks {
  position: fixed; bottom: 24px; right: 24px;
  width: 280px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  font-family: var(--sans);
  z-index: 100;
  display: none;
}
.tweaks.is-open { display: block; }
.tweaks-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(246,239,222,0.15);
}
.tweaks-title { font-family: var(--serif); font-size: 22px; font-style: italic; }
.tweaks-close {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(246,239,222,0.1); color: var(--cream);
  border: none; cursor: pointer; font-size: 16px;
}
.tweaks-close:hover { background: rgba(246,239,222,0.2); }
.tweaks-section { display: flex; flex-direction: column; gap: 10px; }
.tweaks-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--yellow); }
.tweaks-radio { display: flex; gap: 8px; }
.tweaks-swatch {
  flex: 1;
  padding: 12px 10px;
  border: 1px solid rgba(246,239,222,0.2);
  border-radius: 8px;
  background: rgba(246,239,222,0.04);
  color: var(--cream);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all 0.15s;
}
.tweaks-swatch:hover { border-color: var(--yellow); }
.tweaks-swatch.is-active { background: var(--yellow); color: var(--purple-ink); border-color: var(--yellow); }
.tweaks-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(246,239,222,0.3);
}
.tweaks-swatch.is-active .tweaks-dot { border-color: var(--purple-ink); }
