/* ==========================================================================
   Hoosier Water Away  ·  design system
   Direction: "wet-earth engineering" (see DESIGN-BRIEF.md)
   Type: Young Serif (display) + Public Sans (body)
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --navy-900: #071B33;
  --navy-800: #0A2547;
  --navy-700: #0E3160;
  --blue-700: #104B9D;
  --blue-600: #1560C4;
  --cyan-400: #34BEEA;
  --cyan-200: #9FE0F5;
  --amber-500: #F7A928;
  --amber-600: #E08F0B;

  --mist-50: #EEF3F8;
  --mist-100: #E2EAF3;
  --mist-200: #CFDBE8;
  --ink-900: #101A26;
  --ink-700: #33445A;
  --ink-500: #5B6E86;
  --white: #FFFFFF;

  --surface: var(--mist-50);
  --rule: rgba(16, 75, 157, .16);
  --rule-dark: rgba(159, 224, 245, .22);

  --ff-display: "Young Serif", Georgia, "Times New Roman", serif;
  --ff-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(.83rem, .80rem + .14vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .20vw, 1.12rem);
  --step-1:  clamp(1.22rem, 1.14rem + .38vw, 1.45rem);
  --step-2:  clamp(1.50rem, 1.34rem + .78vw, 1.95rem);
  --step-3:  clamp(1.85rem, 1.55rem + 1.45vw, 2.75rem);
  --step-4:  clamp(2.25rem, 1.72rem + 2.60vw, 3.90rem);
  --step-5:  clamp(2.65rem, 1.80rem + 4.20vw, 5.40rem);

  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;   --sp-5: 1.5rem;
  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4.5rem; --sp-9: 6.5rem;

  --wrap: 74rem;
  --wrap-narrow: 46rem;
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-1: 0 1px 2px rgba(7,27,51,.08), 0 3px 10px rgba(7,27,51,.06);
  --shadow-2: 0 10px 34px rgba(7,27,51,.14);
  --shadow-3: 0 20px 60px rgba(7,27,51,.28);

  --hdr-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: 380ms;

  --z-drop: 40; --z-sticky: 60; --z-bar: 70; --z-modal: 80;
}
@media (max-width: 800px) { :root { --hdr-h: 64px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.06; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.018em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); font-family: var(--ff-body); font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1.1em; text-wrap: pretty; max-width: 72ch; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; border-radius: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--amber-500); color: var(--navy-900); padding: .7rem 1.1rem; font-weight: 700;
}
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: min(100% - 1.75rem, var(--wrap)); } }
.narrow { max-width: var(--wrap-narrow); }
.sec { padding-block: var(--sp-8); }
.sec-tight { padding-block: var(--sp-7); }
.sec-loose { padding-block: var(--sp-9); }
.band-navy { background: var(--navy-800); color: var(--mist-100); }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-deep { background: var(--navy-900); color: var(--mist-100); }
.band-tint { background: var(--mist-100); }
.band-blue { background: var(--blue-700); color: var(--white); }
.band-navy a, .band-deep a, .band-blue a { color: var(--cyan-200); }
.band-navy a:hover, .band-deep a:hover, .band-blue a:hover { color: var(--white); }

/* gravel grain: keeps large surfaces from reading flat */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(52,190,234,.10), transparent 42%),
    radial-gradient(circle at 84% 8%,  rgba(247,169,40,.07), transparent 38%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

/* ---------- the trench motif ---------- */
.trench { display: block; width: 116px; height: 9px; margin: 0 0 1.15rem; overflow: visible; }
.trench .a { stroke: var(--cyan-400); }
.trench .b { stroke: var(--amber-500); }
.trench path { fill: none; stroke-width: 3; stroke-linecap: square; }
.trench-c { margin-inline: auto; }

.eyebrow {
  font-family: var(--ff-body); font-size: var(--step--1); font-weight: 700;
  letter-spacing: .06em; text-transform: none; color: var(--blue-700);
  margin: 0 0 .5rem;
}
.band-navy .eyebrow, .band-deep .eyebrow, .band-blue .eyebrow { color: var(--cyan-400); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-700); max-width: 60ch; }
.band-navy .lede, .band-deep .lede { color: var(--mist-200); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: var(--radius);
  font-weight: 700; font-size: var(--step-0); line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease),
              border-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn svg { flex: none; }
