/* ============================================================
   Approved Property Management — Redesign ("Operating Report")
   Preview build. Brand colors, logos & content preserved.
   Fraunces (display) + Manrope (body).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy: #0F2438;
  --navy-deep: #081625;
  --navy-soft: #1B3550;
  --pine: #3A5A40;
  --pine-deep: #2B4030;
  --sand: #BD9959;
  --sand-deep: #9C7B3F;
  --sand-light: #E5D5B0;
  --cream: #FAF7EE;
  --paper: #F1EBDB;
  --paper-warm: #E8DFC9;
  --ink: #1A1816;
  --ink-soft: #5A554D;
  --ink-mute: #8B857A;
  --rule: #D5CCB4;
  --rule-soft: #E6DFC9;

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --container: 1240px;
  --container-narrow: 920px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;
  --radius-xl: 32px;

  --shadow-soft: 0 1px 3px rgba(15, 36, 56, 0.06), 0 10px 30px rgba(15, 36, 56, 0.08);
  --shadow-card: 0 1px 2px rgba(15, 36, 56, 0.04), 0 24px 56px rgba(15, 36, 56, 0.10);
  --shadow-lift: 0 30px 80px rgba(15, 36, 56, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 200ms var(--ease);
  --t-base: 380ms var(--ease);
  --t-slow: 720ms var(--ease-out);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--sand); color: var(--navy-deep); }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--navy); }
em { font-style: italic; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--navy); color: var(--cream); padding: 0.6rem 1.2rem; border-radius: 0 0 10px 10px;
  z-index: 2000; transition: top var(--t-fast); font-size: 0.9rem; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Grain / paper texture overlay */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--bg); color: var(--fg);
  padding: 0.95rem 1.5rem; border-radius: 100px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), color var(--t-base);
  overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px 80px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18), transparent 60%);
  opacity: 0; transition: opacity var(--t-base);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn:active { transform: translateY(0); }
.btn .arrow { width: 18px; height: 18px; transition: transform var(--t-base); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--navy); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--navy-deep); color: var(--sand-light); }
.btn--gold { background: var(--sand); color: var(--navy-deep); box-shadow: 0 8px 24px rgba(189,153,89,0.35); }
.btn--gold:hover { background: var(--sand-deep); color: var(--cream); }
.btn--secondary { background: transparent; color: var(--navy); border-color: rgba(15,36,56,0.25); }
.btn--secondary:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(250,247,238,0.4); }
.btn--ghost-light:hover { background: var(--cream); color: var(--navy); }
.section--navy .btn--secondary { color: var(--cream); border-color: rgba(250,247,238,0.45); }
.section--navy .btn--secondary:hover { background: var(--cream); color: var(--navy); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 1100;
  background: linear-gradient(90deg, var(--sand), var(--pine));
  box-shadow: 0 0 12px rgba(189,153,89,0.6);
  transition: width 80ms linear;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: transparent; }

.topbar { background: var(--navy-deep); color: rgba(250,247,238,0.82); font-size: 0.82rem; }
.topbar__inner { display: flex; align-items: center; gap: 0.85rem; height: 38px; }
.topbar__phone { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--sand-light); }
.topbar__phone svg { width: 14px; height: 14px; }
.topbar__phone:hover { color: var(--cream); }
.topbar__sep { color: rgba(189,153,89,0.35); }
.topbar__link { color: rgba(250,247,238,0.82); transition: color var(--t-fast); }
.topbar__link:hover { color: var(--sand-light); }
.topbar__spacer { margin-left: auto; }
.topbar__badge { display: inline-flex; align-items: center; gap: 0.4rem; color: rgba(250,247,238,0.7); font-size: 0.78rem; }
.topbar__badge svg { width: 13px; height: 13px; color: var(--sand); }
@media (max-width: 720px) { .topbar__inner { justify-content: center; } .topbar__badge, .topbar__link, .topbar__sep:nth-of-type(n+2) { display: none; } }

