/* Last Attempt — site stylesheet
   Palette pulled from the logo: gold leaf, ember, stained-glass violet, on near-black. */
:root {
  --bg: #0c0a0f;
  --bg-2: #14111a;
  --surface: #1a1622;
  --surface-2: #221d2c;
  --line: #2e2838;
  --line-2: #3d3549;
  --text: #ece5d8;
  --text-2: #b7ad9c;
  --muted: #837a6e;
  --gold: #e4b04a;
  --gold-2: #f3cc6d;
  --gold-dim: #9a7630;
  --ember: #ff6a2b;
  --violet: #6d4bd6;
  --ok: #7fc98a;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
  --gutter: 16px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  background-image:
    radial-gradient(1200px 500px at 50% -200px, rgba(228, 176, 74, .10), transparent 65%),
    radial-gradient(800px 400px at 100% 10%, rgba(109, 75, 214, .07), transparent 60%);
  background-repeat: no-repeat;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--text); letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 3px solid var(--gold-dim); color: var(--text-2); font-style: italic; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 10, 15, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2), 0 0 18px rgba(228, 176, 74, .25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.nav { display: none; width: 100%; flex-direction: column; padding-bottom: .75rem; }
.nav.open { display: flex; }
.nav a { padding: .6rem .25rem; color: var(--text-2); font-weight: 500; border-top: 1px solid var(--line); }
.nav a[aria-current="page"], .nav a:hover { color: var(--gold-2); text-decoration: none; }
.nav-toggle { background: none; border: 1px solid var(--line-2); color: var(--text-2); padding: .4rem .8rem; border-radius: 6px; font: inherit; font-size: .9rem; cursor: pointer; }
@media (min-width: 860px) {
  .nav { display: flex; flex-direction: row; width: auto; gap: 1.4rem; padding: 0; }
  .nav a { border: 0; padding: .4rem 0; font-size: .95rem; position: relative; }
  .nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); }
  .nav-toggle { display: none; }
}

/* ---------- generic blocks */
.section { padding: 2.5rem 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.section-head h2 { margin: 0; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; }
.section-head a { font-size: .9rem; white-space: nowrap; }
.eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .5rem; }
.meta { color: var(--muted); font-size: .85rem; }
.meta span + span::before { content: "·"; margin: 0 .5em; color: var(--line-2); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card:hover { border-color: var(--line-2); }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.15rem; border-radius: 8px; font-weight: 600; font-size: .95rem; border: 1px solid var(--line-2); color: var(--text); background: var(--surface-2); transition: .15s; }
.btn:hover { text-decoration: none; border-color: var(--gold-dim); color: var(--gold-2); }
.btn-primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1b1408; border-color: transparent; }
.btn-primary:hover { color: #000; filter: brightness(1.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.chips li { font-size: .78rem; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); padding: .2rem .6rem; border-radius: 999px; }
.pill { display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.pill-live { color: var(--ok); border-color: rgba(127, 201, 138, .4); }
.pill-soon { color: var(--gold); border-color: rgba(228, 176, 74, .4); }

/* ---------- hero */
.hero { padding: 3rem 0 2.25rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }
.hero h1 { margin-bottom: .75rem; }
.hero h1 span { color: var(--gold-2); }
.hero .lede { font-size: 1.15rem; color: var(--text-2); max-width: 36rem; }
.hero-logo { display: flex; justify-content: center; }
.hero-logo img { width: min(100%, 360px); filter: drop-shadow(0 0 40px rgba(228, 176, 74, .25)); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.hero-stats div { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-2); letter-spacing: 0; text-transform: none; }

/* ---------- home layout */
.home-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .home-grid { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 3rem; } }
.sidebar > * + * { margin-top: 2rem; }

/* ---------- article cards */
.article-list { display: grid; gap: 1.25rem; }
.article-card { display: grid; gap: 0; }
.article-card .thumb { aspect-ratio: 16 / 9; background: var(--surface-2) center/cover no-repeat; display: block; }
.article-card .body { padding: 1.1rem 1.25rem 1.25rem; }
.article-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--gold-2); text-decoration: none; }
.article-card p { color: var(--text-2); margin-bottom: .7rem; }
.article-card.featured .thumb { aspect-ratio: 21 / 9; }
.article-card.featured h3 { font-size: 1.7rem; }
@media (min-width: 640px) {
  .article-list.grid-2 { grid-template-columns: 1fr 1fr; }
  .article-list.grid-2 .featured { grid-column: 1 / -1; }
}

