:root {
  --bg: #e8dcc6;
  --bg-soft: #f0e6d4;
  --bg-deep: #dccfb6;
  --ink: #121212;
  --muted: #4a453d;
  --line: rgba(18, 18, 18, 0.14);
  --red: #ff2e2e;
  --red-deep: #d41919;
  --red-glow: rgba(255, 46, 46, 0.45);
  --blue: #1a4fb8;
  --white: #ffffff;
  --black: #0e0e0e;
  --ok: #1f6b45;
  --bad: #c23030;
  --display: "Syne", system-ui, sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1140px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(18, 18, 18, 0.035) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.mono {
  font-family: var(--mono);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--cta {
  background: linear-gradient(180deg, #ff4a4a 0%, var(--red) 100%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(255, 46, 46, 0.28);
}

.btn--cta:hover {
  background: linear-gradient(180deg, #ff5c5c 0%, #e82424 100%);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(255, 46, 46, 0.36);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(26, 79, 184, 0.1);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* Tricolor — kept and bold */
.tricolor {
  height: 14px;
  background: linear-gradient(
    90deg,
    #ffffff 0 33.333%,
    var(--blue) 33.333% 66.666%,
    var(--red) 66.666% 100%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 18px rgba(255, 46, 46, 0.18);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(232, 220, 198, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff6b6b, var(--red) 55%, var(--red-deep));
  box-shadow: 0 0 18px var(--red-glow);
}

.logo strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo small {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.nav {
  display: none;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.header .btn {
  display: none;
}

/* Hero */
.hero {
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.4rem, 10vw, 6.4rem);
  margin: 0 0 18px;
  max-width: 9ch;
}

.hero__lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.hero__tag {
  font-family: var(--mono);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--red);
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 420px;
}

.hero__stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

.hero__stats strong {
  display: flex;
  align-items: flex-end;
  min-height: 2.2rem;
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--red);
}

.hero__stats .stat-text {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.hero__stats span {
  display: block;
  min-height: 1.2em;
  font-size: 0.8rem;
  line-height: 1.2;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__media {
  position: relative;
  justify-self: center;
  width: min(100%, 620px);
  min-height: 580px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hero__sun {
  position: absolute;
  width: min(115%, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      #ffffff 0deg 120deg,
      #1a4fb8 120deg 240deg,
      #ff2e2e 240deg 360deg
    );
  filter: blur(18px);
  opacity: 0.85;
  box-shadow:
    0 0 40px rgba(255, 255, 255, 0.35),
    0 0 70px rgba(26, 79, 184, 0.4),
    0 0 110px rgba(255, 46, 46, 0.45);
  animation: sun-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero__sun::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 220, 198, 0.55) 0%,
    rgba(232, 220, 198, 0.2) 42%,
    transparent 70%
  );
  filter: blur(2px);
}

.hero__sun::after {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 180deg,
      rgba(255, 255, 255, 0.9) 0deg 120deg,
      rgba(26, 79, 184, 0.9) 120deg 240deg,
      rgba(255, 46, 46, 0.9) 240deg 360deg
    );
  filter: blur(28px);
  opacity: 0.55;
  animation: sun-ring 2.8s ease-in-out infinite reverse;
  z-index: -1;
}

.hero__media:hover .hero__sun,
.hero__media:focus-within .hero__sun {
  filter: blur(14px) brightness(1.08);
  animation-duration: 1.8s;
}

.hero__media:hover .hero__sun::after,
.hero__media:focus-within .hero__sun::after {
  animation-duration: 1.8s;
}

.hero__portrait {
  position: relative;
  z-index: 1;
  width: min(86%, 440px);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.32);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 14, 14, 0.45));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.08);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__media:hover .hero__portrait,
.hero__media:focus-within .hero__portrait {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.38);
}

.hero__media:hover .hero__portrait img,
.hero__media:focus-within .hero__portrait img {
  transform: scale(1.08);
}

.hero__media:hover .hero__side,
.hero__media:focus-within .hero__side {
  color: rgba(18, 18, 18, 0.7);
}

.hero__media:hover .hero__side span,
.hero__media:focus-within .hero__side span {
  color: #ff4d4d;
}

.hero__side {
  position: absolute;
  right: -4%;
  bottom: 10%;
  z-index: 2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.35);
  transition: color 0.35s ease;
}

.hero__side span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--red);
  text-transform: none;
}

