:root {
  color-scheme: dark;
  --background: #102d2c;
  --dark: #0b2222;
  --foreground: #fff5df;
  --muted: #d3d9ca;
  --gold: #f6c76a;
  --rule: #47635b;
  --display: Georgia, 'Times New Roman', serif;
  font: 100%/1.55 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

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

a {
  color: var(--gold);
  text-underline-offset: 0.2em;
}

a:hover { color: var(--foreground); }

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.frame {
  width: min(100% - clamp(2rem, 8vw, 8rem), 76rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--dark);
  transform: translateY(-180%);
}

.skip:focus { transform: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--foreground);
  font: 700 clamp(1.5rem, 4vw, 1.875rem)/1 var(--display);
  text-decoration: none;
}

.wordmark img { border-radius: 0.625rem; }

.languages {
  display: flex;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  font-size: 0.875rem;
}

.languages a {
  padding-block: 0.45rem;
  color: var(--muted);
  text-decoration: none;
}

.languages a:hover,
.languages a[aria-current] {
  color: var(--foreground);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(1rem, 5vw, 3rem) clamp(2.75rem, 9vw, 7.5rem);
}

.eyebrow {
  margin: 0 0 1.125rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.03;
  text-wrap: balance;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.45rem, 2.4rem + 4.9vw, 7rem);
  letter-spacing: -0.06em;
}

.hero-intro,
.document-intro {
  color: var(--muted);
  font-size: clamp(1.0625rem, 0.98rem + 0.55vw, 1.375rem);
}

.hero-intro {
  max-width: 33ch;
  margin: 1.5rem 0 0;
}

.play {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.25rem;
  background: var(--gold);
  color: var(--dark);
  font-weight: 750;
  text-decoration: none;
}

.play:hover {
  background: var(--foreground);
  color: var(--dark);
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  border: 1px solid var(--rule);
  border-radius: 0.35rem;
  object-fit: cover;
  object-position: center 58%;
  box-shadow: 0 1.5rem 4rem #0619189c;
}

.campaign {
  border-top: 1px solid var(--rule);
  padding-block: clamp(2rem, 7vw, 5rem);
}

.campaign-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: clamp(1rem, 6vw, 6rem);
  margin-bottom: 1.75rem;
}

.campaign h2 {
  max-width: 19ch;
  font-size: clamp(2.25rem, 1.3rem + 2.2vw, 3.625rem);
  letter-spacing: -0.04em;
}

.campaign p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.625rem, 2.4vw, 1.75rem);
}

.places figure { margin: 0; }

.places img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--rule);
  border-radius: 0.25rem;
  object-fit: cover;
}

.places figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 1.75rem 2.25rem;
}

.publisher { font-weight: 650; }

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer a:hover,
.site-footer a[aria-current] { color: var(--gold); }

.info-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.info-page main { flex-grow: 1; }

.info-page .site-header { border-bottom: 1px solid var(--rule); }

.document {
  width: min(100% - clamp(2rem, 8vw, 8rem), 44rem);
  margin: 0 auto;
  padding-block: clamp(2rem, 8vw, 5.5rem);
}

.document h1 {
  font-size: clamp(2.55rem, 2rem + 2.8vw, 4.25rem);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.document:lang(ru) h1 { font-size: clamp(1.375rem, 8vw, 4.25rem); }

.document-intro { margin: 1rem 0 0; }

.updated {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.document section {
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
}

.document h2 {
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2.125rem);
  letter-spacing: -0.02em;
}

.document section p {
  margin: 0.75rem 0 0;
  overflow-wrap: break-word;
}

@media (max-width: 44rem) {
  .hero, .campaign-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-art { aspect-ratio: 16 / 12; }
}

@media (max-width: 24rem) {
  .site-header { flex-wrap: wrap; gap: 0.625rem; }
  .wordmark img { width: 32px; height: 32px; }
  .languages { gap: 0.625rem; }
  .hero h1 { font-size: 3rem; }
  .places figcaption { overflow-wrap: break-word; }
}
