:root {
  --purple: #6B4F9E;
  --purple-dark: #4A2E7A;
  --ink: #3A2E22;
  --paper: #FBF3E1;
  --paper-alt: #F0E1BE;
  --coral: #E0714A;
  --yellow: #FFC857;
  --text-secondary: #6B5A44;
  --text-muted: #8A7A5F;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(74, 46, 24, 0.14);
  --font-head: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--purple-dark);
  margin: 0 0 0.5em;
  line-height: 1.2;
}
p { margin: 0 0 1em; }
a { color: var(--purple); }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--purple);
  color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 243, 225, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(58,46,34,0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--font-head);
  font-weight: 700; color: var(--purple-dark); font-size: 1.15rem;
}
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--coral));
  color: #fff; font-weight: 800; font-family: var(--font-head); font-size: 0.95rem;
}
.site-nav ul {
  list-style: none; display: flex; align-items: center; gap: 28px;
  margin: 0; padding: 0;
}
.site-nav a:not(.btn) {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.95rem;
}
.site-nav a:not(.btn):hover { color: var(--purple); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; background: var(--purple-dark); border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  font-family: var(--font-head); border-radius: 999px;
  padding: 14px 28px; font-size: 1rem; letter-spacing: 0.01em;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,111,89,0.35);
}
.btn-ghost {
  background: transparent; border-color: var(--purple); color: var(--purple-dark);
}
.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  background: linear-gradient(180deg, var(--paper-alt) 0%, var(--paper) 100%);
}
.hero-blob {
  position: absolute; border-radius: 50%; opacity: 0.35; filter: blur(2px);
}
.blob-1 { width: 260px; height: 260px; background: var(--yellow); top: -60px; right: -60px; }
.blob-2 { width: 180px; height: 180px; background: var(--coral); bottom: -40px; left: 6%; opacity: 0.25; }
.blob-3 { width: 140px; height: 140px; background: var(--purple); top: 40%; right: 20%; opacity: 0.18; }
.hero-inner { position: relative; text-align: center; max-width: 780px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.12em;
  color: var(--coral); margin-bottom: 14px; font-size: 0.95rem;
}
.hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 18px; }
.lede { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Intro band */
.intro { background: var(--purple-dark); color: #fff; padding: 56px 0; }
.intro-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.motto {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--yellow); margin-bottom: 20px; letter-spacing: 0.01em;
}
.intro-text { font-size: 1.15rem; margin-bottom: 12px; }
.intro-sub { color: #E8DAC4; margin: 0; font-weight: 600; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-lede {
  text-align: center; max-width: 640px; margin: 0 auto 44px; color: var(--text-secondary);
  font-size: 1.05rem;
}
.group-title {
  font-size: 1.2rem; margin: 40px 0 20px; text-align: center; color: var(--coral);
}
.build-note {
  text-align: center; font-style: italic; color: var(--text-muted); font-size: 0.9rem; margin-top: 32px;
}

.map-frame {
  position: relative;
  background: repeating-linear-gradient(135deg, #FBF7EC, #FBF7EC 18px, #F5EEDB 18px, #F5EEDB 36px);
  border: 3px dashed var(--purple);
  border-radius: 26px;
  padding: 40px 24px 8px;
}
.map-compass {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  background: var(--paper); border: 3px solid var(--purple); border-radius: 50%;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.map-image {
  width: 100%; max-width: 760px; display: block; margin: 0 auto 14px;
  border-radius: 16px; box-shadow: var(--shadow);
}
.map-caption {
  text-align: center; font-size: 0.95rem; color: var(--purple-dark); font-weight: 700;
  max-width: 560px; margin: 0 auto 10px;
}
.card-grid {
  display: grid; gap: 24px;
}
.locations { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 32px; }
.characters { grid-template-columns: repeat(3, 1fr); }
.audience { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.products { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (max-width: 760px) {
  .characters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .characters { grid-template-columns: 1fr; }
}

.place-card, .char-card, .audience-card, .product-card {
  background: #fff; border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow); text-align: center;
  border-top: 6px solid var(--accent, var(--purple));
}
.place-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent, var(--purple)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 16px;
}
.char-photo {
  width: 110px; height: 124px; object-fit: contain;
  margin: 0 auto 14px; display: block;
  background: #fff; border-radius: 14px;
  border: 3px solid var(--accent, var(--purple));
  padding: 6px;
}
.char-role {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--text-secondary); text-transform: uppercase; margin-bottom: 8px;
}
.char-quote {
  font-style: italic; color: var(--accent, var(--purple)); font-weight: 700;
}
.audience-card { border-top-color: var(--purple); }
.audience-card h3 { font-size: 1.15rem; }

/* Products */
.product-cover {
  height: 140px; border-radius: 12px; margin-bottom: 16px;
  background: var(--accent, var(--purple)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; padding: 12px; line-height: 1.3;
}
.product-cover-photo {
  width: 100%; height: 190px; object-fit: cover; object-position: center 30%;
  border-radius: 12px; margin-bottom: 16px; display: block;
}
.product-cover-soon {
  opacity: 0.55; filter: grayscale(35%);
}
.product-cover-soon span {
  background: rgba(0,0,0,0.35); padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; letter-spacing: 0.04em;
}
.product-card-soon { opacity: 0.85; }
.btn-disabled {
  opacity: 0.6; cursor: default; pointer-events: none;
}
.product-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.product-card p { font-size: 0.92rem; color: var(--text-secondary); }

/* Footer */
.site-footer { background: var(--ink); color: #E3D5BE; padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; margin: 0; }
.footer-legal { font-size: 0.82rem; color: #A89478; margin: 0; }
.footer-legal a { color: #A89478; }

/* Responsive */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav ul {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid rgba(58,46,34,0.1);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .site-nav ul.open { max-height: 320px; }
  .site-nav ul li { border-top: 1px solid rgba(58,46,34,0.08); }
  .site-nav ul li a:not(.btn) { display: block; padding: 16px 24px; }
  .site-nav ul li .btn { display: block; margin: 14px 24px; text-align: center; }
}
