:root {
  --ink: #171512;
  --ink-soft: #3f3931;
  --paper: #f8f2e8;
  --paper-strong: #fffaf2;
  --red: #a82224;
  --red-dark: #741619;
  --gold: #d8a742;
  --green: #335b45;
  --line: rgba(23, 21, 18, 0.14);
  --shadow: 0 24px 70px rgba(23, 21, 18, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Asket";
  src: url("assets/fonts/Asket-Extrabold.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
}

@font-face {
  font-family: "Asket Extended";
  src: url("assets/fonts/Asket-ExtendedLight.ttf") format("truetype");
  font-display: swap;
  font-weight: 300;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(248, 242, 232, 0.94);
  box-shadow: 0 12px 30px rgba(23, 21, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(132px, 15vw, 190px);
  min-width: 132px;
  height: 48px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-logo-dark {
  display: none;
}

.site-header.is-scrolled .brand-logo-light,
.site-header.is-open .brand-logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-dark,
.site-header.is-open .brand-logo-dark {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #050505;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.83) 0%, rgba(0, 0, 0, 0.52) 36%, rgba(0, 0, 0, 0.12) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 92px);
  padding-top: 76px;
  color: #fff;
}

.kicker,
.section-label,
.event-type {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-family: "Asket", Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 19vw, 13.5rem);
  line-height: 0.78;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: "Asket", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.15;
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 22px;
  font-size: 0.92rem;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 11vw, 132px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 6vw, 86px);
  align-items: start;
}

.intro p:last-child,
.legacy-panel p,
.contact > div p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.stats article {
  min-height: 190px;
  padding: clamp(24px, 4vw, 40px);
  color: #fff;
  background: var(--ink);
}

.stats article:nth-child(2) {
  background: var(--red-dark);
}

.stats article:nth-child(3) {
  background: var(--green);
}

.stats strong {
  display: block;
  font-family: "Asket", Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.stats span {
  display: block;
  max-width: 250px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(230px, 0.74fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.repertoire-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.feature-card h3,
.feature-card p {
  grid-column: 2;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.card-number {
  grid-row: 1 / span 2;
  color: var(--red);
  font-weight: 900;
}

.legacy {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(18px, 1fr) minmax(280px, 520px) minmax(280px, 620px) minmax(18px, 1fr);
  gap: clamp(20px, 5vw, 70px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(168, 34, 36, 0.92), rgba(51, 91, 69, 0.96)),
    var(--green);
}

.legacy-panel {
  grid-column: 2;
}

.legacy .section-label,
.legacy .legacy-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.timeline {
  grid-column: 3;
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.timeline span {
  color: var(--gold);
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 740px;
}

.event-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(240px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.event-card:last-child {
  border-bottom: 1px solid var(--line);
}

.event-card p {
  margin: 0;
  color: var(--ink-soft);
}

.event-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 42px;
  border: 1px solid var(--ink);
  font-weight: 850;
}

.event-card a:hover,
.event-card a:focus-visible {
  color: #fff;
  background: var(--ink);
}

.contact {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  padding-top: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(168, 34, 36, 0.32);
  outline-offset: 2px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 850;
}

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

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 18px 22px;
    color: var(--ink);
    background: rgba(248, 242, 232, 0.98);
    box-shadow: 0 20px 40px rgba(23, 21, 18, 0.12);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: 88vh;
    align-items: end;
  }

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

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.52) 44%, rgba(0, 0, 0, 0.16) 76%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 80%);
  }

  .hero-content {
    width: min(100% - 36px, 600px);
    margin: 0 auto;
    padding: 120px 0 54px;
  }

  .intro,
  .split,
  .contact,
  .legacy {
    grid-template-columns: 1fr;
  }

  .legacy {
    padding-left: 18px;
    padding-right: 18px;
  }

  .legacy-panel,
  .timeline {
    grid-column: 1;
  }

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

  .stats article {
    min-height: 150px;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-card a {
    width: fit-content;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand {
    width: 116px;
    min-width: 116px;
    height: 42px;
  }

  .main-nav {
    inset: 68px 0 auto;
  }

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

  .button {
    min-height: 50px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card h3,
  .feature-card p,
  .card-number {
    grid-column: 1;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
