:root {
  --cream: #fbf3e4;
  --sand: #f3dfb8;
  --terracotta: #c8643b;
  --fig: #4f6b2f;
  --ink: #3b2a20;
  --muted: #7a6352;
  --sun: #ffc93c;
  --card: #fffaf1;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(80, 45, 20, 0.12);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", "Segoe UI Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 243, 228, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ecd9b8;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.25rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--sun); }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 999px;
}
nav a:hover, nav a[aria-current="page"] { background: var(--sand); }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero img.bg { width: 100%; height: min(78vh, 640px); object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,20,10,0.55) 0%, rgba(40,20,10,0) 45%, rgba(251,243,228,0) 75%, var(--cream) 100%); }
.hero .text { position: absolute; z-index: 1; top: 0; left: 0; right: 0; text-align: center; padding: clamp(24px, 6vw, 64px) 16px; color: #fff; }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; letter-spacing: 0.5px; text-shadow: 0 4px 0 #2a1408, 0 8px 24px rgba(0,0,0,0.4); color: var(--sun); }
.hero p { margin: 12px auto 0; max-width: 620px; font-size: clamp(1rem, 2.4vw, 1.25rem); font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }

.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800;
  padding: 12px 22px; border-radius: 999px; background: var(--terracotta); color: #fff; box-shadow: var(--shadow);
}
.btn.alt { background: #fff; color: var(--ink); }
.btn:hover { transform: translateY(-1px); }

section { padding-block: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 6px; color: var(--fig); }
.lead { margin: 0 0 24px; color: var(--muted); font-size: 1.1rem; max-width: 720px; }

/* video facade */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video.short { aspect-ratio: 9 / 16; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button {
  position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; padding: 0;
}
.video button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(200, 100, 59, 0.92) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M8 5v14l11-7z"/></svg>') center / 40px no-repeat;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.video .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; color: #fff; font-weight: 800; background: linear-gradient(transparent, rgba(0,0,0,0.65)); pointer-events: none; }

.episode { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.episode h3 { margin: 0 0 8px; font-size: 1.6rem; }
.tag { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; margin-bottom: 10px; }

/* characters */
.cast { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.pup { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; padding-bottom: 18px; }
.pup img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pup h3 { margin: 12px 0 2px; font-size: 1.4rem; }
.pup .role { color: var(--terracotta); font-weight: 800; margin: 0 12px 8px; }
.pup p { margin: 0 14px; font-size: 0.97rem; }
.pup q { display: block; margin: 10px 14px 0; font-weight: 800; color: var(--fig); }

/* shorts */
.shorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }

/* parents */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.value { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.value h3 { margin: 6px 0; }
.value .icon { font-size: 2rem; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; }

.band { background: var(--sand); }
footer { background: #3b2a20; color: #f3dfb8; padding-block: 28px; font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { color: var(--sun); }

@media (max-width: 760px) {
  .episode { grid-template-columns: 1fr; }
  .hero img.bg { height: auto; aspect-ratio: 4 / 5; object-position: 45% 75%; }
  .hero p { font-size: 1rem; }
  nav { width: 100%; justify-content: space-between; }
  nav a { padding: 6px 8px; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }
