:root {
  --ink: #1c2430;
  --ink-soft: #4a5565;
  --muted: #6b7684;
  --line: #e3e0d9;
  --bg: #fbfaf7;
  --bg-alt: #f3f1ec;
  --navy: #1f3347;
  --navy-dark: #162636;
  --accent: #9a6b3f;
  --radius: 10px;
  --max: 1120px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.01em; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 26ch; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--navy); }

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

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.brand-tag { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  color: #fff;
  background: var(--navy);
  padding: 8px 16px;
  border-radius: 6px;
}
.nav-links .nav-cta:hover { background: var(--navy-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

/* Hero */
.hero {
  padding: 112px 0 96px;
  background:
    linear-gradient(180deg, rgba(31, 51, 71, 0.04), rgba(31, 51, 71, 0) 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.lead { font-size: 1.15rem; max-width: 62ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 3.5rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.hero-stats div { padding-top: 18px; }
.hero-stats dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-stats dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-lg { font-size: 1.05rem; padding: 16px 26px; word-break: break-all; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.card p:last-child { margin-bottom: 0; }
.card-index {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.card-muted { background: var(--bg-alt); }

.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.unit { padding: 32px 28px; }
.unit + .unit { border-left: 1px solid var(--line); }
.unit p { margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.text-link { font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
}
.contact-card p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  padding: 32px 0;
  text-align: center;
}
.site-footer p { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .cards,
  .unit-grid { grid-template-columns: 1fr; }
  .unit + .unit { border-left: 0; border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { flex-direction: column; align-items: flex-start; padding: 32px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .nav-cta { text-align: center; margin-top: 8px; }
  .hero { padding: 72px 0 64px; }
  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