.nav-shell {
  background: rgba(255,255,255,0.9); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.site-header.is-stuck .nav-shell {
  background: #ffffff;
  border-bottom-color: var(--rule-soft);
  box-shadow: 0 1px 0 rgba(15,36,56,0.04), 0 14px 40px rgba(15,36,56,0.08);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.primary-nav a {
  position: relative; padding: 0.5rem 0.7rem; font-size: 0.92rem; font-weight: 600; color: var(--navy-soft);
  border-radius: 8px; transition: color var(--t-fast), background var(--t-fast);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.28rem; height: 2px;
  background: var(--sand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--t-base);
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a:hover::after { transform: scaleX(1); }
.header-cta { flex-shrink: 0; }
@media (max-width: 1080px) { .primary-nav, .header-cta { display: none; } .primary-nav { margin-left: 0; } }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--rule); border-radius: 12px; color: var(--navy); }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
@media (max-width: 1080px) { .menu-toggle { display: inline-flex; } }

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 1500; background: var(--navy); color: var(--cream);
  padding: 5rem var(--gutter) 2rem; display: flex; flex-direction: column; gap: 0.2rem;
  transform: translateX(100%); transition: transform var(--t-base); overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__close { position: absolute; top: 1.4rem; right: 1.4rem; width: 46px; height: 46px; background: rgba(250,247,238,0.08); border: 1px solid rgba(250,247,238,0.18); border-radius: 12px; color: var(--cream); display: inline-flex; align-items: center; justify-content: center; }
.mobile-drawer__close svg { width: 22px; height: 22px; }
.mobile-drawer nav { display: flex; flex-direction: column; }
.mobile-drawer nav a { padding: 0.85rem 0; font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); border-bottom: 1px solid rgba(250,247,238,0.1); transition: color var(--t-fast), padding-left var(--t-fast); }
.mobile-drawer nav a:hover { color: var(--sand-light); padding-left: 0.5rem; }
.mobile-drawer .btn { margin-top: 1.5rem; justify-content: center; }

/* ---------- Section scaffold ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; z-index: 2; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--cream); }
.section--navy p { color: rgba(250,247,238,0.78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--sand); }
.section--navy .eyebrow { color: var(--sand-light); }

.section-head { max-width: var(--container-narrow); margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 1rem 0 1.1rem; letter-spacing: -0.02em; }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }
.section--navy .section-head p { color: rgba(250,247,238,0.78); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow), transform var(--t-slow); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--scale { transform: translateY(26px) scale(0.97); }
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }

/* =====================================================
   HERO
   ===================================================== */
.hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); z-index: 2; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__mesh {
  position: absolute; inset: -20%; filter: blur(8px);
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(189,153,89,0.22), transparent 60%),
    radial-gradient(45% 55% at 85% 12%, rgba(58,90,64,0.30), transparent 62%),
    radial-gradient(50% 60% at 75% 95%, rgba(189,153,89,0.14), transparent 60%),
    radial-gradient(55% 65% at 10% 100%, rgba(27,53,80,0.6), transparent 65%);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(2%, -1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.03); }
}
.hero__grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(250,247,238,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,247,238,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 80%);
}
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__location-tag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(250,247,238,0.07); border: 1px solid rgba(250,247,238,0.16);
  padding: 0.5rem 0.95rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(250,247,238,0.9);
}
.hero__location-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 0 rgba(189,153,89,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(189,153,89,0.55); } 70% { box-shadow: 0 0 0 10px rgba(189,153,89,0); } 100% { box-shadow: 0 0 0 0 rgba(189,153,89,0); } }

.hero h1 {
  color: var(--cream); font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em;
  margin: 1.4rem 0 1.5rem; max-width: 16ch;
}
.hero h1 em { color: var(--sand-light); font-style: italic; position: relative; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(28px); animation: wordIn 0.8s var(--ease-out) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }

.hero__sub { font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: rgba(250,247,238,0.82); max-width: 56ch; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.75rem; }
.hero__microtrust { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: rgba(250,247,238,0.7); }
.hero__microtrust .check { width: 18px; height: 18px; color: var(--pine); background: var(--sand-light); border-radius: 50%; padding: 3px; }

/* Hero "live report" panel */
.hero__panel {
  position: relative; background: rgba(250,247,238,0.06); border: 1px solid rgba(250,247,238,0.16);
  border-radius: var(--radius-l); padding: 1.6rem 1.6rem 1.3rem; backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.hero__panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--sand), var(--pine)); }
