/* =========================================================
   Halloween Star Crew — premium kid-friendly styles
   Palette: deep purple, bright purple, orange, gold, green,
   light blue, pink, dark brown — spooky-cute, never scary
   ========================================================= */

:root {
  --purple-deep: #1a0f2e;
  --purple-dark: #2d1b4e;
  --purple: #6b3fa0;
  --purple-bright: #9b5de5;
  --purple-soft: #c9a7f5;
  --lavender: #e8d5ff;
  --orange: #ff8c42;
  --orange-bright: #ffb347;
  --gold: #ffd166;
  --yellow: #ffe566;
  --green: #7ec850;
  --green-leaf: #5a9e3a;
  --sky: #7ec8e8;
  --blue-eye: #4aa8e0;
  --pink: #ff8fab;
  --brown: #4a2c1a;
  --cream: #fff8f0;
  --white: #ffffff;
  --card: #ffffff;
  --text: #2a1a3a;
  --text-soft: #5a4a6a;
  --shadow: 0 12px 40px rgba(45, 27, 78, 0.18);
  --shadow-lg: 0 24px 60px rgba(26, 15, 46, 0.28);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-pill: 999px;
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.34, 1.45, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.calm-mode {
  --motion-scale: 0;
}

body.calm-mode .hero-canvas,
body.calm-mode .scroll-hint,
body.calm-mode .hero-fog {
  opacity: 0.35;
}

body.calm-mode .hero-canvas {
  filter: saturate(0.85);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #4a2d7a 0%, transparent 55%),
    linear-gradient(180deg, var(--purple-deep) 0%, #241438 30%, #1f1535 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple-bright);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.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: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: var(--brown);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(26, 15, 46, 0.82);
  border-bottom: 1px solid rgba(155, 93, 229, 0.25);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.logo-moon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.6));
}

.nav {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.35rem;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem;
}

.nav-menu a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--lavender);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease-soft), color 0.2s;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(155, 93, 229, 0.35);
  color: var(--white);
}

.calm-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(126, 200, 80, 0.45);
  background: rgba(126, 200, 80, 0.12);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.calm-toggle:hover {
  background: rgba(126, 200, 80, 0.25);
}

.calm-toggle[aria-pressed="true"] {
  background: var(--green);
  color: var(--brown);
  border-color: var(--green);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: relative; }
  .nav-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    flex-direction: column;
    min-width: 220px;
    padding: 0.75rem;
    background: var(--purple-dark);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(155, 93, 229, 0.35);
  }
  .nav-menu.open { display: flex; }
  .calm-label { display: none; }
  .logo-text { font-size: 0.9rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
  color: var(--brown);
  box-shadow: 0 8px 24px rgba(255, 140, 66, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--cream);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost {
  background: transparent;
  color: var(--purple-soft);
  border: 2px dashed rgba(201, 167, 245, 0.45);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.btn-ghost:hover {
  background: rgba(155, 93, 229, 0.15);
  color: var(--cream);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-fog {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(255, 209, 102, 0.12), transparent 60%),
    linear-gradient(180deg, transparent 50%, rgba(26, 15, 46, 0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
  color: var(--cream);
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 1rem;
  background: rgba(155, 93, 229, 0.35);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  line-height: 1.12;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.title-line { display: block; }
.title-amp {
  display: block;
  font-size: 0.55em;
  color: var(--gold);
  margin: 0.15em 0;
}
.title-line.accent {
  background: linear-gradient(90deg, var(--orange-bright), var(--gold), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 140, 66, 0.4));
}

.hero-sub {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: 1.2rem;
  color: var(--lavender);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-art {
  margin: 0 auto;
  max-width: 720px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255, 209, 102, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 12%;
}

.scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--purple-soft);
  font-size: 0.8rem;
  font-weight: 700;
  animation: bob 2.4s ease-in-out infinite;
}

body.calm-mode .scroll-hint { animation: none; }

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 4.5rem 1.25rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
  color: var(--cream);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 140, 66, 0.2);
  color: var(--orange-bright);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.section-head h2,
.sisters-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--cream);
}

.lede {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--lavender);
  font-weight: 600;
}

/* ---------- Character cards ---------- */
.crew {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(155, 93, 229, 0.2), transparent 50%),
    transparent;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .crew-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

.char-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s;
}

.char-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

body.calm-mode .char-card:hover { transform: none; }

.char-card-banner {
  padding: 1.1rem 1.25rem 1rem;
  color: var(--white);
  text-align: center;
  position: relative;
}

.char-card-banner.purple {
  background: linear-gradient(135deg, #6b3fa0, #9b5de5);
}
.char-card-banner.blue {
  background: linear-gradient(135deg, #3a7ca5, #7ec8e8);
}
.char-card-banner.orange {
  background: linear-gradient(135deg, #e07020, #ff8c42);
}

.char-heart {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  font-size: 1.1rem;
}

.char-card-banner h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.char-role {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.92;
}

.char-art-wrap {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0e6ff, #fff5eb);
}

.char-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.8);
}

.char-card[data-character="mercedes"] .char-art {
  object-position: 55% 35%;
  transform: scale(1.35);
}
.char-card[data-character="casper"] .char-art {
  object-position: 70% 28%;
  transform: scale(1.45);
}
.char-card[data-character="pickles"] .char-art {
  object-position: 75% 32%;
  transform: scale(1.4);
}

.char-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--text);
}