.btn-primary { background: var(--amber-500); color: var(--navy-900); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: var(--amber-600); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn-primary:active { transform: translateY(0); }
.btn-call { background: var(--white); color: var(--navy-800); border-color: var(--navy-800); }
.btn-call:hover { background: var(--navy-800); color: var(--white); transform: translateY(-2px); }
.band-navy .btn-call, .band-deep .btn-call, .band-blue .btn-call {
  background: transparent; color: var(--white); border-color: var(--cyan-400);
}
.band-navy .btn-call:hover, .band-deep .btn-call:hover, .band-blue .btn-call:hover {
  background: var(--cyan-400); color: var(--navy-900);
}
.btn-ghost { padding-inline: 0; background: none; color: var(--blue-700); font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.arrowlink { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.arrowlink .ar { transition: transform 200ms var(--ease); }
.arrowlink:hover .ar { transform: translateX(5px); }

/* ---------- header ---------- */
.hdr-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.hdr {
  position: sticky; top: 0; z-index: var(--z-sticky);
  height: var(--hdr-h);
  background: rgba(7, 27, 51, .92);
  box-shadow: 0 0 0 rgba(7,27,51,0);
  transition: background-color 250ms var(--ease), box-shadow 250ms var(--ease), backdrop-filter 250ms var(--ease);
}
.hdr.scrolled { background: rgba(7, 27, 51, .985); box-shadow: 0 6px 24px rgba(7,27,51,.32); backdrop-filter: blur(8px); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: var(--sp-5); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 40px; width: auto; }
@media (max-width: 800px) { .brand img { height: 32px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.nav > ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .72rem; border: 0; background: none;
  color: var(--mist-100); font-size: .95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; position: relative; border-radius: 3px;
}
.nav a::after, .nav-trigger::after {
  content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .34rem;
  height: 2px; background: var(--cyan-400); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav a:hover, .nav-trigger:hover { color: var(--white); }
.nav a:hover::after, .nav-trigger:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translate(-2px, -2px); transition: transform 200ms var(--ease); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(-135deg) translate(-2px, -2px); }

.has-drop { position: relative; }
.drop-menu {
  position: absolute; top: 100%; left: 0; z-index: var(--z-drop);
  margin: 0; padding-top: .5rem; list-style: none; min-width: 17rem;
}
.drop-menu[hidden] { display: none; }
.drop-inner {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-3);
  padding: .5rem; border-top: 3px solid var(--cyan-400);
}
.drop-menu a {
  display: block; padding: .55rem .7rem; color: var(--ink-900); font-weight: 600; font-size: .93rem;
  border-radius: 4px;
}
.drop-menu a::after { display: none; }
.drop-menu a:hover { background: var(--mist-100); color: var(--blue-700); }
.drop-cols { columns: 2; column-gap: .4rem; }
@media (max-width: 900px) { .drop-cols { columns: 1; } }

/* nav hover preview (explore layer, pointer-only enhancement) */
.navpeek {
  display: none; position: absolute; top: 100%; left: 0; z-index: var(--z-drop);
  margin-top: .5rem; width: 17rem; padding: .9rem 1rem;
  background: var(--white); color: var(--ink-900); border-radius: var(--radius-lg);
  border-top: 3px solid var(--amber-500); box-shadow: var(--shadow-3);
  font-size: .88rem; line-height: 1.45;
}
.navpeek b { display: block; font-family: var(--ff-display); font-size: 1.05rem; margin-bottom: .2rem; }
.navpeek span { color: var(--ink-500); }
@media (hover: hover) and (pointer: fine) {
  .has-peek:hover .navpeek, .has-peek:focus-within .navpeek { display: block; }
  .has-drop:hover .drop-menu { display: block; }
}

.hdr-cta { display: flex; align-items: center; gap: .7rem; flex: none; }
.hdr-tel {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--white); font-weight: 700; text-decoration: none; font-size: 1rem;
}
.hdr-tel:hover { color: var(--cyan-400); }
.hdr .btn-primary { padding: .7rem 1.1rem; font-size: .95rem; }
.burger {
  display: none; width: 44px; height: 40px; border: 1px solid var(--rule-dark); background: none;
  border-radius: 4px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--white); transition: transform 200ms var(--ease), opacity 160ms;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg) translateY(-2px); }