.hero__panel-tab { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.hero__panel-doc { display: inline-flex; color: var(--sand-light); }
.hero__panel-doc svg { width: 18px; height: 18px; }
.hero__panel-tab span:last-child { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250,247,238,0.5); font-weight: 700; margin-left: auto; }
.hero__panel h3 { color: var(--cream); font-size: 1.18rem; margin-bottom: 0.9rem; }
/* Rotating slides — stacked in one grid cell so the card sizes to the tallest */
.hero__panel-stage { display: grid; }
.hero__panel-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), visibility 0.6s; }
.hero__panel-slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.hero__panel-dots { display: flex; gap: 7px; margin: 1.15rem 0 0; }
.hero__panel-dots button { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: rgba(250,247,238,0.22); cursor: pointer; transition: width 0.35s var(--ease), background 0.35s var(--ease); }
.hero__panel-dots button.is-active { width: 24px; border-radius: 100px; background: var(--sand); }
.hero__panel-dots button:hover { background: rgba(189,153,89,0.7); }
.hero__panel ul { display: flex; flex-direction: column; gap: 0.7rem; }
.hero__panel li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; color: rgba(250,247,238,0.85); line-height: 1.45; }
.hero__panel li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px;
  background: var(--sand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero__panel-foot { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid rgba(250,247,238,0.14); display: flex; flex-direction: column; gap: 0.3rem; }
.hero__panel-foot small { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,247,238,0.5); }
.hero__panel-foot small:first-child { color: var(--sand-light); font-weight: 700; }

/* Hero stats row */
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); position: relative; z-index: 2; }
@media (max-width: 720px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 1.1rem 0.5rem; border-left: 1px solid rgba(250,247,238,0.14); }
.stat:first-child { border-left: none; }
@media (max-width: 720px) { .stat:nth-child(odd) { border-left: none; } }
.stat__num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500; color: var(--sand-light); line-height: 1; letter-spacing: -0.02em; }
.stat__num .suffix { font-size: 0.55em; color: var(--sand); }
.stat__label { margin-top: 0.45rem; font-size: 0.82rem; color: rgba(250,247,238,0.66); line-height: 1.35; }

/* ---------- Marquee county strip ---------- */
.trust-strip { background: var(--navy-deep); border-top: 1px solid rgba(189,153,89,0.18); border-bottom: 1px solid rgba(189,153,89,0.18); overflow: hidden; position: relative; z-index: 2; }
.trust-strip__track { display: flex; align-items: center; gap: 3rem; padding: 0.9rem 0; width: max-content; animation: marquee 28s linear infinite; }
.trust-strip:hover .trust-strip__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-strip__item { display: inline-flex; align-items: center; gap: 0.6rem; color: rgba(250,247,238,0.78); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em; white-space: nowrap; }
.trust-strip__item svg { width: 15px; height: 15px; color: var(--sand); }
.trust-strip__item--label { color: var(--sand-light); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.18em; }

/* =====================================================
   WHO WE SERVE — bento
   ===================================================== */
.serve-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.serve-card {
  grid-column: span 2; background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-l);
  padding: 1.75rem; position: relative; overflow: hidden; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.serve-card:nth-child(1) { grid-column: span 3; }
.serve-card:nth-child(2) { grid-column: span 3; }
.serve-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 220px at var(--mx,80%) var(--my,0%), rgba(189,153,89,0.10), transparent 60%);
  opacity: 0; transition: opacity var(--t-base);
}
.serve-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--sand); }
.serve-card:hover::after { opacity: 1; }
.serve-card__num { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-deep); margin-bottom: 0.9rem; }
.serve-card h3 { font-size: 1.3rem; margin-bottom: 0.65rem; line-height: 1.15; }
.serve-card p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: 1fr 1fr; } .serve-card, .serve-card:nth-child(1), .serve-card:nth-child(2) { grid-column: span 1; } }
@media (max-width: 600px) { .serve-grid { grid-template-columns: 1fr; } .serve-card, .serve-card:nth-child(n) { grid-column: span 1; } }

/* =====================================================
   WHY APPROVED
   ===================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  background: var(--cream); border: 1px solid var(--rule-soft); border-radius: var(--radius-m); padding: 1.5rem;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base); position: relative;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); background: #fff; }
.why-item__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--sand-light); margin-bottom: 1.1rem; transition: transform var(--t-base), background var(--t-base); }
.why-item:hover .why-item__icon { transform: rotate(-6deg) scale(1.06); background: var(--pine); }
.why-item__icon svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.94rem; color: var(--ink-soft); }

/* =====================================================
   SERVICES — numbered list cards
   ===================================================== */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 820px) { .services-list { grid-template-columns: 1fr; } }