@keyframes sun-pulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.94) rotate(0deg);
    box-shadow:
      0 0 28px rgba(255, 255, 255, 0.25),
      0 0 60px rgba(26, 79, 184, 0.28),
      0 0 100px rgba(255, 46, 46, 0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) rotate(12deg);
    box-shadow:
      0 0 45px rgba(255, 255, 255, 0.45),
      0 0 95px rgba(26, 79, 184, 0.5),
      0 0 170px rgba(255, 46, 46, 0.48);
  }
}

@keyframes sun-ring {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.92) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(-14deg);
  }
}

/* Sections */
.section {
  padding: 72px 0;
}

.section--soft {
  background: rgba(0, 0, 0, 0.04);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin: 0 0 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  text-transform: none;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
}

/* Facets */
.facets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.facets li {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.facets li:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.facets span {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--red);
  margin-bottom: 8px;
}

.facets h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.facets p {
  color: var(--muted);
  font-size: 0.98rem;
  text-transform: none;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
}

/* Story */
.story {
  display: grid;
  gap: 28px;
  align-items: start;
}

.story__visual {
  position: relative;
}

.story__visual img {
  width: 100%;
  height: min(520px, 70vw);
  object-fit: cover;
  border-radius: 22px;
  filter: contrast(1.05);
}

.story__caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 1.1rem;
  color: var(--red);
  background: rgba(14, 14, 14, 0.72);
  padding: 8px 12px;
  border-radius: 8px;
}

.story__board {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 36px);
}

.story__progress {
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0 10px;
}

.story__progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 0.4s ease;
}

.story__step {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.story__board h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.story__board > p#storyText {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
  text-transform: none;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
}

.story__prompt {
  font-weight: 700;
  margin-bottom: 12px;
}

.story__choices {
  display: grid;
  gap: 10px;
}

.choice-btn {
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(26, 79, 184, 0.35);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.choice-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(26, 79, 184, 0.22);
}

.choice-btn:disabled {
  cursor: default;
}

.choice-btn.is-correct {
  border-color: var(--ok) !important;
  background: rgba(31, 107, 69, 0.14) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

.choice-btn.is-wrong {
  border-color: var(--bad) !important;
  background: rgba(194, 48, 48, 0.1) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}

#testScoreLive {
  margin-top: 14px;
  color: var(--blue);
  font-weight: 700;
}

.story__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.story__trail {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.story__trail:empty {
  display: none;
}

.story__trail li {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26, 79, 184, 0.12);
  color: var(--blue);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  filter: contrast(1.05);
}

.gallery figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* Past weekends stay in markup but out of view */
.section.is-past {
  display: none !important;
}

  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.poster__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.poster__head {
  padding: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.poster__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 46, 46, 0.12);
  color: var(--red);
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--sans);
}

.badge b {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--red);
}

.poster__head h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 8px;
}

.poster__dates {
  font-family: var(--mono);
  font-weight: 500;
  font-style: italic;
  color: var(--red);
  margin-bottom: 8px;
}

.poster__lead {
  color: var(--muted);
  max-width: 40rem;
  text-transform: none;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
}

.poster__days {
  display: grid;
  grid-template-columns: 1fr;
}

.poster__days > div {
  padding: clamp(20px, 3vw, 32px);
}

.poster__days > div + div {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.03);
}

.poster__days h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.poster__days h3 em {
  font-family: var(--display);
  font-style: normal;
  font-size: 2.6rem;
  color: var(--red);
  line-height: 0.9;
}

.events {
  list-style: none;
  margin: 0;
  padding: 0;
}

.events li {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.events li:last-child {
  border-bottom: none;
}

.events time {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--red);
}

.events strong {
  display: block;
  font-size: 1.02rem;
  text-transform: none;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
}

.events span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Quiz */
.quiz-strip {
  padding: 28px 0;
  background: rgba(255, 46, 46, 0.06);
}

.quiz-strip--final {
  background: rgba(18, 18, 18, 0.06);
}

.quiz-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 36px);
}

.quiz-card h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 18px;
  max-width: 36rem;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.quiz-options {
  display: grid;
  gap: 10px;
  max-width: 640px;
}

.quiz-option {
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(26, 79, 184, 0.3);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.quiz-option:hover:not(:disabled) {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.quiz-option:disabled {
  cursor: default;
}

.quiz-option.is-correct {
  border-color: var(--ok);
  background: rgba(31, 107, 69, 0.12);
  color: var(--ink);
}

.quiz-option.is-wrong {
  border-color: var(--bad);
  background: rgba(194, 48, 48, 0.1);
  color: var(--ink);
}

.quiz-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: rgba(0, 0, 0, 0.05);
  max-width: 40rem;
}

.quiz-feedback.is-ok {
  border-left-color: var(--ok);
}

.quiz-feedback.is-bad {
  border-left-color: var(--bad);
}

.quiz-total {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.quiz-total h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--red);
}

