/* =========================================================================
   Seeing Red — seeingredpodcast.com
   Hand-built static site. Brand tokens from ~/SeeingRed/Brand/color/brand.css
   Fonts: Anton (display) + Inter (body), self-hosted.
   ========================================================================= */

/* ---- Fonts ---- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---- Tokens ---- */
:root {
  /* brand core */
  --red: #CF1616;
  --red-deep: #9E1010;
  --red-tint: #F09595;
  --red-wash: #FBF3F4;
  --ink: #111111;
  --bone: #F4EFE6;
  --hairline: #E4E4E4;
  --muted: #6B6B6B;
  --navy: #0B2545;

  /* semantic (light / bone default) */
  --bg: var(--bone);
  --surface: #FFFFFF;
  --surface-2: #FBF8F2;
  --text: var(--ink);
  --text-soft: #4A4A4A;
  --text-muted: var(--muted);
  --line: #E7E1D5;
  --line-strong: #D8D0C0;
  --accent: var(--red);
  --accent-ink: #FFFFFF;
  --header-bg: rgba(244,239,230,.82);
  --shadow: 0 1px 2px rgba(17,17,17,.05), 0 8px 30px rgba(17,17,17,.06);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141210;
    --surface: #1D1A16;
    --surface-2: #222019;
    --text: #F4EFE6;
    --text-soft: #D8D2C6;
    --text-muted: #9A9284;
    --line: #322E27;
    --line-strong: #423D33;
    --accent: #E23636;
    --header-bg: rgba(20,18,16,.82);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 40px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"] {
  --bg: #141210;
  --surface: #1D1A16;
  --surface-2: #222019;
  --text: #F4EFE6;
  --text-soft: #D8D2C6;
  --text-muted: #9A9284;
  --line: #322E27;
  --line-strong: #423D33;
  --accent: #E23636;
  --header-bg: rgba(20,18,16,.82);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 40px rgba(0,0,0,.45);
}

/* ---- Reset-ish ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---- Type ---- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .92;
  font-weight: 400;
}
h1, h2, h3 { margin: 0; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px; background: var(--accent);
  display: inline-block;
}

/* ---- Layout ---- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 5vw, 50px); margin-top: 14px; }
.section-head p { color: var(--text-soft); font-size: 18px; margin: 16px 0 0; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.brand img.reversed { display: none; }
:root[data-theme="dark"] .brand img.normal { display: none; }
:root[data-theme="dark"] .brand img.reversed { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img.normal { display: none; }
  :root:not([data-theme="light"]) .brand img.reversed { display: block; }
}
.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 600; color: var(--text-soft);
  letter-spacing: .01em; transition: color .15s;
}
.nav a:hover { color: var(--accent); }
.header-cta { display: flex; gap: 10px; align-items: center; }

/* ---- Buttons ---- */
.btn {
  --pad-y: 12px; --pad-x: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { --pad-y: 16px; --pad-x: 30px; font-size: 17px; }
.btn-sm { --pad-y: 9px; --pad-x: 15px; font-size: 13.5px; }

/* ---- Hero ---- */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 80px); position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 8.5vw, 104px); margin: 18px 0 0; }
.hero h1 .red { color: var(--accent); }
.hero-sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-soft); max-width: 30em; margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(100%, 420px); filter: drop-shadow(0 20px 40px rgba(17,17,17,.16)); }
.hero-art img.reversed { display: none; }
:root[data-theme="dark"] .hero-art img.normal { display: none; }
:root[data-theme="dark"] .hero-art img.reversed { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-art img.normal { display: none; }
  :root:not([data-theme="light"]) .hero-art img.reversed { display: block; }
}

/* listen-on strip */
.listen-on { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 34px; }
.listen-on .label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted); font-weight: 700; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-soft);
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip svg { width: 15px; height: 15px; }

/* ---- Listen section ---- */
.player-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px; overflow: hidden;
}
#buzzsprout-large-player { min-height: 220px; }
.player-note { color: var(--text-muted); font-size: 14px; margin-top: 16px; }

/* ---- About + testimonial ---- */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; }
.prose p { color: var(--text-soft); font-size: 18px; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 700; }
.quote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 24px;
  background: linear-gradient(90deg, var(--red-wash), transparent 90%);
}
:root[data-theme="dark"] .quote { background: linear-gradient(90deg, rgba(226,54,54,.10), transparent 90%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .quote { background: linear-gradient(90deg, rgba(226,54,54,.10), transparent 90%); } }
.quote p { font-family: var(--font-body); font-size: 20px; line-height: 1.45; font-style: italic; color: var(--text); margin: 0; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }

/* ---- Two-lane CTA band ---- */
.lanes { background: var(--surface-2); border-block: 1px solid var(--line); }
.lanes .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lane {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.lane h3 { font-size: clamp(24px, 3vw, 32px); }
.lane .lead { color: var(--text-soft); font-size: 17px; margin: 14px 0 22px; }
.lane ul { margin: 0 0 24px; padding: 0; list-style: none; }
.lane li { position: relative; padding-left: 26px; margin: 9px 0; color: var(--text-soft); font-size: 15.5px; }
.lane li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.lane .btn { margin-top: auto; align-self: flex-start; }

/* ---- Forms ---- */
.form-section { }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; letter-spacing: .02em; }
.field label .opt { color: var(--text-muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(207,22,22,.14);
}
/* honeypot: visually + a11y hidden, still in DOM for bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.form-note { font-size: 13px; color: var(--text-muted); max-width: 34em; }
.form-status { font-size: 15px; font-weight: 600; margin-top: 4px; }
.form-status.ok { color: #2E7D5B; }
.form-status.err { color: var(--red-deep); }
.cf-turnstile { margin-top: 4px; }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow);
}

/* ---- Book Garrett ---- */
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-soft); }
.credlist { list-style: none; margin: 20px 0 0; padding: 0; }
.credlist li { position: relative; padding-left: 22px; margin: 10px 0; color: var(--text-soft); font-size: 16px; }
.credlist li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #E9E4DB; padding: 64px 0 40px; }
:root[data-theme="dark"] .site-footer { background: #0E0C0A; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer img.mark { height: 64px; width: auto; }
.footer-tag { color: #A79F92; margin-top: 16px; max-width: 26em; font-size: 15px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: #8F877A; margin: 0 0 14px; font-weight: 700; }
.footer-col a { display: block; text-decoration: none; color: #E9E4DB; font-size: 15px; margin: 8px 0; opacity: .85; }
.footer-col a:hover { color: var(--red-tint); opacity: 1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #2A2620; color: #8F877A; font-size: 13.5px; }
.footer-bottom a { color: #8F877A; }

/* ---- Theme toggle ---- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text-soft);
  cursor: pointer; transition: border-color .15s, color .15s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: min(62%, 300px); }
  .about-grid, .lanes .wrap, .book-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .header-cta .btn-book { display: none; }
  .footer-top { flex-direction: column; }
}
