/* Northville — shared styles for the live site (index.html + northville.html) */
:root {
  --on: #f7f5ee;
  --on-soft: rgba(247, 245, 238, 0.92);
  --on-faint: rgba(247, 245, 238, 0.74);
  --on-line: rgba(247, 245, 238, 0.5);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--on);
  background: #2c3a30 url("bg-lake.png") center 38% / cover no-repeat fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
/* readability scrim over the photo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16,24,20,0.5) 0%, rgba(16,24,20,0.16) 26%, rgba(16,24,20,0.2) 58%, rgba(16,24,20,0.58) 100%),
    radial-gradient(120% 78% at 50% 46%, rgba(10,18,14,0.34), rgba(10,18,14,0) 62%);
}
/* content-heavy subpage: stronger, more even wash */
body.sub::before {
  background:
    linear-gradient(180deg, rgba(13,19,15,0.66) 0%, rgba(13,19,15,0.58) 38%, rgba(13,19,15,0.62) 72%, rgba(13,19,15,0.78) 100%);
}
.page { position: relative; z-index: 1; }
h1, h2, p, .eyebrow, .mailto-quiet {
  text-shadow: 0 1px 2px rgba(8,14,10,0.35), 0 2px 28px rgba(8,14,10,0.4);
}

/* ---------- pill nav ---------- */
.pill-nav {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(18, 26, 22, 0.34);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(247, 245, 238, 0.18);
  z-index: 20;
}
.pill-nav .seg {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(247, 245, 238, 0.16);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.4px;
  color: var(--on);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease;
}
.pill-nav .seg.brand { padding: 7px 13px; }
.pill-nav .seg.brand img { height: 22px; width: auto; display: block; }
.pill-nav .seg.muted { background: transparent; color: var(--on-soft); }
.pill-nav .seg:hover { background: rgba(247, 245, 238, 0.3); }

/* ---------- buttons ---------- */
.mailto {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #16201b;
  background: var(--on);
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 30px rgba(8, 14, 10, 0.32);
  transition: transform .18s ease, background .18s ease;
}
.mailto:hover { background: #fff; transform: translateY(-1px); }
.mailto .arrow { transition: transform .18s ease; }
.mailto:hover .arrow { transform: translate(3px, -3px); }

.mailto-quiet {
  display: inline-flex;
  text-decoration: none;
  color: var(--on);
  font-family: var(--serif);
  font-style: italic;
  font-size: 25.5px;
  border-bottom: 1.5px solid var(--on-line);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: opacity .18s ease;
}
.mailto-quiet:hover { opacity: 0.7; }

.eyebrow {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-faint);
  margin: 0;
}
.divider { width: 100%; height: 1px; border: 0; background: var(--on-line); opacity: 0.6; margin: 64px 0; }

/* ---------- home hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 46px;
  padding: 120px 40px 96px;
}
.hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 760px;
  text-wrap: balance;
}
.hero .lead {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-faint);
  margin: 0;
  max-width: 680px;
}

/* ---------- about page ---------- */
.about {
  max-width: 920px;
  margin: 0 auto;
  padding: 190px 40px 96px;
  zoom: 0.85;
}
.about h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.about .lead-about {
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.55;
  color: var(--on-soft);
  margin: 30px 0 0;
  max-width: 780px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.block-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 14px;
}
.block-body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-soft);
  margin: 0;
}
.statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.35;
  margin: 20px 0 0;
  max-width: 880px;
}
.founders-note {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.55;
  color: var(--on-soft);
  margin: 20px 0 0;
  max-width: 820px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 46px;
}
.stat-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
}
.stat-label {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--on-faint);
  margin-top: 12px;
  line-height: 1.45;
  max-width: 220px;
}
.cta-row { margin-top: 64px; }

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .about { padding: 150px 26px 72px; }
  .hero { padding: 130px 26px 80px; }
  .pill-nav .seg { padding: 10px 16px; font-size: 15px; }
}
