@font-face { font-family: "Atma"; src: url("assets/fonts/Atma-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atma"; src: url("assets/fonts/Atma-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #fffaf0;
  --bg-2: #f3f9e8;
  --ink: #1f2340;
  --ink-2: #4a4f6a;
  --lime: #8fcf3c;
  --lime-d: #5e9a1c;
  --purple: #7b2ff2;
  --purple-d: #5a17c4;
  --yt: #e62117;
  --card: #ffffff;
  --line: #e9e3d3;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(31, 35, 64, .08);
  --head: "Atma", "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: ui-rounded, "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-d); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .2px; }
h2 { font-size: clamp(32px, 4.4vw, 46px); }
h3 { font-size: 23px; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.section { max-width: 1160px; margin: 0 auto; padding: 88px 20px; }
.eyebrow { font-family: var(--head); font-weight: 600; color: var(--lime-d); text-transform: uppercase; letter-spacing: 1.5px; font-size: 15px; margin-bottom: 8px; }
.sub { max-width: 640px; margin: 0 auto 36px; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--head); text-decoration: none; color: #fff; background: var(--purple); padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 6px 0 var(--purple-d); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--purple-d); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--purple-d); }
.btn-yt { background: var(--yt); box-shadow: 0 6px 0 #a3150e; }
.btn-yt:hover { box-shadow: 0 8px 0 #a3150e; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 6px 0 var(--line); }
.btn-ghost:hover { box-shadow: 0 8px 0 var(--line); }
.btn-small { padding: 10px 18px; font-size: 16px; box-shadow: 0 4px 0 #a3150e; }

.pill { display: inline-block; font: 600 15px/1 var(--head); background: var(--purple); color: #fff; padding: 9px 16px; border-radius: 999px; margin-bottom: 18px; }
.pill-dark { background: var(--ink); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1160px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 24px/1 var(--head); }
.brand b { color: var(--lime-d); }
.brand img { border-radius: 12px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.nav a:not(.btn):hover { color: var(--purple); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 3px; position: relative; margin: 0 auto; transition: .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -8px; } .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; justify-content: flex-end; padding: 40px max(20px, calc((100vw - 1160px) / 2 + 20px)); overflow: hidden; }
.hero picture, .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { object-fit: cover; object-position: 22% 70%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); }
.hero-card { position: relative; z-index: 1; max-width: 560px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); border-radius: 28px; padding: 36px 36px 32px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); }
.hl { color: var(--lime-d); }
.lead { font-size: 19px; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* Facts */
.facts { max-width: 1160px; margin: -40px auto 0; padding: 0 20px; position: relative; z-index: 2; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts li { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.facts .ico { font-size: 30px; }
.facts b { font-family: var(--head); font-size: 20px; }
.facts li span:last-child { color: var(--ink-2); font-size: 16px; line-height: 1.4; }

/* Our story */
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.story-art { margin: 0; background: var(--bg-2); border-radius: 32px; padding: 24px 24px 12px; text-align: center; }
.story-art img { margin: 0 auto; max-height: 560px; width: auto; }
.story-art figcaption { font-size: 15px; color: var(--ink-2); padding-top: 8px; }
.story-art.scene { padding: 0 0 12px; overflow: hidden; box-shadow: var(--shadow); }
.story-art.scene img { width: 100%; max-height: none; }
.story-art.scene figcaption { padding: 12px 18px 0; }
.note { font-size: 15px; color: var(--ink-2); border-left: 4px solid var(--lime); padding-left: 14px; }

/* How it's made */
.make { padding-top: 40px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 26px 22px; overflow: hidden; }
.steps li:has(img) { padding-top: 0; }
.steps img { display: block; width: calc(100% + 44px); max-width: none; margin: 0 -22px; aspect-ratio: 4 / 3; object-fit: cover; }
.steps img + .num { position: relative; margin-top: -24px; border: 4px solid #fff; box-sizing: content-box; }
.steps p { color: var(--ink-2); font-size: 16px; margin: 0; }
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: #fff; font: 700 22px/1 var(--head); margin-bottom: 14px; }

/* Learn */
.learn-box { background: linear-gradient(135deg, #2a1a5e, var(--purple)); color: #fff; border-radius: 36px; padding: 56px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; position: relative; overflow: hidden; }
.learn-box .eyebrow { color: #c9f08f; }
.learn-intro p { color: #e8e2ff; }
.learn-intro strong { color: #fff; }
.learn-art { width: 100%; margin-top: 18px; border-radius: 24px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.tips { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 14px; }
.tips li { counter-increment: t; background: rgba(255, 255, 255, .1); border-radius: 18px; padding: 16px 18px 16px 64px; position: relative; color: #ece8ff; font-size: 17px; }
.tips li::before { content: counter(t); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: #1f2340; display: grid; place-items: center; font: 700 18px/1 var(--head); }
.tips b { color: #fff; }

/* Family */
.cast { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cast li { background: var(--card); border-radius: var(--radius); padding: 0 0 24px; overflow: hidden; box-shadow: var(--shadow); border-top: 8px solid var(--accent, var(--lime)); }
.cast li > :not(img) { margin-left: 24px; margin-right: 24px; }
.cast img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--tint, var(--bg-2)); margin-bottom: 16px; }
.cast h3 { margin-bottom: 2px; }
.role { font-family: var(--head); font-weight: 600; color: var(--accent, var(--lime-d)); margin-bottom: 8px; }
.cast p:last-child { color: var(--ink-2); font-size: 16px; margin-top: 0; margin-bottom: 0; }
.c-green { --accent: #2f9e6a; --tint: #e3f5ec; }
.c-lime { --accent: #6aa922; --tint: #eef8df; }
.c-blue { --accent: #3d7fd6; --tint: #e5effc; }
.c-cream { --accent: #b07a3a; --tint: #f7ecdd; }
.c-gray { --accent: #5d6a8a; --tint: #e8ebf3; }
.c-yellow { --accent: #d98b00; --tint: #fff2cf; }

/* Stories */
.featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; background: var(--card); border-radius: 28px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 36px; }
.yt-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt-facade:hover img { transform: scale(1.03); }
.play { position: absolute; left: 50%; top: 50%; width: 84px; height: 60px; transform: translate(-50%, -50%); background: var(--yt); border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.play::after { content: ""; position: absolute; left: 34px; top: 17px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.featured iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; display: block; }
.tag { display: inline-block; background: var(--lime); color: #1f2340; font: 700 14px/1 var(--head); padding: 7px 12px; border-radius: 999px; margin-bottom: 10px; }
.featured h3 { font-size: 32px; }
.featured-text p { color: var(--ink-2); }
.small { font-size: 14px; }
.story-grid-cards { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.story-grid-cards a { display: block; height: 100%; background: var(--card); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; }
.story-grid-cards a:hover { transform: translateY(-4px); }
.story-grid-cards img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.story-grid-cards h3 { font-size: 21px; margin: 16px 18px 6px; }
.story-grid-cards p { font-size: 15px; color: var(--ink-2); margin: 0 18px 18px; line-height: 1.5; }

/* Merch */
.merch-box { background: var(--bg-2); border: 3px dashed #b9df85; border-radius: 36px; padding: 48px; display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.merch-art { width: 260px; border-radius: 24px; }
.merch-box p { color: var(--ink-2); max-width: 560px; }

/* FAQ */
.faq { max-width: 820px; padding-top: 20px; }
.faq h2 { margin-bottom: 28px; }
details { background: var(--card); border-radius: 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 20px 24px; font: 700 20px/1.3 var(--head); list-style: none; position: relative; padding-right: 56px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--purple); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 24px 20px; margin: 0; color: var(--ink-2); }

/* Footer */
.footer { background: var(--ink); color: #c9cbe0; margin-top: 60px; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 44px 20px; display: grid; grid-template-columns: auto 1fr; gap: 16px 32px; align-items: center; }
.footer .brand { color: #fff; }
.footer .brand b { color: var(--lime); }
.footer nav { display: flex; gap: 22px; justify-content: flex-end; flex-wrap: wrap; }
.footer nav a { color: #fff; text-decoration: none; font-weight: 700; }
.fine { grid-column: 1 / -1; font-size: 14px; margin: 0; border-top: 1px solid #353a5e; padding-top: 18px; }

/* About page */
.page-head { padding-bottom: 24px; }
.page-head > * { max-width: 860px; }
.page-head { padding-top: 56px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 14px; }
.crumbs { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--purple); font-weight: 700; text-decoration: none; }
.page-head + .about-intro { padding-top: 8px; }
.about-intro { padding-top: 24px; }
.about-real, .about-why, .about-promise { max-width: 900px; padding-top: 24px; padding-bottom: 24px; }
.about-why p { color: var(--ink-2); }
.about-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.about-list li { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 22px; color: var(--ink-2); }
.about-list b { color: var(--ink); }
.contact { padding-top: 40px; }
.contact-box { background: var(--bg-2); border: 3px dashed #b9df85; border-radius: 36px; padding: 40px; display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.contact-box img { width: 200px; border-radius: 24px; }
.contact-box p { color: var(--ink-2); }

/* Responsive */
@media (max-width: 700px) {
  .contact-box { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; }
  .contact-box img { margin: 0 auto; width: 180px; }
}
@media (max-width: 980px) {
  .facts ul, .steps { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .learn-box, .featured { grid-template-columns: 1fr; }
  .story-art img { max-height: 420px; }
  .story-art.scene { max-width: 520px; width: 100%; margin: 0 auto; }
  .story-art.scene img { max-height: none; }
  .cast { grid-template-columns: repeat(2, 1fr); }
  .learn-box { padding: 40px 28px; gap: 28px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .btn { margin-top: 14px; justify-content: center; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .section { padding: 64px 16px; }
  .hero { display: block; min-height: auto; padding: 0 0 64px; }
  .hero picture { position: relative; display: block; height: 300px; }
  .hero-bg { position: static; height: 300px; object-position: 24% 88%; }
  .hero::after { display: none; }
  .hero-card { margin: -48px 16px 0; padding: 26px 22px; background: #fff; }
  .facts { padding: 0 16px; }
  .facts ul { gap: 12px; }
  .facts li { padding: 16px; }
  .facts b { font-size: 17px; }
  .facts li span:last-child { font-size: 14px; }
  .steps, .cast { grid-template-columns: 1fr; }
  .cast li { display: grid; grid-template-columns: 100px 1fr; gap: 0 16px; padding: 18px; align-items: center; }
  .cast li > :not(img) { margin-left: 0; margin-right: 0; }
  .cast img { width: 100px; height: 100px; border-radius: 18px; margin: 0; grid-row: span 2; }
  .cast p:last-child { grid-column: 1 / -1; margin-top: 12px; }
  .merch-box { grid-template-columns: 1fr; padding: 32px 22px; text-align: center; }
  .merch-art { width: 240px; margin: 0 auto; }
  .merch-box p { margin-left: auto; margin-right: auto; }
  .tips li { padding-left: 58px; font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