.service-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-m); padding: 1.6rem;
  transition: transform var(--t-base), box-shadow var(--t-base); position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sand); transform: scaleY(0); transform-origin: top; transition: transform var(--t-base); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-card:hover::before { transform: scaleY(1); }
.service-card__num { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--sand-deep); letter-spacing: 0.06em; writing-mode: vertical-rl; text-orientation: mixed; padding-top: 0.2rem; white-space: nowrap; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.96rem; color: var(--ink-soft); }

/* =====================================================
   STANDARDS (navy, accordion)
   ===================================================== */
.standards-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 940px) { .standards-grid { grid-template-columns: 1fr; } }
.standards-figure { margin-top: 1.75rem; border-radius: var(--radius-l); overflow: hidden; position: relative; box-shadow: var(--shadow-lift); }
.standards-figure img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.standards-figure:hover img { transform: scale(1.05); }
.standards-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.25rem 1rem; font-size: 0.85rem; color: rgba(250,247,238,0.9); background: linear-gradient(to top, rgba(8,22,37,0.92), transparent); }
.standards-list { display: flex; flex-direction: column; gap: 0.6rem; }
.standards-item { border: 1px solid rgba(250,247,238,0.14); border-radius: var(--radius-m); overflow: hidden; background: rgba(250,247,238,0.03); transition: border-color var(--t-base), background var(--t-base); }
.standards-item:hover { border-color: rgba(189,153,89,0.45); }
.standards-item__head { width: 100%; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0.9rem; padding: 1.1rem 1.25rem; background: transparent; color: var(--cream); text-align: left; }
.standards-item__num { font-family: var(--font-display); font-size: 0.95rem; color: var(--sand-light); }
.standards-item__title h4 { font-size: 1.02rem; color: var(--cream); font-weight: 500; line-height: 1.25; }
.standards-item__pill { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand-light); background: rgba(189,153,89,0.16); padding: 0.28rem 0.6rem; border-radius: 100px; }
@media (max-width: 540px) { .standards-item__pill { display: none; } }
.standards-item__caret { width: 26px; height: 26px; display: grid; place-items: center; color: var(--sand); transition: transform var(--t-base); }
.standards-item__caret svg { width: 18px; height: 18px; }
.standards-item__head[aria-expanded="true"] .standards-item__caret { transform: rotate(45deg); }
.standards-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-base); }
.standards-item__head[aria-expanded="true"] + .standards-item__body { grid-template-rows: 1fr; }
.standards-item__body-inner { overflow: hidden; }
.standards-item__body-inner p { padding: 0 1.25rem 1.2rem 3.1rem; font-size: 0.94rem; color: rgba(250,247,238,0.75); }

/* =====================================================
   PROCESS — vertical timeline
   ===================================================== */
.process-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.6rem; }
@media (max-width: 860px) { .process-track { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-track { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-m); transition: transform var(--t-base), box-shadow var(--t-base); }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.process-step__num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; color: var(--paper-warm); line-height: 1; margin-bottom: 0.7rem; transition: color var(--t-base); }
.process-step:hover .process-step__num { color: var(--sand); }
.process-step h4 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.94rem; color: var(--ink-soft); }

/* =====================================================
   COVERAGE
   ===================================================== */
.coverage-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .coverage-grid { grid-template-columns: 1fr; } }
.coverage-map { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 0.6rem; box-shadow: var(--shadow-soft); }
#coverageMap { width: 100%; height: clamp(360px, 46vw, 480px); border-radius: var(--radius-m); overflow: hidden; z-index: 1; }
/* Leaflet chrome → brand */
#coverageMap.leaflet-container { font-family: var(--font-body); background: var(--paper-warm); }
#coverageMap .leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: var(--shadow-card); }
#coverageMap .leaflet-popup-content { font-size: 0.86rem; color: var(--ink); margin: 0.7rem 0.9rem; line-height: 1.4; }
#coverageMap .leaflet-popup-content strong { color: var(--navy); font-family: var(--font-display); font-size: 0.98rem; }
#coverageMap .leaflet-popup-tip { box-shadow: var(--shadow-card); }
#coverageMap .leaflet-bar a { color: var(--navy); }
#coverageMap .leaflet-bar a:hover { background: var(--paper); }
#coverageMap .leaflet-tooltip { background: var(--navy); color: var(--cream); border: none; border-radius: 6px; font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.5rem; box-shadow: var(--shadow-soft); }
#coverageMap .leaflet-tooltip-top::before { border-top-color: var(--navy); }
/* Permanent town labels — white pill, offset above/below the dot */
#coverageMap .map-label { background: rgba(255,255,255,0.94); color: var(--navy); border: 1px solid var(--rule); border-radius: 100px; font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.01em; padding: 0.16rem 0.5rem; box-shadow: 0 2px 6px rgba(15,36,56,0.18); white-space: nowrap; }
#coverageMap .map-label::before { display: none; }
#coverageMap .map-label--hq { background: var(--navy); color: var(--cream); border-color: var(--sand); font-size: 0.78rem; }
#coverageMap .leaflet-control-attribution { font-size: 0.66rem; background: rgba(255,255,255,0.8); }

