:root {
  color-scheme: dark;
  --ink: #111827;
  --night: #16213a;
  --velvet: #6f1d2f;
  --brass: #d9a441;
  --paper: #f4ead2;
  --ivory: #fff8e8;
  --teal: #1d5c63;
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px 40px;
  background: rgba(17, 24, 39, 0.78);
  border-bottom: 1px solid rgba(244, 234, 210, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 6px 0;
  color: rgba(255, 248, 232, 0.82);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ivory);
  border-color: var(--brass);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  overflow: hidden;
  padding: 120px 40px 76px;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(17, 24, 39, 0.16), rgba(17, 24, 39, 0.92)),
    url("hero-stage.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 28%, rgba(217, 164, 65, 0.28), transparent 30%),
    linear-gradient(90deg, rgba(111, 29, 47, 0.70), rgba(22, 33, 58, 0.24) 48%, rgba(17, 24, 39, 0.70));
}

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

.kicker,
.section-label {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.7rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 12px 34px var(--shadow);
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 248, 232, 0.88);
  font-size: 1.22rem;
}

.scroll-mark {
  position: absolute;
  bottom: 24px;
  left: 40px;
  width: 96px;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), transparent);
}

.section {
  padding: 86px 40px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split,
.legacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.overture {
  background:
    linear-gradient(135deg, rgba(244, 234, 210, 0.96), rgba(232, 218, 188, 0.94)),
    var(--paper);
  color: var(--ink);
}

.moments {
  background:
    linear-gradient(180deg, #101927, #18263d 48%, #111827);
}

.legacy {
  background:
    linear-gradient(135deg, rgba(29, 92, 99, 0.98), rgba(111, 29, 47, 0.96));
}

.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(17, 24, 39, 0.78);
}

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

.moment-card {
  min-height: 246px;
  padding: 26px;
  background: rgba(255, 248, 232, 0.08);
  border: 1px solid rgba(255, 248, 232, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  color: var(--ink);
  font-weight: 800;
  background: var(--brass);
  border-radius: 50%;
}

.moment-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.moment-card p,
.quote-panel p {
  margin: 0;
  color: rgba(255, 248, 232, 0.82);
}

.legacy-panel,
.quote-panel {
  min-height: 260px;
}

.quote-panel {
  display: flex;
  align-items: center;
  padding: 34px;
  background: rgba(17, 24, 39, 0.30);
  border: 1px solid rgba(255, 248, 232, 0.20);
  border-radius: 8px;
}

.quote-panel p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 40px;
  color: rgba(255, 248, 232, 0.74);
  background: #0b111d;
  border-top: 1px solid rgba(255, 248, 232, 0.14);
}

@media (max-width: 800px) {
  .site-header {
    position: absolute;
    padding: 14px 20px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 88vh;
    padding: 110px 20px 68px;
  }

  h1 {
    font-size: 3.75rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .section {
    padding: 64px 20px;
  }

  .split,
  .legacy-layout,
  .moment-grid {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 2.1rem;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 104px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    line-height: 1.2;
  }

  .hero {
    padding-top: 142px;
  }
}

@media (max-width: 440px) {
  .nav-links {
    font-size: 0.82rem;
  }

  h1 {
    font-size: 3.05rem;
  }

  .quote-panel {
    padding: 24px;
  }

  .quote-panel p {
    font-size: 1.34rem;
  }
}
