:root {
  --bg:         #F1F4F6;
  --bg-2:       #E3EAEF;
  --ink:        #1F3644;
  --ink-2:      #3D5364;
  --muted:      #6B7F8E;
  --rule:       #CFD9E0;
  --accent:     #6495AE;
  --accent-ink: #3F6A82;
  --accent-soft:#A9C4D5;
  --sage:       #7C9AAE;
  --paper:      #FBFCFD;
  --max:        1240px;
  --font-display: 'EB Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 72px; /* room for sticky mobile CTA */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-weight: 300; }
p { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.rule { height: 1px; background: var(--rule); width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background .2s, border-color .2s, color .2s;
}
/* When nav sits on top of the full-bleed hero, go transparent + white */
body:has(.hero-full) .nav:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
}
body:has(.hero-full) .nav:not(.scrolled) .brand { color: #fff; }
body:has(.hero-full) .nav:not(.scrolled) .brand .mark {
  background: rgba(255,255,255,0.94);
  border: 2px solid var(--ink);
  backdrop-filter: none;
}
body:has(.hero-full) .nav:not(.scrolled) .nav-links { color: color-mix(in oklab, #fff 82%, transparent); }
body:has(.hero-full) .nav:not(.scrolled) .nav-links a:hover,
body:has(.hero-full) .nav:not(.scrolled) .nav-links a.active { color: #fff; }
body:has(.hero-full) .nav:not(.scrolled) .nav-links a.active::after { background: #fff; }
body:has(.hero-full) .nav:not(.scrolled) .nav-cta {
  background: color-mix(in oklab, #fff 20%, transparent);
  color: #fff;
  border: 1px solid color-mix(in oklab, #fff 40%, transparent);
  backdrop-filter: blur(8px);
}
body:has(.hero-full) .nav:not(.scrolled) .nav-cta:hover { background: #fff; color: var(--ink); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em; text-decoration: none; color: inherit; }
.brand .brand-name { white-space: nowrap; line-height: 1.1; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 16px; font-style: italic;
  overflow: hidden;
  border: 2px solid var(--ink);
  flex-shrink: 0;
}
.brand .mark img { width: 78%; height: 78%; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a { text-decoration: none; transition: color .15s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after { content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--accent); }
.nav-cta {
  background: var(--ink); color: var(--bg); text-decoration: none;
  padding: 10px 18px; border-radius: 999px; font-size: 14px;
  font-weight: 500; transition: transform .15s, background .15s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* Hamburger toggle — hidden on desktop, shown <=900px */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  color: inherit; margin: -8px -8px -8px 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu panel */
.nav-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.nav-menu a {
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-size: 22px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.nav-menu a.active { color: var(--accent); }
.nav-menu .nav-menu-cta {
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  text-align: center; color: var(--bg); background: var(--ink);
  border: none; border-radius: 999px; padding: 16px; margin-top: 20px;
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--ink); color: var(--bg);
  padding: 14px 20px;
  justify-content: space-between; align-items: center;
  border-top: 1px solid color-mix(in oklab, var(--bg) 15%, transparent);
}
.mobile-cta .ctl { display: flex; flex-direction: column; }
.mobile-cta .ctl .h { font-family: var(--font-display); font-size: 16px; }
.mobile-cta .ctl .s { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); margin-top: 2px; }
.mobile-cta a {
  background: var(--accent); color: white; text-decoration: none;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.menu-open .nav-menu { display: flex; }
  .mobile-cta { display: flex; }
  .nav-inner { padding: 14px 20px; }
  .brand { font-size: 17px; }
  .brand .mark { width: 36px; height: 36px; font-size: 14px; }
  /* When the menu is open, force the bar opaque so the X + links stay legible
     even over the transparent-on-hero state */
  body:has(.hero-full) .nav.menu-open,
  .nav.menu-open {
    background: var(--bg);
    color: var(--ink);
    border-bottom-color: var(--rule);
    backdrop-filter: none;
  }
  body:has(.hero-full) .nav.menu-open .brand { color: var(--ink); }
  body:has(.hero-full) .nav.menu-open .brand .mark {
    background: #fff; color: var(--ink); border: 2px solid var(--ink); backdrop-filter: none;
  }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: transform .15s, background .15s;
  cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  color: #fff; background: color-mix(in oklab, #fff 18%, transparent);
  border: 1px solid color-mix(in oklab, #fff 55%, transparent);
  backdrop-filter: blur(8px);
  transition: background .15s, transform .15s;
  cursor: pointer; font-family: inherit;
}
.btn-ghost-light:hover { background: color-mix(in oklab, #fff 28%, transparent); transform: translateY(-1px); }

/* ---------- FULL-BLEED HERO ---------- */
/* Desktop hero = the FULL uncropped lake photo (scales with width, never cropped),
   with the header + CTAs overlaid in the open sky at the top. The stats + rolling
   marquee live in a slim navy band BELOW the photo (.hero-band). Mobile (<=900px)
   overrides all of this back to the stacked banner further down. */
.hero-full {
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 1280;     /* top-cropped: keeps a sky band, shorter than the full frame,
                                    matches the image so background-size:cover never crops */
  color: #fff;
  overflow: hidden;
  padding: 0;                    /* cancel the global section 64px */
  margin-top: -1px; /* hug nav */
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../shared/images/hero-lake-sky.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  /* darken the sky at the very top so the white header reads, then clear out fast
     so the foliage, water and the pair stay bright and full of detail */
  background: linear-gradient(180deg,
    rgba(15,30,45,0.60) 0%,
    rgba(15,30,45,0.34) 18%,
    rgba(15,30,45,0.08) 38%,
    transparent 56%);
}
.hero-content {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  /* top padding scales with width so the header tracks DOWN as the photo grows
     taller (and sits higher on the shorter hero at narrow widths) */
  padding: clamp(70px, 7.2vw, 168px) 32px 0;
  max-width: var(--max); margin: 0 auto; width: 100%;
}
.hero-content .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: color-mix(in oklab, #fff 18%, transparent);
  color: #fff;
  padding: 7px 16px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in oklab, #fff 30%, transparent);
}
.hero-content .hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 8px var(--accent-soft); }
.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4);
}
.hero-content h1 em {
  font-style: italic; color: #F2D9B8; font-weight: 300;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.45);
}
.hero-content .hero-sub {
  font-size: 20px; color: #fff;
  max-width: 56ch; margin-top: 24px; line-height: 1.5;
  /* frosted box so the small text reads over the sky/foliage */
  display: inline-block;
  background: rgba(13,26,38,0.42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 14px 20px;
  border-radius: 12px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero-content .hero-ctas {
  display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap;
}
.hero-content .btn-primary { background: #fff; color: var(--ink); }
.hero-content .btn-primary:hover { background: var(--accent); color: #fff; }

/* slim navy band under the photo: full-width stats + the rolling marquee */
.hero-band { background: var(--ink); color: #fff; }
.hero-trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%; max-width: none; margin: 0;
  padding: 24px clamp(24px, 4vw, 56px);   /* spread across the full page width */
}
.trust-item { padding-right: 24px; border-right: 1px solid color-mix(in oklab, #fff 15%, transparent); }
.trust-item:last-child { border-right: none; }
.trust-item:not(:first-child) { padding-left: 24px; }
.trust-item .num {
  font-family: var(--font-display); font-size: 38px; line-height: 1; color: #fff; font-weight: 400;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.45);
}
.trust-item .num span { font-size: 18px; color: color-mix(in oklab, #fff 70%, transparent); margin-left: 2px; }
.trust-item .lbl {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.08em; color: color-mix(in oklab, #fff 80%, transparent);
  margin-top: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.45);
}
.hero-marquee {
  position: relative; z-index: 2;
  margin-top: 0 !important;
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  border-top: 1px solid color-mix(in oklab, #fff 12%, transparent);
  border-bottom: 1px solid color-mix(in oklab, #fff 12%, transparent);
  color: color-mix(in oklab, #fff 85%, transparent);
}
.hero-marquee .marquee-track span { color: color-mix(in oklab, #fff 85%, transparent) !important; }
.hero-marquee .marquee-track .sep { color: var(--accent-soft) !important; }

/* Fluid hero type (desktop): headline, sub, eyebrow AND the two buttons all scale
   together with the browser width. Two-speed curve — they grow fast up to the old
   breakpoint, then KEEP growing at ~half speed (instead of hard-stopping) so the
   header never freezes while the photo keeps getting taller. */
@media (min-width: 901px) {
  .hero-content h1 { font-size: clamp(44px, 6.4vw, min(48px + 3.2vw, 140px)); }
  .hero-content .hero-sub { font-size: clamp(16px, 1.5vw, min(10.5px + 0.75vw, 28px)); }
  .hero-content .hero-eyebrow { font-size: clamp(10px, 0.82vw, min(6px + 0.41vw, 16px)); }
  .hero-ctas .btn {
    font-size: clamp(13.5px, 1.15vw, min(8.25px + 0.575vw, 22px));
    padding: 0.95em 1.7em;          /* padding tracks the font size */
  }
  /* "See programs" matches the frosted-dark sub box instead of the light glass */
  .hero-ctas .btn-ghost-light {
    background: rgba(13,26,38,0.42);
    border-color: rgba(255,255,255,0.22);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
  .hero-ctas .btn-ghost-light:hover { background: rgba(13,26,38,0.55); }
}

@media (max-width: 900px) {
  /* Mobile restructure: a tall full-bleed photo can't stay sharp on a phone (the
     source is only 1536px tall), so on phones we STACK instead of overlaying —
     a short, sharp photo banner up top with Jacqueline & Porter framed, then the
     headline / buttons / stats on a solid navy panel below. Desktop is untouched. */
  .hero-full {
    aspect-ratio: auto;          /* drop the desktop full-image box */
    display: flex; flex-direction: column;
    min-height: 0;
    padding: 0;                 /* cancel the global section 64px so the banner hugs the nav */
    justify-content: flex-start;
    background: var(--ink);
  }
  /* solid navy nav above the banner (no transparent-over-navy band) */
  body:has(.hero-full) .nav:not(.scrolled):not(.menu-open) {
    background: var(--ink);
    border-bottom-color: transparent;
  }
  .hero-bg {
    position: relative; inset: auto;
    order: -1;
    height: 46vh; min-height: 300px; max-height: 440px;
    transform: none;
    background-image: url('../shared/images/hero-lake.webp');  /* sharp crop frames the pair on phones */
    background-size: cover;
    background-position: 60% 64%;   /* frame the pair in the banner */
  }
  .hero-scrim {
    /* overlay only the banner — keep the nav legible, leave the pair bright */
    inset: 0 0 auto 0;
    height: 46vh; min-height: 300px; max-height: 440px;
    background:
      radial-gradient(ellipse 60% 60% at 64% 70%, transparent 0%, transparent 45%, rgba(15,30,45,0.20) 100%),
      linear-gradient(180deg, rgba(15,30,45,0.34) 0%, rgba(15,30,45,0.04) 32%, transparent 60%);
  }
  .hero-content {
    position: relative;           /* normal flow below the banner (not the desktop overlay) */
    background: var(--ink);
    padding: 34px 24px 30px;
    max-width: none;
  }
  /* the frosted box isn't needed on the solid navy panel — turn it off */
  .hero-content .hero-sub {
    display: block;
    background: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0;
  }
  /* stats: 2x2 on the navy band */
  .hero-trust { grid-template-columns: 1fr 1fr; padding: 0 24px 28px; }
  .hero-trust .trust-item:nth-child(2) { border-right: none; }
  .hero-trust .trust-item:nth-child(3), .hero-trust .trust-item:nth-child(4) {
    border-top: 1px solid color-mix(in oklab, #fff 15%, transparent);
    margin-top: 20px; padding-top: 20px;
  }
}
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- SECTIONS ---------- */
section { padding: 96px 0; }
.sec-head { display: grid; grid-template-columns: 240px 1fr; gap: 48px; margin-bottom: 56px; align-items: start; }
.sec-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--ink); display: inline-block; }
.sec-title { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; }
.sec-intro { font-size: 19px; color: var(--ink-2); max-width: 62ch; margin-top: 18px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } section { padding: 64px 0; } }

/* ---------- PAGE HEADER ---------- */
.page-head {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.page-head .eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 20px; }
.page-head h1 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98; letter-spacing: -0.035em;
  max-width: 18ch;
}
.page-head .lead {
  font-size: 20px; color: var(--ink-2); max-width: 58ch; margin-top: 24px; line-height: 1.5;
}

/* ---------- PLACEHOLDER PHOTOS ---------- */
.ph {
  background:
    repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 12px, var(--rule) 12px, var(--rule) 13px),
    var(--bg-2);
  border: 1px solid var(--rule);
  position: relative;
}
.ph .cap {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--paper); padding: 8px 10px; border: 1px solid var(--rule);
}

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: var(--bg); padding: 80px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
footer h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 16px; }
footer a { color: color-mix(in oklab, var(--bg) 78%, transparent); text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
footer a:hover { color: var(--bg); }
.foot-brand h3 { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.02em; }
.foot-brand p { color: color-mix(in oklab, var(--bg) 70%, transparent); font-size: 15px; max-width: 34ch; margin-top: 12px; }
.foot-soon { display: flex !important; align-items: center; gap: 8px; }
.foot-soon span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); border: 1px solid color-mix(in oklab, var(--bg) 22%, transparent); border-radius: 999px; padding: 2px 7px; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid color-mix(in oklab, var(--bg) 15%, transparent); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: color-mix(in oklab, var(--bg) 55%, transparent); text-transform: uppercase; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; gap: 10px; }
}

/* ---------- SHARED: CARDS / DARK ---------- */
.dark { background: var(--ink); color: var(--bg); }
.dark .sec-label { color: var(--bg); border-top-color: var(--accent); }
.dark .sec-title em { color: var(--accent-soft); }
.dark .sec-intro { color: color-mix(in oklab, var(--bg) 75%, transparent); }

/* ---------- SERVICE CARDS (used on home + services) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  padding: 32px 28px 28px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 4px;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
  position: relative;
  text-decoration: none; color: inherit;
}
.svc:hover { transform: translateY(-4px); border-color: var(--accent); }
.svc.featured { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.svc .svc-tag {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
.svc.featured .svc-tag { color: var(--accent-soft); }
.svc h3 { font-size: 32px; margin-bottom: 8px; }
.svc .svc-sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.svc.featured .svc-sub { color: color-mix(in oklab, var(--bg) 60%, transparent); }
.svc p { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; }
.svc.featured p { color: color-mix(in oklab, var(--bg) 80%, transparent); }
.svc ul { list-style: none; padding: 0; margin: 0 0 28px; font-size: 14px; }
.svc li { padding: 10px 0; border-top: 1px solid var(--rule); display: flex; gap: 10px; align-items: baseline; }
.svc.featured li { border-top-color: color-mix(in oklab, var(--bg) 15%, transparent); }
.svc li::before { content: '+'; color: var(--accent); font-family: var(--font-display); font-size: 16px; }
.svc .cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding-top: 20px; border-top: 1px solid var(--rule); }
.svc.featured .cta { color: var(--bg); border-top-color: color-mix(in oklab, var(--bg) 15%, transparent); }
.svc .cta:hover { color: var(--accent); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- REVIEW SOURCE LINKS ---------- */
.rev-sources { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.rev-sources-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.rev-sources .btn { padding: 8px 16px; font-size: 13px; }

/* ---------- REVIEW CARDS ---------- */
.rev-card {
  display: block; background: var(--paper); border: 1px solid var(--rule); border-radius: 4px;
  padding: 28px; margin-bottom: 20px; break-inside: avoid;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
a.rev-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,0.07); }
.rev-card p { font-size: 15px; color: var(--ink); line-height: 1.55; margin: 0; }
.rev-card p::before { content: '“'; font-family: var(--font-display); font-size: 48px; line-height: 0; color: var(--accent); vertical-align: -18px; margin-right: 2px; }
.rev-card .meta { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.rev-card .meta .name { color: var(--ink); }
.rev-view { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .15s, color .15s; }
a.rev-card:hover .rev-view { opacity: 1; color: var(--accent); }
.rev-view .arr { display: inline-block; transition: transform .15s; }
a.rev-card:hover .rev-view .arr { transform: translateX(3px); }
@media (hover: none) { .rev-view { opacity: 1; } }

/* ---------- BIG CTA BAND ---------- */
.cta-band {
  padding: 96px 0;
  background: var(--ink); color: var(--bg);
  text-align: center;
}
.cta-band h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.cta-band h2 em { color: var(--accent-soft); }
.cta-band p { margin: 24px auto 36px; font-size: 18px; color: color-mix(in oklab, var(--bg) 75%, transparent); max-width: 50ch; }
.cta-band .btn-primary { background: var(--accent); }
.cta-band .btn-primary:hover { background: var(--accent-soft); color: var(--ink); }

/* ---------- BREADCRUMB ---------- */
.crumb { padding: 20px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { margin: 0 8px; color: var(--rule); }

/* ---------- NOTES FROM THE FIELD (blog cards + post) ---------- */
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .notes-grid { grid-template-columns: 1fr; gap: 24px; } }
a.note-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
a.note-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px color-mix(in oklab, var(--ink) 12%, transparent); }
.note-card .note-photo { aspect-ratio: 3/2; background-size: cover; background-position: center; border-bottom: 1px solid var(--rule); }
.note-card .note-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.note-card .note-date { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.note-card h3 { font-size: 22px; line-height: 1.15; margin-bottom: 12px; }
.note-card .note-ex { font-size: 15px; line-height: 1.55; color: var(--ink); opacity: 0.85; }
.note-card .note-read { margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.note-card .note-read .arr { display: inline-block; transition: transform .15s; }
a.note-card:hover .note-read .arr { transform: translateX(3px); }

/* Post (single essay) */
.post-head { padding: 56px 0 0; }
.post-head .eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.post-head h1 { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.02; letter-spacing: -0.02em; max-width: 18ch; }
.post-head .post-date { margin-top: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.post-photo { padding: 40px 0 0; }
.post-photo .ph { aspect-ratio: 16/9; background-size: cover; background-position: center; border: 1px solid var(--rule); border-radius: 4px; }
.post-body { padding: 48px 0 72px; }
.post-body p { font-size: 19px; line-height: 1.68; color: var(--ink); margin-bottom: 24px; }
.post-body p:first-of-type::first-letter { font-family: 'Fraunces'; font-size: 72px; line-height: 0.8; float: left; padding: 8px 12px 0 0; color: var(--accent); font-weight: 400; }
.post-foot { padding: 40px 0 80px; display: flex; justify-content: space-between; gap: 24px; align-items: center; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.post-foot a { text-decoration: none; color: inherit; }
.post-foot .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.post-foot .v { font-family: 'Fraunces'; font-size: 26px; margin-top: 6px; }
.post-foot a:hover .v { color: var(--accent); }

/* ---------- IN-POST FIGURES ---------- */
.post-figure { margin: 8px 0 40px; }
.post-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--rule); border-radius: 4px; }
.post-figure figcaption,
.post-figure-wide figcaption,
.ba-cap { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* Full-width in-post figure — spans the same centered band as the hero photo. */
.post-figure-wide { margin: 8px 0 8px; }
.post-figure-wide .ba { aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .post-figure-wide .ba { aspect-ratio: 4 / 5; } }
.post-figure-wide .ba-img { object-position: center 30%; }

/* Continuation article after a full-width figure: no second drop-cap, tighter top. */
.post-body--cont { padding-top: 28px; }
.post-body--cont p:first-of-type::first-letter {
  font-family: inherit; font-size: inherit; line-height: inherit;
  float: none; padding: 0; color: inherit; font-weight: inherit;
}

/* ---------- BEFORE / AFTER COMPARE SLIDER ---------- */
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 1 / 1;
  margin: 8px 0 10px; overflow: hidden;
  border: 1px solid var(--rule); border-radius: 4px;
  touch-action: none; user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
}
@media (max-width: 600px) { .ba { aspect-ratio: 4 / 5; } }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before .ba-img { object-position: center; }
.ba-tag {
  position: absolute; top: 12px; z-index: 3;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: color-mix(in oklab, var(--paper) 85%, transparent);
  padding: 5px 9px; border: 1px solid var(--rule); border-radius: 3px;
  pointer-events: none; backdrop-filter: blur(2px);
}
.ba-tag.before { left: 12px; }
.ba-tag.after  { right: 12px; }
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; z-index: 4;
  background: var(--paper); box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 22%, transparent);
  transform: translateX(-1px); pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 4px 16px color-mix(in oklab, var(--ink) 24%, transparent);
  display: grid; place-items: center; color: var(--accent-ink); font-size: 18px; line-height: 1;
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 5;
  background: transparent; -webkit-appearance: none; appearance: none; opacity: 0;
  pointer-events: none; /* container handles mouse/touch; range is keyboard-only a11y */
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 48px; height: 100%; }
.ba-range::-moz-range-thumb { width: 48px; height: 100%; border: 0; background: transparent; }
.ba:focus-within .ba-handle { outline: 2px solid var(--accent); outline-offset: 2px; }
