/* Too Old to Grow Up! — comic-book theme */
:root {
  --ink: #141414;
  --paper: #fff8e1;
  --panel: #ffffff;
  --red: #e3173e;
  --red-dark: #b50f2e;
  --yellow: #ffd23f;
  --blue: #1f6fd1;
  --green: #4f9e36;
  --muted: #5b5548;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 4px;
  --display: "Bangers", "Impact", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  --player-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--body);
  color: var(--ink);
  background-color: var(--paper);
  /* Comic sunburst: faint rays fanning out from above the page */
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255, 248, 225, 0) 0%, var(--paper) 75%),
    repeating-conic-gradient(from 0deg at 50% -20%, rgba(255, 196, 0, 0.16) 0deg 4deg, transparent 4deg 8deg);
  background-attachment: fixed;
  padding-bottom: var(--player-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--panel);
  border-bottom: var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.site-nav { margin-left: auto; display: flex; gap: 0.35rem; }
.site-nav a {
  font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none;
  padding: 0.2rem 0.8rem; border: 3px solid transparent; border-radius: var(--radius);
}
.site-nav a:hover { border-color: var(--ink); background: var(--yellow); }
.site-nav a[aria-current="page"] { background: var(--red); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; margin-left: auto; background: var(--yellow); border: var(--border); border-radius: var(--radius); font: 1.3rem var(--display); padding: 0.2rem 0.7rem; cursor: pointer; }
@media (max-width: 760px) {
  .brand img { height: 34px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--panel); border-bottom: var(--border); padding: 0.5rem 1rem 1rem; }
  .site-nav.open { display: flex; }
}

