:root {
  --bg: #f6ecd8;
  --bg-strong: #ead9b6;
  --surface: rgba(255, 250, 240, 0.82);
  --surface-strong: rgba(20, 28, 46, 0.88);
  --text: #201914;
  --muted: #6d5643;
  --ink: #172038;
  --accent: #d48a22;
  --accent-strong: #9d5f07;
  --line: rgba(32, 25, 20, 0.12);
  --shadow: 0 20px 50px rgba(23, 32, 56, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 138, 34, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(23, 32, 56, 0.18), transparent 30%),
    linear-gradient(180deg, #f9f2e3 0%, var(--bg) 46%, #f1e4c8 100%);
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-bottom: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(23, 32, 56, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ink), #2f4775);
  color: #f9f2e3;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.language-switcher {
  display: inline-flex;
  gap: 8px;
}

.language-switcher a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.language-switcher a[aria-current="page"] {
  background: var(--ink);
  color: #fff8ee;
  border-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.section,
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow);
}

.hero-copy,
.section {
  padding: 32px;
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.hero-copy::before,
.section::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 138, 34, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-visual {
  display: grid;
  grid-template-rows: auto auto;
  gap: 18px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(22, 33, 62, 0.96), rgba(12, 19, 35, 0.96));
}

.kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(23, 32, 56, 0.08);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
.section h2,
.cta-band h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.02;
  color: var(--ink);
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.9rem, 5.5vw, 5.4rem);
}

.hero-tagline {
  margin: 14px 0 0;
  color: var(--accent-strong);
  font-size: 1.1rem;
  font-weight: 700;
}

.lead {
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2c2219;
}

.hero-quote,
.pull-quote {
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 4px solid rgba(212, 138, 34, 0.55);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.metric-row,
.pill-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-row {
  margin-top: 28px;
}

.metric {
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 32, 56, 0.08);
}

.metric strong {
  display: block;
  font-size: 1.3rem;
  color: var(--ink);
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.cta-row {
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button {
  background: linear-gradient(135deg, #f1a528, var(--accent));
  color: #1c1208;
  box-shadow: 0 12px 24px rgba(212, 138, 34, 0.3);
}

.button-secondary {
  border: 1px solid rgba(23, 32, 56, 0.14);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.pill-row {
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 32, 56, 0.08);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.poster-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 4 / 5.2;
  object-fit: cover;
}

.poster-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 24, 0.94));
  color: #f8edd9;
}

.poster-caption strong {
  display: block;
  font-size: 1.05rem;
}

.poster-caption span {
  display: block;
  margin-top: 6px;
  color: rgba(248, 237, 217, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

.teaser-grid,
.story-grid,
.lessons-grid,
.characters-grid {
  display: grid;
  gap: 16px;
}

.teaser-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.teaser-card,
.story-card,
.lesson-card,
.character-card {
  overflow: hidden;
  border-radius: 22px;
}

.teaser-card {
  position: relative;
  min-height: 180px;
}

.teaser-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.teaser-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 52px 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 22, 0.92));
  color: #f6ecd8;
  font-size: 0.8rem;
  line-height: 1.35;
}

.section-stack {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.story-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-card,
.lesson-card,
.character-card,
.cta-band {
  padding: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 32, 56, 0.08);
}

.story-card h3,
.lesson-card h3,
.character-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.04rem;
}

.story-card p,
.lesson-card p,
.character-card p,
.cta-band p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.story-card strong,
.lesson-card strong {
  color: var(--accent-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.lessons-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.characters-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.character-card img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}

.character-role {
  display: block;
  margin-top: 8px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(23, 32, 56, 0.96), rgba(59, 38, 16, 0.94));
  color: #f8edd9;
}

.cta-band h2,
.cta-band p,
.cta-band .hero-quote {
  color: #f8edd9;
}

.cta-band .button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff8ee;
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer {
  margin-top: 26px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.redirect-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.redirect-card {
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.redirect-card h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
}

.redirect-card p {
  color: var(--muted);
  line-height: 1.7;
}

.redirect-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 1040px) {

  .hero,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .characters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 20px, 1180px);
    padding-top: 10px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy,
  .section,
  .cta-band {
    padding: 24px;
  }

  .teaser-grid,
  .story-grid,
  .lessons-grid,
  .characters-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }
}