.coverage-counties { display: flex; flex-direction: column; gap: 0.2rem; }
.coverage-counties li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 0.95rem 0.4rem; border-bottom: 1px solid var(--rule-soft); transition: padding-left var(--t-fast); }
.coverage-counties li:hover { padding-left: 0.9rem; }
.county-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--sand-deep); }
.county-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--navy); }
.county-tag { font-size: 0.85rem; color: var(--ink-mute); text-align: right; }

/* =====================================================
   RESIDENTS / PARTNERS split
   ===================================================== */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 820px) { .split-section { grid-template-columns: 1fr; } }
.split-card { background: #fff; border: 1px solid var(--rule-soft); border-radius: var(--radius-l); padding: 2rem; transition: box-shadow var(--t-base), transform var(--t-base); }
.split-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.split-card h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.split-card > p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.split-card ul { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.4rem; }
.split-card li { position: relative; padding-left: 1.7rem; font-size: 0.96rem; color: var(--ink-soft); }
.split-card li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 4px; background: var(--paper-warm); border: 1px solid var(--sand); }
.split-card li::after { content: ""; position: absolute; left: 4px; top: 0.55em; width: 6px; height: 6px; border-radius: 1px; background: var(--sand); }
.ghost-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--navy); font-size: 0.95rem; border-bottom: 2px solid var(--sand); padding-bottom: 2px; transition: gap var(--t-fast), color var(--t-fast); }
.ghost-link::after { content: "→"; transition: transform var(--t-fast); }
.ghost-link:hover { color: var(--sand-deep); }
.ghost-link:hover::after { transform: translateX(4px); }

/* =====================================================
   FAQ (new — SEO)
   ===================================================== */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item { border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; background: #fff; transition: border-color var(--t-base); }
.faq-item:hover { border-color: var(--sand); }
.faq-item__head { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.35rem; background: transparent; text-align: left; }
.faq-item__head h3 { font-size: 1.05rem; font-weight: 500; flex: 1; color: var(--navy); }
.faq-item__icon { flex-shrink: 0; width: 24px; height: 24px; color: var(--sand-deep); transition: transform var(--t-base); }
.faq-item__head[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-base); }
.faq-item__head[aria-expanded="true"] + .faq-item__body { grid-template-rows: 1fr; }
.faq-item__body-inner { overflow: hidden; }
.faq-item__body-inner p { padding: 0 1.35rem 1.3rem; color: var(--ink-soft); font-size: 0.96rem; }

/* =====================================================
   CTA stripe
   ===================================================== */
.cta-stripe { position: relative; background: var(--pine); color: var(--cream); overflow: hidden; padding: clamp(3rem, 6vw, 4.5rem) 0; z-index: 2; }
.cta-stripe::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(189,153,89,0.25), transparent 60%); }
.cta-stripe__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-stripe h2 { color: var(--cream); font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 20ch; }
.cta-stripe p { color: rgba(250,247,238,0.85); margin-top: 0.6rem; max-width: 46ch; }
.cta-stripe__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; position: relative; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 1rem 0 1rem; }
.contact-side > p { color: rgba(250,247,238,0.8); margin-bottom: 2rem; max-width: 46ch; }
.info { display: flex; flex-direction: column; gap: 1.1rem; }
.info-row { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-row svg { width: 22px; height: 22px; color: var(--sand-light); flex-shrink: 0; margin-top: 0.15rem; }
.info-row .label { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250,247,238,0.55); font-weight: 700; margin-bottom: 0.15rem; }
.info-row .val { color: rgba(250,247,238,0.92); font-size: 0.98rem; line-height: 1.4; }
.info-row .val a { color: var(--cream); border-bottom: 1px solid rgba(189,153,89,0.5); }
.info-row .val a:hover { border-color: var(--sand-light); }