@media (max-width: 1080px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 auto 0; display: block;
    background: var(--navy-900); padding: 1rem 1.25rem 2rem; max-height: calc(100dvh - var(--hdr-h));
    overflow-y: auto; box-shadow: var(--shadow-3);
  }
  .nav[hidden] { display: none; }
  .nav > ul { display: block; }
  .nav a, .nav-trigger { width: 100%; padding: .8rem .2rem; font-size: 1.05rem; justify-content: space-between; }
  .nav a::after, .nav-trigger::after { display: none; }
  .has-drop { position: static; }
  .drop-menu { position: static; min-width: 0; padding: 0 0 .5rem .6rem; }
  .drop-inner { background: transparent; box-shadow: none; border-top: 0; border-left: 2px solid var(--cyan-400); border-radius: 0; padding: 0 0 0 .8rem; }
  .drop-menu a { color: var(--mist-200); padding: .5rem .2rem; }
  .drop-menu a:hover { background: transparent; color: var(--cyan-400); }
  .drop-cols { columns: 1; }
  .navpeek { display: none !important; }
  .hdr-cta .btn-primary { display: none; }
}
@media (max-width: 560px) {
  .hdr-tel span { display: none; }
  .hdr-tel {
    width: 44px; height: 40px; justify-content: center;
    border: 1px solid var(--rule-dark); border-radius: 4px;
  }
  .hdr-tel svg { width: 19px; height: 19px; }
}

/* ---------- mobile sticky action bar ---------- */
.mobar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: none; gap: 1px; background: var(--navy-900);
  box-shadow: 0 -6px 22px rgba(7,27,51,.3);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .95rem .5rem; font-weight: 700; font-size: .95rem; text-decoration: none;
}
.mobar .m-call { background: var(--navy-800); color: var(--white); }
.mobar .m-text { background: var(--navy-700); color: var(--white); }
.mobar .m-est  { background: var(--amber-500); color: var(--navy-900); }
@media (max-width: 800px) { .mobar { display: flex; } body { padding-bottom: 56px; } }

/* ==========================================================================
   HERO VARIANTS  (one per page type)
   ========================================================================== */

/* --- home: full-bleed photo, scrim, text stacked left --- */
.hero-home { position: relative; min-height: min(84vh, 720px); display: flex; align-items: flex-end; color: var(--white); }
.hero-home .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-home::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,27,51,.55) 0%, rgba(7,27,51,0) 26%, rgba(7,27,51,.55) 74%, rgba(7,27,51,.86) 100%),
    linear-gradient(93deg, rgba(7,27,51,.94) 0%, rgba(7,27,51,.86) 34%, rgba(7,27,51,.42) 66%, rgba(7,27,51,.24) 100%);
}
.hero-home .wrap { position: relative; z-index: 2; padding-block: var(--sp-8) var(--sp-7); }
.hero-home h1 {
  font-size: clamp(2.5rem, 1.9rem + 2.9vw, 4.35rem);
  color: var(--white); max-width: 19ch; margin-bottom: .38em;
}
.hero-home .lede { color: var(--mist-100); max-width: 46ch; font-size: var(--step-1); }
.hero-tel { display: block; margin-top: 1rem; color: var(--cyan-400); font-weight: 700; font-size: var(--step-1); text-decoration: none; }
.hero-tel:hover { color: var(--white); }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.hero-chips li {
  display: flex; align-items: center; gap: .45rem; margin: 0;
  font-size: .88rem; font-weight: 600;
  color: var(--ink-900);
  background: var(--white); border: 1px solid var(--mist-200);
  padding: .45rem .85rem; border-radius: 100px;
}
.hero-chips .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-700); flex: none; }
/* dark-surface variant */
.hero-home .hero-chips li,
.band-navy .hero-chips li,
.band-deep .hero-chips li,
.band-blue .hero-chips li {
  color: var(--mist-100);
  background: rgba(255,255,255,.09); border-color: rgba(159,224,245,.28);
}
.hero-home .hero-chips .dot,
.band-navy .hero-chips .dot,
.band-deep .hero-chips .dot,
.band-blue .hero-chips .dot { background: var(--cyan-400); }

