:root {
  --bg: #f6f3ee;
  --surface: #fffdf9;
  --ink: #1c241f;
  --muted: #5c675f;
  --line: #d9d2c6;
  --brand: #3d5c45;
  --brand-deep: #2a4031;
  --accent: #a33c3c;
  --display: "Source Serif 4", "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: min(720px, calc(100% - 2.5rem));
  --radius: 16px;
  --shadow: 0 12px 28px rgba(28, 36, 31, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--brand-deep);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.brand-wordmark {
  height: 16px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-cta {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--brand-deep);
  color: #fff !important;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--display);
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.lede {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  text-wrap: pretty;
}

.note {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: color-mix(in oklab, var(--ink) 28%, var(--line));
  color: var(--ink);
}

.section {
  padding: 2rem 0 4rem;
}

.section-contact {
  padding-bottom: 5rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel p {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.fineprint {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand p {
  margin: 0;
}

.footer-mark {
  width: 28px;
  height: 28px;
}

.footer-meta {
  margin: 0;
}

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

.footer-meta a:hover {
  color: var(--brand);
}

@media (max-width: 700px) {
  :root {
    --wrap: min(720px, calc(100% - 1.5rem));
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .brand-wordmark {
    max-width: 11rem;
  }

  .hero {
    padding-top: 3rem;
  }
}
