:root {
  --ink: #16372d;
  --ink-2: #214d3f;
  --paper: #fbf7ee;
  --paper-2: #f1eadc;
  --line: #d8cdbb;
  --type: #20231f;
  --muted: #6b655c;
  --accent: #8a3d35;
  --gold: #b38a4a;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(22, 55, 45, .13);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--type);
  background: var(--paper);
  line-height: 1.58;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: .5rem;
  z-index: 20;
  padding: .55rem .8rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 238, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
}
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 5px var(--paper-2);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: .55rem .75rem;
  font: inherit;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .25rem;
}
.site-nav a {
  padding: .5rem .65rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  font-size: .96rem;
}
.site-nav a[aria-current="page"] {
  border-color: var(--accent);
  color: var(--accent);
}

main { min-height: 65vh; }
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.5rem 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 2rem 0 3rem;
}
.hero-copy {
  border-left: 5px double var(--ink);
  padding-left: clamp(1rem, 3vw, 2rem);
}
.kicker {
  margin: 0 0 .8rem;
  color: var(--accent);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: Arial, sans-serif;
  font-weight: 700;
}
h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 7vw, 5.7rem); max-width: 9ch; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 13ch; }
h3 { font-size: 1.35rem; }
.lede {
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  max-width: 62ch;
  color: #343a33;
}
.hero-media,
.figure-frame {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: .55rem;
}
.hero-media img,
.figure-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.caption {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .92rem;
  font-family: Arial, sans-serif;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 700;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .72);
  padding: 1.25rem;
}
.panel h3 { margin-bottom: .5rem; }
.panel p, .panel ul { margin-bottom: 0; }
.band {
  background: var(--ink);
  color: var(--white);
  margin: 2rem 0;
}
.band .section { padding: 3rem 0; }
.band h2, .band h3 { color: var(--white); }
.band a { color: var(--white); }
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.list-clean {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}
.list-clean li { margin: .45rem 0; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.field { display: grid; gap: .35rem; }
label, legend {
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bfb4a5;
  background: var(--white);
  color: var(--type);
  padding: .75rem;
  font: 1rem Arial, sans-serif;
}
textarea { min-height: 140px; resize: vertical; }
fieldset {
  border: 1px solid var(--line);
  margin: 0;
  padding: 1rem;
}
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem .9rem;
}
.check { display: flex; gap: .45rem; align-items: flex-start; font-family: Arial, sans-serif; font-weight: 400; }
.check input { width: auto; min-height: auto; margin-top: .25rem; }
.status {
  min-height: 2rem;
  margin-top: .8rem;
  font-family: Arial, sans-serif;
  font-weight: 700;
}
.status[role="alert"] { color: var(--accent); }
.brief-summary {
  white-space: pre-wrap;
  background: var(--white);
  border: 1px dashed var(--gold);
  padding: 1rem;
  min-height: 8rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.2rem 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.2rem;
}
.footer-grid p { margin: .25rem 0; }
.fineprint { color: var(--muted); font-size: .92rem; font-family: Arial, sans-serif; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.cookie-banner[hidden], .cookie-settings[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions button, .nav-toggle, .button-button {
  cursor: pointer;
}
button {
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font: 700 1rem Arial, sans-serif;
}
button.secondary {
  background: var(--white);
  color: var(--ink);
}
.cookie-settings {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

@media (max-width: 850px) {
  .nav-wrap { align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: .75rem;
  }
  .site-nav[data-open="true"] { display: flex; }
  .nav-wrap { flex-wrap: wrap; }
  .hero, .split, .grid, .grid.two, .footer-grid, .form-grid, .checks {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  h1 { max-width: 12ch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
