:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #65625c;
  --border: #dad5c8;
  --accent: #0f766e;
  --accent-dark: #134e4a;
  --gold: #b27a19;
  --blue: #274c77;
  --shadow: 0 18px 42px rgba(23, 23, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    url("assets/100.gif") center / cover;
  border-bottom: 1px solid var(--border);
}

.topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 20px 24px;
}

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

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--accent-dark);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.intro {
  align-items: stretch;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 48px 24px 56px;
}

.intro > *,
.topbar > *,
.gallery > *,
.overview > * {
  min-width: 0;
}

.intro-copy {
  align-self: center;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 4.6rem;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 22px;
  max-width: 780px;
  overflow-wrap: break-word;
}

h2 {
  font-size: 2.85rem;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 0;
  max-width: 820px;
  overflow-wrap: break-word;
}

h3 {
  font-size: 1.04rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.intro-copy > p:not(.section-label):not(.privacy-note) {
  color: #343331;
  font-size: 1.08rem;
  max-width: 650px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 16px;
  max-width: 100%;
}

.filter {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 42px;
  padding: 0 15px;
}

.filter.active,
.filter:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #ffffff;
}

.privacy-note {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 660px;
}

.spotlight,
.iframe-frame,
.material-card,
.audio-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.spotlight {
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
}

iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.overview {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 26px 24px 0;
}

.overview > div {
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 116px;
  padding: 22px;
}

.metric {
  color: var(--accent-dark);
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  display: block;
  font-size: 0.92rem;
  margin-top: 8px;
}

.content-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 72px 24px 0;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 26px;
}

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

.gallery.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.material-card {
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.07);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.material-card.wide {
  grid-column: span 2;
}

.material-card[hidden] {
  display: none;
}

.material-card img {
  aspect-ratio: 16 / 9;
  background: #ffffff;
  display: block;
  object-fit: contain;
  padding: 12px;
  width: 100%;
}

.iframe-frame {
  aspect-ratio: 16 / 8.8;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.audio-panel {
  align-items: center;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-radius: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr;
  padding: 22px;
}

.audio-icon {
  align-items: center;
  background: var(--blue);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  width: 52px;
}

audio {
  width: 100%;
}

.site-footer {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 72px auto 0;
  max-width: 1180px;
  padding: 32px 24px 46px;
}

.site-footer p {
  margin-bottom: 0;
  max-width: 720px;
}

@media (max-width: 900px) {
  .intro,
  .gallery,
  .gallery.compact {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .material-card.wide {
    grid-column: auto;
  }

  .spotlight {
    min-height: 320px;
  }

  .overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro {
    padding-top: 28px;
  }

  .intro-copy,
  .intro-copy > p:not(.section-label),
  .privacy-note,
  .spotlight {
    max-width: 342px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.08;
    max-width: 342px;
  }

  h2 {
    font-size: 1.72rem;
    line-height: 1.12;
  }

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

  .filter {
    font-size: 0.82rem;
    min-height: 40px;
    padding: 0 12px;
  }

  .audio-panel {
    grid-template-columns: 1fr;
  }
}