.contact-form { background: var(--cream); border-radius: var(--radius-l); padding: clamp(1.6rem, 3vw, 2.25rem); box-shadow: var(--shadow-lift); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.contact-form .lede { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 1.5rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--navy-soft); letter-spacing: 0.01em; }
.field .req { color: var(--sand-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; padding: 0.8rem 0.9rem; border-radius: var(--radius-s);
  border: 1px solid var(--rule); background: #fff; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px rgba(189,153,89,0.18); }
.contact-form button[type="submit"] { width: 100%; justify-content: center; margin-top: 1.4rem; }
.reassure { display: flex; align-items: center; gap: 0.55rem; margin-top: 1rem; font-size: 0.84rem; color: var(--ink-mute); }
.reassure svg { width: 16px; height: 16px; color: var(--pine); flex-shrink: 0; }

.form-success { display: none; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 0.6rem; min-height: 360px; }
.form-success.is-visible { display: flex; animation: wordIn 0.5s var(--ease-out); }
.form-success .check-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--pine); color: var(--cream); display: grid; place-items: center; margin-bottom: 0.5rem; }
.form-success h4 { font-size: 1.5rem; }
.form-success p { color: var(--ink-soft); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: var(--navy-deep); color: rgba(250,247,238,0.72); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(250,247,238,0.1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand__logo { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; margin-bottom: 0.9rem; }
.footer-brand__tagline { font-family: var(--font-display); font-style: italic; color: var(--sand-light); font-size: 0.95rem; }
.footer-col h5 { color: var(--cream); font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a, .footer-col li { color: rgba(250,247,238,0.72); font-size: 0.92rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--sand-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: 0.82rem; color: rgba(250,247,238,0.5); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; display: none; grid-template-columns: 1fr 1.4fr; background: var(--navy); box-shadow: 0 -8px 30px rgba(15,36,56,0.25); }
.mobile-sticky a { padding: 0.95rem; text-align: center; font-weight: 700; color: var(--cream); font-size: 0.95rem; }
.mobile-sticky a + a { background: var(--sand); color: var(--navy-deep); }
@media (max-width: 720px) { .mobile-sticky { display: grid; } body { padding-bottom: 56px; } }

/* ---------- Preview banner ---------- */
.preview-banner { position: fixed; bottom: 1rem; left: 1rem; z-index: 1200; background: var(--navy); color: var(--sand-light); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.5rem 0.85rem; border-radius: 100px; border: 1px solid rgba(189,153,89,0.4); box-shadow: var(--shadow-card); }
@media (max-width: 720px) { .preview-banner { bottom: 70px; } }
/* ── Sister-site "Services" dropdown (added 2026-06-01) ─────────────────── */
.primary-nav .nav-item { position: relative; display: inline-flex; align-items: center; }
.primary-nav .nav-caret { font-size: 0.7em; color: var(--sand-deep); display: inline-block; margin-left: 1px; transition: transform var(--t-base); }
.primary-nav .has-dropdown:hover .nav-caret,
.primary-nav .has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
/* invisible hover bridge so the menu survives the gap */
.primary-nav .has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.primary-nav .nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 190px; margin-top: 10px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--cream); border: 1px solid var(--paper-warm); border-radius: 12px;
  padding: 8px; box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base); z-index: 1200;
}
.primary-nav .has-dropdown:hover .nav-dropdown,
.primary-nav .has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .nav-dropdown a {
  padding: 0.5rem 0.7rem; border-radius: 8px; white-space: nowrap; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
/* reset the inherited animated-underline pseudo for dropdown items, use an external arrow instead */
.primary-nav .nav-dropdown a::after {
  content: "\2197"; position: static; inset: auto; transform: none; background: none;
  width: auto; height: auto; border-radius: 0; margin-left: auto; opacity: 0.5; font-size: 0.85em; color: var(--ink-soft);
}
.primary-nav .nav-dropdown a:hover { background: var(--paper); color: var(--navy-deep); }
.primary-nav .nav-dropdown a:hover::after { opacity: 0.8; }
/* Mobile drawer: indent the sister sub-link under Services */
.mobile-drawer nav a.drawer-sub { padding-left: 1.6rem; font-size: 0.95rem; opacity: 0.9; }
.mobile-drawer nav a.drawer-sub::before { content: "\21B3"; margin-right: 0.5rem; color: var(--sand-deep); }