/* --- service: split, text on navy + photo beside --- */
.hero-svc { background: var(--navy-800); color: var(--mist-100); }
.hero-svc .split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--sp-7); align-items: center; padding-block: var(--sp-7); }
.hero-svc h1 { color: var(--white); font-size: var(--step-3); max-width: 17ch; }
.hero-svc .lede { color: var(--mist-200); }
.hero-svc .shot { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-3); border: 1px solid rgba(159,224,245,.2); }
.hero-svc .shot img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
@media (max-width: 860px) { .hero-svc .split { grid-template-columns: 1fr; gap: var(--sp-5); } }

.crumbs { font-size: .85rem; color: var(--mist-200); padding-top: 1.1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: rgba(159,224,245,.5); }
.crumbs a { color: var(--cyan-200); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* --- city: stacked text on tinted band, photo below --- */
.hero-city { background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%); color: var(--mist-100); }
.hero-city .grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: var(--sp-7); align-items: center;
}
.hero-city .inner { padding-block: var(--sp-7) var(--sp-8); max-width: 40rem; }
@media (max-width: 960px) {
  .hero-city .grid { grid-template-columns: 1fr; gap: 0; }
  .hero-city .inner { padding-bottom: var(--sp-6); }
}

.cityfacts {
  background: rgba(7, 27, 51, .5);
  border: 1px solid rgba(159, 224, 245, .22);
  border-top: 3px solid var(--cyan-400);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  backdrop-filter: blur(2px);
}
.cityfacts h2 {
  font-family: var(--ff-body); font-size: .74rem; font-weight: 700; letter-spacing: .11em;
  color: var(--cyan-400); margin: 0 0 .9rem;
}
.cityfacts dl { margin: 0; }
.cityfacts dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .07em;
  color: rgba(207, 219, 232, .8); margin-bottom: .15rem;
}
.cityfacts dd {
  margin: 0 0 .95rem; color: var(--white); font-weight: 600; font-size: 1.02rem; line-height: 1.35;
}
.cityfacts dd:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .cityfacts { margin-bottom: var(--sp-6); } }
.hero-city h1 { color: var(--white); font-size: var(--step-4); }
.hero-city .lede { color: var(--mist-200); }
.cityband { position: relative; }
.cityband img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; }
.cityband figcaption {
  background: var(--navy-900); color: var(--mist-200); font-size: .85rem;
  padding: .7rem 0;
}
.cityband figcaption .wrap { display: flex; gap: .6rem; align-items: baseline; }
.cityband figcaption b { color: var(--cyan-400); font-weight: 700; flex: none; }

/* --- generic interior hero (about, contact, legal, hub) --- */
.hero-page { background: var(--navy-800); color: var(--mist-100); }
.hero-page .inner { padding-block: var(--sp-6) var(--sp-7); max-width: 44rem; }
.hero-page h1 { font-size: var(--step-3); }
.hero-page h1 { color: var(--white); }
.hero-page .lede { color: var(--mist-200); }

/* ---------- trust strip ---------- */
.trust {
  background: var(--navy-900); color: var(--mist-100);
  border-top: 3px solid var(--cyan-400);
}
.trust ul {
  display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 1rem 0; gap: .6rem 2.2rem;
  align-items: center; justify-content: space-between;
}
.trust li { display: flex; align-items: center; gap: .55rem; margin: 0; font-weight: 600; font-size: .95rem; }
.trust svg { color: var(--cyan-400); flex: none; }
@media (max-width: 760px) { .trust ul { justify-content: flex-start; gap: .55rem 1.4rem; } .trust li { font-size: .87rem; } }

/* ==========================================================================
   HOME-ONLY: symptom picker + doorway grid + timeline
   ========================================================================== */
.symptom-chips { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0 0 1.4rem; list-style: none; }
.symptom-chips li { margin: 0; }
.chipbtn {
  border: 2px solid var(--mist-200); background: var(--white); color: var(--ink-900);
  padding: .7rem 1.15rem; border-radius: 100px; font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), transform 180ms var(--ease);
}
.chipbtn:hover { border-color: var(--blue-700); transform: translateY(-2px); }
.chipbtn[aria-expanded="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.symptom-answers > div { border-left: 3px solid var(--cyan-400); padding: .2rem 0 .2rem 1.15rem; }
.symptom-answers > div[hidden] { display: none; }
.symptom-answers p { margin-bottom: .5rem; }

.svc-group + .svc-group { margin-top: var(--sp-7); }
.svc-group-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem;
  margin-bottom: 1.15rem; padding-bottom: .75rem; border-bottom: 1px solid var(--rule);
}
.svc-group-head h3 {
  font-family: var(--ff-display); font-size: var(--step-1);
  margin: 0; color: var(--navy-800);
}
.svc-group-head span { font-size: .9rem; color: var(--ink-500); }

