/* Self-hosted fonts (SIL Open Font License), so the site makes no requests to Google */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("assets/fonts/big-shoulders-display-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("assets/fonts/big-shoulders-display-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1c1c16;
  --text: #3a3a30;
  --muted: #6f6a58;
  --green: #374724;
  --green-dark: #2a3619;
  --yellow: #efbd23;
  --tint: #f2efe4;
  --tint-light: #fbfaf6;
  --line: #e4dfcf;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; }

.wrap { width: min(1200px, 100% - 44px); margin-inline: auto; }

/* shared bits */
.slash { color: var(--yellow); font-family: var(--display); font-weight: 700; letter-spacing: -.04em; }
.accent { color: var(--yellow); }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eyebrow-muted { color: var(--muted); margin: 0; }
.fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.todo { color: #9a9480; font-style: italic; }

.btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 22px; border: 0; border-radius: 3px; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-dark { background: var(--ink); color: #fff; width: 100%; justify-content: center; }
.btn-dark:hover { background: #000; }
.text-link { font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line); }
.logo { display: inline-block; line-height: 0; }
.logo img { width: 72px; height: 72px; transition: transform .3s; }
.logo:hover img { transform: rotate(-6deg); }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); }
.nav-cta { text-transform: uppercase; letter-spacing: .02em; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
/* home: header sits on top of the hero banner */
.site-header--dark { position: absolute; top: 0; left: 0; right: 0; z-index: 2; border-bottom-color: rgba(255, 255, 255, .22); }
.site-header--dark .nav a { color: #fff; }
.site-header--dark .nav a:hover, .site-header--dark .nav a[aria-current="page"] { color: var(--yellow); }
.site-header--dark .nav-cta { border-bottom-color: #fff; }

/* hero */
.hero-bg {
  position: relative;
  background:
    linear-gradient(90deg, rgba(20, 22, 12, .74) 0%, rgba(20, 22, 12, .42) 45%, rgba(20, 22, 12, 0) 75%),
    linear-gradient(rgba(20, 22, 12, .45), rgba(20, 22, 12, 0) 30%),
    url("assets/images/banner-madeira-cliffs.jpg") 60% center / cover no-repeat var(--green-dark);
  color: rgba(255, 255, 255, .88);
}
.hero { min-height: min(860px, 100vh); display: flex; align-items: center; padding: 150px 0 90px; }
.hero-copy { max-width: 680px; }
.hero-tag { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hero-tag svg { width: 16px; height: 16px; color: var(--yellow); }
.hero h1 { font: 500 clamp(50px, 6.6vw, 90px)/.96 var(--display); letter-spacing: -.01em; color: #fff; }
.hero h1 .accent { color: var(--yellow); }
.byline { margin: 30px 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.byline .slash { font-size: 20px; margin-right: 10px; }
.lede { font-size: 17px; max-width: 34em; margin: 0 0 28px; }
.hook { font-weight: 700; color: #fff; font-size: 17px; margin: 0 0 16px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero .fine { color: rgba(255, 255, 255, .7); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #f6cb45; }
.text-link--light { color: #fff; text-decoration-color: var(--yellow); }

/* guests */
.guests { background: var(--tint); }
.guests-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0; }
.guests .eyebrow { white-space: nowrap; }
.guests ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 40px; margin: 0; padding: 0; }
.guests a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.guest-logo { flex: none; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.guests a:hover .guest-logo { box-shadow: 0 0 0 2px var(--green); }
.guest-name { display: flex; flex-direction: column; font: 600 24px/1 var(--display); color: var(--ink); }
.guest-name small { margin-top: 5px; font: 500 12px/1.3 var(--sans); color: var(--muted); }
@media (max-width: 1100px) {
  .guests-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .guests ul { justify-content: flex-start; }
}

/* newsletter */
.invitation { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 96px 0; }
.display { font: 500 clamp(46px, 6vw, 76px)/.94 var(--display); text-transform: uppercase; }
.sub { font-weight: 700; color: var(--ink); font-size: 20px; line-height: 1.35; margin: 22px 0 16px; }
.invitation-copy p:last-child { max-width: 32em; margin: 0; }
.signup { background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 34px; }
.signup label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.signup input { width: 100%; font: 400 16px var(--sans); padding: 14px 15px; border: 1px solid #cfc8b2; border-radius: 3px; background: #fff; margin-bottom: 20px; }
.signup input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.signup .btn { margin-top: 6px; }
.signup .btn:disabled { opacity: .6; cursor: wait; }
.signup-error { margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid #c40000; border-radius: 3px; background: #fdecec; font-size: 14px; color: var(--ink); }
.signup ._form-thank-you { font-size: 17px; font-weight: 600; color: var(--ink); text-align: center; padding: 24px 0; outline: none; }
.signup ._form-thank-you a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* episodes */
.episode-feature { padding: 56px 0; border-top: 1px solid var(--line); }
.episode { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.episode-thumb { display: block; border-radius: 6px; overflow: hidden; }
.episode-thumb img { transition: transform .4s; }
.episode-thumb:hover img { transform: scale(1.03); }
.meta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.episode h3 { font: 600 clamp(30px, 3.4vw, 40px)/1.04 var(--display); margin-bottom: 18px; }
.episode-body > p:not(.meta) { margin: 0 0 26px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }

/* also from our podcast: three small cards in a row */
.more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.more-head .text-link { font-size: 14px; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card--small .card-body { padding-top: 14px; }
.card--small h3 { font: 600 22px/1.08 var(--display); }
.card--small h3 a { text-decoration: none; }
.card--small h3 a:hover { color: var(--green); }
@media (max-width: 640px) { .more-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* follow */
.follow-strip { background: var(--ink); color: #fff; }
.follow-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0; }
.follow-title { font: 600 38px/1 var(--display); margin-bottom: 10px; color: #fff; }
.follow-inner p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .7); }
.follow-strip .pill { border-color: #fff; }
.follow-strip .pill:hover { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.follow-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #cfc8b2; border-radius: 3px; background: #fff; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .2s; }
.pill:hover { border-color: var(--ink); }
.pill svg { width: 22px; height: 22px; }

/* about */
.about { background: var(--tint); }
.about-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; padding: 88px 0; }
.about-photo { width: 90%; justify-self: center; border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: center; }
.display-sm { font: 500 clamp(38px, 4.4vw, 54px)/1 var(--display); margin-bottom: 26px; }
.about-copy p { margin: 0 0 16px; }
.about-copy strong { color: var(--ink); }

/* footer */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0; font-size: 13px; color: var(--muted); }
.site-footer .logo img { width: 56px; height: 56px; }

/* podcasts page */
.page-hero { background: var(--tint); }
.page-hero-inner { padding: 64px 0 56px; }
.page-hero h1 { font: 500 clamp(48px, 6vw, 80px)/.96 var(--display); }
.page-hero p { max-width: 38em; margin: 20px 0 0; font-size: 17px; }
/* podcasts page: same banner as the home hero, header sits on top */
.page-hero--banner {
  background:
    linear-gradient(90deg, rgba(20, 22, 12, .78) 0%, rgba(20, 22, 12, .5) 50%, rgba(20, 22, 12, .15) 85%),
    linear-gradient(rgba(20, 22, 12, .45), rgba(20, 22, 12, 0) 40%),
    url("assets/images/banner-madeira-cliffs.jpg") 60% 40% / cover no-repeat var(--green-dark);
  color: rgba(255, 255, 255, .88);
}
.page-hero--banner .page-hero-inner { padding: 170px 0 80px; }
.page-hero--banner h1 { color: #fff; }
.page-hero--banner .eyebrow { color: var(--yellow); }
.archive-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 40px 0 8px; }
.archive-count { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.search { position: relative; width: min(340px, 100%); }
.search input { width: 100%; font: 400 15px var(--sans); padding: 12px 14px 12px 40px; border: 1px solid #cfc8b2; border-radius: 3px; background: #fff; }
.search input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.search svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); }
.archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; padding: 32px 0 96px; }
.card { display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card-thumb { position: relative; display: block; border-radius: 6px; overflow: hidden; background: var(--tint); }
.card-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.card-thumb:hover img { transform: scale(1.04); }
.ep-no { color: var(--green); }
.card-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.card-body .meta { margin-bottom: 8px; }
.card h2 { font: 600 27px/1.04 var(--display); margin-bottom: 10px; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { color: var(--green); }
.card-guest { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 99px; background: #e6ead9; color: var(--green); font-size: 12px; font-weight: 700; }
.card-hook { font-weight: 600; color: var(--ink); }
.card-body p { margin: 0 0 10px; font-size: 15px; }
.card-body .text-link { margin-top: auto; padding-top: 6px; font-size: 14px; align-self: flex-start; }
.archive-empty { padding: 0 0 96px; color: var(--muted); }
@media (max-width: 1000px) { .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .archive { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* privacy page */
.prose { max-width: 760px; padding: 56px 0 96px; }
.prose h2 { font: 600 34px/1.05 var(--display); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose strong { color: var(--ink); }
.site-footer a { color: inherit; }

/* episode pages (episodes/<slug>.html, built by tools/build_episodes.py) */
.episode-head { padding: 40px 0 36px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb span { color: var(--ink); font-weight: 600; }
.episode-head-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.episode-head h1 { font: 500 clamp(44px, 5.6vw, 76px)/.96 var(--display); }
.episode-intro > p:first-child { margin: 0 0 18px; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.episode-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; font-weight: 600; color: var(--green); }
.episode-facts span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px 3px 0; border-radius: 50%; background: var(--yellow); }
.episode-intro .fine { margin-top: 6px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink); }
.player-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.player-btn img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s; }
.player-btn:hover img { filter: brightness(.85); }
.play-icon { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--yellow); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); transition: transform .25s; }
.play-icon::after { content: ""; position: absolute; left: 37px; top: 30px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--ink); }
.player-btn:hover .play-icon { transform: scale(1.08); }
.player-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding: 14px 0 0; font-size: 14px; color: var(--muted); }
.player-caption p { margin: 0; }
.player-caption .text-link { color: var(--ink); font-size: 14px; }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding: 72px 0 24px; }
.article-layout--short { grid-template-columns: minmax(0, 1fr); }
.article-toc { position: sticky; top: 28px; align-self: start; }
.article-toc .eyebrow { margin-bottom: 14px; }
.article-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.article-toc a { display: flex; gap: 12px; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; text-decoration: none; color: var(--text); }
.article-toc a span { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.article-toc a:hover, .article-toc a.is-active { color: var(--ink); border-left-color: var(--green); }
.article-toc a.is-active span { color: var(--green); }
.article-body { padding: 0; font-size: 17px; line-height: 1.75; }
.article-body h2 { scroll-margin-top: 24px; font-size: 38px; }
.article-body a { color: var(--green); text-underline-offset: 3px; }
.article-lead { font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.article-body blockquote { margin: 30px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--yellow); font: 500 28px/1.2 var(--display); color: var(--ink); }
.article-cta { margin: 40px 0; padding: 30px 32px; border-radius: 6px; background: var(--tint); }
.article-cta .eyebrow { margin-bottom: 8px; }
.article-cta-title { margin: 0 0 6px !important; font: 600 30px/1.05 var(--display); color: var(--ink); }
.article-cta p { font-size: 15px; }
.article-cta .btn { margin-top: 8px; color: #fff; }
.episode-extra { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding: 64px 0 24px; border-top: 1px solid var(--line); margin-top: 48px; }
.episode-extra .display-sm { font-size: 40px; margin-bottom: 12px; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.chapters a { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; color: var(--ink); }
.chapters a:hover { color: var(--green); }
.chapter-time { min-width: 52px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.episode-links { padding: 48px 0 8px; }
.episode-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.episode-links a { display: inline-block; padding: 9px 14px; border: 1px solid #cfc8b2; border-radius: 99px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.episode-links a:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 900px) {
  .episode-head-grid, .article-layout, .episode-extra { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-toc { position: static; }
  .article-layout { padding-top: 48px; }
}
@media (max-width: 640px) {
  .chapters { grid-template-columns: minmax(0, 1fr); }
  .play-icon { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .play-icon::after { left: 27px; top: 22px; border-width: 12px 0 12px 19px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 32px; }
  .article-cta { padding: 24px; }
}

/* responsive */
@media (max-width: 900px) {
  .invitation, .episode, .about-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sub br { display: none; }
  .hero { min-height: 0; padding: 130px 0 64px; }
  .hero-bg {
    background:
      linear-gradient(rgba(20, 22, 12, .7), rgba(20, 22, 12, .78)),
      url("assets/images/banner-madeira-cliffs.jpg") 62% center / cover no-repeat var(--green-dark);
  }
  .invitation, .about-inner { padding: 64px 0; }
  .follow-inner { flex-direction: column; align-items: flex-start; }
  .about-photo { max-width: min(414px, 90%); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 22px; }
  .nav a[href$="#about"] { display: none; }
  .logo img { width: 60px; height: 60px; }
  .signup { padding: 24px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .follow-links { flex-direction: column; width: 100%; }
  .pill { justify-content: center; }
}