/* ---------- episode cards */
.episode-feature { display: grid; gap: 1.25rem; padding: 1.25rem; }
.episode-feature .art { width: 100%; aspect-ratio: 1; border-radius: 8px; object-fit: cover; box-shadow: var(--shadow); }
.episode-feature h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.episode-feature h3 a { color: var(--text); }
.episode-feature .desc { color: var(--text-2); font-size: .95rem; }
@media (min-width: 560px) and (max-width: 959px) { .episode-feature { grid-template-columns: 180px 1fr; } }
.audio { width: 100%; margin: .75rem 0; filter: invert(.92) hue-rotate(180deg) saturate(.6); border-radius: 999px; }
.episode-rows { list-style: none; margin: 0; padding: 0; }
.episode-rows > li { display: grid; grid-template-columns: 3.2rem 1fr; gap: .8rem; padding: .8rem 0; border-top: 1px solid var(--line); align-items: start; }
.episode-rows > li:first-child { border-top: 0; }
.episode-rows .num { font-family: var(--font-display); color: var(--gold); font-weight: 700; font-size: 1.05rem; padding-top: .1rem; }
.episode-rows a { color: var(--text); font-weight: 500; }
.episode-rows a:hover { color: var(--gold-2); text-decoration: none; }
.episode-rows .meta { display: block; margin-top: .15rem; }
.episode-archive .episode-rows > li { grid-template-columns: 3.5rem 1fr; padding: 1.1rem 0; }
.episode-archive .summary { color: var(--text-2); font-size: .95rem; margin: .35rem 0 .5rem; }

/* ---------- topics from the show */
.topic-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .topic-grid { grid-template-columns: 1fr 1fr 1fr; } }
.topic { padding: 1rem 1.1rem; }
.topic .eyebrow { margin-bottom: .3rem; }
.topic h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .4rem; }
.topic h3 a { color: var(--text); }
.topic p { color: var(--text-2); font-size: .92rem; margin: 0; }

/* ---------- listen strip */
.listen-links { display: grid; gap: .6rem; }
.listen-links a { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-weight: 500; }
.listen-links a:hover { border-color: var(--gold-dim); text-decoration: none; color: var(--gold-2); }
.listen-links small { color: var(--muted); font-weight: 400; }
.spotify-embed { border-radius: 12px; border: 0; width: 100%; height: 152px; }
.spotify-embed.tall { height: 352px; }

