/*
 * The home page, which is the whole site (2026-10-13). Designed and approved
 * as the "Daily Lion Home" artifact first (docs/one-show-plan.md, Phase 4);
 * change the design there, then here. Lives at the site root rather than
 * under /assets, which is cached for a year as immutable.
 */
/* Layout: the live site's hero kept (headline left, listen row under it), the big right-hand
   image is now the latest episode's cover. Then three episodes, the writing, the gap statement,
   questions, the ink footer. Light only, like the live site. */
:root {
  --ink: #0f0f0e;
  --accent: #2970ff;
  --paper: #ffffff;
  --fill: #f6f6f5;
  --line: #e2e1dd;
  --line-soft: #d8d7d2;
  --body: #3a3a38;
  --muted: #6e6e68;
  --faint: #9c9c96;
  --on-ink: #d6d5d0;
  --on-ink-muted: #8f8e88;
  --line-on-ink: #2e2e2a;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; font-size: 16px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: 64px; }
.mono { font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 40px; margin-left: auto; }
.nav .pill { margin-left: auto; }
.nav-links a { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; }
.nav-links a:hover { color: var(--accent); }
.pill { display: inline-flex; align-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 12px 22px; white-space: nowrap; }

/* Hero */
.hero .wrap { padding-block: 104px 112px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 96px; align-items: center; }
.hero-headline { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 7.4vw, 112px); line-height: 0.93; letter-spacing: -0.04em; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.band { background: var(--accent); color: #fff; padding: 0.04em 0.16em 0.1em; margin-left: -0.16em; }
.hero-deck b { color: var(--ink); font-weight: 600; }
.hero-deck { margin-top: 36px; max-width: 30em; font-size: 20px; line-height: 1.55; color: var(--body); }
/* Where to listen: the apps' own icons, large, with no box around them (2026-10-14), in one row
   with no names beside them (2026-10-22); the names stay for screen readers. */
.listen-block { margin-top: 36px; }
.listen-label { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.listen { margin-top: 14px; display: flex; gap: 16px; }
.lbtn { display: inline-flex; color: var(--ink); text-decoration: none; }
.lbtn:hover { color: var(--accent); }
.lico { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex: none; }
.lico img, .lico svg { width: 100%; height: 100%; display: block; }
.ltxt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.listen-note { margin-top: 14px; font-size: 13px; color: var(--faint); }
/* The footer shows the icons alone, left-aligned at every width. The names stay
   in the page for screen readers. */
.footer .listen-block { margin-top: 0; }
.footer .listen-label, .footer .listen-note { display: none; }
.footer .listen { margin-top: 0; }

/* Episode cover, used big in the hero and small in the list */
.cover { position: relative; aspect-ratio: 1; width: 100%; overflow: hidden; background: var(--ink); }
.cover img { width: 100%; height: 100%; object-fit: cover; }

.latest-card { display: flex; flex-direction: column; }
.latest-card .meta-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.latest-card .eyebrow { color: var(--accent); }
.latest-card .when { color: var(--muted); font-family: var(--font-mono); font-size: 13px; }
.latest-card h2 { margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.08; letter-spacing: -0.025em; text-wrap: pretty; }
.latest-card:hover h2 { color: var(--accent); }

/* Section heads */
.sec .wrap { padding-block: 112px; }
.sec + .sec .wrap { border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-title { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 1; letter-spacing: -0.035em; }
.more-link { font-family: var(--font-display); font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.more-link:hover { color: var(--accent); border-color: var(--accent); }
.grid3 { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.card { display: flex; flex-direction: column; gap: 18px; }
.card .when { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.card h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.card p { font-size: 16px; line-height: 1.55; color: var(--body); }
.card .txt { display: flex; flex-direction: column; gap: 10px; }
.card:hover h3 { color: var(--accent); }
.see-all { margin-top: 48px; }

/* Episodes: always a vertical list, cover beside the text */
/* Branding and the episode number, laid over every episode cover in code. */
.cover { position: relative; }
.cover .stamp { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 9px 12px 9px 10px; font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: -0.01em; }
.cover .stamp img { width: 20px; height: 20px; }
.cover .play { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.cover .play svg { width: 46px; height: 46px; margin-left: 4px; fill: var(--accent); }
.latest-card:hover .play, .card:hover .play { transform: scale(1.06); }
#episodes .cover .play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
#episodes .cover .play svg { width: 26px; height: 26px; margin-left: 2px; }
.cover .num { position: absolute; right: 0; bottom: 0; background: var(--ink); color: #fff; padding: 8px 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.latest-card .cover .num { right: auto; bottom: auto; left: 0; top: 0; padding: 10px 14px; font-size: 14px; }
#episodes .cover .stamp { font-size: 12px; padding: 6px 9px 6px 7px; gap: 6px; }
#episodes .cover .stamp img { width: 15px; height: 15px; }
#episodes .cover .num { font-size: 11px; padding: 6px 9px; }
#episodes .grid3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
#episodes .card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; padding-block: 28px; border-top: 1px solid var(--line); }
#episodes .card:last-child { border-bottom: 1px solid var(--line); }
#episodes .placeholder .cover { opacity: 0.35; }
#episodes .placeholder h3 { color: var(--muted); }
#episodes .card h3 { font-size: 26px; }
#episodes .card p { max-width: 40em; }

/* Writing: landscape newsletter covers */
.writing .art { aspect-ratio: 1456 / 1040; width: 100%; overflow: hidden; background: var(--fill); }
.writing .art img { width: 100%; height: 100%; object-fit: cover; }

/* The promise, right under the hero */
.gap { background: var(--accent); color: #fff; }
.gap .wrap { padding-block: 120px 112px; }
.gap h2 { font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: 1; letter-spacing: -0.04em; max-width: 13em; text-wrap: balance; color: #fff; }
.beats { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.beats-label { color: rgb(255 255 255 / 75%); margin-right: 8px; }
.beat { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; padding: 10px 20px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 45%); color: #fff; }
.pillars { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.pillar { border-top: 3px solid #fff; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pillar h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.pillar p { font-size: 17px; line-height: 1.6; color: #dce7ff; }

/* Questions */
.faq { background: var(--fill); }
.faq .wrap { padding-block: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.faq h2 { font-family: var(--font-display); font-weight: 900; font-size: 56px; letter-spacing: -0.035em; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 32px; padding: 26px 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 28px; font-size: 17px; line-height: 1.65; color: var(--body); max-width: 40em; }
.faq details a { color: var(--accent); }

/* About: split, the line big on the left */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.about-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.about-title span { color: var(--accent); }
.about-right { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.about-mission { font-size: 19px; line-height: 1.65; color: var(--body); }
.josh-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 6px; }
.josh-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.josh-card b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.josh-card .role { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.josh-card p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--body); }

/* Footer */
.footer { background: var(--ink); color: #fff; }
.footer .wrap { padding-block: 112px 40px; display: flex; flex-direction: column; gap: 72px; }
.footer-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
.footer h2 { white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.colophon .brand { font-size: 17px; gap: 9px; }
.colophon .brand img { width: 26px; height: 26px; }
.colophon { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-on-ink); }
.colophon-links a { color: inherit; text-decoration: none; }
.colophon-links a:hover { color: #fff; }
.colophon-links { display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--on-ink-muted); }


@media (max-width: 1023px) {
  .about .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .latest-card { max-width: 420px; }
  .grid3 { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .grid3 .card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
  .faq .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 56px; }
  .writing .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .writing .grid3 .card { display: flex; flex-direction: column; gap: 14px; }
  .writing .card h3 { font-size: 19px; }
  .writing .card p { font-size: 15px; }
}
@media (max-width: 767px) {
  .wrap { padding-inline: 20px; }
  .nav .wrap { height: 60px; }
  .nav-links { display: none; }
  .brand { font-size: 19px; } .brand img { width: 30px; height: 30px; }
  .pill { padding: 10px 16px; font-size: 13px; }
  .hero .wrap { padding-block: 64px 72px; }
  .hero-deck { font-size: 18px; margin-top: 28px; }
  .listen { gap: 12px; }
  .latest-card h2 { font-size: 28px; }
  .sec .wrap, .faq .wrap, .gap .wrap { padding-block: 72px; }
  .sec-title, .faq h2 { font-size: 40px; }
  .gap h2 { font-size: 40px; }
  .about .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-mission { font-size: 17px; }
  .beat { font-size: 16px; padding: 8px 16px; }
  .beats-label { width: 100%; }
  .grid3 .card { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .grid3 .card h3 { font-size: 19px; }
  .grid3 .card p { display: none; }
  #episodes .card { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-block: 20px; }
  #episodes .card h3 { font-size: 19px; }
  #episodes .cover .stamp, #episodes .cover .num { display: none; }
  .writing .grid3 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .writing .grid3 .card p { display: block; }
  .footer h2 { font-size: 36px; white-space: normal; }
  .footer-cta { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq summary { font-size: 19px; }
}
@media (prefers-reduced-motion: no-preference) { .lbtn { transition: color .15s; } .cover .play { transition: transform .15s; } }

/* The two pages besides home that share its header and footer (2026-10-13):
   404.html and bot.html. */
.notfound .wrap { padding-block: 160px 176px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.notfound h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.notfound p { max-width: 32em; font-size: 20px; line-height: 1.55; color: var(--body); }
.doc .wrap { padding-block: 96px 128px; }
.doc article { max-width: 720px; }
.doc h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.doc .doc-date { margin-top: 20px; font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.doc .doc-intro { margin-top: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); font-size: 20px; line-height: 1.55; color: var(--ink); }
.doc h2 { margin-top: 56px; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; color: var(--body); }
.doc h2 + p, .doc h2 + ul, .doc p + p, .doc p + ul, .doc ul + p, .doc .code + p, .doc p + .code { margin-top: 16px; }
.doc ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--accent); }
.doc .code { margin-top: 16px; padding: 16px 20px; background: var(--fill); border-radius: 6px; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
@media (max-width: 767px) {
  .notfound .wrap { padding-block: 96px 112px; }
  .notfound p { font-size: 18px; }
  .doc .wrap { padding-block: 64px 88px; }
  .doc .doc-intro { font-size: 18px; }
  .doc h2 { font-size: 24px; margin-top: 44px; }
  .doc p, .doc li { font-size: 16px; }
}
