:root {
  --bg: #f2ebdc;
  --bg-elevated: #f7f2e6;
  --bg-subtle: #e6dcc8;
  --ink: #0a1628;
  --ink-soft: #12233a;
  --fg: #1a160f;
  --fg-muted: #5c5346;
  --fg-subtle: #7a7164;
  --on-ink: #f4eee0;
  --on-ink-muted: #cfc4ad;
  --primary: #1a4568;
  --primary-hover: #143852;
  --primary-soft: #e8dfcc;
  --accent: #2a5f82;
  --border: #d4cbb4;
  --shadow: 0 1px 1px rgb(26 22 15 / 0.04), 0 14px 36px rgb(26 22 15 / 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgb(26 69 104 / 0.07), transparent 55%),
    linear-gradient(180deg, #f6f1e6 0%, var(--bg) 32%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, .btn { cursor: pointer; font-family: inherit; }
::selection { background: rgb(26 69 104 / 0.22); }

.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  margin: 0;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  margin: 0;
}
.muted { color: var(--fg-muted); }
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.ink {
  background: linear-gradient(168deg, var(--ink) 0%, var(--ink-soft) 52%, #16304c 100%);
  color: var(--on-ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgb(242 235 220 / 0.94);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}
.brand img,
.site-header img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 0.5rem;
  object-fit: contain;
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px var(--border);
  flex-shrink: 0;
}
.brand-name { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-subtle); }
.nav { display: flex; align-items: center; gap: 0.25rem; flex: 0 0 auto; }
.nav a {
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--fg-muted);
  white-space: nowrap;
}
.nav a:hover { background: var(--bg-subtle); color: var(--fg); }
.nav a.active { background: var(--primary-soft); color: var(--primary); }
.menu-btn {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 0.5rem;
}
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--bg); }
.mobile-nav.open { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0 1rem; }
.mobile-nav a {
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 550;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 0;
  border-radius: 0.6rem;
  padding: 0.8rem 1.15rem;
  font-weight: 650;
  font-size: 0.95rem;
  white-space: nowrap;
}
.btn-primary,
a.btn-primary,
.nav a.btn-primary {
  background: #1a4568 !important;
  color: #ffffff !important;
}
.btn-primary:hover,
a.btn-primary:hover,
.nav a.btn-primary:hover {
  background: #143852 !important;
  color: #ffffff !important;
}
.btn-ivory { background: #f7f2e6; color: #0a1628; }
.btn-ivory:hover { background: #f2ebdc; color: #0a1628; }
.btn-ghost {
  background: transparent;
  color: #f4eee0;
  box-shadow: 0 0 0 1px rgb(244 238 224 / 0.3);
}
.btn-ghost:hover { background: rgb(244 238 224 / 0.1); color: #f4eee0; }
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--fg);
  box-shadow: 0 0 0 1px var(--border);
}

.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0;
}
.chip {
  display: inline-flex;
  border: 1px solid rgb(244 238 224 / 0.2);
  background: rgb(244 238 224 / 0.1);
  color: var(--on-ink-muted);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero p.lead { max-width: 36rem; color: var(--on-ink-muted); font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.stats { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 2.25rem; }
.stat {
  border: 1px solid rgb(244 238 224 / 0.15);
  background: rgb(244 238 224 / 0.1);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}
.stat dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-muted); font-weight: 650; }
.stat dd { margin: 0.25rem 0 0; font-weight: 650; }
.glass {
  border: 1px solid rgb(244 238 224 / 0.15);
  background: rgb(244 238 224 / 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}
.glass ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.glass li { margin: 0 0 0.85rem; }

.strip {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.strip-inner { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; justify-content: space-between; }
.strip ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.15rem; margin: 0; padding: 0; list-style: none; color: var(--fg-muted); font-weight: 550; font-size: 0.9rem; }

.grid-3, .grid-2 { display: grid; gap: 1rem; }
.paper { padding: 1.5rem 1.6rem; }
.num { font-family: var(--font-display); font-weight: 650; letter-spacing: 0.14em; color: var(--primary); font-size: 0.85rem; }
h3 { font-family: var(--font-display); margin: 0.65rem 0 0.4rem; font-size: 1.2rem; }

.photo { border-radius: 0.85rem; overflow: hidden; background: var(--bg-subtle); box-shadow: 0 0 0 1px var(--border); }
.photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; max-width: none; height: auto; }

.site-footer { background: var(--ink); color: var(--on-ink); }
.footer-grid { display: grid; gap: 2rem; padding: 3.5rem 0; }
.fine {
  border-top: 1px solid rgb(244 238 224 / 0.15);
  padding-top: 1.25rem;
  color: var(--on-ink-muted);
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}
.footer-links { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.footer-links a { color: var(--on-ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--on-ink); }
.footer-links li { margin: 0.4rem 0; }

.page-hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.page-hero p { max-width: 40rem; color: var(--fg-muted); }

form { display: grid; gap: 1.1rem; }
label span { display: block; font-weight: 650; font-size: 0.9rem; margin-bottom: 0.4rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  border-radius: 0.6rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid rgb(26 69 104 / 0.35); border-color: var(--primary); }
.check { list-style: none; padding: 0; margin: 1rem 0 0; }
.check li { padding: 0.3rem 0 0.3rem 1.25rem; position: relative; color: var(--fg-muted); font-size: 0.92rem; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; margin: 0.75rem 0 0; list-style: none; }
.pills li { border: 1px solid var(--border); background: var(--bg-elevated); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.75rem; color: var(--fg-muted); }

@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
  .about-grid, .contact-grid, .founder-grid { display: grid; grid-template-columns: 1.1fr 1.4fr; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr; }
}
@media (max-width: 800px) {
  .nav, .brand-sub { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}
