/* I Want That Media Group: public site styles.
   Colours and fonts come from /theme.css (Admin > Settings > Appearance). */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:root { --head-h: 4.75rem; --ease: cubic-bezier(.2, .8, .2, 1); --focus: var(--accent-text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.wrap--narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--accent-light); color: var(--on-accent-light); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Type helpers ---------- */
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 38rem; }
.section--dark .lead { color: inherit; opacity: .85; }
.empty { color: var(--muted); font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-radius: min(999px, calc(var(--radius) * 6));
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: var(--btn-radius); border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--sm { padding: .65rem 1.2rem; font-size: .95rem; }
.btn--solid { background: var(--primary); color: var(--on-primary); }
.btn--solid:hover { background: var(--primary-deep); }
.btn--light { background: var(--accent-light); color: var(--on-accent-light); }
.btn--light:hover { background: var(--accent-pale); }
.btn--ghost { border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; }
.btn--ghost:hover { border-color: currentColor; }
.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--bg); }
.textlink { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: .3em; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--primary); color: var(--on-primary); box-shadow: 0 1px 0 color-mix(in srgb, var(--on-primary) 12%, transparent); }
.site-head :focus-visible, .section--dark :focus-visible, .hero :focus-visible, .site-foot :focus-visible, .player :focus-visible { --focus: var(--accent-light); outline-color: var(--accent-light); }
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--head-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
   .brand__logo { box-sizing: content-box; height: 4.75rem; width: auto; padding-block: 20px; }
   :root:has(.brand__logo) { --head-h: calc(4.75rem + 40px); }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.wordmark strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.wordmark span { font-size: .8rem; font-weight: 500; letter-spacing: .12em; opacity: .8; margin-top: .25rem; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.site-nav__list { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-nav__list a { text-decoration: none; font-weight: 500; padding-block: .4rem; border-bottom: 2px solid transparent; }
.site-nav__list a:hover { border-bottom-color: color-mix(in srgb, currentColor 55%, transparent); }
.site-nav__list a[aria-current="page"] { border-bottom-color: var(--accent-on-primary); }
.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; background: transparent; color: inherit; border: 2px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: var(--radius); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1.2rem; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s, opacity .2s; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  html.js .nav-toggle { display: inline-flex; }
  .site-nav { width: 100%; padding-bottom: 1rem; }
  .site-nav__list { width: 100%; flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding-block: .85rem; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
  html.js .site-nav { display: none; }
  html.js .site-nav[data-open] { display: flex; flex-direction: column; align-items: stretch; }
  html.js .site-head__inner { flex-wrap: wrap; }
  html.js .site-nav { order: 3; }
  .site-nav .btn { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--primary); color: var(--on-primary); min-height: calc(100svh - var(--head-h)); display: grid; align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero__shade { position: absolute; inset: 0; background: var(--primary); opacity: 0; z-index: -2; }
.hero__bg ~ .hero__shade { opacity: .78; }
.hero__stage { position: relative; }
.hero__wave { position: absolute; top: .06em; right: 0; width: 36%; height: calc(var(--hero-size) * 1.74); display: flex; align-items: center; font-size: 1rem; }
.hero__wave .wave { width: 100%; height: 100%; }
.wave rect { fill: var(--accent-on-primary); transform-box: fill-box; transform-origin: center; }
.wave rect:nth-child(4n) { fill: var(--accent-light); opacity: .7; }
.hero__inner { position: relative; container-type: inline-size; --hero-size: min(9vw, 10.5rem); }
@supports (width: 1cqw) { .hero__inner { --hero-size: min(12cqw, 10.5rem); } }
.hero__title { margin: 0; font-weight: 800; font-size: var(--hero-size); line-height: .92; letter-spacing: -0.035em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__line > span { display: inline-block; white-space: nowrap; }
.hero__line--2 > span { color: transparent; -webkit-text-stroke: 2px var(--accent-on-primary); paint-order: stroke fill; }
.hero__line--3 > span { color: var(--accent-on-primary); }
@supports not (-webkit-text-stroke: 1px) { .hero__line--2 > span { color: var(--accent-light); } }
.hero__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.75rem 3rem; margin-top: clamp(2rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .2); border-top-color: color-mix(in srgb, var(--on-primary) 24%, transparent); }
.hero__sub { max-width: 34rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
@media (max-width: 700px) { .hero__line--2 > span { -webkit-text-stroke-width: 1.5px; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__line > span { animation: rise .95s var(--ease) both; }
  .hero__line--2 > span { animation-delay: .12s; }
  .hero__line--3 > span { animation-delay: .24s; }
  .hero__wave .wave rect { animation: bar 1s var(--ease) both; }
  .hero__foot { animation: fade .8s ease .7s both; }
}
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes bar { from { transform: scaleY(0); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--dark { background: var(--primary); color: var(--on-primary); }
.section--tint { background: var(--surface); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head .h2 { margin: 0; }

/* Services list (home) */
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.services__lead { position: sticky; top: 7rem; }
.services__lead .btn { margin-top: .75rem; }
.svc-list { border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.25rem; align-items: center; padding: 1.5rem 1.25rem; border-top: 1px solid var(--line); text-decoration: none; transition: background-color .2s, color .2s; border-radius: 0; }
.svc__icon { width: 2.25rem; height: 2.25rem; color: var(--accent-text); transition: transform .25s var(--ease), color .2s; }
.svc__text { display: block; }
.svc__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; }
.svc__sum { display: block; margin-top: .3rem; color: var(--muted); max-width: 34rem; transition: color .2s; }
.svc:hover, .svc:focus-visible { background: var(--primary); color: var(--on-primary); }
.svc:hover .svc__sum, .svc:focus-visible .svc__sum { color: inherit; opacity: .85; }
.svc:hover .svc__icon, .svc:focus-visible .svc__icon { color: var(--accent-on-primary); transform: scale(1.12) rotate(-4deg); }
@media (max-width: 899px) { .services__grid { grid-template-columns: 1fr; } .services__lead { position: static; } }

/* Services page */
.svc-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block--flip .svc-block__media { order: 2; }
.svc-block__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; container-type: inline-size; background: var(--surface); }
.svc-block__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-block__art { position: absolute; inset: 0; display: grid; place-items: center; }
.svc-block__icon { width: 34cqw; height: 34cqw; stroke-width: 1.2; }
.svc-block__text .btn { margin-top: .75rem; }
.svc-block__text p { max-width: 38rem; }
@media (max-width: 799px) { .svc-block { grid-template-columns: 1fr; } .svc-block--flip .svc-block__media { order: 0; } }

/* ---------- Placeholder art (no image uploaded) ---------- */
.tile__media, .card__media { container-type: inline-size; }
.art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.art__mark { font-family: var(--font-display); font-weight: 800; font-size: 46cqw; line-height: 1; letter-spacing: -0.05em; }
.art--0 { background: var(--accent); color: var(--primary); }
.art--1 { background: radial-gradient(120% 90% at 85% 10%, var(--accent) 0, transparent 55%), var(--primary-soft); color: var(--accent-on-primary); }
.art--2 { background: var(--accent-light); color: var(--primary); }
.art--3 { background: repeating-linear-gradient(135deg, var(--primary-deep) 0 14px, var(--primary) 14px 28px); color: var(--accent-on-primary); }
.art--4 { background: linear-gradient(140deg, var(--primary) 10%, var(--accent) 120%); color: var(--on-primary); }
.art--0 .art__mark, .art--2 .art__mark { opacity: .9; }

/* ---------- Play tiles ---------- */
.tile { display: block; color: inherit; text-decoration: none; }
.tile__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--primary-soft); }
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: scale(1.05); }
.tile__badge { position: absolute; top: .75rem; left: .75rem; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem .3rem .5rem; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.2; }
.tile__badge .icon { width: 1.05rem; height: 1.05rem; }
.tile__play { position: absolute; left: 1rem; bottom: 1rem; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-light); color: var(--on-accent-light); transition: transform .25s var(--ease), background-color .2s; }
.tile__play .icon { width: 1.3rem; height: 1.3rem; margin-left: .12rem; }
.tile:hover .tile__play, .tile:focus-visible .tile__play { transform: scale(1.12); background: var(--accent-pale); }
.tile__body { display: block; padding-top: .9rem; }
.tile__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.015em; }
.tile:hover .tile__title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.tile__meta { display: flex; gap: 0; margin-top: .35rem; font-size: .9rem; color: var(--muted); }
.section--dark .tile__meta { color: inherit; opacity: .78; }
.tile__meta span + span::before { content: ""; display: inline-block; width: 1px; height: .85em; background: currentColor; opacity: .45; margin: 0 .8rem; vertical-align: -.08em; }
.tile--large .tile__play { left: 50%; bottom: auto; top: 50%; width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; }
.tile--large .tile__play .icon { width: 1.9rem; height: 1.9rem; }
.tile--large .tile__title { font-size: 1.5rem; }
.embed-block { margin-block: 2.25rem; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 27rem); gap: 1.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: .5rem max(1.25rem, calc(50vw - 620px + 3rem)) 1.5rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.rail__item { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -3px; }

/* Grids */
.grid { display: grid; gap: 3rem 1.75rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); }

