:root {
  color-scheme: light;
  --ink: #1e293b;
  --muted: #5b6472;
  --paper: #fffaf0;
  --surface: #ffffff;
  --coral: #e85d56;
  --sky: #3e91d6;
  --leaf: #3f8f69;
  --gold: #f2b84b;
  --line: #e8ddc9;
  --shadow: 0 18px 50px rgba(53, 39, 21, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: var(--coral);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(232, 93, 86, 0.25);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(42px, 1fr));
  gap: 6px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-tab {
  min-height: 36px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.language-tab.is-active {
  color: #ffffff;
  background: var(--sky);
}

.language-tab:hover,
.language-tab:focus-visible {
  color: var(--ink);
  outline: 2px solid rgba(62, 145, 214, 0.4);
  outline-offset: 2px;
}

.language-tab.is-active:hover,
.language-tab.is-active:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 20%, rgba(242, 184, 75, 0.35), transparent 19%),
    linear-gradient(135deg, #f8efe0 0%, #e8f4fb 48%, #fdf7e7 100%);
}

.sun,
.kite,
.path {
  position: absolute;
}

.sun {
  right: 14%;
  top: 18%;
  width: 110px;
  height: 110px;
  background: var(--gold);
  border-radius: 50%;
}

.kite {
  width: 92px;
  height: 92px;
  transform: rotate(45deg);
  border-radius: 8px 8px 30px 8px;
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite;
}

.kite-one {
  right: 25%;
  top: 34%;
  background: var(--coral);
}

.kite-two {
  right: 9%;
  bottom: 18%;
  background: var(--leaf);
  animation-delay: -1.4s;
}

.path {
  width: 240px;
  height: 130px;
  border: 3px dashed rgba(30, 41, 59, 0.22);
  border-color: transparent transparent rgba(30, 41, 59, 0.22) transparent;
  border-radius: 50%;
}

.path-one {
  right: 19%;
  top: 49%;
  transform: rotate(-18deg);
}

.path-two {
  right: 5%;
  bottom: 10%;
  transform: rotate(14deg);
}

.hero-copy {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 34px;
}

.story-panel,
.feature-story {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-panel p,
.feature-story p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.story-panel p + p,
.feature-story p + p {
  margin-top: 18px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-card {
  min-height: 260px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.event-card:hover {
  border-color: rgba(62, 145, 214, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.event-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.event-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: timeline;
}

.timeline li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

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

.timeline-year {
  color: var(--sky);
  font-size: 1.25rem;
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 32px 16px 44px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .nav {
    min-height: 88px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .language-switcher {
    width: 100%;
  }

  .hero {
    min-height: 620px;
  }

  .sun {
    right: -22px;
    top: 94px;
    width: 88px;
    height: 88px;
  }

  .kite-one {
    right: 32px;
    top: 210px;
  }

  .kite-two {
    right: -12px;
    bottom: 46px;
  }

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

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
