:root {
  --paper: #f4f1ea;
  --card: #fffdf8;
  --navy: #0b1f3a;
  --navy-2: #163258;
  --teal: #1a7a6d;
  --teal-2: #239688;
  --ink: #1c2430;
  --muted: #5b6776;
  --line: #d7ddd8;
  --success: #0d4d45;
  --success-bg: #e6f4f1;
  --shadow: 0 18px 40px rgb(11 31 58 / 0.08);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy);
  text-wrap: balance;
  line-height: 1.15;
  margin: 0;
}
p { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.muted { color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 36rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(244 241 234 / 0.92);
  backdrop-filter: blur(12px);
}
.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
nav.desk { display: none; align-items: center; gap: 1.5rem; }
nav.desk a { text-decoration: none; font-size: 0.9rem; color: var(--navy); }
nav.desk a.active { color: var(--teal); }
nav.desk a.btn,
nav.mob a.btn {
  color: #fff;
  white-space: nowrap;
}
nav.mob {
  display: none;
  grid-gap: 0.25rem;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1rem;
}
nav.mob.open { display: grid; }
nav.mob a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
}
.menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 0.5rem;
  border: 0;
  background: var(--navy);
  color: #fff;
  font: 600 0.9rem var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn.teal { background: var(--teal); }
.btn.ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
a.btn:not(.ghost) { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

main { flex: 1; padding: 3rem 0; }
.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; max-width: 36rem; }
.hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; margin-top: 2.5rem; }
.grid-2 h2, .grid-3 h2, .grid-3 h3, .grid-4 h2 { font-size: 1.25rem; font-weight: 500; }
.section-title { font-size: 1.875rem; font-weight: 500; margin-top: 3.5rem; }

label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; color: var(--navy); }
input, select, textarea {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--card);
  padding: 0.6rem 0.75rem;
  font: 1rem var(--sans);
  color: var(--ink);
}
textarea { min-height: 6rem; resize: vertical; }
form { display: grid; gap: 0.75rem; position: relative; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.notice {
  border: 1px solid rgb(26 122 109 / 0.3);
  background: var(--success-bg);
  color: var(--success);
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
footer.site a { color: var(--teal); text-decoration: none; }

@media (min-width: 768px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  nav.desk { display: flex; }
  .menu-btn { display: none; }
  nav.mob, nav.mob.open { display: none; }
}
