:root {
  color-scheme: dark;
  --midnight: #061626;
  --ink: #101418;
  --charcoal: #1b1d1f;
  --warm: #f7f1e7;
  --muted: #c9c4b8;
  --gold: #c8a24b;
  --red: #8e2528;
  --emerald: #1d6a58;
  --line: rgba(247, 241, 231, 0.18);
  --panel: rgba(255, 255, 255, 0.075);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--midnight);
  color: var(--warm);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(6, 22, 38, 0.86), rgba(6, 22, 38, 0));
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(6, 22, 38, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200, 162, 75, 0.6);
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  color: rgba(247, 241, 231, 0.82);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  padding: 10px 0;
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.lang-button {
  min-width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(247, 241, 231, 0.74);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lang-button.active {
  background: var(--gold);
  color: #15120b;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--warm);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 130px clamp(20px, 6vw, 86px) 126px;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 72% center;
  z-index: -3;
  filter: saturate(0.94) contrast(1.08) brightness(0.88);
}

.hero-scrim {
  z-index: -2;
  background:
    radial-gradient(circle at 73% 36%, rgba(200, 162, 75, 0.24), transparent 23%),
    radial-gradient(circle at 88% 20%, rgba(142, 37, 40, 0.32), transparent 32%),
    radial-gradient(circle at 56% 76%, rgba(29, 106, 88, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(6, 22, 38, 0.98) 0%, rgba(6, 22, 38, 0.88) 38%, rgba(6, 22, 38, 0.36) 71%, rgba(6, 22, 38, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 22, 38, 0.26) 0%, rgba(6, 22, 38, 0.22) 48%, rgba(6, 22, 38, 0.95) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 54%, rgba(247, 241, 231, 0.12) 54.2%, transparent 68%),
    radial-gradient(ellipse at center, transparent 46%, rgba(0, 0, 0, 0.42) 100%);
  mix-blend-mode: soft-light;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(56px, 9vw, 132px);
}

h2 {
  font-size: clamp(38px, 5.8vw, 82px);
}

h3 {
  font-size: clamp(26px, 3vw, 38px);
}

p {
  color: rgba(247, 241, 231, 0.78);
  line-height: 1.75;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 32px;
  font-size: clamp(20px, 2.3vw, 31px);
  line-height: 1.35;
  color: rgba(247, 241, 231, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 14px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #15120b;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.11);
}

.button.ghost {
  color: var(--warm);
}

.hero-meta {
  position: absolute;
  left: clamp(20px, 6vw, 86px);
  right: clamp(20px, 6vw, 86px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 22, 38, 0.42);
  backdrop-filter: blur(18px);
}

.hero-meta div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.hero-meta div:last-child {
  border-right: 0;
}

.hero-meta strong,
.hero-meta span {
  display: block;
}

.hero-meta strong {
  color: var(--warm);
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
}

.hero-meta span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 6vw, 86px);
  background: var(--warm);
  color: var(--ink);
}

.section p {
  color: rgba(16, 20, 24, 0.72);
}

.section .section-kicker {
  color: var(--red);
}

.dark {
  background:
    linear-gradient(135deg, rgba(29, 106, 88, 0.18), rgba(142, 37, 40, 0.16)),
    var(--midnight);
  color: var(--warm);
}

.dark p,
.dark .timeline p {
  color: rgba(247, 241, 231, 0.72);
}

.dark .section-kicker {
  color: var(--gold);
}

.split,
.philosophy-grid,
.festival-layout,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.intro h2 {
  color: var(--midnight);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: 42px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 1px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.timeline article,
.media-grid article,
.calendar-grid article {
  min-height: 250px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.timeline span,
.calendar-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline h3 {
  font-size: 30px;
  line-height: 1.03;
}

.philosophy {
  background:
    linear-gradient(90deg, rgba(6, 22, 38, 0.07), rgba(29, 106, 88, 0.1)),
    var(--warm);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.principles span {
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 22, 38, 0.16);
  color: var(--midnight);
  font-weight: 800;
  text-align: center;
}

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

.project-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  background: #fffaf1;
  box-shadow: 0 20px 55px rgba(6, 22, 38, 0.12);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card div {
  padding: 28px;
}

.project-card h3,
.media-grid h3 {
  color: var(--midnight);
  font-size: 32px;
}

.festival {
  background:
    linear-gradient(120deg, rgba(6, 22, 38, 0.92), rgba(6, 22, 38, 0.66)),
    url("https://images.unsplash.com/photo-1539367628448-4bc5c9d171c8?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--warm);
}

.festival p {
  color: rgba(247, 241, 231, 0.76);
}

.festival .section-kicker {
  color: var(--gold);
}

.festival-list {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.festival-item {
  width: 100%;
  min-height: 60px;
  margin-bottom: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(6, 22, 38, 0.34);
  color: var(--warm);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.festival-item.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #15120b;
}

.festival-copy {
  margin: 20px 0 0;
}

.calendar-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.calendar-grid strong {
  display: block;
  font-size: 22px;
  line-height: 1.35;
}

.media-grid article {
  min-height: 220px;
  background: #fffaf1;
  border-color: rgba(6, 22, 38, 0.12);
}

.contact {
  background:
    linear-gradient(135deg, rgba(142, 37, 40, 0.12), rgba(29, 106, 88, 0.12)),
    var(--warm);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fffaf1;
  box-shadow: 0 20px 55px rgba(6, 22, 38, 0.12);
}

label {
  display: grid;
  gap: 8px;
  color: var(--midnight);
  font-weight: 800;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(6, 22, 38, 0.2);
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(16, 20, 24, 0.72);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 86px);
  background: #040d16;
  color: rgba(247, 241, 231, 0.72);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  color: var(--warm);
  font-weight: 800;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 79px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px clamp(20px, 6vw, 86px) 28px;
    background: rgba(6, 22, 38, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .language-switcher {
    margin-left: auto;
  }

  .split,
  .philosophy-grid,
  .festival-layout,
  .contact,
  .section-head {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .brand span:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-switcher {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .nav {
    inset: 144px 0 auto 0;
  }

  .lang-button {
    flex: 1;
  }

  .menu-toggle {
    order: 2;
  }

  .hero {
    min-height: 100svh;
    padding: 168px 20px 210px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-scrim {
    background:
      radial-gradient(circle at 66% 28%, rgba(200, 162, 75, 0.2), transparent 28%),
      radial-gradient(circle at 86% 18%, rgba(142, 37, 40, 0.28), transparent 34%),
      linear-gradient(90deg, rgba(6, 22, 38, 0.98), rgba(6, 22, 38, 0.66)),
      linear-gradient(180deg, rgba(6, 22, 38, 0.22), rgba(6, 22, 38, 0.94));
  }

  h1 {
    font-size: clamp(50px, 17vw, 72px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .hero-meta div {
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-meta div:last-child {
    border-bottom: 0;
  }

  .project-grid,
  .calendar-grid,
  .media-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-rows: 220px 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
