:root {
  --ink: #14213d;
  --ink-2: #1f3158;
  --text: #1d2433;
  --muted: #4f5869;
  --bg: #ffffff;
  --bg-alt: #f4f2ed;
  --line: #e2ded4;
  --accent: #8a6a32;
  --accent-light: #d9bc84;
  --focus: #c98a1a;
  --radius: 10px;
  --max: 1120px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--ink-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow { max-width: 820px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand-form {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.brand:hover { color: var(--ink); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent-light); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  background: var(--ink);
  content: "";
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); background: var(--ink); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(20, 33, 61, .08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 188, 132, .18), transparent 45%),
    linear-gradient(135deg, var(--ink) 0%, #0f1a31 55%, #1b2c50 100%);
  padding: clamp(4rem, 10vw, 7.5rem) 0;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #d8dde8;
  max-width: 44rem;
  margin-bottom: 2rem;
}
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-shapes .shape {
  position: absolute;
  display: block;
  border: 1px solid rgba(217, 188, 132, .28);
  pointer-events: none;
}
.shape-1 { width: 420px; height: 420px; right: -120px; top: -140px; border-radius: 50%; }
.shape-2 { width: 260px; height: 260px; right: 8%; bottom: -150px; transform: rotate(45deg); }
.shape-3 { width: 180px; height: 180px; right: 22%; top: 18%; border-radius: 50%; border-color: rgba(255, 255, 255, .10); }

@media (max-width: 760px) {
  .shape-2, .shape-3 { display: none; }
  .shape-1 { width: 260px; height: 260px; right: -110px; top: -90px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--accent-light); color: var(--ink); }
.btn-primary:hover { background: #e7cf9f; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.purpose {
  margin: 1.5rem 0 2.5rem;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--accent-light);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 50rem;
}
.purpose p {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--ink);
  margin-bottom: .5rem;
}
.purpose footer { font-size: .9rem; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.card {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 33, 61, .04);
}
.card::before {
  content: "";
  position: absolute;
  left: 1.75rem; top: 0;
  width: 48px; height: 3px;
  background: var(--accent-light);
}
.card-index {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: .5rem;
}
.card p { color: var(--muted); margin: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.facts {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .5rem 1.5rem;
}
.facts div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; color: var(--muted); font-size: .95rem; }
.facts dd { margin: 0; color: var(--ink); }

.contact-card {
  max-width: 34rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 33, 61, .06);
}
.contact-card address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.contact-card strong { color: var(--ink); }
.contact-card .btn-primary { background: var(--ink); color: #fff; }
.contact-card .btn-primary:hover { background: var(--ink-2); color: #fff; }

.note { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* Legal */
.legal h3 { font-size: 1.1rem; margin-top: 1.75rem; margin-bottom: .4rem; }
.legal p { color: var(--text); }
.legal p, .legal h3 { overflow-wrap: anywhere; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c9d0dd;
  padding: 3rem 0 2rem;
  font-size: .95rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .25rem;
}
.footer-nav { display: flex; gap: 1.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-light); }
.footer-legal { padding-top: 1.5rem; }
.footer-legal p { margin-bottom: .6rem; font-size: .88rem; color: #b7c0d0; }

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .facts { padding: .25rem 1.1rem; }
  .facts div { grid-template-columns: 1fr; gap: .15rem; }
  .contact-card { padding: 1.5rem; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