.char-traits {
  margin: 0;
  color: var(--purple);
  font-size: 0.95rem;
}

.char-body > p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.trait-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.expression-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.expression-chips span {
  padding: 0.25rem 0.65rem;
  background: var(--lavender);
  color: var(--purple-dark);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
}

.catchphrase-btn {
  margin-top: auto;
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 6px 16px rgba(107, 63, 160, 0.35);
}

.catchphrase-btn:hover {
  transform: scale(1.03);
}

.char-card[data-character="casper"] .catchphrase-btn {
  background: linear-gradient(135deg, #3a7ca5, #5eb3d8);
  box-shadow: 0 6px 16px rgba(58, 124, 165, 0.35);
}

.char-card[data-character="pickles"] .catchphrase-btn {
  background: linear-gradient(135deg, #e07020, #ff8c42);
  box-shadow: 0 6px 16px rgba(224, 112, 32, 0.35);
}

.speech-bubble {
  position: relative;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--gold);
  color: var(--brown);
  border-radius: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  animation: pop-in 0.4s var(--ease);
}

.speech-bubble::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--gold);
  border-top: 0;
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

body.calm-mode .speech-bubble { animation: none; }

/* ---------- Sister Love ---------- */
.sisters {
  background: linear-gradient(180deg, transparent, rgba(255, 143, 171, 0.08), transparent);
}

.sisters-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 143, 171, 0.25);
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem;
  box-shadow: var(--shadow);
}

@media (max-width: 800px) {
  .sisters-inner { grid-template-columns: 1fr; padding: 1.5rem; }
}

.sisters-copy { color: var(--cream); }
.sisters-copy .lede { margin: 0 0 1.25rem; text-align: left; max-width: none; }

.sister-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sister-bullets li {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--lavender);
}

.sisters-art {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 143, 171, 0.4);
}

.sisters-art img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: 50% 15%;
}

.sisters-art figcaption {
  padding: 0.85rem 1rem;
  background: rgba(26, 15, 46, 0.9);
  color: var(--pink);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

/* ---------- Adventures ---------- */
.adventure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

@media (max-width: 900px) {
  .adventure-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.adv-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-soft);
}

.adv-card:hover { transform: translateY(-5px); }
body.calm-mode .adv-card:hover { transform: none; }

.adv-art {
  height: 180px;
  overflow: hidden;
  background: #2d1b4e;
}

.adv-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(1.35);
}

.adv-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.adv-body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--purple-dark);
}

.adv-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 600;
}

/* ---------- Mission ---------- */
.mission {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 140, 66, 0.15), transparent 55%);
}

.mission-board {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem;
}

@media (max-width: 800px) {
  .mission-board { grid-template-columns: 1fr; justify-items: center; padding: 1.5rem; }
}

.mission-progress {
  text-align: center;
  color: var(--cream);
}

.progress-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 10;
}

.ring-fg {
  fill: none;
  stroke: url(#none);
  stroke: var(--gold);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 0.6s var(--ease-soft);
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.7));
}

.progress-score {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

.progress-score span {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.progress-score small {
  font-size: 0.95rem;
  color: var(--lavender);
}

.progress-label {
  margin: 0 0 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.collected-icons {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2rem;
  font-size: 1.5rem;
}

.mission-goals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

@media (max-width: 560px) {
  .mission-goals { grid-template-columns: 1fr; }
}

.goal-card {
  position: relative;
  text-align: left;
  padding: 1.2rem 1.25rem 1.2rem 1.15rem;
  background: var(--white);
  border: 3px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}

.goal-card:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--gold);
}

.goal-card:disabled,
.goal-card.done {
  background: linear-gradient(135deg, #fff8e8, #f0e6ff);
  border-color: var(--green);
  cursor: default;
  opacity: 1;
}

.goal-emoji {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.goal-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple-dark);
}

.goal-desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.goal-check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.goal-card.done .goal-check {
  display: flex;
}

.mascot-cheer {
  margin: 1.75rem auto 0;
  max-width: 480px;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(155, 93, 229, 0.4), rgba(255, 140, 66, 0.35));
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  color: var(--cream);
  animation: pop-in 0.45s var(--ease);
}

.cheer-faces {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.35rem;
}

.mascot-cheer p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.mission .btn-ghost {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 2rem;
}

.footer-banner {
  background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--purple-dark));
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.footer-tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.footer-inner {
  padding: 2rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--lavender);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-inner p { margin: 0 0 0.65rem; }
.footer-copy { opacity: 0.7; font-size: 0.85rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 0.85rem 1.4rem;
  background: var(--gold);
  color: var(--brown);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  animation: pop-in 0.35s var(--ease);
}

/* ---------- Utility ---------- */
.section#crew .section-head h2 { color: var(--cream); }

/* Style guide showcase strip */
.guide-banner {
  margin: 0 auto 2.5rem;
  max-width: 920px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 209, 102, 0.4);
  background: var(--white);
}

.guide-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 20%;
}

.guide-banner figcaption {
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--purple);
  background: var(--lavender);
}

/* Hero art with portrait title panel */
.hero-art img {
  aspect-ratio: 4 / 5;
  max-height: 420px;
  margin: 0 auto;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-art {
  max-width: 380px;
}

.nav-menu a.active {
  background: rgba(255, 209, 102, 0.25);
  color: var(--gold);
}

/* Adventure art without forced scale when using dedicated crops */
.adv-art img {
  transform: scale(1.05);
}
