/* Layout concept: the YouTube "Studio Dark" system carried onto the web.
   Dark studio bands (blurred studio footage, cream caps headlines, one rose word, one teal box)
   alternate with Muted ivory editorial sections. Rose leads, teal frames photos. No orange, no pure black/white. */
:root {
  --ivory: #F7F4F1;      /* Soft Ivory: light ground */
  --surface: #FCFAF8;    /* lifted ivory for cards */
  --charcoal: #2B2B28;   /* text, dark bands */
  --deep: #22221F;       /* footer / darkest band */
  --cream: #FAF6EF;      /* text on dark */
  --rose: #C4899A;       /* Dusty Rose: primary accent */
  --rose-ink: #A2677A;   /* rose deepened for small text on ivory (contrast) */
  --rose-light: #D9A6B4; /* rose on dark */
  --teal: #5E8E96;       /* Muted Teal: frames, labels */
  --teal-box: #3E6470;   /* Studio Dark teal box */
  --pale-teal: #D7E4E6;
  --blush: #EAD9DE;
  --lavender: #A99BC0;
  --grey: #858280;
  --sage: #8F9B84;
  --fg: var(--charcoal);
  --muted: #6E6B68;
  --bg: var(--ivory);
  --card: var(--surface);
  --line: rgba(43, 43, 40, .12);
  --accent: var(--rose);
  --accent-text: var(--rose-ink);
  --display: "Archivo Black", "Montserrat", "Arial Black", system-ui, sans-serif;
  --label: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: .8125rem; --step-0: 1rem; --step-1: 1.2rem; --step-2: 1.5rem;
  --step-3: clamp(1.7rem, 3.4vw, 2.3rem); --step-4: clamp(2.3rem, 6.4vw, 4.6rem);
  --wrap: 74rem; --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fg: var(--cream); --muted: #ADA9A3; --bg: #262623; --card: #31312D; --line: rgba(250, 246, 239, .12);
    --accent: var(--rose-light); --accent-text: var(--rose-light); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fg: var(--cream); --muted: #ADA9A3; --bg: #262623; --card: #31312D; --line: rgba(250, 246, 239, .12);
  --accent: var(--rose-light); --accent-text: var(--rose-light); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 var(--step-0)/1.65 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--label); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 50; }

