/* Theme contract: override tokens for a client; keep shared components. */
:root {
  color-scheme: light;
  --color-bg: #f7f7f0;
  --color-surface: #fff;
  --color-ink: #193c31;
  --color-muted: #4d6258;
  --color-accent: #e4edbd;
  --color-border: #ccd5c8;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space-section: clamp(3.5rem, 8vw, 7rem);
  --width-page: 72rem;
  --radius: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--color-bg); color: var(--color-ink); font-family: var(--font-body); line-height: 1.65; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #934118; outline-offset: 5px; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6.5vw, 5.5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.25rem); letter-spacing: -.035em; }
h3 { font-size: 1.4rem; letter-spacing: -.02em; }
p { overflow-wrap: anywhere; }
.container { width: min(var(--width-page), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.skip-link { position: absolute; z-index: 10; top: 1rem; left: 1rem; padding: 1rem; background: var(--color-ink); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--color-border); }
.header-inner, .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.4rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; font-size: 1.1rem; font-weight: 750; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--color-ink); color: var(--color-bg); border-radius: 50%; font-size: 1.4rem; }
.navigation { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; padding: 0; list-style: none; }
.navigation a { display: inline-block; padding: .65rem .4rem; }
.navigation [aria-current] { font-weight: 700; }
.hero { padding-block: clamp(4rem, 9vw, 8rem); background: radial-gradient(ellipse at 95% 10%, var(--color-accent), transparent 65%); }
.hero-inner { max-width: 65rem; }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; }
.hero h1 { max-width: 15ch; }
.lead { max-width: 39rem; font-size: clamp(1.1rem, 2vw, 1.3rem); margin-block: 1.75rem 2rem; color: var(--color-muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3rem; max-width: 100%; padding: .85rem 1.35rem; background: var(--color-ink); color: white; border-radius: 999px; font-weight: 650; text-decoration: none; }
.button:hover { background: #285440; }
.hero-note { margin-top: 1.75rem; color: var(--color-muted); font-size: .85rem; }
.section-heading { margin-bottom: 2.5rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.card { padding: clamp(1.5rem, 3vw, 2.3rem); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.card-number { display: inline-block; margin-bottom: 2.5rem; font-size: .85rem; color: var(--color-muted); }
.card p { margin-top: 1rem; color: var(--color-muted); }
.cta { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; background: var(--color-accent); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); }
.cta > div { flex: 1 1 28rem; }
.cta p { max-width: 40rem; margin-top: 1rem; }
.site-footer { border-top: 1px solid var(--color-border); color: var(--color-muted); }
.site-footer p { font-size: .9rem; }
.prose { max-width: 48rem; min-height: 55vh; }
.prose h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-block: 2rem; }
.breadcrumbs { font-size: .9rem; }
@media (max-width: 35rem) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .cta .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Optional CMS images do not alter the empty-image layout. */
.content-image { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); }
.hero .content-image { max-width: 48rem; margin-top: 2rem; }
.card .content-image { margin-bottom: 1.5rem; }
.cta > .content-image { flex: 0 1 24rem; min-width: 0; }
