:root {
  --bg: #f6eadf;
  --bg-strong: #ebd7c4;
  --surface: rgba(255, 248, 243, 0.82);
  --surface-strong: rgba(27, 25, 38, 0.94);
  --text: #271b16;
  --muted: #6f564a;
  --ink: #1d2032;
  --accent: #c44b37;
  --accent-strong: #8d2c20;
  --gold: #ba8a2d;
  --line: rgba(39, 27, 22, 0.12);
  --shadow: 0 20px 52px rgba(29, 32, 50, 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(196, 75, 55, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(29, 32, 50, 0.18), transparent 32%),
    linear-gradient(180deg, #fbf3ea 0%, var(--bg) 46%, #f2dfd2 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, 248, 243, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(29, 32, 50, 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), #564467);
  color: #fbf3ea;
  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,
.redirect-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow);
}

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

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

.hero-visual,
.cta-band {
  padding: 18px;
  background: linear-gradient(180deg, rgba(31, 28, 46, 0.96), rgba(18, 16, 29, 0.98));
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  color: #f8eadc;
}

.kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(29, 32, 50, 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,
.redirect-card h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.02;
  color: var(--ink);
}

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

.cta-band h2 {
  color: #fff1e5;
}

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

.lead,
.section-heading p,
.poster-caption span,
.story-card p,
.lesson-card p,
.character-card p,
.cta-band p,
.redirect-card p {
  line-height: 1.75;
}

.lead {
  margin: 20px 0 0;
  font-size: 1.08rem;
  color: #34251f;
}

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

.metric-row,
.pill-row,
.cta-row,
.redirect-links {
  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(29, 32, 50, 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,
.redirect-links {
  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, #d86d57, var(--accent));
  color: #fff5ef;
  box-shadow: 0 12px 24px rgba(196, 75, 55, 0.32);
}

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

.cta-band .button-secondary {
  background: rgba(255, 245, 238, 0.15);
  color: #fff1e5;
  border-color: rgba(255, 241, 229, 0.2);
}

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

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

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

.poster-card {
  position: relative;
}

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

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

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

.poster-caption span {
  display: block;
  margin-top: 6px;
  color: rgba(248, 234, 220, 0.78);
  font-size: 0.88rem;
}

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

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

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

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

.teaser-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(13, 11, 22, 0.95));
  color: #f7e8db;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.45;
}

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

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

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-heading p,
.story-card p,
.lesson-card p,
.character-card p,
.cta-band p,
.redirect-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.story-card,
.lesson-card,
.character-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(29, 32, 50, 0.08);
}

.story-card strong,
.lesson-card strong {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(29, 32, 50, 0.08);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-card h3,
.lesson-card h3,
.character-card h3 {
  margin: 16px 0 0;
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  font-size: 1.35rem;
}

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

.character-card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 18px;
}

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

.site-footer {
  margin-top: 24px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.redirect-card {
  width: min(720px, 100%);
  text-align: center;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

  .site-header,
  .site-footer,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-switcher {
    width: 100%;
  }

  .language-switcher a {
    flex: 1;
    text-align: center;
  }

  .hero-copy,
  .section,
  .cta-band,
  .redirect-card {
    padding: 24px;
    border-radius: 24px;
  }

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

  .metric {
    flex: 1 1 140px;
  }
}