:root {
  --peach: #fdd099;
  --peach-deep: #f7bd7c;
  --cream: #fff6ea;
  --ink: #2b2118;
  --ink-soft: #5a4634;
  --honey: #e8902e;
  --leaf: #6f8f4e;
  --line: #e9b779;
  --radius: 22px;
  --hand: "Caveat", "Segoe Print", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--peach);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--honey); text-underline-offset: 3px; }
a:hover { color: #8a4f0f; }
h1, h2, h3 { font-family: var(--hand); font-weight: 700; line-height: 1.05; margin: 0 0 .4em; }
h1 { font-size: clamp(64px, 12vw, 116px); }
h2 { font-size: clamp(40px, 6vw, 56px); }
h3 { font-size: 32px; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 56px 0; }
.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 0 var(--line);
}
.lead { font-size: 20px; color: var(--ink-soft); }
.hand { font-family: var(--hand); font-size: 30px; line-height: 1.2; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 20px;
  background: color-mix(in srgb, var(--peach) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--hand); font-size: 34px; font-weight: 700; text-decoration: none; }
.brand img { border-radius: 9px; }
.top nav { display: flex; gap: 18px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.top nav a[aria-current="page"], .top nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 3px; }
.play-btn, .button {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.play-btn:hover, .button:hover { background: #4a3826; color: #fff; }
.button.light { background: var(--cream); color: var(--ink); box-shadow: 0 2px 0 var(--line); }

/* Hero */
.hero { padding: 40px 0 24px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; }
.hero .tagline { font-family: var(--hand); font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin-bottom: .6em; }
.hero .art { position: relative; justify-self: center; }
.hero .art .bear { width: 210px; display: block; position: relative; z-index: 1; }
.drop { position: absolute; width: 46px; animation: fall 3.2s linear infinite; opacity: 0; }
.drop.d1 { left: 4%; animation-delay: 0s; }
.drop.d2 { left: 72%; animation-delay: 1.1s; width: 40px; }
.drop.d3 { left: 38%; animation-delay: 2.2s; width: 34px; }
@keyframes fall {
  0% { transform: translateY(-60px); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(360px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .drop { display: none; } }
.badge img { width: 200px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.facts li { background: var(--cream); border-radius: 999px; padding: 4px 14px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }

/* Trailer */
.video { position: relative; aspect-ratio: 16 / 9; max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 2px 0 var(--line); }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.video button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video button span { position: relative; width: 84px; height: 84px; border-radius: 50%; background: rgba(43, 33, 24, .85); display: grid; place-items: center; }
.video button span::after { content: ""; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Steps / features */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step .num { font-family: var(--hand); font-size: 54px; line-height: 1; color: var(--honey); }
.step img { height: 46px; width: 46px; object-fit: contain; float: right; padding: 14px; box-sizing: content-box; background: var(--peach); border-radius: 50%; }

/* Cast */
.cast { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cast figure { margin: 0; text-align: center; }
.cast img { height: 230px; width: auto; display: block; margin: 0 auto 8px; }
.cast figcaption strong { font-family: var(--hand); font-size: 36px; display: block; }
.cast figcaption { font-size: 15.5px; color: var(--ink-soft); }

/* Screenshots */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots img { border-radius: 18px; box-shadow: 0 2px 0 var(--line); scroll-snap-align: start; width: 100%; }

/* Prose pages */
.prose h2 { margin-top: 1.2em; font-size: 44px; }
.prose h3 { margin-top: 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.meta { color: var(--ink-soft); font-size: 15px; }
.posts { list-style: none; padding: 0; display: grid; gap: 16px; }
.posts a { text-decoration: none; display: block; }
.posts h3 { margin-bottom: .2em; }
details { background: var(--cream); border-radius: 16px; padding: 14px 20px; margin-bottom: 12px; box-shadow: 0 2px 0 var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .7em 0 .2em; }
table.sheet { border-collapse: collapse; width: 100%; }
table.sheet th, table.sheet td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.sheet th { width: 34%; color: var(--ink-soft); font-weight: 600; }
.downloads { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.downloads a { display: block; text-align: center; font-size: 14px; text-decoration: none; }
.downloads img { border-radius: 14px; display: block; margin-bottom: 6px; }

.cta { text-align: center; }
.cta .bear-sm { height: 150px; width: auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; text-align: center; color: var(--ink-soft); font-size: 15px; }
footer .fine { font-size: 13px; opacity: .8; }
footer .social { display: flex; justify-content: center; gap: 12px; }
.social-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--ink); box-shadow: 0 2px 0 var(--line); transition: transform .15s; }
.social-icon:hover { transform: translateY(-2px); color: var(--ink); }
.social-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.social-btn { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 18px; color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; transition: transform .15s; }
.social-btn:hover { transform: translateY(-2px); color: #fff; }
.social-btn svg { width: 28px; height: 28px; flex: none; }
.social-btn.tiktok { background: #111; }
.social-btn.youtube { background: #e62117; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.social-btn.facebook { background: #1877f2; }
.social-btn.x { background: #000; }

@media (max-width: 760px) {
  .top { gap: 10px; padding: 8px 16px; flex-wrap: wrap; }
  .brand { font-size: 28px; }
  .top nav { order: 3; width: 100%; justify-content: space-between; margin: 0; gap: 8px; }
  .play-btn { margin-left: auto; padding: 8px 16px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .facts { justify-content: center; }
  .hero .art { order: -1; }
  .hero .art .bear { width: 130px; }
  section { padding: 40px 0; }
  .wrap { padding: 0 16px; }
  .card { padding: 22px; }
}
