:root {
  --ink: #121212;
  --body: #34383d;
  --muted: #6e747a;
  --paper: #fffdf8;
  --wash: #f3f6ed;
  --line: #d7d8d1;
  --green: #4c7627;
  --blue: #315a7a;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(920px, calc(100% - 48px));
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.nav-links,
.language-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.language-switch {
  gap: 6px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.language-switch a {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.54);
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 850;
}

.hero {
  display: grid;
  min-height: calc(100vh - 64px);
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.92fr);
  gap: 54px;
  align-items: center;
  padding: 58px 0 46px;
}

.hero.text-only {
  display: block;
  min-height: auto;
  padding: 74px 0 68px;
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

h1 {
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 1.04;
  font-weight: 900;
}

.legal h1 {
  margin-bottom: 10px;
  font-size: 3rem;
  line-height: 1.08;
}

h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 900;
}

.legal h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.lead,
.section-lead {
  max-width: 800px;
  color: var(--body);
  font-size: 1.09rem;
  line-height: 1.9;
}

.date {
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

section {
  scroll-margin-top: 76px;
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.legal main {
  padding: 72px 0;
}

.legal section {
  padding: 30px 0;
}

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #f7f4eb;
}

.strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
}

.strip p {
  margin: 0;
  color: #d8d7cf;
  font-size: 0.98rem;
}

.iga {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.btn.secondary,
button.secondary {
  background: transparent;
  color: var(--ink);
}

.card-stage {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(76, 118, 39, 0.14), transparent 38%),
    linear-gradient(180deg, #ffffff, #f8f2e6);
  overflow: hidden;
}

.card-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.metal-card {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 22px 42px rgba(31, 35, 40, 0.24);
}

.caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.grid,
.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 30px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.contact {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.panel,
.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.panel {
  min-height: 220px;
}

.panel h3,
.contact-card h3 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 1rem;
  line-height: 1.45;
}

.panel p,
.contact-card p,
.legal p,
.legal li {
  color: var(--body);
}

.panel p,
.contact-card p {
  margin-bottom: 0;
}

.media-card {
  position: relative;
  align-self: start;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.media-label {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.media-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.45;
}

.media-card p {
  color: var(--body);
}

.media-card audio,
.media-card video {
  display: block;
  width: 100%;
  margin-top: 18px;
}

.media-card video {
  aspect-ratio: 16 / 9;
  max-height: 320px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #111;
}

.media-card .vsc-controller,
body > .vsc-controller {
  position: fixed !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 30 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 44px !important;
  overflow: hidden !important;
}

.statement,
.definition,
.note {
  border: 1px solid var(--line);
  background: var(--wash);
}

.statement {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  align-items: start;
  padding: 34px;
}

.statement .large {
  font-family: var(--serif);
  font-size: 2.05rem;
  line-height: 1.36;
  font-weight: 700;
}

.definition {
  margin-top: 28px;
  padding: 30px;
}

.definition strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.42;
}

.definition p {
  margin-bottom: 0;
  color: var(--body);
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

.note {
  padding: 18px;
}

.note p {
  margin-bottom: 0;
}

.email-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

code {
  overflow-wrap: anywhere;
  color: var(--body);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

button {
  min-height: 42px;
  padding: 9px 13px;
  border-color: var(--blue);
  background: #fff;
  color: var(--blue);
}

.copy-status {
  min-height: 1.6em;
  margin: 8px 0 0;
  color: var(--green);
  font-size: 0.88rem;
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  color: var(--body);
  font-weight: 850;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 8px 0 0;
}

@media (max-width: 860px) {
  .hero,
  .grid,
  .media-grid,
  .related-grid,
  .statement,
  .contact,
  .strip-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 3rem;
  }

  .iga {
    white-space: normal;
  }

  .nav-links {
    display: none;
  }

  .language-switch {
    max-width: 220px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .wrap,
  .narrow {
    width: min(100% - 32px, 1120px);
  }

  h1 {
    font-size: 2.5rem;
  }

  .legal h1 {
    font-size: 2.15rem;
  }

  .lead,
  .section-lead {
    font-size: 1.04rem;
  }

  .card-stage,
  .panel,
  .media-card,
  .contact-card,
  .definition {
    padding: 14px;
  }

  .statement {
    padding: 18px;
  }
}