.doorways {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: .9rem;
}
.doorway {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--mist-200);
  border-radius: var(--radius-lg); padding: 1.4rem 1.4rem 1.2rem;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.doorway:hover, .doorway:focus-within {
  border-color: var(--blue-700); box-shadow: var(--shadow-2);
  transform: translateY(-3px); z-index: 3;
}
.doorway h3 { font-size: 1.14rem; line-height: 1.18; margin: 0 0 .4rem; }
.doorway h3 a { color: var(--ink-900); text-decoration: none; }
.doorway h3 a::after { content: ""; position: absolute; inset: 0; }
.doorway:hover h3 a, .doorway:focus-within h3 a { color: var(--blue-700); }
.doorway p {
  font-size: .89rem; line-height: 1.5; color: var(--ink-700);
  margin: 0 0 1.1rem; max-width: none;
}
.doorway .go {
  margin-top: auto; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: var(--blue-700);
}
.doorway .num {
  position: absolute; top: 1rem; right: 1.15rem;
  font-family: var(--ff-display); font-size: .82rem; color: var(--mist-200);
  transition: color 220ms var(--ease);
}
.doorway:hover .num { color: var(--cyan-400); }

/* the peek: present in the document for crawlers, revealed on pointer hover
   only. Flush to the card bottom, so there is no dead hover gap. Tap always
   just navigates. */
.doorway .peek {
  position: absolute; left: -1px; right: -1px; top: 100%;
  margin: 0; padding: .95rem 1.4rem 1.05rem; list-style: none;
  background: var(--navy-800); color: var(--mist-100);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
  z-index: 4; pointer-events: none;
}
.doorway .peek::before {
  content: "On this page"; display: block;
  font-size: .68rem; font-weight: 700; letter-spacing: .11em;
  color: var(--cyan-400); margin-bottom: .5rem;
}
.doorway .peek li {
  font-size: .83rem; line-height: 1.45; color: var(--mist-200);
  margin: 0 0 .35rem; padding-left: .95rem; position: relative;
}
.doorway .peek li:last-child { margin-bottom: 0; }
.doorway .peek li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 5px; height: 5px; background: var(--cyan-400); border-radius: 50%;
}
@media (hover: hover) and (pointer: fine) {
  .doorway:hover .peek, .doorway:focus-within .peek {
    opacity: 1; visibility: visible; transform: none;
  }
}

.split-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--sp-7); align-items: center; }
.split-feature img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
@media (max-width: 880px) { .split-feature { grid-template-columns: 1fr; gap: var(--sp-5); } }
.split-feature.flip > :first-child { order: 2; }
@media (max-width: 880px) { .split-feature.flip > :first-child { order: 0; } }

.stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.stats li { margin: 0; }
.stats .n { display: block; font-family: var(--ff-display); font-size: var(--step-3); line-height: 1; color: var(--cyan-400); }
.band-tint .stats .n, .sec .stats .n { color: var(--blue-700); }
.stats .l { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-500); margin-top: .3rem; }
.band-navy .stats .l, .band-deep .stats .l { color: var(--mist-200); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--sp-6); }
.timeline > li { position: relative; list-style: none; margin: 0; padding: 2.6rem 1.25rem 0 0; }
.timeline > li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--cyan-400) 0 14px, transparent 14px 22px);
}
.timeline > li::after {
  content: ""; position: absolute; left: 0; top: 5px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--amber-500); border: 3px solid var(--navy-800);
}
.band-tint .timeline > li::after { border-color: var(--mist-100); }
.timeline h3 { font-size: var(--step-0); font-family: var(--ff-body); font-weight: 700; margin-bottom: .3rem; }
.timeline p { font-size: .9rem; margin: 0; color: var(--ink-700); }
.band-navy .timeline p { color: var(--mist-200); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline > li { padding: 0 0 1.6rem 2.2rem; }
  .timeline > li::before { left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: auto;
    background: repeating-linear-gradient(180deg, var(--cyan-400) 0 14px, transparent 14px 22px); }
  .timeline > li::after { top: 0; left: 0; }
}