.quiz-total p {
  color: var(--muted);
  margin-bottom: 8px;
  max-width: 38rem;
  text-transform: none;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
}

/* CTA — warm, not gloomy */
.cta {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%),
    linear-gradient(135deg, #2f6fd6 0%, #3d7ef0 42%, #5b93f5 100%);
  color: var(--white);
  padding: 88px 0 80px;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(
    90deg,
    #ffffff 0 33.333%,
    #1a4fb8 33.333% 66.666%,
    #ff2e2e 66.666% 100%
  );
}

.cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__script {
  font-size: 1.2rem;
  color: #ffe08a;
  margin-bottom: 12px;
}

.cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 8px 24px rgba(20, 50, 120, 0.25);
}

.cta p {
  max-width: 34rem;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.92);
  text-transform: none;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta .btn--cta {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(20, 50, 120, 0.22);
}

.cta .btn--cta:hover {
  background: #fff7e8;
  color: var(--red);
  box-shadow: 0 18px 34px rgba(20, 50, 120, 0.28);
}

.cta .btn--outline-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.cta .btn--outline-light:hover {
  background: #fff;
  color: var(--blue);
}

/* Footer — light, in site tone */
.footer {
  background: var(--bg-soft);
  color: var(--muted);
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  gap: 28px;
}

.footer h4 {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--red);
}

.footer a,
.footer p {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--blue);
}

.footer .logo {
  margin-bottom: 12px;
}

.footer .logo strong {
  color: var(--ink);
}

.footer .logo small {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .hero__sun {
    animation: none;
  }
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .header .btn {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
  }

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

  .facets__wide {
    grid-column: 1 / -1;
  }

  .story {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .poster__days {
    grid-template-columns: 1fr 1fr;
  }

  .poster__days > div + div {
    border-top: none;
    border-left: 1px solid var(--line);
  }

  .events li {
    grid-template-columns: 110px 1fr;
    gap: 12px;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .facets {
    grid-template-columns: repeat(3, 1fr);
  }

  .facets__wide {
    grid-column: 2 / 3;
  }

  .hero__media {
    width: min(100%, 680px);
    min-height: 640px;
  }

  .hero__portrait {
    width: min(88%, 480px);
  }
}

/* ——— Motion system ——— */
.reveal,
.reveal-left,
.reveal-scale {
  opacity: 1;
  transform: none;
}

html.js .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

html.js .reveal-left:not(.is-in) {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .reveal-left.is-in {
  opacity: 1;
  transform: translateX(0);
}

html.js .reveal-scale:not(.is-in) {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .reveal-scale.is-in {
  opacity: 1;
  transform: scale(1);
}

html.js .hero__copy > * {
  opacity: 0;
  transform: translateY(20px);
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.js .hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
html.js .hero__copy > *:nth-child(2) { animation-delay: 0.15s; }
html.js .hero__copy > *:nth-child(3) { animation-delay: 0.25s; }
html.js .hero__copy > *:nth-child(4) { animation-delay: 0.35s; }
html.js .hero__copy > *:nth-child(5) { animation-delay: 0.45s; }
html.js .hero__copy > *:nth-child(6) { animation-delay: 0.55s; }

html.js .hero__media.hero__media {
  animation: rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tricolor {
  display: none;
}

html.js .tricolor {
  animation: none;
}

.gallery figure {
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery figure:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.16);
}

.gallery figure img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery figure:hover img {
  transform: scale(1.07);
}

.poster {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.poster:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.quiz-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.quiz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(255, 46, 46, 0.12);
  border-color: rgba(255, 46, 46, 0.28);
}

.story__visual img {
  transition: transform 0.6s ease, filter 0.4s ease;
}

.story__visual:hover img {
  transform: scale(1.03);
  filter: contrast(1.1);
}

.btn--cta {
  position: relative;
  overflow: hidden;
}

.btn--cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn--cta:hover::after {
  transform: translateX(120%);
}

.logo__mark {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.logo:hover .logo__mark {
  transform: scale(1.12);
  box-shadow: 0 0 26px var(--red-glow);
}

.events li {
  transition: background 0.25s ease, padding-left 0.25s ease;
}

.events li:hover {
  background: rgba(255, 46, 46, 0.05);
  padding-left: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal-left,
  html.js .reveal-scale,
  html.js .hero__copy > *,
  html.js .hero__media,
  html.js .tricolor,
  .hero__sun {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