/* ---------- Building blocks ---------- */
.panel {
  background: var(--panel);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font: 1.35rem/1 var(--display); letter-spacing: 0.05em;
  padding: 0.65rem 1.2rem; color: var(--ink); background: var(--yellow);
  border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  text-decoration: none; cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.red { background: var(--red); color: #fff; }
.btn.white { background: #fff; }
.btn.small { font-size: 1.05rem; padding: 0.4rem 0.8rem; }
.btn svg { width: 1em; height: 1em; }

.tag {
  display: inline-block; font: 0.95rem var(--display); letter-spacing: 0.06em;
  background: var(--ink); color: #fff; padding: 0.15rem 0.55rem; border-radius: 2px;
}
.caption-box {
  display: inline-block; background: var(--yellow); border: var(--border);
  font: 1.15rem var(--display); letter-spacing: 0.05em; padding: 0.15rem 0.7rem;
  box-shadow: var(--shadow-sm); transform: rotate(-1.5deg);
}
.muted { color: var(--muted); }
section { padding: 3.5rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 2.5rem 0 1rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
.hero-art { padding: 1rem; transform: rotate(0.6deg); position: relative; }
.hero-art img { width: 100%; }
.hero-art .burst {
  position: absolute; top: -26px; right: -18px; width: 132px; height: 132px;
  display: grid; place-items: center; text-align: center;
  font: 1.25rem/1 var(--display); color: #fff; letter-spacing: 0.04em;
  background: var(--red); border: var(--border);
  clip-path: polygon(50% 0, 61% 18%, 82% 8%, 80% 30%, 100% 34%, 86% 50%, 100% 66%, 79% 70%, 82% 92%, 61% 82%, 50% 100%, 39% 82%, 18% 92%, 21% 70%, 0 66%, 14% 50%, 0 34%, 20% 30%, 18% 8%, 39% 18%);
  transform: rotate(10deg);
}
.hero h1 .accent { color: var(--red); -webkit-text-stroke: 1.5px var(--ink); text-shadow: 3px 3px 0 var(--ink); }
.hero .lede { font-size: 1.15rem; max-width: 36em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.5rem 0 1rem; }
.topics { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.topics li { font: 1.05rem var(--display); letter-spacing: 0.05em; border: 2px solid var(--ink); background: #fff; padding: 0.1rem 0.6rem; border-radius: 999px; }
.topics li:nth-child(3n+1) { background: var(--yellow); }
.topics li:nth-child(3n+2) { background: #ffe1e7; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .burst { width: 104px; height: 104px; font-size: 1rem; right: -6px; }
}

/* ---------- Video cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.vcard { display: block; text-decoration: none; color: inherit; overflow: hidden; transition: transform 0.1s, box-shadow 0.1s; }
.vcard:hover { color: inherit; transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.vcard .thumb { position: relative; aspect-ratio: 4 / 3; background: #222; border-bottom: var(--border); }
.vcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard .thumb .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: var(--red); border: var(--border); display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm);
}
.vcard .thumb .play svg { width: 26px; height: 26px; margin-left: 4px; }
.vcard .thumb .len { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.85); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 3px; }
.vcard .thumb .bar { position: absolute; left: 0; bottom: 0; height: 5px; background: var(--red); }
.vcard .body { padding: 1rem 1.1rem 1.2rem; }
.vcard h3 { font-size: 1.55rem; margin-bottom: 0.25rem; }
.vcard .meta { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 0.5rem; }
.vcard p { font-size: 0.95rem; margin: 0; }

/* ---------- Episode list (podcast) ---------- */
.ep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.ep {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  padding: 0.9rem 1.1rem; background: #fff; border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ep.playing { background: #fff4c2; box-shadow: 4px 4px 0 var(--red); }
.ep-play {
  width: 52px; height: 52px; border-radius: 50%; border: var(--border); background: var(--red); color: #fff;
  display: grid; place-items: center; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); flex-shrink: 0;
}
.ep-play:hover { background: var(--red-dark); }
.ep-play svg { width: 22px; height: 22px; }
.ep-play .i-pause { display: none; }
.ep.playing.is-playing .ep-play .i-play { display: none; }
.ep.playing.is-playing .ep-play .i-pause { display: block; }
.ep-num { font: 1rem var(--display); letter-spacing: 0.05em; color: var(--red-dark); }
.ep-title { font: 1.45rem/1.1 var(--display); letter-spacing: 0.03em; margin: 0.05rem 0 0.25rem; }
.ep-meta { font-size: 0.83rem; font-weight: 600; color: var(--muted); display: flex; gap: 0.8rem; flex-wrap: wrap; }
.ep-desc { font-size: 0.93rem; margin: 0.35rem 0 0; }
.ep-desc:empty { display: none; }
.ep-prog { height: 5px; background: #eee5c8; border-radius: 3px; overflow: hidden; margin-top: 0.5rem; max-width: 320px; }
.ep-prog span { display: block; height: 100%; background: var(--red); }
.ep-actions { display: flex; gap: 0.4rem; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: var(--radius);
  background: #fff; color: var(--ink); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--yellow); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.done-badge { font: 0.9rem var(--display); letter-spacing: 0.05em; background: var(--green); color: #fff; padding: 0 0.45rem; border-radius: 2px; }
@media (max-width: 600px) {
  .ep { grid-template-columns: auto 1fr; }
  .ep-actions { grid-column: 2; }
}

/* ---------- Hosts ---------- */
.hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.host { display: grid; grid-template-columns: 150px 1fr; gap: 1.25rem; padding: 1.25rem; align-items: center; }
.host .avatar { display: grid; place-items: end center; height: 230px; border-radius: 50% 50% var(--radius) var(--radius); background: repeating-conic-gradient(from 0deg at 50% 100%, #ffd23f 0deg 7deg, #ffe58a 7deg 14deg); border: 2px solid var(--ink); overflow: hidden; }
.host .avatar img { height: 216px; width: auto; }
.host .handle { font: 1.15rem var(--display); color: var(--red-dark); letter-spacing: 0.05em; }
.host p { font-size: 0.97rem; }
@media (max-width: 860px) { .hosts { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .host { grid-template-columns: 104px 1fr; } .host .avatar { height: 170px; } .host .avatar img { height: 160px; } }

/* ---------- Promo script ---------- */
.promo { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; }
.promo-card { padding: 1.25rem; text-align: center; position: sticky; top: 96px; }
.promo-card img { border: 2px solid var(--ink); margin-bottom: 1rem; }
.script { display: grid; gap: 0.8rem; }
.bubble {
  position: relative; max-width: 80%; background: #fff; border: var(--border); border-radius: 22px;
  padding: 0.7rem 1rem; font-size: 1rem; transition: background 0.2s, transform 0.2s;
}
.bubble b { font-family: var(--display); font-weight: 400; letter-spacing: 0.05em; font-size: 1.05rem; margin-right: 0.35rem; }
.bubble.art { justify-self: start; border-bottom-left-radius: 4px; }
.bubble.ken { justify-self: end; border-bottom-right-radius: 4px; background: #eef5ff; }
.bubble.art b { color: var(--red-dark); }
.bubble.ken b { color: var(--blue); }
.bubble.live { background: var(--yellow); transform: scale(1.02); }
@media (max-width: 860px) {
  .promo { grid-template-columns: 1fr; }
  .promo-card { position: static; max-width: 340px; }
  .bubble { max-width: 92%; }
}

/* ---------- Story teaser / CTA band ---------- */
.band { background: var(--red); border-block: var(--border); color: #fff; }
.band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.band h2 { color: #fff; text-shadow: 3px 3px 0 var(--ink); }
.band p { max-width: 46em; }
@media (max-width: 700px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #f2ecd9; padding: 2.5rem 0 3rem; margin-top: 2rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.site-footer .tagline { font: 1.6rem var(--display); letter-spacing: 0.04em; color: var(--yellow); margin: 0; }
.site-footer a { color: #fff; }
.site-footer small { color: #b9b29d; }

/* ---------- Watch page ---------- */
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.theater { overflow: hidden; }
.theater video { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 72vh; background: #000; }
.theater .info { padding: 1.1rem 1.3rem 1.3rem; border-top: var(--border); }
.theater h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 0.2rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.9rem; }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.seg button { border: 0; border-right: 2px solid var(--ink); background: #fff; font: 600 0.85rem var(--body); padding: 0.35rem 0.6rem; cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--red); }
.playlist { padding: 0.8rem; }
.playlist h2 { font-size: 1.7rem; margin: 0.2rem 0.3rem 0.7rem; }
.pl-item { display: grid; grid-template-columns: 120px 1fr; gap: 0.7rem; padding: 0.5rem; border-radius: var(--radius); text-decoration: none; color: inherit; border: 2px solid transparent; }
.pl-item:hover { background: #fff4c2; color: inherit; }
.pl-item[aria-current="true"] { border-color: var(--ink); background: var(--yellow); }
.pl-item .t { position: relative; aspect-ratio: 4/3; border: 2px solid var(--ink); background: #222; }
.pl-item .t img { width: 100%; height: 100%; object-fit: cover; }
.pl-item .t span { position: absolute; right: 3px; bottom: 3px; background: rgba(0,0,0,.85); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0 0.3rem; border-radius: 2px; }
.pl-item b { font: 1.15rem/1.1 var(--display); letter-spacing: 0.03em; display: block; font-weight: 400; }
.pl-item small { color: var(--muted); font-weight: 600; }
.notice { padding: 1rem 1.2rem; background: #fff4c2; border: 2px dashed var(--ink); border-radius: var(--radius); font-size: 0.95rem; }
@media (max-width: 960px) { .watch-grid { grid-template-columns: 1fr; } }

/* ---------- Listen page ---------- */
.listen-head { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; margin-bottom: 2rem; }
.listen-head img { border: var(--border); box-shadow: var(--shadow); background: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-bottom: 1.3rem; }
.search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 0.5rem; background: #fff;
  border: var(--border); border-radius: var(--radius); padding: 0 0.8rem; box-shadow: var(--shadow-sm);
}
.search input { border: 0; outline: 0; font: 1rem var(--body); padding: 0.7rem 0; width: 100%; background: transparent; }
.search svg { width: 18px; height: 18px; flex-shrink: 0; }
select.pick { font: 600 0.95rem var(--body); padding: 0.62rem 0.7rem; border: var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.count { font-weight: 700; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 640px) { .listen-head { grid-template-columns: 120px 1fr; gap: 1rem; } }

/* ---------- Sticky audio player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--panel); border-top: var(--border);
  box-shadow: 0 -4px 0 rgba(0,0,0,.08);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.player.show { transform: none; }
.player .wrap { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.7rem 0; }
.player .art { width: 56px; height: 56px; border: 2px solid var(--ink); }
.player .now { min-width: 0; }
.player .now b { display: block; font: 1.25rem/1.1 var(--display); letter-spacing: 0.03em; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .seek { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); margin-top: 0.25rem; }
.player input[type=range] { flex: 1; accent-color: var(--red); min-width: 60px; }
.player .ctrls { display: flex; align-items: center; gap: 0.4rem; }
.player .big { width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; border: var(--border); display: grid; place-items: center; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.player .big svg { width: 22px; height: 22px; }
.player .rate { font: 700 0.85rem var(--body); width: 52px; height: 40px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; cursor: pointer; }
.player .vol { width: 90px; }
@media (max-width: 760px) {
  .player .wrap { grid-template-columns: minmax(0, 1fr) auto; }
  .player .art, .player .vol, .player .hide-sm { display: none; }
}

/* ---------- Story page ---------- */
.story-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding: 1rem; }
.toc h2 { font-size: 1.6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.toc a { display: block; text-decoration: none; color: var(--ink); font-size: 0.9rem; padding: 0.3rem 0.5rem; border-radius: 3px; line-height: 1.3; }
.toc a:hover { background: #fff4c2; }
.toc a.active { background: var(--yellow); font-weight: 700; }
.toc a span { display: block; font: 0.85rem var(--display); letter-spacing: 0.05em; color: var(--red-dark); }
.book { padding: clamp(1.2rem, 4vw, 3rem); }
.book .cover { text-align: center; padding-bottom: 2rem; border-bottom: 3px dashed var(--ink); margin-bottom: 2rem; }
.book .cover img { margin: 0 auto 1rem; width: min(520px, 100%); }
.chapter { padding: 1.5rem 0 1rem; scroll-margin-top: 90px; }
.chapter + .chapter { border-top: 2px solid #eadfbd; }
.chapter .kicker { font: 1.1rem var(--display); letter-spacing: 0.08em; color: var(--red-dark); }
.chapter h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.chapter p { font-size: 1.06rem; line-height: 1.75; max-width: 42em; }
.chapter .script { margin: 1.5rem 0; }
.email { font-family: ui-monospace, Consolas, monospace; font-size: 0.88rem; background: #f7f3e6; border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1rem 0 1.5rem; overflow-wrap: anywhere; }
.email p { font-size: inherit; line-height: 1.55; }
.email p:last-child { margin: 0; }
.story-nav { display: none; }
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc ol { columns: 2; column-gap: 1rem; }
}
@media (max-width: 560px) { .toc ol { columns: 1; } }

.loading { padding: 2rem; text-align: center; font: 1.4rem var(--display); letter-spacing: 0.05em; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- In memory of Ken ---------- */
.dedication { padding: 0; margin: 1.5rem 0 0; background: var(--ink); color: #f4eedb; border-block: var(--border); }
.dedication .wrap { display: grid; grid-template-columns: 84px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; }
.dedication img { width: 84px; height: 120px; object-fit: contain; object-position: bottom; background: repeating-conic-gradient(from 0deg at 50% 100%, #ffd23f 0deg 9deg, #ffe58a 9deg 18deg); border: 3px solid #fff; border-radius: 42px 42px var(--radius) var(--radius); padding: 6px 4px 0; }
.dedication .tag { background: var(--yellow); color: var(--ink); }
.dedication h2 { color: #fff; margin: 0.35rem 0 0.3rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.dedication p { margin: 0; max-width: 52em; }
@media (max-width: 760px) { .dedication .wrap { grid-template-columns: 64px 1fr; } .dedication img { width: 64px; height: 92px; } .dedication .btn { grid-column: 1 / -1; justify-self: start; } }

.memorial-hero { padding: 3rem 0 1rem; }
.memorial-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: center; }
.memorial-portrait { margin: 0; padding: 1.4rem 1rem 0.8rem; transform: rotate(-1deg); background: repeating-conic-gradient(from 0deg at 50% 100%, #ffd23f 0deg 6deg, #ffe58a 6deg 12deg); }
.memorial-portrait img { height: 340px; width: auto; margin: 0 auto; }
.memorial-portrait figcaption { font: 1.2rem var(--display); letter-spacing: 0.05em; text-align: center; margin-top: 0.5rem; }
.memorial-hero .dates { font: 1.6rem var(--display); letter-spacing: 0.05em; color: var(--red-dark); margin: -0.2rem 0 0.8rem; }
.memorial-hero .lede { font-size: 1.2rem; max-width: 34em; }
.memorial-body { padding-top: 1.5rem; }
.memorial-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.memorial-text { padding: clamp(1.3rem, 4vw, 2.6rem); }
.memorial-text h2 { margin-top: 0.4rem; }
.memorial-text p { font-size: 1.06rem; line-height: 1.75; max-width: 42em; }
.memorial-text h2 + p { margin-top: 0.5rem; }
.memorial-text p + h2 { margin-top: 2rem; }
.memorial-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 0.8rem; }
.small-print { font-size: 0.9rem !important; }
.memorial-side { display: grid; gap: 1.3rem; position: sticky; top: 96px; }
.memorial-card { padding: 1.1rem 1.2rem 1.3rem; }
.memorial-card h3 { margin-bottom: 0.3rem; }
.memorial-card p { font-size: 0.95rem; }
.memorial-sign { font: 1.4rem/1.2 var(--display); letter-spacing: 0.04em; text-align: center; margin: 0.5rem 0 0; }
.memorial-sign b { color: var(--red); font-weight: 400; display: block; }
@media (max-width: 900px) {
  .memorial-grid, .memorial-cols { grid-template-columns: 1fr; }
  .memorial-portrait { max-width: 240px; }
  .memorial-side { position: static; }
}
@media (max-width: 1000px) and (min-width: 761px) { .site-nav a { font-size: 1.1rem; padding: 0.2rem 0.5rem; } }
