:root {
  --bg: #0a0908;
  --bg-soft: #12100d;
  --surface: rgba(21, 17, 13, 0.76);
  --surface-strong: rgba(28, 22, 16, 0.92);
  --surface-glass: rgba(255, 248, 235, 0.04);
  --text: #f5ede0;
  --text-muted: #c6b8a1;
  --text-soft: #a39378;
  --line: rgba(226, 183, 96, 0.12);
  --line-strong: rgba(226, 183, 96, 0.24);
  --gold: #d8b15e;
  --gold-soft: #f1d8a3;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(181, 132, 52, 0.12), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, #0a0908 0%, #0c0a09 40%, #090807 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.68;
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(24px);
  background: rgba(8, 7, 6, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}

.brand__title {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__subtitle {
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links,
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link,
.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-soft);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  transition: 0.2s ease;
}

.nav-link:hover,
.lang-link:hover {
  color: var(--gold-soft);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.is-active,
.lang-link.is-active {
  color: #150f07;
  background: linear-gradient(135deg, #f2d9a9, #d4a651);
  border-color: transparent;
}

.hero {
  padding: 64px 0 28px;
}

.hero__card,
.content-card,
.grid-card {
  background:
    linear-gradient(180deg, rgba(27, 22, 17, 0.88), rgba(15, 12, 10, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__card {
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.hero__card > .eyebrow,
.hero__card > h1,
.hero__card > .lead,
.hero__card > .hero__actions {
  grid-column: 1;
}

.hero__card > .meta-strip {
  grid-column: 2;
  grid-row: 1 / span 4;
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  max-width: 10.5ch;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.button--primary {
  color: #170f06;
  background: linear-gradient(135deg, #f4deb3, #cf9f47);
}

.button--secondary {
  color: var(--gold-soft);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.meta-strip {
  display: grid;
  gap: 14px;
}

.meta-chip {
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-chip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-soft);
}

.section {
  padding: 16px 0 38px;
}

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

.grid-card,
.content-card {
  border-radius: var(--radius-lg);
}

.grid-card {
  padding: 26px;
}

.grid-card p,
.content-card p,
.content-card li,
.content-card address,
.grid-card li {
  color: var(--text-muted);
}

.content-card {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 32px 34px;
}

.content-card > .eyebrow + h1 {
  margin-top: 8px;
  margin-bottom: 16px;
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
}

.content-card > .lead {
  margin-bottom: 22px;
}

.content-card section + section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.content-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.content-card li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 177, 94, 0.16);
  background: rgba(255, 244, 217, 0.04);
  color: var(--text);
}

.notice--warning {
  border-color: rgba(221, 143, 132, 0.22);
  background: rgba(221, 143, 132, 0.08);
}

.footer {
  padding: 22px 0 36px;
}

.footer__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.small {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.mono {
  font-family: "SFMono-Regular", "Menlo", monospace;
}

address {
  font-style: normal;
}

@media (max-width: 960px) {
  .hero__card {
    grid-template-columns: 1fr;
  }

  .hero__card > .meta-strip {
    grid-column: 1;
    grid-row: auto;
  }

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

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .footer__inner {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .hero {
    padding-top: 34px;
  }

  .hero__card,
  .content-card,
  .grid-card {
    padding: 22px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .content-card > .eyebrow + h1 {
    max-width: none;
    font-size: clamp(1.95rem, 8vw, 2.6rem);
  }

  .footer__inner {
    flex-direction: column;
  }
}