/* promise band (replaces the financing slot) */
.promise { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: var(--sp-7); align-items: center; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; gap: var(--sp-5); } }
.promise-quote { font-family: var(--ff-display); font-size: var(--step-2); line-height: 1.22; color: var(--white); margin: 0 0 1rem; }
.promise-note { font-size: .95rem; color: var(--mist-200); }

/* ==========================================================================
   SERVICE-ONLY: sub-nav, rail, spec table, photo strip
   ========================================================================== */
.subnav {
  background: var(--mist-50); border-bottom: 1px solid var(--mist-200);
  position: sticky; top: var(--hdr-h); z-index: 30;
}
.subnav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { margin: 0; flex: none; }
.subnav a {
  display: block; padding: .95rem .95rem; font-size: .9rem; font-weight: 700; white-space: nowrap;
  color: var(--ink-700); text-decoration: none; border-bottom: 3px solid transparent;
}
.subnav a:hover { color: var(--blue-700); border-bottom-color: var(--cyan-400); }

.answer-first {
  border-left: 4px solid var(--cyan-400); padding: .1rem 0 .1rem 1.5rem; margin-bottom: var(--sp-6);
}
.answer-first p:first-child { font-size: var(--step-1); line-height: 1.45; color: var(--ink-900); font-weight: 500; }

.signs { list-style: none; padding: 0; margin: 0; max-width: 60ch; }
.signs li {
  position: relative; padding: .75rem 0 .75rem 2.4rem; margin: 0;
  border-bottom: 1px solid var(--rule);
}
.signs li::before {
  content: ""; position: absolute; left: .35rem; top: 1.15rem; width: 12px; height: 7px;
  border-left: 3px solid var(--amber-500); border-bottom: 3px solid var(--amber-500);
  transform: rotate(-45deg);
}

.rail { list-style: none; margin: 0; padding: 0; position: relative; max-width: 58rem; }
.rail::before {
  content: ""; position: absolute; left: 17px; top: 12px; bottom: 12px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--cyan-400) 0 16px, transparent 16px 26px);
}
.rail > li { position: relative; margin: 0 0 2.1rem; padding-left: 3.6rem; }
.rail > li:last-child { margin-bottom: 0; }
.rail .step {
  position: absolute; left: 0; top: 0; width: 37px; height: 37px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-800); color: var(--white);
  font-family: var(--ff-display); font-size: 1.02rem;
}
.rail > li:last-child .step { background: var(--amber-500); color: var(--navy-900); }
.rail h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.rail p { margin-bottom: 0; }

.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec caption { text-align: left; font-size: .85rem; color: var(--ink-500); padding-bottom: .6rem; }
.spec th, .spec td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec thead th { background: var(--navy-800); color: var(--white); font-weight: 700; font-size: .85rem; letter-spacing: .03em; border-bottom: 0; }
.spec tbody th { font-weight: 700; width: 34%; color: var(--blue-700); }
.spec tbody tr:nth-child(even) { background: rgba(255,255,255,.6); }
@media (max-width: 620px) {
  .spec, .spec tbody, .spec tr, .spec td, .spec th { display: block; }
  .spec thead { display: none; }
  .spec tbody th { width: auto; border-bottom: 0; padding-bottom: .2rem; }
  .spec tbody tr { border-bottom: 1px solid var(--rule); margin-bottom: .5rem; }
  .spec td { border-bottom: 0; padding-top: 0; }
}

