:root{
  --ink:#1f2a4d;
  --ink-soft:#4a5578;
  --muted:#6b7392;
  --teal:#8fcfc0;
  --teal-deep:#2f7f73;
  --violet:#6d4ae0;
  --night:#120f2a;
  --paper:#ffffff;
  --paper-2:#f5f6fa;
  --line:#e3e6ef;
  --radius:14px;
  --wrap:1080px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 "Inter",system-ui,-apple-system,"Segoe UI",sans-serif}
img{max-width:100%;display:block}
a{color:var(--violet);text-underline-offset:3px}
a:hover{color:var(--teal-deep)}
h1,h2,h3{font-family:"Fraunces",Georgia,serif;font-weight:500;line-height:1.2;letter-spacing:-.01em;margin:0 0 .5em}
h1{font-size:clamp(2rem,4.5vw,3.1rem)}
h2{font-size:clamp(1.6rem,3vw,2.2rem)}
h3{font-size:1.2rem;font-family:"Inter",sans-serif;font-weight:600;letter-spacing:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.narrow{max-width:760px}

/* header */
.site-header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--ink);text-decoration:none}
.brand img{width:36px;height:36px;border-radius:8px}
.nav{display:flex;gap:22px;flex-wrap:wrap;align-self:stretch}
.nav a{color:var(--ink-soft);text-decoration:none;font-size:.95rem;position:relative;display:flex;align-items:center}
.nav a[aria-current="page"]{color:var(--ink);font-weight:600}
.nav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--violet);border-radius:4px 4px 0 0}
.nav a:hover{color:var(--ink)}

/* hero */
.hero{position:relative;color:#fff;background:var(--night) center/cover no-repeat}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,15,42,.85),rgba(18,15,42,.35))}
.hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:240px 1fr;gap:40px;align-items:center;padding-top:64px;padding-bottom:64px}
.hero-logo{border-radius:22px;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.hero p{font-size:1.15rem;color:#ddd9f5;max-width:34em;margin:0 0 1.4em}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-block;padding:11px 20px;border-radius:999px;background:var(--teal);color:var(--night);font-weight:600;text-decoration:none;font-size:.95rem}
.btn:hover{background:#fff;color:var(--night)}
.btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}
.btn.ghost:hover{background:rgba(255,255,255,.12);color:#fff}

/* episode hero */
.ep-hero{position:relative;background:#cfe6ee center/cover no-repeat;color:var(--ink)}
.ep-hero::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.72)}
.ep-hero .wrap{position:relative;z-index:1;text-align:center;padding-top:56px;padding-bottom:56px}
.kicker{display:inline-block;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-deep);font-weight:600;margin-bottom:.6em}
.ep-hero .tagline{font-size:1.1rem;color:var(--ink-soft);max-width:40em;margin:0 auto 1.6em}
.player{max-width:620px;margin:0 auto;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(31,42,77,.15);background:#fff}
.player iframe{display:block;width:100%;height:150px;border:0}
.meta{font-size:.9rem;color:var(--muted);margin-top:14px}

section{padding:64px 0}
.alt{background:var(--paper-2)}
.center{text-align:center}

/* about */
.about-title{margin-bottom:28px}
.hosts-fig{display:grid;grid-template-columns:1fr;gap:20px;align-content:start;max-width:240px}
.hosts-fig figure{margin:0}
.hosts-fig img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--radius)}
.hosts-fig figcaption{font-size:.85rem;color:var(--muted);text-align:center;margin-top:8px}
.page-head{background:var(--paper-2);padding:56px 0 40px}
.page-head .tagline{color:var(--ink-soft);font-size:1.1rem;margin:0}
.about{display:grid;grid-template-columns:1fr 1.6fr;gap:48px;align-items:start}
.about p{margin:0 0 1em}
.host{display:grid;grid-template-columns:180px 1fr;gap:28px;align-items:start;padding:28px 0;border-top:1px solid var(--line)}
.host img,.person img{border-radius:var(--radius);aspect-ratio:1/1;object-fit:cover;width:100%}
.host h3{margin-bottom:.3em}
.host p{margin:0 0 .6em;color:var(--ink-soft)}
.li{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;font-weight:600}