/* ---------- Article cards ---------- */
.card__link { display: block; text-decoration: none; color: inherit; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__link:hover .card__media img, .card__link:focus-visible .card__media img { transform: scale(1.04); }
.card__body { display: block; }
.card__cat { display: block; margin-top: 1rem; color: var(--accent-text); font-weight: 600; font-size: .92rem; }
.card__title { display: block; margin-top: .3rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.18; letter-spacing: -0.015em; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.card__excerpt { display: block; margin-top: .55rem; color: var(--muted); font-size: 1rem; }
.card__date { display: block; margin-top: .7rem; color: var(--muted); font-size: .88rem; }
.notes__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.card--feature .card__media { aspect-ratio: 16 / 10; }
.card--feature .card__title { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; }
.card--feature .card__excerpt { font-size: 1.1rem; max-width: 40rem; }
.notes__side { display: grid; gap: 1.75rem; }
.notes__side .card__link { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.notes__side .card__media { aspect-ratio: 1; }
.notes__side .card__cat { margin-top: 0; }
.notes__side .card__excerpt { display: none; }
.notes__side .card__title { font-size: 1.2rem; }
@media (max-width: 899px) { .notes__grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .notes__side .card__link { grid-template-columns: 6.5rem minmax(0, 1fr); } }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.chip { padding: .5rem 1.1rem; border: 1.5px solid var(--muted); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.chip:hover { border-color: var(--text); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.pager { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 3.5rem; }
.pager__now { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { background: var(--accent-light); color: var(--on-accent-light); padding-block: clamp(3.5rem, 8vw, 7rem); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.cta__title { margin: 0; font-size: clamp(2.3rem, 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.cta__side p { font-size: 1.15rem; max-width: 26rem; }
@media (max-width: 799px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--primary-deep); color: var(--on-primary); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.site-foot__sign { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6.4vw, 5.5rem); line-height: 1; letter-spacing: -0.035em; color: var(--accent-on-primary); margin: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.site-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2.5rem; }
.site-foot__h { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: .9rem; }
.site-foot li { margin-bottom: .5rem; }
.site-foot a { text-decoration: none; opacity: .88; }
.site-foot a:hover { opacity: 1; text-decoration: underline; }
.site-foot__addr { opacity: .88; }
.social { display: flex; gap: .9rem; margin-top: 1.25rem; }
.social li { margin: 0; }
.social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1.5px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 50%; }
.social .icon { width: 1.25rem; height: 1.25rem; }
.site-foot__legal { margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); font-size: .92rem; opacity: .8; }

/* ---------- Interior pages ---------- */
.page-head { background: var(--primary); color: var(--on-primary); padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 5rem); }
.page-head__title { margin: 0; font-size: clamp(2.6rem, 7.5vw, 6rem); font-weight: 800; letter-spacing: -0.035em; line-height: .98; }
.page-head__lead { margin: 1.25rem 0 0; max-width: 40rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem); opacity: .88; }
.error-page { padding-block: 5rem; }

/* Article */
.article__head { padding-top: clamp(2.5rem, 6vw, 5rem); }
.article__cat { display: inline-block; color: var(--accent-text); font-weight: 700; text-decoration: none; margin-bottom: .75rem; }
.article__title { font-size: clamp(2.2rem, 5.6vw, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.article__meta { display: flex; flex-wrap: wrap; color: var(--muted); font-size: .95rem; margin: 1.25rem 0 0; }
.article__meta span + span::before, .episode__meta span + span::before { content: ""; display: inline-block; width: 1px; height: .85em; background: currentColor; opacity: .45; margin: 0 .85rem; vertical-align: -.08em; }
.article__hero { margin-block: clamp(1.75rem, 4vw, 3rem) 0; }
.article__hero img { width: 100%; max-height: 36rem; object-fit: cover; border-radius: var(--radius); }
.prose { font-size: 1.16rem; line-height: 1.75; padding-block: clamp(1.75rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem); }
.prose > * { max-width: 68ch; }
.prose__lead { font-size: 1.4rem; line-height: 1.5; color: var(--muted); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 2.2em; font-weight: 700; }
.prose h3 { font-size: 1.4rem; margin-top: 1.8em; font-weight: 700; }
.prose a { color: var(--accent-text); font-weight: 500; text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 2em 0; padding: .25em 0 .25em 1.4rem; border-left: 4px solid var(--accent); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.01em; }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose code, .prose pre { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; background: var(--surface); border-radius: 4px; }
.prose code { padding: .1em .35em; }
.prose pre { padding: 1rem; overflow-x: auto; }
.articleimage { margin: 2.25rem auto; max-width: 100%; }
.articleimage img { width: 100%; border-radius: var(--radius); }
.articleimage figcaption { margin-top: .6rem; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.articleimage--wide { max-width: none; width: min(1100px, calc(100vw - 2.5rem)); position: relative; left: 50%; transform: translateX(-50%); }
@media (min-width: 900px) {
  .articleimage--left { float: left; width: 46%; margin: .4rem 2rem 1rem -6%; }
  .articleimage--right { float: right; width: 46%; margin: .4rem -6% 1rem 2rem; }
}
.prose::after { content: ""; display: block; clear: both; }

/* Episode page */
.episode { padding-block: clamp(2.5rem, 6vw, 5rem); }
.episode__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.episode__player .tile__body { display: none; }
.episode__meta { display: flex; flex-wrap: wrap; color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.episode__title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.episode .prose { padding-block: 0 2rem; font-size: 1.1rem; }
@media (max-width: 899px) { .episode__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__list { display: grid; gap: 1rem; margin: 1.25rem 0 1.75rem; }
.contact__list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact__list .icon { width: 1.4rem; height: 1.4rem; margin-top: .2rem; color: var(--accent-text); flex: none; }
.contact__note { color: var(--muted); font-size: .95rem; max-width: 24rem; }
.form { display: grid; gap: 1.4rem; }
.field label { display: block; font-weight: 600; margin-bottom: .45rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .9rem 1rem; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--muted); border-radius: var(--radius); }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-text); outline-offset: 1px; border-color: var(--text); }
.field [aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.field__error { color: var(--danger); font-weight: 500; margin: .45rem 0 0; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1.25rem 1.4rem; border-radius: var(--radius); border-left: 5px solid var(--accent); background: var(--accent-pale); }
.notice:focus { outline: none; }
.notice--error { border-left-color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--bg)); color: var(--text); font-weight: 500; }
.notice .h3 { margin-bottom: .4rem; }
@media (max-width: 899px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Player pop-up: 50% #000000 backdrop ---------- */
body.has-player { overflow: hidden; }
.player { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(.75rem, 3vw, 2rem); background: rgba(0, 0, 0, 0.5); overflow-y: auto; }
.player[hidden] { display: none; }
.player__panel { width: min(100%, 64rem); background: var(--primary); color: var(--on-primary); border-radius: var(--radius); overflow: hidden; }
.player__panel--audio { width: min(100%, 42rem); }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .75rem .75rem 1.25rem; }
.player__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player__close { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.player__close:hover { background: color-mix(in srgb, currentColor 16%, transparent); }
.player__close .icon { width: 1.4rem; height: 1.4rem; }
.player__stage { position: relative; background: #000; }
.player__stage--video { aspect-ratio: 16 / 9; }
.player__stage--h232 { height: 232px; }
.player__stage--h352 { height: 352px; }
.player__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: no-preference) {
  .player:not([hidden]) { animation: fade .18s ease both; }
  .player:not([hidden]) .player__panel { animation: pop .24s var(--ease) both; }
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* Waveform stagger (one delay per bar; CSP forbids inline style attributes) */
@media (prefers-reduced-motion: no-preference) {
  .wave rect:nth-child(1) { animation-delay: 196ms; }
  .wave rect:nth-child(2) { animation-delay: 212ms; }
  .wave rect:nth-child(3) { animation-delay: 228ms; }
  .wave rect:nth-child(4) { animation-delay: 244ms; }
  .wave rect:nth-child(5) { animation-delay: 260ms; }
  .wave rect:nth-child(6) { animation-delay: 276ms; }
  .wave rect:nth-child(7) { animation-delay: 292ms; }
  .wave rect:nth-child(8) { animation-delay: 308ms; }
  .wave rect:nth-child(9) { animation-delay: 324ms; }
  .wave rect:nth-child(10) { animation-delay: 340ms; }
  .wave rect:nth-child(11) { animation-delay: 356ms; }
  .wave rect:nth-child(12) { animation-delay: 372ms; }
  .wave rect:nth-child(13) { animation-delay: 388ms; }
  .wave rect:nth-child(14) { animation-delay: 404ms; }
  .wave rect:nth-child(15) { animation-delay: 420ms; }
  .wave rect:nth-child(16) { animation-delay: 436ms; }
  .wave rect:nth-child(17) { animation-delay: 452ms; }
  .wave rect:nth-child(18) { animation-delay: 468ms; }
  .wave rect:nth-child(19) { animation-delay: 484ms; }
  .wave rect:nth-child(20) { animation-delay: 500ms; }
  .wave rect:nth-child(21) { animation-delay: 516ms; }
  .wave rect:nth-child(22) { animation-delay: 532ms; }
  .wave rect:nth-child(23) { animation-delay: 548ms; }
  .wave rect:nth-child(24) { animation-delay: 564ms; }
  .wave rect:nth-child(25) { animation-delay: 580ms; }
  .wave rect:nth-child(26) { animation-delay: 596ms; }
  .wave rect:nth-child(27) { animation-delay: 612ms; }
  .wave rect:nth-child(28) { animation-delay: 628ms; }
  .wave rect:nth-child(29) { animation-delay: 644ms; }
  .wave rect:nth-child(30) { animation-delay: 660ms; }
  .wave rect:nth-child(31) { animation-delay: 676ms; }
  .wave rect:nth-child(32) { animation-delay: 692ms; }
  .wave rect:nth-child(33) { animation-delay: 708ms; }
  .wave rect:nth-child(34) { animation-delay: 724ms; }
  .wave rect:nth-child(35) { animation-delay: 740ms; }
  .wave rect:nth-child(36) { animation-delay: 756ms; }
  .wave rect:nth-child(37) { animation-delay: 772ms; }
  .wave rect:nth-child(38) { animation-delay: 788ms; }
  .wave rect:nth-child(39) { animation-delay: 804ms; }
  .wave rect:nth-child(40) { animation-delay: 820ms; }
  .wave rect:nth-child(41) { animation-delay: 836ms; }
  .wave rect:nth-child(42) { animation-delay: 852ms; }
  .wave rect:nth-child(43) { animation-delay: 868ms; }
  .wave rect:nth-child(44) { animation-delay: 884ms; }
  .wave rect:nth-child(45) { animation-delay: 900ms; }
  .wave rect:nth-child(46) { animation-delay: 916ms; }
  .wave rect:nth-child(47) { animation-delay: 932ms; }
  .wave rect:nth-child(48) { animation-delay: 948ms; }
}