.strip { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.strip figure { flex: none; width: min(78vw, 340px); margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.strip figcaption { font-size: .84rem; color: var(--ink-500); padding-top: .5rem; }

.inline-links { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.inline-links li { margin: 0; }
.inline-links a {
  display: inline-block; padding: .5rem .95rem; border: 1px solid var(--rule);
  border-radius: 100px; background: var(--white); font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.inline-links a:hover { border-color: var(--blue-700); transform: translateY(-2px); }

/* ==========================================================================
   CITY-ONLY: fact panel, neighborhood cloud, rules callout, towns strip
   ========================================================================== */
.factpanel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--sp-6) var(--sp-7); }
@media (max-width: 820px) { .factpanel { grid-template-columns: 1fr; gap: var(--sp-5); } }
.factlist { list-style: none; margin: 0; padding: 0; }
.factlist > li { padding: 1rem 0; border-bottom: 1px solid var(--rule-dark); margin: 0; }
.factlist .k {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .07em;
  color: var(--cyan-400); margin-bottom: .3rem;
}
.factlist .v { display: block; color: var(--mist-100); }
.factlist .src { display: block; font-size: .78rem; margin-top: .35rem; }
.factlist .src a { color: rgba(159,224,245,.75); }

.cloud { font-size: 1.02rem; line-height: 2.1; color: var(--ink-700); max-width: 62ch; }
.cloud span {
  display: inline-block; padding: .12rem .7rem; margin-right: .3rem;
  background: var(--white); border: 1px solid var(--mist-200); border-radius: 3px;
  font-size: .92rem; font-weight: 600; color: var(--ink-900);
}

.rules-callout {
  border: 2px solid var(--amber-500); border-radius: var(--radius-lg);
  background: var(--white); padding: 1.6rem 1.6rem 1.1rem;
}
.rules-callout h3 { margin-bottom: .5rem; }
.rules-callout p:last-child { margin-bottom: 0; }

.towns { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.towns li { margin: 0; font-weight: 600; color: var(--ink-700); }
.towns .mi { color: var(--ink-500); font-weight: 400; font-size: .88rem; }

.citylinks { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
@media (max-width: 640px) { .citylinks { columns: 1; } }
.citylinks li { margin: 0; break-inside: avoid; }
.citylinks a {
  display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0;
  border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; color: var(--ink-900);
}
.citylinks a:hover { color: var(--blue-700); }
.citylinks .what { font-weight: 400; font-size: .85rem; color: var(--ink-500); margin-left: auto; text-align: right; }

/* ==========================================================================
   SHARED SECTIONS
   ========================================================================== */
/* service area */
.area-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: var(--sp-7); align-items: start; }
@media (max-width: 880px) { .area-grid { grid-template-columns: 1fr; gap: var(--sp-5); } }
.mapwrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); background: var(--mist-200); }
.mapwrap iframe { display: block; width: 100%; height: 340px; border: 0; }
.arealist { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: .1rem 1.5rem; }
.arealist li { margin: 0; }
.arealist a { display: block; padding: .5rem 0; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--rule); }
.arealist a:hover { color: var(--blue-600); }
.also { font-size: .95rem; color: var(--ink-700); }
.also b { color: var(--ink-900); }
.band-navy .also { color: var(--mist-200); }
.band-navy .also b { color: var(--white); }

/* reviews */
.reviewwrap { background: var(--white); border-radius: var(--radius-lg); padding: 1.2rem; box-shadow: var(--shadow-1); }
.reviewwrap iframe { display: block; width: 100%; }

/* gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .8rem; }
.gal figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mist-200); }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 500ms var(--ease); }
.gal figure:hover img { transform: scale(1.05); }
.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .85rem .7rem;
  font-size: .84rem; color: var(--white); font-weight: 600;
  background: linear-gradient(180deg, rgba(7,27,51,0), rgba(7,27,51,.88));
}
.gal-tall figure:nth-child(3n+1) img { aspect-ratio: 3/4; }

/* FAQ accordion */
.faq { max-width: 54rem; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
  background: none; border: 0; padding: 1.15rem 0; text-align: left; cursor: pointer;
  font-family: var(--ff-display); font-size: var(--step-1); line-height: 1.25; color: var(--ink-900);
}
.faq-q:hover { color: var(--blue-700); }
.faq-q .pm { flex: none; width: 22px; height: 22px; margin-top: .3rem; position: relative; }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--blue-700);
  transform: translate(-50%,-50%); transition: transform 260ms var(--ease), opacity 200ms;
}
.faq-q .pm::before { width: 16px; height: 3px; }
.faq-q .pm::after { width: 3px; height: 16px; }
.faq-q[aria-expanded="true"] .pm::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; }
.faq-a[hidden] { display: none; }
.faq-a > div { padding: 0 0 1.3rem; max-width: 68ch; }
.faq-a p:last-child { margin-bottom: 0; }
.band-navy .faq { border-top-color: var(--rule-dark); }
.band-navy .faq-item { border-bottom-color: var(--rule-dark); }
.band-navy .faq-q { color: var(--white); }
.band-navy .faq-q .pm::before, .band-navy .faq-q .pm::after { background: var(--cyan-400); }

