:root {
  --bg: #ffffff;
  --paper: #fbf9f6;
  --ink: #141414;
  --muted: #575757;
  --brand: #6d1f2c;
  --accent: #b08a3f;
  --playful: #e46b5d;
  --playful-bright: #ffb84d;
  --line: #d8d2c7;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(109, 31, 44, 0.16);
  --shadow: 0 14px 36px rgba(18, 18, 18, 0.12);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: #5d5d5d;
  background: var(--bg);
}

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

.wrapper {
  width: min(1220px, calc(100% - 2.6rem));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: var(--glass);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 18px rgba(20, 20, 20, 0.06);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.topbar-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: min-height 220ms ease;
}

.topbar.is-compact .topbar-inner {
  min-height: 62px;
}

.brand img {
  width: 132px;
  display: block;
  transition: width 220ms ease;
}

.topbar.is-compact .brand img {
  width: 98px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
}

.main-nav a {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2a2a2a;
  transition: color 170ms ease, text-decoration-color 170ms ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.main-nav a:hover {
  color: #445782;
  text-decoration-color: #445782;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid #445782;
  border-radius: 999px;
  overflow: hidden;
}

.lang-option {
  padding: 0.44rem 0.74rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #445782;
  background: transparent;
  border-right: 1px solid #445782;
}

.lang-option:last-child {
  border-right: 0;
}

.lang-option-active {
  background: linear-gradient(120deg, #445782, #49b6ac);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid #b8b1a4;
  border-radius: 999px;
  background: #fff;
  color: #5d5d5d;
  font-weight: 700;
  padding: 0.44rem 0.8rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.63rem 1.08rem;
  font-weight: 700;
  background: linear-gradient(120deg, #445782, #49b6ac);
  color: #fff;
  transition: transform 170ms ease, filter 170ms ease;
}

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

.btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.btn.ghost-dark {
  background: #fff;
  color: #445782;
  border: 1px solid rgba(109, 31, 44, 0.35);
}

main {
  padding-top: 0;
}

.hero {
  position: relative;
  min-height: calc(var(--vh, 1vh) * 100);
  min-height: 100dvh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  animation: cinema 11s ease-in-out infinite alternate;
}

@keyframes cinema {
  from {
    transform: scale(1.11) translate3d(-0.8%, -0.6%, 0);
  }
  to {
    transform: scale(1.17) translate3d(0.9%, 0.7%, 0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.64) 100%),
    radial-gradient(circle at 42% 16%, rgba(109, 31, 44, 0.28), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-bottom: 2.6rem;
  padding: 1.2rem;
  border-radius: var(--radius);
}

.hero-kicker {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ecd9b5;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  line-height: 1.06;
}

h1 {
  margin-top: 0.2rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  color: #fff;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
}

.hero-content p {
  margin-top: 0.8rem;
  color: #ece7de;
  max-width: 58ch;
}

.hero-cta {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-dots {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
}

.dot.active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.glass-light {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.section {
  padding: 3.6rem 0;
}

.section-head {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.section-head a {
  font-size: 0.9rem;
  color: #445782;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  overflow: hidden;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, #49b6ac, #445782);
}

.timeline-item {
  position: relative;
  padding-top: 2.6rem;
  padding-left: 0.6rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #49b6ac;
  background: #fff;
}

.timeline-item p {
  margin: 0;
  font-size: 0.78rem;
  color: #445782;
}

.timeline-item h3 {
  margin-top: 0.45rem;
  font-size: 1.17rem;
}

.timeline-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section-soft {
  background: var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.news-main {
  overflow: hidden;
  background: #ffe9a8;
}

.news-main img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.news-main div {
  padding: 1rem;
  background: transparent;
}

.news-main p {
  margin: 0;
  color: #6d1f2c;
  font-size: 0.8rem;
}

.news-main h3 {
  margin-top: 0.36rem;
  font-size: 1.72rem;
}

.news-main a {
  margin-top: 0.55rem;
  color: #445782;
  display: inline-block;
}

.news-list {
  display: grid;
  gap: 0.72rem;
}

.news-item {
  padding: 1rem;
  background: #fff5c9;
  color: #313131;
}

.news-item:nth-child(2) {
  background: #ffdce4;
}

.news-item:nth-child(3) {
  background: #d8f4ff;
}

.news-item:nth-child(4) {
  background: #e8f8d8;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.lineup-card {
  overflow: hidden;
  padding-bottom: 0.9rem;
  background: #ffe7db;
}

.lineup-card:nth-child(2) {
  background: #e6f5ff;
}

.lineup-card:nth-child(3) {
  background: #fff3cf;
}

.lineup-card:nth-child(4) {
  background: #e7f7e6;
}

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

.lineup-card h3 {
  margin: 0;
  padding: 0.72rem 0.8rem;
  background: transparent;
}

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

.family-card {
  overflow: hidden;
  background: #ffe8da;
}

.family-card:nth-child(2) {
  background: #e7f3ff;
}

.family-card:nth-child(3) {
  background: #fff0c7;
}

.family-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.family-copy {
  background: transparent;
  padding: 0.7rem 0.8rem 0.8rem;
}

.family-card h3 {
  margin: 0;
}

.family-card a {
  margin-top: 0.5rem;
  margin-bottom: 0;
  display: inline-block;
  color: #a2a2a2;
}

.section-support {
  background: #49b6ac;;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.support-main {
  background: #ffe7b3;
  padding: 1.25rem;
}

.support-main p {
  color: var(--muted);
}

.support-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.support-cards {
  display: grid;
  gap: 0.65rem;
}

.support-card {
  background: #fff1ce;
  padding: 1rem;
}

.support-card:nth-child(2) {
  background: #ffe1e9;
}

.support-card:nth-child(3) {
  background: #dff3ff;
}

.support-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.support-card a {
  margin-top: 0.45rem;
  display: inline-block;
  color: #445782;
}

.sponsors {
  margin-top: 1.2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 1rem max(1.3rem, calc((100vw - 1220px) / 2));
}

.sponsors h3 {
  margin-bottom: 0.7rem;
  font-size: 1.7rem;
  color: #ffffff;
}

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.logo-box {
  background: #fff;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
}

.logo-box img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.card-hover {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.section-support .card-hover:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.footer-main {
  background: #445782;
  padding: 2.8rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.footer-main h3 {
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
}

.footer-main p,
.footer-main a {
  margin: 0.28rem 0;
  color: #e7e0d3;
  display: block;
}

.footer-main a,
.legal-links a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 170ms ease, text-decoration-color 170ms ease;
}

.footer-main a:hover,
.legal-links a:hover {
  color: #ffb84d;
  text-decoration-color: #ffb84d;
}

.footer-main h3 {
  color: #ffffff;
}

.footer-legal {
  background: #1a1a1a;
  padding: 0.95rem 0;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.legal-row p {
  margin: 0;
  color: #d3cdc2;
  font-size: 0.88rem;
}

.legal-links {
  display: flex;
  gap: 0.8rem;
}

.legal-links a {
  color: #f1d8a3;
  font-size: 0.86rem;
}

@media (max-width: 1100px) {
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline-item:nth-child(n + 4) {
    display: none;
  }

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

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

@media (max-width: 820px) {
  .topbar-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0.6rem;
    right: 0.6rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d8d2c7;
    padding: 0.9rem;
  }

  .main-nav.open {
    display: flex;
  }

  .top-actions .btn {
    display: none;
  }

  .hero-content {
    margin-bottom: 1.6rem;
  }

  .news-grid,
  .timeline,
  .family-grid,
  .support-grid,
  .sponsor-logos,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline-item:nth-child(n + 3) {
    display: none;
  }

  .lineup-card img {
    object-position: center top;
  }

  .legal-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide img,
  .card-hover,
  .btn,
  .topbar,
  .topbar-inner,
  .brand img {
    animation: none;
    transition: none;
  }
}