/* episode list */
.ep-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.ep-card{display:grid;grid-template-columns:64px 1fr auto;gap:18px;align-items:center;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.ep-card:hover{border-color:var(--teal);box-shadow:0 6px 18px rgba(31,42,77,.08);color:var(--ink)}
.ep-num{font-family:"Fraunces",serif;font-size:1.6rem;color:var(--teal-deep);text-align:center}
.ep-title{font-weight:600;line-height:1.35}
.ep-sub{font-size:.88rem;color:var(--muted)}
.ep-card.has-thumb{grid-template-columns:64px 56px 1fr auto}
.ep-card.has-pair{grid-template-columns:64px 88px 1fr auto}
.ep-thumbs{display:flex}
.ep-thumbs .ep-thumb+.ep-thumb{margin-left:-24px}
.ep-thumb{width:56px;height:56px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px #fff,0 0 0 4px var(--teal)}
.ep-guest{color:var(--violet);font-weight:700;white-space:nowrap}
.ep-go{font-size:.85rem;color:var(--violet);white-space:nowrap}

/* cta */
.cta h2{margin-bottom:.3em}
.cta p{color:var(--ink-soft);margin:0 0 1.2em}
.cta .btn{background:var(--ink);color:#fff}
.cta .btn:hover{background:var(--violet);color:#fff}
.cta .btn.ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.cta .btn.ghost:hover{border-color:var(--ink);color:var(--ink)}
.cta .btns{justify-content:center}

/* people on episode */
.people{display:flex;flex-wrap:wrap;justify-content:center;gap:32px;margin-top:24px}
.person{width:200px;text-align:center}
.person h3{margin:.8em 0 .2em;font-size:1.05rem}
.guest{display:grid;grid-template-columns:200px 1fr;gap:32px;align-items:start;margin-top:24px}
.guest p{margin:0 0 .8em;color:var(--ink-soft)}

/* highlights */
.highlights{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:22px}
.highlights li{padding-left:20px;border-left:3px solid var(--teal)}
.highlights strong{display:block;color:var(--ink);font-weight:600;margin-bottom:.2em}
.highlights p{margin:0;color:var(--ink-soft)}

.closing{margin:32px 0 0;padding:20px 24px;background:#fff;border-radius:var(--radius);font-family:"Fraunces",Georgia,serif;font-size:1.2rem;line-height:1.5;color:var(--ink);text-align:center}

/* reading */
.reading{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;margin-top:24px}
.reading ul{margin:0;padding-left:1.2em}
.reading li{margin-bottom:.6em}
.reading figure{margin:0}
.reading figcaption{font-size:.85rem;color:var(--muted);margin-top:8px}

/* footer */
.site-footer{background:var(--night);color:#c9c5e6;padding:40px 0;font-size:.92rem}
.site-footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;align-items:center}
.site-footer a{color:#fff}

@media (max-width:760px){
  body{font-size:16px}
  .wrap{padding:0 16px}
  .hero .wrap{grid-template-columns:1fr;gap:24px;padding-top:40px;padding-bottom:40px}
  .hero-logo{width:150px}
  .about,.reading{grid-template-columns:1fr;gap:24px}
  .hosts-fig{max-width:200px}
  .host,.guest{grid-template-columns:1fr}
  .host img,.guest img{width:160px}
  .ep-card{grid-template-columns:44px 1fr;padding:14px}
  .ep-go{display:none}
  .ep-card.has-thumb{grid-template-columns:44px 44px 1fr}
  .ep-card.has-pair{grid-template-columns:44px 68px 1fr}
  .ep-thumbs .ep-thumb+.ep-thumb{margin-left:-20px}
  .ep-thumb{width:44px;height:44px}
  section{padding:44px 0}
  .nav{gap:14px}
  .nav a{font-size:.88rem}
  .nav a.opt{display:none}
  .brand{font-size:.92rem;white-space:nowrap}
  .nav{flex-wrap:nowrap;white-space:nowrap}
  .brand img{width:30px;height:30px}
  .site-header .wrap{min-height:56px}
}

/* logos in Further Reading */
.reading.cols-1{grid-template-columns:1fr}
.reading.cols-2{grid-template-columns:auto 1fr}
.reading.cols-3{grid-template-columns:auto auto 1fr}
.logos{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.logo-tile{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;width:220px;height:110px}
.logo-tile{overflow:hidden;min-width:0}
.logo-tile img{display:block;min-width:0;width:auto;height:auto;max-width:100%;max-height:86px;object-fit:contain}
a.logo-tile:hover{border-color:var(--teal)}

/* show-notes pages */
.notes h3{font-size:1.05rem;margin:1.4em 0 .5em}
.notes ul{padding-left:1.2em;margin:.6em 0 1em}
.notes li{margin-bottom:.5em}
.notes li::marker{color:var(--teal-deep)}
.notes li p{margin:0}
.notes p{margin:0 0 1em}
.notes.intro{margin-top:20px;color:var(--ink-soft)}

@media (max-width:760px){
  .reading.cols-2,.reading.cols-3{grid-template-columns:1fr}
  .logos{flex-direction:row;flex-wrap:wrap}
  .logo-tile{width:150px;height:84px}
  .logo-tile img{max-height:62px}
}

/* ===== design v2: season tabs + episode tiles ===== */
.season-tabs{display:flex;justify-content:center;gap:32px;border-bottom:1px solid var(--line);margin:8px auto 36px;max-width:420px}
.season-tabs [role=tab]{position:relative;background:none;border:0;padding:12px 4px;font:inherit;font-size:1rem;color:var(--ink-soft);cursor:pointer}
.season-tabs [role=tab]:hover{color:var(--ink)}
.season-tabs [role=tab][aria-selected=true]{color:var(--ink);font-weight:600}
.season-tabs [role=tab][aria-selected=true]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:5px;background:var(--violet);border-radius:4px 4px 0 0}
.tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tiles[hidden]{display:none}
.tiles li{display:flex}
.tile{display:flex;flex-direction:column;width:100%;background:#fff;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;color:var(--ink);overflow:hidden;transition:border-color .15s,box-shadow .15s,transform .15s}
.tile:hover{border-color:var(--teal);box-shadow:0 10px 28px rgba(31,42,77,.10);transform:translateY(-2px);color:var(--ink)}
.tile-media{display:flex;background:var(--paper-2)}
.tile-media img{display:block;width:100%;object-fit:cover}
.tile-media.placeholder span{font-family:"Fraunces",Georgia,serif;font-size:2rem;color:#fff;letter-spacing:.04em}
.tile-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px}
.tile-meta{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-deep);font-weight:600}
.tile-title{font-family:"Inter",sans-serif;font-size:1.05rem;font-weight:600;line-height:1.35;margin:0}
.tile-blurb{margin:0;font-size:.92rem;line-height:1.55;color:var(--ink-soft);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* rounded-square photos */
.shape-square .tile-media{aspect-ratio:1/1}
.shape-square .tile-media img{height:100%}
.shape-square .tile-media.pair img{width:50%}
.shape-square .tile-media.placeholder{align-items:center;justify-content:center;background:linear-gradient(135deg,var(--teal-deep),var(--ink))}

/* circular photos */
.shape-circle .tile{text-align:center;padding-top:28px}
.shape-circle .tile-media{justify-content:center;background:none}
.shape-circle .tile-media img{width:150px;height:150px;border-radius:50%;box-shadow:0 0 0 4px #fff,0 0 0 5px var(--teal)}
.shape-circle .tile-media.pair img{width:120px;height:120px}
.shape-circle .tile-media.pair img+img{margin-left:-28px}
.shape-circle .tile-media.placeholder span{width:150px;height:150px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--teal-deep),var(--ink));box-shadow:0 0 0 4px #fff,0 0 0 5px var(--teal);font-size:1.6rem}
.shape-circle .tile-body{align-items:center}
.tiles .tile-media.placeholder.many span{font-size:1.15rem;letter-spacing:0}

@media (max-width:980px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){
  .tiles{grid-template-columns:1fr;gap:18px}
  .shape-square .tile-media{aspect-ratio:4/3}
  .shape-circle .tile-media img,.shape-circle .tile-media.placeholder span{width:120px;height:120px}
  .shape-circle .tile-media.pair img{width:100px;height:100px}
  .tiles .tile-media.placeholder.many span{font-size:.95rem}
}

/* guest bio card on show-notes pages (no photo yet: initials) */
.bio-card{display:grid;grid-template-columns:120px 1fr;gap:28px;align-items:start;margin:24px 0 8px}
.bio-avatar span{width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--teal-deep),var(--ink));box-shadow:0 0 0 4px #fff,0 0 0 5px var(--teal);color:#fff;font-family:"Fraunces",Georgia,serif;font-size:1.6rem}
.bio-card h3{margin:.2em 0 .3em}
.bio-card p{margin:0 0 .6em;color:var(--ink-soft)}
@media (max-width:600px){.bio-card{grid-template-columns:1fr;gap:14px}.bio-avatar span{width:96px;height:96px;font-size:1.3rem}}

/* beta preview banner (only in BETA=1 builds) */
.beta-banner{position:relative;z-index:20;background:#f2b705;color:#1f2a4d;text-align:center;font-size:.92rem;padding:9px 16px;border-bottom:2px solid #1f2a4d}
.beta-banner strong{text-transform:uppercase;letter-spacing:.06em}
.beta-banner a{color:#1f2a4d;font-weight:600}
@media (max-width:600px){.beta-banner{display:none}}

/* Episode XY placeholders */
.bio-source{font-size:.85rem;color:#5b6480;font-style:italic;margin-top:12px}

/* Show-notes episodes in the standard layout (2026-11-23) */
.guest + .guest{margin-top:32px}
.guest-avatar{width:100%;aspect-ratio:1/1;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--teal-deep),var(--ink));color:#fff;font-family:"Fraunces",Georgia,serif;font-size:2.4rem}
.notes.overview{margin-top:20px;color:var(--ink-soft)}
.notes.overview + .highlights{margin-top:28px}
.highlights strong a{color:inherit}
@media (max-width:760px){.guest-avatar{width:160px;font-size:2rem}}
/* Episode Template (beta only) */
.tpl{color:var(--muted);font-style:italic}
.tpl-box{display:flex;align-items:center;justify-content:center;min-height:90px;border:2px dashed #b9c1d6;border-radius:var(--radius);color:var(--muted);background:rgba(255,255,255,.6)}
.tpl-note-wrap{padding:24px 0 0}
.tpl-note{margin:0;padding:14px 18px;border:2px dashed var(--violet);border-radius:var(--radius);background:#f5f1ff;color:var(--ink);font-size:.95rem}
.tpl-avatar{background:#e6e9f2;color:var(--muted);font-family:Inter,sans-serif;font-size:1rem;border:2px dashed #b9c1d6}
.transcript{background:#fff;border:1px solid #e3e6ef;border-radius:var(--radius);padding:14px 18px;margin-top:20px}
.transcript summary{cursor:pointer;font-weight:600;color:var(--ink)}
.notes.intro + .guest{margin-top:24px}
/* Book covers in Further Reading (several side by side) */
.covers{display:flex;gap:16px;align-items:flex-start}
.covers figure{margin:0;width:140px}
.covers img{width:100%;border-radius:8px;box-shadow:0 2px 10px rgba(31,42,77,.15)}
.covers figcaption{font-size:.8rem;color:var(--muted);margin-top:8px;line-height:1.35}
.tpl-cover{width:140px;height:212px;min-height:0}
@media (max-width:760px){.covers figure{width:120px}.tpl-cover{width:120px;height:182px}}
.reading-media{display:flex;flex-wrap:wrap;gap:24px 32px;align-items:flex-start;justify-content:center;margin-bottom:8px}
/* Logos without borders (2026-11-23); square artwork shown larger */
.logo-tile{border:none;background:transparent;padding:0;border-radius:0;justify-content:flex-start}
a.logo-tile:hover{opacity:.8}
.logo-tile.square{width:150px;height:150px}
.logo-tile.square img{max-height:150px;border-radius:8px}
.reading-media .logos{gap:18px}
.tpl-box.logo-tile{border:2px dashed #b9c1d6;justify-content:center;border-radius:var(--radius)}
@media (max-width:760px){.logo-tile.square{width:120px;height:120px}.logo-tile.square img{max-height:120px}}
.logo-tile:not(.square):not(.tpl-box){height:auto;min-height:0}
/* Captions under logos (2026-11-23) */
.logo-fig{margin:0;max-width:220px}
.logo-fig figcaption{font-size:.8rem;color:var(--muted);margin-top:6px;line-height:1.35}
@media (max-width:760px){.logo-fig{max-width:150px}}
/* Further Reading: two shelves (Option A, 2026-11-23) */
.shelf{margin-top:28px}
.shelf h3{font:600 .78rem Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-deep);text-align:center;margin:0 0 18px}
.shelf-row{display:flex;flex-wrap:wrap;justify-content:center;gap:28px 48px;align-items:flex-start}
.shelf-item{width:190px;text-align:center;text-decoration:none;color:inherit;display:block}
.shelf-img{height:120px;display:flex;align-items:center;justify-content:center}
.shelf-img img{max-height:120px;max-width:190px;width:auto}
.shelf-img img.logo{height:60px}
.shelf-img img.square{height:120px;border-radius:10px}
.shelf-books .shelf-img{height:210px}
.shelf-books .shelf-img img{max-height:210px;border-radius:6px;box-shadow:0 6px 18px rgba(31,42,77,.18)}
.shelf-item > span{display:block;margin-top:10px;font-size:.85rem;color:var(--ink-soft);line-height:1.4}
.shelf-item small{display:block;margin-top:2px;font-size:.78rem;color:var(--muted)}
a.shelf-item:hover > span{color:var(--violet)}
a.shelf-item:hover img{opacity:.85}
.shelf + .shelf{margin-top:40px;padding-top:36px;border-top:1px solid #e6e9f2}
.shelf-links ul{list-style:none;padding:0;margin:0;text-align:center}
.shelf-links li{margin:.4em 0}
.tpl-sq{width:120px;height:120px}
.tpl-wide{width:180px;height:60px}
.shelf-img .tpl-box{min-height:0;font-size:.8rem}
@media (max-width:760px){.shelf-row{gap:24px 20px}.shelf-item{width:150px}.shelf-img{height:100px}.shelf-img img{max-width:150px}.shelf-img img.square{height:100px}.shelf-books .shelf-img{height:180px}.shelf-books .shelf-img img{max-height:180px}}
.shelf-row.has-cover .shelf-img{height:180px}
.shelf-img img.cover{max-height:180px;border-radius:6px;box-shadow:0 6px 18px rgba(31,42,77,.18)}
.shelf-books .shelf-row{gap:28px 28px}
.shelf-books .shelf-item{width:160px}
.shelf-books .shelf-img img{max-width:160px}
@media (max-width:760px){.shelf-row.has-cover .shelf-img{height:160px}.shelf-img img.cover{max-height:160px}.shelf-books .shelf-item{width:140px}.shelf-books .shelf-img img{max-width:140px}}
.shelf-books .shelf-row{gap:28px 24px}
.shelf-books .shelf-item{width:150px}
.shelf-books .shelf-img img{max-width:150px}
@media (max-width:760px){.shelf-books .shelf-item{width:140px}.shelf-books .shelf-img img{max-width:140px}}
/* Context notes under a caption (e.g. "Gaurav's lightning-round pick") are italic */
.shelf-item small{font-style:italic}
/* LinkedIn link under the guest's photo (2026-11-23) */
.guest-photo{display:flex;flex-direction:column;align-items:center;gap:10px}
.guest-photo img,.guest-photo .guest-avatar{width:100%}
@media (max-width:760px){.guest-photo{width:160px}}
.guest-role{font-weight:500;color:var(--teal-deep);margin:-.2em 0 .8em}
