html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }

.site {
    --paper: #f2e9d4;
    --paper-deep: #e9dcbe;
    --ink: #17110a;
    --lime: #b9d433;
    --violet: #7b4fd0;
    --red: #d8362a;
    position: relative;
    background: var(--paper);
    color: var(--ink);
    font-family: 'KMR Melange Grotesk', system-ui, sans-serif;
    line-height: 1.55;
    overflow: hidden;
}
.grain {
    position: fixed; inset: 0; pointer-events: none; opacity: .05; z-index: 0;
}
.site > * { position: relative; z-index: 1; }

.serif, .site h1, .site h2, .brand-word { font-family: Georgia, 'Times New Roman', serif; }

/* ---------- masthead ---------- */
.mast {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px clamp(18px, 4vw, 48px);
    border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 52px; height: 52px; object-fit: contain; }
.brand-word { font-weight: 700; font-size: 20px; letter-spacing: .01em; text-transform: uppercase; }
.brand-word em { letter-spacing: 0; }
.mast-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.mast-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
.mast-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--violet); }

/* ---------- hero ---------- */
.hero {
    position: relative;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(40px, 7vw, 96px) clamp(18px, 4vw, 48px) clamp(72px, 9vw, 128px);
}
.strip { position: absolute; width: 120%; left: -10%; pointer-events: none; }
.strip-lime {
    height: 64px; bottom: -14px; transform: rotate(-1.6deg); background: var(--lime);
    clip-path: polygon(0 100%, 0 48%, 2% 28%, 4% 55%, 6% 22%, 8% 50%, 11% 34%, 13% 58%, 16% 26%, 19% 52%, 22% 38%, 25% 60%, 28% 24%, 31% 54%, 34% 36%, 37% 58%, 40% 28%, 43% 50%, 46% 32%, 49% 56%, 52% 26%, 55% 52%, 58% 38%, 61% 60%, 64% 24%, 67% 48%, 70% 34%, 73% 56%, 76% 28%, 79% 52%, 82% 36%, 85% 58%, 88% 26%, 91% 50%, 94% 32%, 97% 54%, 100% 40%, 100% 100%);
}
.strip-violet {
    height: 76px; bottom: -34px; transform: rotate(1.1deg); background: var(--violet); opacity: .92;
    clip-path: polygon(0 100%, 0 55%, 3% 34%, 5% 60%, 8% 28%, 11% 56%, 14% 40%, 17% 64%, 20% 30%, 23% 58%, 26% 44%, 29% 66%, 32% 26%, 35% 60%, 38% 38%, 41% 64%, 44% 30%, 47% 56%, 50% 42%, 53% 62%, 56% 28%, 59% 58%, 62% 36%, 65% 66%, 68% 32%, 71% 54%, 74% 44%, 77% 62%, 80% 30%, 83% 58%, 86% 40%, 89% 64%, 92% 28%, 95% 56%, 98% 42%, 100% 58%, 100% 100%);
}
.overline { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(52px, 9vw, 118px);
    line-height: .94; letter-spacing: -.015em; font-weight: 900;
    text-wrap: balance;
}
.hero h1 em { letter-spacing: -.02em; }
.tagline {
    display: inline-block; margin: 0 0 18px; padding: 10px 16px;
    background: var(--lime); color: var(--ink);
    font-family: Georgia, serif; font-style: italic; font-size: clamp(18px, 2.4vw, 26px);
    transform: rotate(-1deg);
    clip-path: polygon(0 100%, 0 18%, 4% 4%, 9% 22%, 14% 2%, 20% 18%, 26% 6%, 33% 24%, 40% 4%, 47% 20%, 54% 6%, 61% 24%, 68% 2%, 75% 18%, 82% 8%, 89% 22%, 95% 6%, 100% 16%, 100% 100%);
    clip-path: polygon(2% 8%, 8% 0, 15% 10%, 24% 2%, 33% 12%, 42% 0, 52% 10%, 61% 2%, 70% 12%, 79% 2%, 88% 10%, 96% 2%, 100% 12%, 99% 88%, 93% 100%, 84% 90%, 74% 100%, 63% 90%, 53% 100%, 42% 90%, 32% 100%, 22% 90%, 12% 100%, 4% 90%, 0 96%);
}
.intro { max-width: 46ch; font-size: 16px; margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px;
    font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink);
    transition: transform .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); box-shadow: 3px 3px 0 var(--ink); }