/* ---------- article page */
.article-header { padding: 3rem 0 1.5rem; max-width: 780px; }
.article-header h1 { margin-bottom: .6rem; }
.article-header .standfirst { font-size: 1.2rem; color: var(--text-2); }
.article-hero { max-width: 980px; margin: 0 auto 2rem; }
.article-hero img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.article-hero figcaption, .prose figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.prose { max-width: 720px; font-size: 1.08rem; line-height: 1.75; }
.prose h2 { margin-top: 2.25rem; font-size: 1.55rem; }
.prose h3 { margin-top: 1.75rem; }
.prose img { border-radius: 8px; border: 1px solid var(--line); }
.prose figure { margin: 1.75rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.prose th { background: var(--surface); }
/* House style call-outs: !!! know / think / community / open */
.admonition { margin: 1.75rem 0; padding: 1rem 1.2rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); border-left-width: 4px; }
.admonition-title { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .5rem; color: var(--gold); }
.admonition p:last-child { margin-bottom: 0; }
.admonition.know { border-left-color: var(--ok); }
.admonition.know .admonition-title { color: var(--ok); }
.admonition.think { border-left-color: var(--gold); }
.admonition.community { border-left-color: var(--violet); }
.admonition.community .admonition-title { color: #a48cf0; }
.admonition.open { border-left-color: var(--ember); }
.admonition.open .admonition-title { color: var(--ember); }
.article-footer { max-width: 720px; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.author-box { display: flex; gap: 1rem; align-items: center; }
.author-box img { width: 56px; height: 56px; border-radius: 50%; }
.author-box p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* ---------- episode page */
.episode-head { padding: 3rem 0 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .episode-head { grid-template-columns: 220px 1fr; align-items: start; } }
.episode-head .art { width: 100%; max-width: 220px; aspect-ratio: 1; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow); }
.episode-head h1 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
.episode-body { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .episode-body { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); } }
.rundown { padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rundown ol { margin: 0; padding-left: 1.2rem; color: var(--text-2); }
.rundown li + li { margin-top: .35rem; }
.segments > details { border-top: 1px solid var(--line); padding: 1rem 0; }
.segments > details:last-child { border-bottom: 1px solid var(--line); }
.segments summary { cursor: pointer; list-style: none; display: grid; gap: .2rem; }
.segments summary::-webkit-details-marker { display: none; }
.segments summary h3 { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; }
.segments summary h3::after { content: "+"; float: right; color: var(--gold); font-weight: 400; }
.segments details[open] summary h3::after { content: "–"; }
.segments summary p { margin: 0; color: var(--text-2); font-size: .95rem; }
.segments ul { margin: .75rem 0 0; color: var(--text-2); font-size: .95rem; }
.segments li + li { margin-top: .35rem; }
.segments li small { display: block; color: var(--muted); }
.description { color: var(--text-2); }
.description p:empty, .description p:has(> br:only-child) { display: none; }

/* ---------- content pages */
.page-head { padding: 3rem 0 1rem; max-width: 780px; }
.page-head .lede { font-size: 1.15rem; color: var(--text-2); }
.two-col { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); } }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.facts li:first-child { border-top: 0; }
.facts li span:first-child { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; padding-top: .15rem; }
.asset-grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .asset-grid { grid-template-columns: 1fr 1fr; } }
.asset { padding: 1rem; text-align: center; }
.asset .preview { display: flex; align-items: center; justify-content: center; height: 180px; border-radius: 8px; margin-bottom: .75rem; }
.asset .preview.dark { background: #000; }
.asset .preview.light { background: #f4efe6; }
.asset .preview img { max-height: 160px; width: auto; }
.asset small { display: block; color: var(--muted); margin-top: .3rem; }
.boilerplate { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; }
.boilerplate p:last-child { margin: 0; }
.people { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; } }
.person { padding: 1.25rem; }
.person .eyebrow { margin-bottom: .2rem; }
.person h3 { margin-bottom: .3rem; }
.person p { color: var(--text-2); font-size: .95rem; margin-bottom: .6rem; }
.contact-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { padding: 1.25rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.contact-card p { color: var(--text-2); font-size: .95rem; margin-bottom: .5rem; }
.contact-card a.email { font-size: 1.05rem; font-weight: 600; word-break: break-all; }
.empty { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- footer */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); background: var(--bg-2); padding: 2.5rem 0 1.5rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { border-radius: 50%; }
.footer-brand p { color: var(--text-2); margin: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer li a { color: var(--text-2); }
.site-footer li a:hover { color: var(--gold-2); }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.footer-legal p { color: var(--muted); font-size: .8rem; margin: 0; }

/* ---------- guild spotlight */
.guild-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .guild-grid { grid-template-columns: 1fr 1fr; } }
.guild-card { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; }
.guild-card h2 { margin: .2rem 0 .3rem; font-size: 1.5rem; }
.guild-card h2 a { color: var(--text); }
.guild-card h2 a:hover { color: var(--gold-2); text-decoration: none; }
.guild-card .tagline { color: var(--text-2); margin: 0; flex: 1; }
.guild-card .btn { align-self: flex-start; }
.prog-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .9rem; background: var(--surface-2); border-radius: 8px; font-size: .92rem; }
.prog-name { font-weight: 600; }
.prog-summary { font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.prog-summary.normal { color: var(--text-2); }
.prog-summary.heroic { color: var(--gold-2); }
.prog-summary.mythic { color: var(--ember); }
.prog-table { display: grid; gap: .75rem; }
.prog { padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.prog.current { border-color: var(--gold-dim); }
.prog-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .7rem; flex-wrap: wrap; }
.prog-top .pill { margin-left: .4rem; vertical-align: middle; }
.prog-bars { display: grid; gap: .35rem; }
.bar { display: grid; grid-template-columns: 1.2rem 1fr 3rem; align-items: center; gap: .6rem; font-size: .8rem; color: var(--muted); }
.bar i { display: block; height: 8px; background: var(--line); border-radius: 999px; position: relative; overflow: hidden; }
.bar i::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: var(--p, 0%); background: var(--text-2); border-radius: 999px; }
.bar.heroic i::before { background: var(--gold); }
.bar.mythic i::before { background: var(--ember); }
.bar b { font-weight: 500; text-align: right; color: var(--text-2); }
.prog-ranks { margin-top: .6rem; }

/* ---------- archive topic lists */
.topic-list { list-style: none; margin: .6rem 0 0; padding: 0; border-top: 1px solid var(--line); font-size: .92rem; }
.topic-list > li { border-bottom: 1px solid var(--line); }
.topic-list .topic-title, .topic-list summary { display: block; padding: .45rem 0 .45rem 1.1rem; color: var(--text-2); position: relative; }
.topic-list .topic-title::before, .topic-list summary::before { content: "•"; position: absolute; left: .1rem; color: var(--gold-dim); }
.topic-list summary { cursor: pointer; list-style: none; color: var(--text); }
.topic-list summary::-webkit-details-marker { display: none; }
.topic-list summary::before { content: "+"; color: var(--gold); font-weight: 600; }
.topic-list details[open] summary::before { content: "–"; }
.topic-list summary:hover { color: var(--gold-2); }
.topic-body { padding: .2rem 0 .9rem 1.1rem; color: var(--text-2); }
.topic-body .eyebrow { margin-bottom: .2rem; }
.topic-body p { margin: 0 0 .5rem; }
.topic-body ul { margin: 0 0 .6rem; padding-left: 1.1rem; }
.topic-body li + li { margin-top: .25rem; }
.topic-body li small { display: block; color: var(--muted); }
.topic-body a { font-size: .85rem; }

/* ---------- segment extras: questions + sources */
.seg-label { margin: .9rem 0 .3rem; font-size: .72rem; }
.questions { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--text-2); font-size: .95rem; }
.questions li { list-style: none; position: relative; padding-left: .2rem; font-style: italic; }
.questions li::before { content: "?"; position: absolute; left: -1.1rem; color: var(--gold); font-style: normal; font-weight: 700; }
.questions li + li { margin-top: .3rem; }
.sources { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); }
.sources a { color: var(--text-2); }
.sources a:hover { color: var(--gold-2); }

/* ---------- home: latest-show card */
.show-card { padding: 1.4rem 1.6rem 1.5rem; }
.show-card h3 { font-size: 1.45rem; margin: .3rem 0 .8rem; }
.show-card h3 a { color: var(--text); }
.show-card h3 a:hover { color: var(--gold-2); text-decoration: none; }
.show-card .heads-up { color: var(--text-2); font-size: .95rem; padding: .6rem .9rem; border-left: 3px solid var(--gold-dim); background: var(--surface-2); border-radius: 0 6px 6px 0; }
.show-card .show-lede { color: var(--text-2); margin-bottom: .5rem; }
.rundown-list { margin: 0 0 1.1rem; padding-left: 1.3rem; color: var(--text-2); }
.rundown-list li + li { margin-top: .3rem; }