/* where to next */
.wtn { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1rem; }
.wtn a {
  position: relative; display: block; padding: 1.5rem 1.35rem; text-decoration: none;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
  border-bottom: 3px solid var(--cyan-400);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.wtn a:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-bottom-color: var(--amber-500); }
.wtn .kicker { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--blue-700); margin-bottom: .45rem; }
.wtn strong { display: block; font-family: var(--ff-display); font-weight: 400; font-size: var(--step-1); color: var(--ink-900); margin-bottom: .3rem; }
.wtn span.d { display: block; font-size: .89rem; color: var(--ink-500); }

/* final CTA + form */
.cta-final { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: var(--sp-7); align-items: start; }
@media (max-width: 900px) { .cta-final { grid-template-columns: 1fr; gap: var(--sp-5); } }
.formcard { background: var(--white); border-radius: var(--radius-lg); padding: .75rem; box-shadow: var(--shadow-3); }
.formcard iframe { display: block; width: 100%; border: 0; border-radius: 8px; min-height: 1148px; }
.cta-final h2 { color: var(--white); }
.cta-list { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.cta-list li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; color: var(--mist-100); }
.cta-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 6px;
  border-left: 2px solid var(--amber-500); border-bottom: 2px solid var(--amber-500); transform: rotate(-45deg);
}

/* ---------- footer ---------- */
.ftr { background: var(--navy-900); color: var(--mist-200); padding-block: var(--sp-7) var(--sp-5); font-size: .93rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--sp-6) var(--sp-5); }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; } }
.ftr img.flogo { height: 46px; width: auto; margin-bottom: 1rem; }
.ftr h3 { font-family: var(--ff-body); font-size: .8rem; font-weight: 700; letter-spacing: .09em; color: var(--cyan-400); margin-bottom: .9rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: .45rem; }
.ftr a { color: var(--mist-200); text-decoration: none; }
.ftr a:hover { color: var(--cyan-400); text-decoration: underline; }
.ftr address { font-style: normal; line-height: 1.8; }
.ftr .naptel { color: var(--white); font-weight: 700; font-size: 1.08rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--rule-dark); color: var(--mist-200);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
.socials a:hover { background: var(--cyan-400); color: var(--navy-900); transform: translateY(-2px); }
.ftr-base {
  margin-top: var(--sp-6); padding-top: 1.2rem; border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; font-size: .84rem;
}
.ftr-base .legal { color: rgba(207,219,232,.72); }
.ftr-base nav { margin-left: auto; display: flex; gap: 1.2rem; }
@media (max-width: 700px) { .ftr-base nav { margin-left: 0; } }

/* ---------- prose (legal + about) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; }
.prose h4 { margin-top: 1.4rem; }
.prose ul { padding-left: 1.3rem; }
.prose .updated { font-size: .88rem; color: var(--ink-500); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: var(--sp-7); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--sp-5); } }
.contact-block { margin-bottom: 1.8rem; }
.contact-block h3 { font-size: var(--step-0); font-family: var(--ff-body); font-weight: 700; letter-spacing: .04em; color: var(--blue-700); margin-bottom: .4rem; }
.contact-block a { font-size: var(--step-1); font-weight: 700; text-decoration: none; }
.hours { list-style: none; margin: 0; padding: 0; max-width: 22rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.hours b { font-weight: 400; color: var(--ink-500); }

/* ==========================================================================
   MOTION  (pre-reveal styles apply only when JS is on)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .stagger > * { opacity: 0; transform: translateY(16px); }
.js .stagger.in > * { opacity: 1; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.js .stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.js .stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.js .stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.js .stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.js .stagger.in > *:nth-child(6) { transition-delay: 350ms; }
.js .trench path { stroke-dasharray: 150; stroke-dashoffset: 150; }
.js .trench.in path { stroke-dashoffset: 0; transition: stroke-dashoffset 620ms var(--ease); }
.js .trench.in .b { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .stagger > *, .js .reveal.in, .js .stagger.in > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .js .trench path { stroke-dasharray: none; stroke-dashoffset: 0; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- print ---------- */
@media print {
  .hdr, .mobar, .subnav, .wtn, .formcard, .socials { display: none !important; }
  body { background: #fff; color: #000; }
}