.btn-red { background: var(--red); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost { background: transparent; }
.hero-photo { margin: 0; position: relative; }
.hero-photo .frame { filter: drop-shadow(6px 8px 0 rgba(23,17,10,.18)); }
.hero-photo img {
    display: block; width: 100%; height: auto;
    clip-path: polygon(1% 5%, 5% 1%, 9% 6%, 14% 2%, 19% 8%, 24% 2%, 29% 7%, 34% 1%, 39% 6%, 44% 2%, 49% 8%, 54% 1%, 59% 6%, 64% 2%, 69% 8%, 74% 3%, 79% 7%, 84% 1%, 89% 6%, 94% 2%, 98% 7%, 100% 4%, 100% 95%, 96% 99%, 91% 93%, 86% 98%, 81% 94%, 76% 100%, 71% 94%, 66% 99%, 61% 93%, 56% 98%, 51% 94%, 46% 100%, 41% 94%, 36% 98%, 31% 93%, 26% 99%, 21% 94%, 16% 98%, 11% 93%, 6% 99%, 2% 95%, 0 97%);
}
.hero-photo figcaption { margin-top: 14px; font-size: 13px; color: #4c4234; font-style: italic; font-family: Georgia, serif; text-align: right; }

/* ---------- listen bar ---------- */
.listenbar {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 14px clamp(18px, 4vw, 48px);
    background: var(--ink); color: var(--paper);
}
.listenbar span { font-family: Georgia, serif; font-style: italic; font-size: 15px; margin-right: 8px; }
.listenbar a { color: var(--paper); font-weight: 600; font-size: 14px; text-decoration: none; padding: 8px 0; }
.listenbar a:hover { color: var(--lime); }

/* ---------- blocks ---------- */
.block { padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 48px); max-width: 1080px; margin: 0 auto; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin: 0 0 8px; }
.block h2 {
    margin: 0 0 20px; font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02; letter-spacing: -.015em; font-weight: 900;
}
.block h2 em { color: var(--violet); }
.lede { max-width: 62ch; font-size: 17px; margin: 0 0 20px; }
.factrow { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; padding: 0; margin: 24px 0 0; }
.factrow li { border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 14px; background: var(--paper-deep); }
.factrow strong { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* three parts */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { position: relative; padding: 26px 22px 24px; border: 2px solid var(--ink); background: #faf4e4; }
.mini .num { font-family: Georgia, serif; font-style: italic; font-size: 15px; color: var(--violet); }
.mini h3 { margin: 8px 0 10px; font-family: Georgia, serif; font-size: 24px; line-height: 1.1; }
.mini p { margin: 0; font-size: 14.5px; }
.torn-lime { box-shadow: 8px 8px 0 var(--lime); }
.torn-violet { box-shadow: 8px 8px 0 var(--violet); }
.torn-red { box-shadow: 8px 8px 0 var(--red); }
.aita-tag { background: var(--ink); color: var(--paper); padding: 2px 14px; letter-spacing: .04em; }

/* episodes */
.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ep { position: relative; display: block; text-decoration: none; color: var(--ink); filter: drop-shadow(4px 5px 0 rgba(23,17,10,.16)); transition: transform .12s ease; }
.ep:hover { transform: translateY(-3px); }
.ep img { display: block; width: 100%; height: auto; clip-path: polygon(1% 6%, 6% 1%, 12% 7%, 19% 2%, 26% 8%, 33% 2%, 40% 7%, 47% 1%, 54% 7%, 61% 2%, 68% 8%, 75% 2%, 82% 7%, 89% 1%, 95% 6%, 100% 3%, 100% 94%, 95% 99%, 89% 93%, 82% 98%, 75% 94%, 68% 100%, 61% 93%, 54% 99%, 47% 94%, 40% 99%, 33% 93%, 26% 98%, 19% 94%, 12% 99%, 6% 94%, 0 97%); }
.ep-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 160px; border: 2px dashed var(--ink); background: var(--paper-deep); text-align: center; filter: none; }
.ep-cta span { position: static; border: 0; background: none; font-family: Georgia, serif; font-size: 22px; padding: 0; }
.ep-cta em { font-size: 26px; font-style: normal; }

/* hosts */
.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.host { border: 2px solid var(--ink); background: #faf4e4; padding: 0 0 22px; }
.host img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; }
.host h3 { margin: 18px 22px 4px; font-family: Georgia, serif; font-size: 30px; }
.host .role { margin: 0 22px 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.host p:last-child { margin: 0 22px; font-size: 14.5px; }

/* press */
.quote { margin: 0 0 24px; padding: 26px 28px; background: var(--violet); color: var(--paper); transform: rotate(-.6deg); }
.quote p { margin: 0 0 10px; font-family: Georgia, serif; font-size: clamp(20px, 3vw, 30px); line-height: 1.25; font-style: italic; }
.quote cite { font-style: normal; font-size: 13.5px; opacity: .85; }
.presslist { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.presslist li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 2px solid var(--ink); font-size: 15px; flex-wrap: wrap; }
.presslist a { color: var(--ink); font-weight: 700; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.presslist span { color: #4c4234; }

/* footer */
.foot { background: var(--ink); color: var(--paper); text-align: center; padding: 56px 24px 40px; }
.foot-logo { width: 84px; height: 84px; object-fit: contain; }
.foot-tag { font-family: Georgia, serif; font-style: italic; font-size: 18px; margin: 12px 0 20px; }
.foot a { color: var(--lime); }
.foot-contact, .foot-social { margin: 6px 0; font-size: 15px; }
.foot-platforms { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 26px 0 18px; }
.foot-platforms a { color: var(--paper); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 0; }
.foot-platforms a:hover { color: var(--lime); }
.foot-small { font-size: 12.5px; opacity: .6; margin: 0; }

/* notes route */
.notes h3.sub { font-family: Georgia, serif; font-size: 24px; margin: 34px 0 12px; }
.ticklist { padding-left: 22px; max-width: 62ch; list-style: disc; }
.ticklist li { margin-bottom: 10px; font-size: 15.5px; }
.codeblock {
    background: var(--ink); color: #d8e9b8; padding: 20px; border-radius: 12px;
    font-size: 12.5px; line-height: 1.5; overflow-x: auto; white-space: pre; max-width: 100%;
    margin: 0 0 26px;
}
.notes .btn { margin-top: 8px; }

@media (max-width: 760px) {
    .hero { grid-template-columns: 1fr; padding-bottom: 96px; }
    .hero-photo { order: 2; }
    .cards3 { grid-template-columns: 1fr; }
    .ep-grid { grid-template-columns: 1fr 1fr; }
    .hosts { grid-template-columns: 1fr; }
    .mast { flex-direction: column; align-items: flex-start; gap: 6px; }
    .mast-nav { gap: 16px; }
}
@media (max-width: 480px) {
    .ep-grid { grid-template-columns: 1fr; }
}

/* ---------- RSS episodes ---------- */
.eplist { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.eplist li a { display: flex; align-items: baseline; gap: 16px; padding: 15px 4px; border-bottom: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.eplist li a:hover { background: var(--paper-deep); }
.ep-num { font-family: Georgia, serif; font-style: italic; color: var(--violet); min-width: 36px; font-size: 17px; }
.ep-title { flex: 1; font-family: Georgia, serif; font-weight: 700; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.15; }
.ep-meta { font-size: 13px; color: #4c4234; white-space: nowrap; }
.ep-more { margin-top: 22px; }

/* episode detail */
.epi .backlink { color: var(--violet); text-decoration: none; font-weight: 600; }
.epi-title { margin-bottom: 12px !important; }
.ep-facts { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; }
.pill { display: inline-block; background: var(--lime); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.epi audio { display: block; width: 100%; margin: 20px 0 26px; }
.epi-desc { max-width: 62ch; font-size: 16px; white-space: pre-line; }

@media (max-width: 640px) {
    .eplist li a { flex-wrap: wrap; gap: 4px 12px; }
    .ep-meta { width: 100%; padding-left: 48px; }
}

/* ---------- SEO update additions ---------- */
.h1-sub { display: block; font-size: clamp(.95rem, 2vw, 1.25rem); letter-spacing: .26em; text-transform: uppercase; color: var(--lime); margin-top: 14px; font-style: normal; font-weight: 700; }
.page-h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; margin: .15em 0 .5em; }
.body-copy { max-width: 58ch; line-height: 1.7; }
.ep-show { margin: .75rem 0 1.25rem; opacity: .85; }
