:root {
  --ink: #171717;
  --muted: #5e5b55;
  --paper: #f8f5ee;
  --paper-strong: #efe7d7;
  --line: #d8d0c0;
  --accent: #9b2f2f;
  --accent-dark: #681f24;
  --green: #275f4b;
  --gold: #b9862d;
  --white: #ffffff;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: blur(16px);
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.language-toggle {
  display: inline-flex;
  width: 88px;
  height: 38px;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--white);
}

.lang-button {
  width: 40px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - 132px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.78), rgba(8, 8, 8, 0.36) 48%, rgba(8, 8, 8, 0.08)),
    linear-gradient(0deg, rgba(8, 8, 8, 0.45), rgba(8, 8, 8, 0.08) 46%),
    url("assets/image3.jpeg") center / cover;
}

.hero__content {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 50px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 1.02;
  font-weight: 700;
}

.hero__lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: var(--white);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-item {
  min-height: 142px;
  padding: 28px 32px;
  background: var(--paper-strong);
}

.intro-item span {
  display: block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.intro-item p {
  max-width: 340px;
  margin: 8px 0 0;
  color: var(--muted);
}

.content-section,
.photo-section,
.cta {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
}

.prose {
  max-width: 790px;
  margin-left: auto;
  color: #2b2925;
  font-size: 1.08rem;
}

.prose p {
  margin: 0 0 20px;
}

.activities {
  border-top: 1px solid var(--line);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.activity {
  min-height: 244px;
  padding: 24px;
  background: var(--white);
}

.activity span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.activity h3 {
  min-height: 64px;
  margin: 24px 0 12px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.activity p {
  margin: 0;
  color: var(--muted);
}

.photo-section {
  width: 100%;
  max-width: none;
  padding-right: 24px;
  padding-left: 24px;
  background: #22211f;
  color: var(--white);
}

.photo-section .section-heading {
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 12px;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  background: #111;
}

.photo-grid img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.photo-grid figure:first-child img {
  height: 520px;
}

.signers {
  border-bottom: 1px solid var(--line);
}

.signer-list {
  column-count: 2;
  column-gap: 56px;
  max-width: 920px;
  margin: 0 0 0 auto;
  padding-left: 22px;
  color: #332f2a;
}

.signer-list li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.cta h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
}

.cta .button {
  flex: 0 0 auto;
}

.footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 16px 20px;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    gap: 14px;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 2.5rem;
  }

  .intro-band,
  .activity-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid img,
  .photo-grid figure:first-child img {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .prose,
  .signer-list {
    margin-left: 0;
  }

  .signer-list {
    column-count: 1;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .hero {
    min-height: calc(100svh - 150px);
  }

  .hero__image {
    background:
      linear-gradient(0deg, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.22)),
      url("assets/image3.jpeg") center / cover;
  }

  .hero__content {
    width: calc(100% - 32px);
    padding: 44px 0 38px;
  }

  .hero h1 {
    font-size: 2.42rem;
    line-height: 1.04;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .intro-item {
    padding: 24px 20px;
  }

  .content-section,
  .photo-section,
  .cta {
    width: calc(100% - 32px);
    padding: 62px 0;
  }

  .photo-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .activity {
    min-height: 190px;
  }

  .activity h3 {
    min-height: auto;
  }

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

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 16px;
  }
}
