:root {
  --bg: #f3efe6;
  --bg-band: #ebe6db;
  --bg-elevated: #fffdf8;
  --ink: #121c19;
  --muted: #4a5752;
  --line: #d4cec0;
  --brand: #102820;
  --brand-2: #1c4338;
  --accent: #3d7a52;
  --accent-soft: #c5ddc8;
  --on-dark: #e7eee8;
  --on-dark-muted: #b7c6bb;
  --shadow: 0 20px 48px rgba(16, 40, 32, 0.08);
  --radius: 4px;
  --max: 1080px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

a:hover {
  color: var(--brand-2);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(243, 239, 230, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--brand);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--brand);
}

.logo img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.lang {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
}

.hero-band {
  background: var(--brand);
  color: var(--on-dark);
  padding: 88px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.kicker {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 600;
}

.hero-band .kicker {
  color: var(--accent-soft);
}

.kicker-on-dark {
  color: var(--accent-soft);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  color: #fff;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
}

h3 {
  font-size: 1.2rem;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: 0;
}

.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
}

.hero-band .lede {
  color: var(--on-dark-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent-soft);
  color: var(--brand);
}

.btn-primary:hover {
  color: var(--brand);
  filter: brightness(1.04);
}

.btn-ghost {
  border: 1px solid rgba(231, 238, 232, 0.35);
  color: var(--on-dark);
}

.btn-ghost:hover {
  color: #fff;
  border-color: #fff;
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(231, 238, 232, 0.14);
  border-radius: 2px;
  padding: 28px 68px 28px 28px;
}

.hero-mark {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
}

.hero-stat {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--accent-soft);
}

.hero-card h2 {
  color: #fff;
  font-size: 1.45rem;
}

.hero-card p {
  color: var(--on-dark-muted);
  margin: 0;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill {
  border: 1px solid rgba(197, 221, 200, 0.35);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.82rem;
  color: var(--accent-soft);
}

.pills-light {
  margin-top: 14px;
}

.pills-light .pill {
  border-color: var(--line);
  color: var(--brand-2);
  background: var(--bg-elevated);
}

section {
  padding: 72px 0;
}

.band {
  background: var(--bg-band);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.section-head .lede {
  margin-top: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card.featured {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-dark);
}

.card.featured h3 {
  color: #fff;
}

.card.featured p {
  color: var(--on-dark-muted);
}

.split {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}

.portrait {
  background: var(--brand);
  color: var(--on-dark);
  padding: 32px 28px;
  min-height: 260px;
}

.portrait h2 {
  color: #fff;
}

.meta {
  color: var(--accent-soft);
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.meta-soft {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  margin: 0;
  max-width: 22rem;
}

.about .lede {
  margin-bottom: 16px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  padding: 0 0 32px 28px;
  position: relative;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--brand);
  border-radius: 50%;
  position: absolute;
  left: -6px;
  top: 6px;
}

.when {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 6px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.contact-box,
.legal {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-box a,
.legal a {
  color: var(--brand-2);
}

.meta-legal {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

.legal h1 {
  font-size: 2.2rem;
  color: var(--ink);
}

.legal h2 {
  margin-top: 28px;
  font-size: 1.15rem;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: 0;
}

.page-main {
  padding: 48px 0 80px;
}

@media (max-width: 860px) {
  .hero,
  .about,
  .grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-band {
    padding: 56px 0 48px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    right: 24px;
    top: 68px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav .lang {
    color: var(--ink);
  }
}
