:root {
  --oak: #254A3C;
  --cream: #F3EFE4;
  --cream-deep: #E8E2D4;
  --ink: #254A3C;
  --ink-soft: #2F4F42;
  --muted: #5A635E;
  --line: rgba(37, 74, 60, 0.14);
  --white: #FFFFFF;
  --max: 1080px;
  --narrow: 640px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { opacity: 0.72; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.brand img {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

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

.nav a:hover { color: var(--ink); opacity: 1; }

/* Hero */
.hero {
  padding: clamp(4.5rem, 12vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 14ch;
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-cta { margin: 2.25rem 0 0; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
  opacity: 1;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--cream-deep);
  border-block: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section p { margin: 0 0 1.1rem; }
.section p:last-child { margin-bottom: 0; }

.section-head {
  max-width: var(--narrow);
  margin-bottom: 2.25rem;
}

.section-intro {
  margin: 0;
  color: var(--muted);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem 1.6rem;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.contact .contact-email {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.contact .contact-email a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact .contact-email a:hover {
  border-bottom-color: var(--ink);
  opacity: 1;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.legal { margin: 0; max-width: 36rem; }
.copy { margin: 0.25rem 0 0; font-size: 0.82rem; }

@media (max-width: 720px) {
  .nav { display: none; }
  .criteria-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .brand img { width: 148px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1;
}
.lang-switch button:hover { color: var(--ink); background: var(--cream-deep); }
.lang-switch button.is-active {
  color: var(--cream);
  background: var(--oak);
}
.lang-switch button:focus-visible {
  outline: 2px solid var(--oak);
  outline-offset: 2px;
}
.header-inner { flex-wrap: wrap; }
.header-tools {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

