@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap");

:root {
  --void: #07090d;
  --ink: #0c1016;
  --panel: #131821;
  --raise: #1a212c;
  --line: rgba(190, 206, 222, 0.12);
  --snow: #eef2f6;
  --mist: #8d97a6;
  --ice: #9eb4c6;
  --solid-ink: #0a1018;
  --max: 1180px;
  --nav-h: 76px;
  --head-h: 104px;
  --r: 10px;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--void);
  color: var(--snow);
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

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

.kicker {
  margin: 0 0 14px;
  color: var(--ice);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1, h2, .display {
  font-family: Syne, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

h1 { font-size: clamp(46px, 7.4vw, 86px); margin: 0 0 20px; }
h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 8px; font-weight: 650; letter-spacing: -0.02em; }

.lede {
  margin: 0;
  max-width: 38em;
  color: var(--mist);
  font-size: 17px;
  line-height: 1.65;
}

/* Header */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.96), rgba(7, 9, 13, 0.55) 85%, transparent);
  backdrop-filter: blur(14px);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1280px, calc(100% - 40px));
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.brand b {
  font-family: Syne, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.brand small {
  display: block;
  color: var(--mist);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--snow); }
.nav-links .btn {
  color: var(--solid-ink);
  margin-left: 6px;
}
.nav-links .btn:hover { color: var(--solid-ink); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--snow);
  border-radius: var(--r);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: var(--snow);
  color: var(--solid-ink);
}
.btn-solid:hover { background: #fff; }
.btn-ghost {
  border-color: var(--line);
  color: var(--snow);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ice); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--head-h) + 40px) 0 72px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.55) contrast(1.12) brightness(0.82);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.45) 0%, rgba(7, 9, 13, 0.12) 28%, rgba(7, 9, 13, 0.78) 72%, #07090d 100%),
    linear-gradient(90deg, rgba(7, 9, 13, 0.35), transparent 55%);
}
.hero-content { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 13px;
}
.hero-meta b {
  display: block;
  color: var(--snow);
  font-family: Syne, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section { padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact { padding: 32px 8px 32px 0; }
.fact span {
  display: block;
  color: var(--snow);
  font-family: Syne, sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.fact p { margin: 0; color: var(--mist); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split img {
  width: 100%;
  height: min(560px, 70vw);
  object-fit: cover;
  border-radius: var(--r);
  filter: saturate(0.7) contrast(1.05);
}
.note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--ice);
  background: var(--panel);
  color: var(--mist);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.06);
}
.card-body { padding: 20px; }
.card-body p { margin: 0; color: var(--mist); }
.card a { text-decoration: none; }
a.card:hover,
.card:has(h2 a):hover { transform: translateY(-3px); border-color: rgba(158, 180, 198, 0.4); }
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.list { display: grid; gap: 10px; }
.event {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.event time {
  color: var(--ice);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.event p { margin: 4px 0 0; color: var(--mist); font-size: 14px; }
.event small { color: var(--mist); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.step i {
  font-style: normal;
  color: var(--ice);
  font-family: Syne, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.band {
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.35), rgba(7, 9, 13, 0.86)),
    url("../images/stand-50m.jpg") center/cover;
  padding: 96px 0;
}
.band img { filter: saturate(0.5); }
.band .wrap { max-width: 720px; }

.page-hero {
  padding: calc(var(--head-h) + 56px) 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 240px at 10% 0%, rgba(158, 180, 198, 0.08), transparent 60%);
}

.board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.board article {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.board span {
  color: var(--ice);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.week {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.week article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.week b { color: var(--ice); }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 10px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r);
  filter: saturate(0.65) contrast(1.06);
}
.gallery img:first-child { grid-row: span 2; height: 100%; }

.prose { max-width: 720px; color: var(--mist); }
.prose p { margin: 0 0 16px; }
.prose a { color: var(--ice); }

.form {
  display: grid;
  gap: 12px;
  max-width: 560px;
}
.form label { font-size: 13px; color: var(--mist); }
.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--raise);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--mist); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.map {
  margin-top: 28px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--panel);
}
.map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.25) brightness(0.9);
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.cal-nav h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
}
.cal-nav button {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--snow);
  border-radius: 8px;
  cursor: pointer;
}
.cal-nav button:hover { border-color: var(--ice); }

.footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 14px;
}
.footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--snow); }
.legal {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #66707c;
  font-size: 13px;
}

.draft-banner {
  background: #0e141c;
  color: var(--ice);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .brand b { font-size: 16px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--head-h);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--r);
  }
  .nav-links.open { display: flex; }
  .facts, .cards, .steps, .split, .board, .week, .contact-grid, .footer .wrap, .event {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .hero { min-height: 92svh; align-items: end; }
}