/* Topic tones */
.t-rose { --t: var(--rose); } .t-teal { --t: var(--teal); } .t-lavender { --t: var(--lavender); }
.t-grey { --t: var(--grey); } .t-sage { --t: var(--sage); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--charcoal); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--charcoal); color: var(--cream); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.lockup img { width: 42px; height: auto; }
.lockup span { display: grid; line-height: 1; }
.lockup b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .04em; }
.lockup small { font-family: var(--label); font-weight: 700; font-size: .58rem; letter-spacing: .42em; color: var(--rose-light); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 24px; font-family: var(--label); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.nav a { text-decoration: none; color: rgba(250, 246, 239, .72); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--rose-light); padding-bottom: 4px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 4px; font: 700 .78rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.btn.rose { background: var(--rose); border-color: var(--rose); color: var(--cream); }
.btn.rose:hover { background: #B67A8C; border-color: #B67A8C; }
.btn.ghost-light { color: var(--cream); border-color: rgba(250, 246, 239, .5); }
.btn.ghost-light:hover { border-color: var(--cream); }
.btn.line { color: var(--fg); border-color: var(--line); }
.btn.line:hover { border-color: var(--fg); }
.nav .btn { color: var(--cream); padding: 10px 16px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 9px 14px; border: 1.5px solid rgba(250, 246, 239, .5); border-radius: 4px; font: 700 .72rem var(--label); letter-spacing: .14em; text-transform: uppercase; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--charcoal); border: 1px solid rgba(250, 246, 239, .14); border-radius: 10px; padding: 8px; display: grid; min-width: 210px; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.menu-panel a { padding: 11px 12px; text-decoration: none; border-radius: 6px; font: 600 .82rem var(--label); letter-spacing: .1em; text-transform: uppercase; }
.menu-panel a:hover { background: rgba(250, 246, 239, .08); }
@media (max-width: 820px) { .nav { display: none; } .menu { display: block; } }

/* Studio band (dark) */
.studio { position: relative; color: var(--cream); background: var(--charcoal) url("img/studio-dark.jpg") center / cover no-repeat; isolation: isolate; }
.studio::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 34, 31, .35), rgba(34, 34, 31, .6)); z-index: -1; }
.caps { font-family: var(--label); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.04; }
.hl { color: var(--rose-light); }
.box { background: var(--teal-box); color: var(--cream); padding: .02em .22em .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.underline { width: min(100%, 420px); height: 2px; background: var(--cream); opacity: .85; }
.credbar { display: inline-block; background: var(--rose); color: var(--cream); font: 700 .82rem/1.3 var(--label); letter-spacing: .08em; text-transform: uppercase; padding: 9px 14px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(44px, 8vw, 96px); }
.hero h1 { font-size: var(--step-4); }
.hero .stack { display: grid; gap: 22px; justify-items: start; }
.hero .lede { font-size: var(--step-1); line-height: 1.55; color: rgba(250, 246, 239, .82); max-width: 40ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .now { display: grid; gap: 12px; text-decoration: none; color: var(--cream); }
.hero .now .frame { border: 3px solid var(--teal); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transition: transform .3s ease; }
.hero .now:hover .frame { transform: translateY(-4px); }
.hero .now img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero .now .cap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: var(--step--1); color: rgba(250, 246, 239, .75); }
.hero .now .cap b { font: 700 .72rem var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--rose-light); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Stat strip */
.strip { border-top: 1px solid rgba(250, 246, 239, .14); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-block: 18px; font: 700 .72rem var(--label); letter-spacing: .16em; text-transform: uppercase; color: rgba(250, 246, 239, .7); }
.strip a { text-decoration: none; color: var(--cream); }
.strip a:hover { color: var(--rose-light); }
.strip .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* Sections */
section { padding-block: clamp(44px, 7vw, 84px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head .stack { display: grid; gap: 10px; }
.sec-head h2 { font-size: var(--step-3); }
.sec-head > a { font: 700 .75rem var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; }
.sec-head > a:hover { text-decoration: underline; }

/* Episode cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 24px; }
.card { display: grid; grid-template-rows: auto 1fr; gap: 14px; text-decoration: none; min-width: 0; }
.thumb { position: relative; border-radius: 12px; overflow: hidden; background: var(--charcoal); box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s ease, transform .2s ease; }
.thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.thumb .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(34, 34, 31, .85); color: var(--cream); font: 600 .72rem/1 var(--body); padding: 5px 7px; border-radius: 4px; }
.card:hover .thumb { box-shadow: 0 0 0 3px var(--teal); transform: translateY(-2px); }
.card .body { display: grid; gap: 6px; align-content: start; }
.card h3 { font-family: var(--label); font-weight: 700; font-size: 1.08rem; line-height: 1.3; letter-spacing: 0; text-wrap: pretty; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: var(--step--1); }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 700 .68rem var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--t); }

/* Branded tile (trailer / no thumbnail) */
.tile { display: grid; place-items: center; gap: 8px; aspect-ratio: 16 / 9; background: var(--charcoal) url("img/studio-dark.jpg") center / cover; color: var(--cream); text-align: center; }
.tile img { width: 22%; aspect-ratio: auto; height: auto; }
.tile span { font: 800 .9rem var(--label); letter-spacing: .2em; text-transform: uppercase; }

/* Topics */
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topic { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 700 .76rem var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--fg);
  background: color-mix(in srgb, var(--t) 16%, var(--card)); border: 1.5px solid color-mix(in srgb, var(--t) 45%, transparent); }
.topic::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--t); }
.topic .count { color: var(--muted); font-weight: 600; }
.topic:hover { border-color: var(--t); }
.topic[aria-pressed="true"] { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.topic[aria-pressed="true"] .count { color: rgba(250, 246, 239, .7); }
:root[data-theme="dark"] .topic[aria-pressed="true"] { background: var(--cream); color: var(--charcoal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .topic[aria-pressed="true"] { background: var(--cream); color: var(--charcoal); } }

/* Quote band */
.quote .wrap { padding-block: clamp(56px, 9vw, 110px); display: grid; gap: 22px; justify-items: center; text-align: center; }
.quote .mark { font-family: var(--display); font-size: 5rem; line-height: .5; color: var(--rose-light); height: .5em; }
.quote p { font-size: clamp(1.9rem, 5.4vw, 3.8rem); max-width: 18ch; }
.quote a { color: var(--cream); }

/* Guests list */
.guests { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .guests { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guest-row { display: grid; gap: 4px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; min-width: 0; }
.guest-row strong { font-family: var(--label); font-weight: 700; font-size: 1.05rem; }
.guest-row span { color: var(--muted); font-size: var(--step--1); }
.guest-row:hover strong { color: var(--accent-text); }

/* About split */
.host { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.host figure { margin: 0 18px 18px 0; position: relative; }
.host figure::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 200px 200px 14px 14px; background: var(--blush); z-index: -1; }
.host figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 14px 14px; border: 3px solid var(--teal); }
.host .stack { display: grid; gap: 18px; }
.host h2 { font-size: var(--step-3); }
.host h2 .hl, .prose .hl, .page-head .hl { color: var(--accent-text); }
.prose { display: grid; gap: 1.1em; max-width: 65ch; font-size: 1.05rem; }
.prose h2 { font-family: var(--label); font-weight: 800; font-size: 1.3rem; margin-top: .6em; }
.prose a { color: var(--accent-text); }
@media (max-width: 820px) { .host { grid-template-columns: 1fr; } .host figure { max-width: 360px; } }
:root[data-theme="dark"] .host figure::before { background: color-mix(in srgb, var(--rose) 22%, var(--bg)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .host figure::before { background: color-mix(in srgb, var(--rose) 22%, var(--bg)); } }

/* Listen */
.listen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.listen a { display: grid; gap: 4px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; }
.listen a b { font: 700 .95rem var(--label); }
.listen a span { color: var(--muted); font-size: var(--step--1); }
.listen a:hover { border-color: var(--teal); }

/* Page head (inner pages) */
.page-head .wrap { padding-block: clamp(40px, 7vw, 80px); display: grid; gap: 16px; justify-items: start; }
.page-head h1 { font-size: var(--step-4); }
.page-head p { font-size: var(--step-1); color: rgba(250, 246, 239, .82); max-width: 52ch; }
.filters { margin-bottom: 30px; }
.empty { color: var(--muted); padding: 24px 0; }

/* Episode page */
.ep-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.ep-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.ep-hero .stack { display: grid; gap: 18px; justify-items: start; }
.ep-hero .meta { color: rgba(250, 246, 239, .75); }
.ep-hero .chip { color: var(--cream); }
.ep-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ep-hero .frame { border: 3px solid var(--teal); border-radius: 12px; overflow: hidden; display: block; position: relative; }
.ep-hero .frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ep-hero .frame .play { position: absolute; inset: auto auto 14px 14px; background: var(--rose); color: var(--cream); font: 700 .72rem var(--label); letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; border-radius: 4px; }
@media (max-width: 860px) { .ep-hero .wrap { grid-template-columns: 1fr; } }
.ep-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: clamp(24px, 5vw, 64px); }
.ep-body aside { display: grid; gap: 18px; align-content: start; }
@media (max-width: 860px) { .ep-body { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; min-width: 0; }
.panel h2 { font-family: var(--label); font-weight: 800; font-size: 1.15rem; }
.panel a { color: var(--accent-text); }
.learn { list-style: none; padding: 0; margin: 0; counter-reset: l; border-top: 1px solid var(--line); }
.learn li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2.4rem 1fr; gap: 8px; }
.learn li::before { content: counter(l, decimal-leading-zero); counter-increment: l; font: 800 .85rem/1.9 var(--label); color: var(--teal); letter-spacing: .06em; }
.quotes { display: grid; gap: 14px; }
.quotes blockquote { margin: 0; padding: 20px 22px; border-left: 4px solid var(--rose); background: color-mix(in srgb, var(--rose) 10%, var(--card)); border-radius: 0 10px 10px 0; font: 700 1.2rem/1.35 var(--label); }

/* Copy field */
.copy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy code { font: 500 1rem var(--body); padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; user-select: all; }

/* Footer */
.site-foot { background: var(--deep); color: rgba(250, 246, 239, .7); padding-block: 48px; font-size: .92rem; }
.site-foot .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 28px; }
.site-foot h2 { font: 700 .72rem var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--rose-light); margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--cream); }
.site-foot .tag { font: 800 .8rem var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--cream); margin-top: 14px; }
.site-foot small { display: block; margin-top: 10px; }

/* Shorts row */
.shorts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 190px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.short { position: relative; display: grid; gap: 10px; align-content: start; scroll-snap-align: start; text-decoration: none; color: var(--fg); }
.short img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: var(--charcoal); box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s ease, transform .2s ease; }
.short-title { font: 700 .86rem/1.3 var(--label); text-wrap: pretty; }
.short-play { position: absolute; top: 10px; right: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--cream); font-size: .7rem; }
.short:hover img { box-shadow: 0 0 0 3px var(--teal); transform: translateY(-3px); }

/* Instagram grid */
.ig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ig { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease, transform .2s ease; }
.ig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ig:hover { box-shadow: 0 0 0 3px var(--rose); transform: translateY(-2px); }
@media (max-width: 700px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .short img, .ig, .card .thumb, .hero .now .frame { transition: none; } }
.ig-grid.ig-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .ig-grid.ig-six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[hidden] { display: none !important; }

/* Journal pull quotes */
.prose .pull { margin: .6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--rose); font: 800 clamp(1.25rem, 2.6vw, 1.6rem)/1.3 var(--label); text-transform: uppercase; letter-spacing: .02em; color: var(--fg); text-wrap: balance; }
