/* joliet.tech — Direction A · Clear Daylight
   Single stylesheet for all 45 public routes. Type scale: 56/36/20/18/16/14 at 1920px.
   Breakpoints are declared at the END of this file. */

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #e6f3fc;
  --navy: #142030;
  --navy-2: #1d2d42;
  --navy-deep: #101926;
  --ink: #16202e;
  --ink-muted: #3f4d61;
  --ink-on-dark: #ffffff;
  --ink-on-dark-soft: #cbd5e1;
  --ink-on-dark-muted: #9fb4ca;
  --brand: #1590d7;
  --brand-text: #0b6aa1;
  --brand-hover: #085482;
  --brand-light: #7cc8f8;
  --star: #9a6400;
  --rule: #dce4ee;
  --rule-dark: #2a3c54;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Strict 6-step type scale */
  --t-h1: clamp(2.375rem, 3.6vw, 3.5rem);
  --t-h2: clamp(1.75rem, 2.2vw, 2.25rem);
  --t-h3: 1.25rem;
  --t-lead: 1.125rem;
  --t-body: 1rem;
  --t-sm: 0.875rem;
  /* Inner-page H1 step (7th step permitted on inner routes only) */
  --t-h1-inner: clamp(1.875rem, 2.6vw, 2.75rem);

  --shell: 1280px;
  --gutter: clamp(20px, 3.5vw, 40px);
  --r-ctrl: 8px;
  --r-card: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
::selection { background: #cfe8f8; color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 {
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); line-height: 1.18; letter-spacing: -0.024em; }
h3 { font-size: var(--t-h3); line-height: 1.3; letter-spacing: -0.014em; }
a { color: var(--brand-text); text-decoration: none; transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease; }
a:not(.btn):hover { color: var(--brand-hover); text-decoration: none; }
.sec--navy a:not(.btn):hover, .site-footer a:not(.btn):hover, .inner-hero a:not(.btn):hover { color: #ffffff; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand-text);
  outline-offset: 2px;
  border-radius: 4px;
}
.inner-hero a:focus-visible, .site-footer a:focus-visible, .sec--navy a:focus-visible, .sec--navy button:focus-visible {
  outline-color: var(--brand-light);
}
.num { font-variant-numeric: tabular-nums; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 18px; z-index: 200;
  font-weight: 600; font-size: var(--t-sm);
}
.skip:focus { left: 16px; top: 16px; border-radius: var(--r-ctrl); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-ctrl);
  font-family: var(--font); font-size: var(--t-body); font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn--primary { background: var(--brand-text); color: #ffffff; border-color: var(--brand-text); }
.btn--primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #ffffff; }
.btn--outline { background: #ffffff; color: var(--ink); border-color: #b7c5d6; }
.btn--outline:hover { background: var(--bg-soft); border-color: var(--ink); color: var(--ink); }
.btn--navy { background: var(--navy); color: #ffffff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); color: #ffffff; }
.btn--on-dark { background: #ffffff; color: var(--navy); border-color: #ffffff; }
.btn--on-dark:hover { background: #e6f3fc; color: var(--navy); }
.btn--ghost-dark { background: transparent; color: #ffffff; border-color: #6b819c; }
.btn--ghost-dark:hover { background: var(--navy-2); border-color: #ffffff; color: #ffffff; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: var(--t-sm); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; font-size: var(--t-body); font-weight: 600; color: var(--brand-text);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform 0.16s ease; }
.arrow-link:hover { color: var(--brand-hover); }
.arrow-link:hover svg { transform: translateX(3px); }
.sec--navy .arrow-link, .inner-hero .arrow-link, .site-footer .arrow-link { color: var(--brand-light); }
.sec--navy .arrow-link:hover, .inner-hero .arrow-link:hover, .site-footer .arrow-link:hover { color: #ffffff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 80px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 152px; height: 62px; object-fit: contain; object-position: left center; }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 44px; padding: 0 14px; border-radius: var(--r-ctrl);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav-link:hover { background: var(--bg-soft); color: var(--brand-text); }
.nav-link svg { width: 12px; height: 12px; color: var(--ink-muted); }
.nav-link[aria-current="page"] { color: var(--brand-text); }
.nav-drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 248px;
  padding: 8px; background: #ffffff; border: 1px solid var(--rule);
  border-radius: var(--r-card); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.2);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop {
  opacity: 1; visibility: visible; transform: none;
}
.nav-drop a {
  display: block; padding: 10px 12px; border-radius: var(--r-ctrl);
  font-size: var(--t-sm); font-weight: 500; color: var(--ink);
}
.nav-drop a:hover { background: var(--bg-soft); color: var(--brand-text); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 6px;
  font-size: var(--t-sm); font-weight: 700; color: var(--ink); white-space: nowrap;
}
.header-phone:hover { color: var(--brand-text); }
.header-phone svg { width: 16px; height: 16px; color: var(--brand-text); }

/* Mobile navigation */
.mob-menu { display: none; position: static; }
.mob-menu summary {
  list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: var(--r-ctrl);
  border: 1px solid var(--rule); background: #ffffff;
  font-size: var(--t-sm); font-weight: 600; color: var(--ink); cursor: pointer;
}
.mob-menu summary::-webkit-details-marker { display: none; }
.mob-panel {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #ffffff; border: 1px solid var(--rule); border-radius: var(--r-card);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.24);
  padding: 16px; display: grid; gap: 6px; z-index: 150;
}
.mob-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: var(--r-ctrl); font-size: var(--t-body); font-weight: 600; color: var(--ink);
}
.mob-panel a:hover { background: var(--bg-soft); color: var(--brand-text); }
.mob-panel__cta {
  display: grid; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule);
}
.mob-panel__cta a { justify-content: center; }
.mob-panel__cta a.btn--primary, .mob-panel__cta a.btn--primary:hover { color: #ffffff; }
.mob-panel__cta a.btn--outline, .mob-panel__cta a.btn--outline:hover { color: var(--ink); }

/* 1. Light Split Hero */
.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--rule);
  padding: clamp(44px, 5vw, 72px) 0 clamp(48px, 5.5vw, 80px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero h1 { max-width: 17ch; margin-bottom: 20px; }
.hero-sub {
  font-size: var(--t-lead); line-height: 1.62; color: var(--ink-muted);
  max-width: 56ch; margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; padding-top: 28px; border-top: 1px solid var(--rule);
}
.hero-fact strong {
  display: block; font-size: var(--t-body); font-weight: 700; color: var(--ink);
  margin-bottom: 2px;
}
.hero-fact span {
  display: block; font-size: var(--t-sm); color: var(--ink-muted); line-height: 1.45;
}
.hero-fact a { color: var(--brand-text); font-weight: 700; display: inline-flex; align-items: center; min-height: 26px; }

/* 1b. Dark hero (homepage) */
.hero--dark { background: var(--navy); border-bottom: 1px solid var(--rule-dark); }
.hero--dark h1 { color: #ffffff; }
.hero--dark h1 .hero-em { color: #7cc4f2; }
.hero--dark .hero-sub { color: #cbd5e1; }
.hero--dark .hero-facts { border-top-color: rgba(255, 255, 255, 0.14); }
.hero--dark .hero-fact strong { color: #ffffff; }
.hero--dark .hero-fact span { color: #9fb4ca; }
.hero--dark .hero-fact a { color: #7cc4f2; }
.hero--dark .hero-fact a:hover { color: #ffffff; }
.hero--dark .btn--outline { background: transparent; color: #ffffff; border-color: #6b819c; }
.hero--dark .btn--outline:hover { background: rgba(255, 255, 255, 0.08); border-color: #ffffff; color: #ffffff; }
.hero--dark .office-card { border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }

/* Office Map Card */
.office-card {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.22);
}
.office-map {
  position: relative; height: 240px; background: #eaf1f8;
  border-bottom: 1px solid var(--rule); overflow: hidden;
}
.office-map img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.office-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -95%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: #ffffff; border: 1px solid var(--rule);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  font-size: var(--t-sm); font-weight: 700; color: var(--ink); white-space: nowrap;
}
.office-pin__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: none; }
.office-body { padding: 22px 24px 24px; }
.office-addr {
  font-style: normal; font-size: var(--t-h3); font-weight: 700;
  color: var(--ink); line-height: 1.35; margin-bottom: 16px;
}
.office-meta {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 14px; padding: 16px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm);
}
.office-meta dt { color: var(--ink-muted); font-weight: 600; }
.office-meta dd { color: var(--ink); font-weight: 500; }
.office-meta dd a { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; min-height: 26px; }
.office-meta dd a:hover { color: var(--brand-text); }
.office-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 14px; font-size: var(--t-sm); color: var(--ink-muted);
}

/* 2. Services — left-aligned rows with 100px icon circles */
.sec { padding: clamp(56px, 6.5vw, 96px) 0; }
.sec--soft { background: var(--bg-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.sec-head__copy { max-width: 60ch; }
.sec-head__copy p { margin-top: 10px; font-size: var(--t-lead); color: var(--ink-muted); }

.svc-list { border-top: 1px solid var(--rule); }
.svc-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.svc-icon {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--bg-tint); border: 1px solid #c9e3f6;
  display: grid; place-items: center; color: var(--brand-text); flex: none;
}
.svc-icon svg { width: 40px; height: 40px; }
.svc-content h3 { margin-bottom: 6px; }
.svc-content h3 a { color: var(--ink); }
.svc-content h3 a:hover { color: var(--brand-text); }
.svc-content p { color: var(--ink-muted); max-width: 60ch; }
.svc-also {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; background: var(--bg-soft); border-radius: var(--r-card);
  border: 1px solid var(--rule); font-size: var(--t-body); color: var(--ink-muted);
}
.svc-also strong { color: var(--ink); font-weight: 700; }
.svc-also a { font-weight: 700; display: inline-block; padding: 3px 0; }

/* 3. Single Dark Band — Horizontal numbered timeline + interactive scenario walkthrough */
.sec--navy { background: var(--navy); color: var(--ink-on-dark); }
.sec--navy h2, .sec--navy h3 { color: #ffffff; }
.sec--navy .sec-head__copy p { color: var(--ink-on-dark-soft); }

.timeline {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px; position: relative; margin-bottom: 40px;
}
.timeline::before {
  content: ""; position: absolute; top: 24px; left: 24px; right: 24px;
  height: 1px; background: var(--rule-dark); z-index: 0;
}
.step-item { position: relative; z-index: 1; }
.step-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-text); color: #ffffff;
  border: 4px solid var(--navy);
  display: grid; place-items: center;
  font-size: var(--t-body); font-weight: 700; margin-bottom: 18px;
}
.step-item h3 { margin-bottom: 8px; }
.step-item p { color: var(--ink-on-dark-soft); max-width: 34ch; }

.scenario-box {
  background: var(--navy-2); border: 1px solid var(--rule-dark);
  border-radius: var(--r-card); padding: 24px;
}
.scenario-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--rule-dark); margin-bottom: 20px;
}
.scenario-label { font-size: var(--t-sm); font-weight: 600; color: var(--ink-on-dark-muted); }
.seg-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-btn {
  min-height: 40px; padding: 0 14px; border-radius: var(--r-ctrl);
  border: 1px solid var(--rule-dark); background: transparent;
  color: var(--ink-on-dark-soft); font-family: var(--font); font-size: var(--t-sm); font-weight: 600;
  cursor: pointer; transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.seg-btn:hover { border-color: var(--brand-light); color: #ffffff; }
.seg-btn[aria-selected="true"] {
  background: var(--brand-text); border-color: var(--brand-text); color: #ffffff;
}
.scenario-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.scenario-col strong {
  display: block; font-size: var(--t-sm); font-weight: 700; color: var(--brand-light);
  margin-bottom: 6px;
}
.scenario-col p { color: var(--ink-on-dark-soft); font-size: var(--t-body); line-height: 1.55; }

/* 4. Plans Comparison */
.plans-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.plan {
  background: #ffffff; border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: 32px; display: flex; flex-direction: column;
}
.plan--featured { border-color: var(--brand); }
.plan-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: 20px;
}
.plan-tag {
  font-size: var(--t-sm); font-weight: 700; color: var(--brand-text);
  background: var(--bg-tint); padding: 4px 10px; border-radius: 999px;
}
.plan-summary { color: var(--ink-muted); margin-bottom: 20px; }
.plan-list { display: grid; gap: 12px; margin-bottom: 28px; }
.plan-list li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start;
  color: var(--ink);
}
.plan-list svg { width: 18px; height: 18px; color: var(--brand-text); margin-top: 3px; }
.plan-emph { color: var(--brand-text); font-weight: 800; }
.plan-foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule);
  font-size: var(--t-sm); color: var(--ink-muted);
}
.plans-note {
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; font-size: var(--t-sm); color: var(--ink-muted);
}

/* 5. Industries & Will County Coverage Split */
.local-split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.ind-list { border-top: 1px solid var(--rule); }
.ind-row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.ind-row a { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; min-height: 26px; }
.ind-row a:hover { color: var(--brand-text); }
.ind-row span { color: var(--ink-muted); font-size: var(--t-sm); }

.town-panel {
  background: #ffffff; border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: 28px;
}
.town-panel h3 { margin-bottom: 8px; }
.town-panel > p { color: var(--ink-muted); font-size: var(--t-sm); margin-bottom: 20px; }
.town-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin-bottom: 18px;
}
.town-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: var(--r-ctrl);
  border: 1px solid var(--rule); background: var(--bg-soft);
  color: var(--ink); font-size: var(--t-sm); font-weight: 600; cursor: pointer;
  font-family: var(--font); text-align: left;
}
.town-chip:hover { border-color: var(--brand); background: #ffffff; }
.town-chip[aria-current="true"] {
  background: var(--brand-text); border-color: var(--brand-text); color: #ffffff;
}
.town-chip[aria-current="true"]:hover {
  background: var(--brand-hover); border-color: var(--brand-hover); color: #ffffff;
}
.town-chip span:last-child { font-weight: 500; opacity: 0.9; }
.town-detail {
  padding-top: 16px; border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: var(--t-sm); color: var(--ink-muted);
}

/* 6. Reviews + FAQ Split */
.proof-split {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.review-box {
  background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: 28px;
}
.review-rating {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 18px; font-size: var(--t-sm); color: var(--ink-muted);
}
.review-rating a { display: inline-flex; align-items: center; min-height: 26px; font-weight: 600; }
.stars { color: var(--star); letter-spacing: 2px; font-size: var(--t-body); font-weight: 700; }
.review-quote {
  font-size: var(--t-lead); line-height: 1.62; color: var(--ink); margin-bottom: 16px;
}
.review-author { font-size: var(--t-sm); font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.review-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; border-top: 1px solid var(--rule); }
.review-tab {
  min-height: 38px; padding: 0 12px; border-radius: var(--r-ctrl);
  border: 1px solid var(--rule); background: #ffffff;
  color: var(--ink); font-family: var(--font); font-size: var(--t-sm); font-weight: 600; cursor: pointer;
}
.review-tab:hover { border-color: var(--brand); }
.review-tab[aria-selected="true"] {
  background: var(--navy); border-color: var(--navy); color: #ffffff;
}

.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: var(--t-body); font-weight: 700; color: var(--ink); cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; color: var(--brand-text); flex: none; transition: transform 0.16s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 0 20px; color: var(--ink-muted); max-width: 60ch; }
.faq-body p + p { margin-top: 12px; }

/* 7. Close Band */
.close-band {
  background: var(--bg-tint);
  border-top: 1px solid #c9e3f6;
  padding: clamp(52px, 6vw, 84px) 0;
}
.close-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.close-copy { max-width: 56ch; }
.close-copy h2 { margin-bottom: 10px; }
.close-copy p { font-size: var(--t-lead); color: var(--ink-muted); }
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: var(--ink-on-dark-soft);
  padding: 60px 0 36px; font-size: var(--t-sm);
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--rule-dark);
}
.footer-brand img { width: 160px; height: 66px; object-fit: contain; object-position: left center; margin-bottom: 16px; }
.footer-brand address { font-style: normal; line-height: 1.6; color: var(--ink-on-dark-soft); margin-bottom: 12px; }
.footer-brand a { color: #ffffff; font-weight: 600; display: inline-flex; align-items: center; min-height: 26px; }
.footer-brand a:hover { color: var(--brand-light); }
.footer-col h3 { font-size: var(--t-sm); font-weight: 700; color: #ffffff; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 6px; }
.footer-col a { color: var(--ink-on-dark-soft); display: inline-flex; align-items: center; min-height: 26px; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; color: var(--ink-on-dark-muted);
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--ink-on-dark-muted); display: inline-flex; align-items: center; min-height: 26px; }
.footer-legal a:hover { color: #ffffff; }

/* ============================================================
   Inner-page system
   ============================================================ */

/* Dark logo-squares motif (brand-squares-dark.svg, right-anchored, directional fade) */
.dark-squares { position: relative; overflow: hidden; }
.dark-squares::before {
  content: "";
  position: absolute; z-index: 0; pointer-events: none;
  top: -16px;
  right: calc(25vw - 48px);
  width: clamp(540px, 52vw, 960px);
  aspect-ratio: 2107 / 727;
  background: url('/assets/brand-squares-dark.svg') no-repeat center / 100% 100%;
  -webkit-mask-image: linear-gradient(100deg, transparent 4%, rgba(0, 0, 0, 0.35) 38%, rgba(0, 0, 0, 1) 82%);
  mask-image: linear-gradient(100deg, transparent 4%, rgba(0, 0, 0, 0.35) 38%, rgba(0, 0, 0, 1) 82%);
}
.site-footer.dark-squares::before { top: -16px; bottom: auto; right: calc(25vw - 48px); }
.dark-squares > * { position: relative; z-index: 1; }

/* Compact inner hero */
.inner-hero {
  background: var(--navy);
  color: var(--ink-on-dark);
  border-bottom: 1px solid var(--rule-dark);
  padding: clamp(32px, 3.6vw, 52px) 0 clamp(36px, 4vw, 56px);
}
.inner-hero h1 { color: #ffffff; font-size: var(--t-h1-inner); max-width: 26ch; margin-bottom: 14px; }
.inner-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(28px, 4vw, 56px); align-items: end;
}
.inner-hero__lede { font-size: var(--t-lead); color: var(--ink-on-dark-soft); max-width: 62ch; }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: var(--t-sm); color: var(--ink-on-dark-muted); margin-bottom: 18px;
}
.crumbs a { color: var(--ink-on-dark-soft); display: inline-flex; align-items: center; min-height: 24px; }
.crumbs a:hover { color: #ffffff; }
.crumbs .sep { color: #6b819c; }
.crumbs--light { color: var(--ink-muted); }
.crumbs--light a { color: var(--ink-muted); }
.crumbs--light a:hover { color: var(--brand-text); }
.crumbs--light .sep { color: #8fa0b5; }

.fact-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-card);
  padding: 18px 20px;
}
.fact-panel dl { display: grid; gap: 2px; }
.fact-panel dt { font-size: var(--t-sm); font-weight: 600; color: var(--ink-on-dark-muted); }
.fact-panel dd { font-size: var(--t-sm); font-weight: 600; color: #ffffff; margin-bottom: 10px; }
.fact-panel dd:last-child { margin-bottom: 0; }
.fact-panel a { color: var(--brand-light); font-weight: 700; }

/* Page body + rail */
.page-body { padding: clamp(44px, 4.6vw, 68px) 0 clamp(52px, 5.5vw, 76px); }
.page-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 4vw, 64px); align-items: start;
}
.page-main { min-width: 0; }
.page-grid--read { grid-template-columns: minmax(0, 720px) 280px; justify-content: center; }
.rail { position: sticky; top: 104px; display: grid; gap: 20px; }
.rail-card {
  background: #ffffff; border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: 22px;
}
.rail-card h2 { font-size: var(--t-h3); margin-bottom: 8px; }
.rail-card p { font-size: var(--t-sm); color: var(--ink-muted); }
.rail-card .btn { width: 100%; margin-top: 14px; }
.rail-card .rail-phone {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: var(--t-sm); font-weight: 700; color: var(--ink);
}
.rail-card .rail-phone svg { width: 16px; height: 16px; color: var(--brand-text); }
.rail-card--soft { background: var(--bg-soft); }
.toc { font-size: var(--t-sm); }
.toc h2 { font-size: var(--t-sm); font-weight: 700; color: var(--ink); letter-spacing: 0; margin-bottom: 10px; }
.toc ol { display: grid; gap: 6px; }
.toc a { color: var(--ink-muted); display: inline-flex; align-items: center; min-height: 24px; line-height: 1.35; }
.toc a:hover { color: var(--brand-text); }
.rail-links { display: grid; gap: 4px; }
.rail-links a {
  display: inline-flex; align-items: center; min-height: 32px;
  font-size: var(--t-sm); color: var(--ink-muted); line-height: 1.35;
}
.rail-links a:hover { color: var(--brand-text); }
.rail-card .rail-phone { min-height: 32px; }

/* Prose */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose p { color: var(--ink-muted); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { font-weight: 600; }
.prose ul, .prose ol { display: grid; gap: 8px; margin-top: 12px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--ink-muted); }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.prose ol { counter-reset: item; }
.prose ol li { position: relative; padding-left: 26px; color: var(--ink-muted); counter-increment: item; }
.prose ol li::before {
  content: counter(item) "."; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--brand-text); font-variant-numeric: tabular-nums;
}
.prose blockquote {
  border-left: 1px solid var(--brand);
  padding-left: 20px; color: var(--ink); font-size: var(--t-lead);
}
.prose table { margin-top: 20px; }

/* Hairline rows */
.rows { border-top: 1px solid var(--rule); margin-top: 8px; }
.rows > .row { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row h3 { margin-bottom: 4px; }
.row p { color: var(--ink-muted); max-width: 68ch; }
.row p + p { margin-top: 8px; }
.row ul { display: grid; gap: 6px; margin-top: 10px; }
.row ul li { position: relative; padding-left: 20px; color: var(--ink-muted); font-size: var(--t-sm); }
.row ul li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.card {
  background: #ffffff; border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-muted); font-size: var(--t-sm); }
.card p + p { margin-top: 8px; }
.card ul { display: grid; gap: 6px; margin-top: 10px; }
.card ul li { position: relative; padding-left: 18px; color: var(--ink-muted); font-size: var(--t-sm); }
.card ul li::before {
  content: ""; position: absolute; left: 1px; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.card .arrow-link { margin-top: 12px; font-size: var(--t-sm); }

/* Vertical steps */
.steps { border-top: 1px solid var(--rule); margin-top: 8px; counter-reset: step; }
.steps li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--rule); counter-increment: step;
}
.steps li::before {
  content: counter(step);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-tint); color: var(--brand-text);
  display: grid; place-items: center; font-weight: 700; font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--ink-muted); max-width: 66ch; }

/* Check grid */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin-top: 12px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-muted); }
.checks svg { width: 18px; height: 18px; color: var(--brand-text); margin-top: 3px; }

/* Data table */
.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--rule); border-radius: var(--r-card); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 560px; }
.data-table th {
  text-align: left; padding: 12px 16px; background: var(--bg-soft);
  border-bottom: 1px solid var(--rule); font-weight: 700; color: var(--ink);
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-muted); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--ink); font-weight: 600; }

/* Callout */
.callout-box {
  background: var(--bg-tint); border: 1px solid #c9e3f6; border-radius: var(--r-card);
  padding: 22px 24px; margin-top: 24px;
}
.callout-box h3 { margin-bottom: 6px; }
.callout-box p { color: var(--ink-muted); }
.callout-box p + p { margin-top: 8px; }

/* Section heading inside page body */
.block-head { margin: 44px 0 8px; }
.block-head:first-child { margin-top: 0; }
.block-lede { color: var(--ink-muted); font-size: var(--t-lead); max-width: 64ch; margin-top: 6px; }

/* Hub index rows */
.hub-rows { border-top: 1px solid var(--rule); }
.hub-row {
  display: grid; grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 36px); align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
}
.hub-row__body h2 { font-size: var(--t-h3); margin-bottom: 4px; }
.hub-row__body h2 a { color: var(--ink); }
.hub-row__body h2 a:hover { color: var(--brand-text); }
.hub-row__body p { color: var(--ink-muted); max-width: 62ch; }
.hub-row__meta { font-size: var(--t-sm); color: var(--ink-muted); white-space: nowrap; }

/* Blog list */
.post-list { border-top: 1px solid var(--rule); }
.post-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 32px); align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.post-row time { font-size: var(--t-sm); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.post-row h2 { font-size: var(--t-h3); margin-bottom: 4px; }
.post-row h2 a { color: var(--ink); }
.post-row h2 a:hover { color: var(--brand-text); }
.post-row p { color: var(--ink-muted); font-size: var(--t-sm); max-width: 68ch; }
.post-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--r-card);
  padding: 28px; margin-bottom: 32px;
}
.post-feature h2 { margin: 6px 0 8px; }
.post-feature p { color: var(--ink-muted); max-width: 62ch; }
.post-feature .post-kicker { font-size: var(--t-sm); font-weight: 700; color: var(--brand-text); }

/* Editorial (blog) header */
.article-head {
  background: var(--bg-soft); border-bottom: 1px solid var(--rule);
  padding: clamp(32px, 3.6vw, 52px) 0 clamp(28px, 3vw, 40px);
}
.article-head h1 { font-size: var(--t-h1-inner); max-width: 30ch; margin-bottom: 14px; }
.article-head .article-lede { font-size: var(--t-lead); color: var(--ink-muted); max-width: 62ch; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: 18px; font-size: var(--t-sm); color: var(--ink-muted);
}
.article-meta .dot { color: #8fa0b5; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 22px; }
.contact-card h2 { font-size: var(--t-h3); margin-bottom: 6px; }
.contact-card p { font-size: var(--t-sm); color: var(--ink-muted); margin-bottom: 10px; }
.contact-card ul { display: grid; gap: 6px; font-size: var(--t-sm); }
.contact-card li { display: flex; gap: 8px; align-items: baseline; color: var(--ink); }
.contact-card li span:first-child { color: var(--ink-muted); min-width: 64px; }
.map-band { margin-top: clamp(36px, 4vw, 56px); }
.map-band h2 { margin-bottom: 12px; }
#map { height: 420px; border: 1px solid var(--rule); border-radius: var(--r-card); background: #eaf1f8; z-index: 0; }
.custom-marker-icon {
  width: 18px; height: 18px; border-radius: 50% 50% 50% 0;
  background: var(--brand-text); border: 2px solid #ffffff;
  transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.office-address { font-style: normal; margin-top: 14px; color: var(--ink-muted); font-size: var(--t-sm); line-height: 1.6; }
.office-address strong { color: var(--ink); }

/* Legal pages */
.legal-body { max-width: 72ch; margin-inline: auto; }
.legal-body h2 { font-size: var(--t-h3); margin: 32px 0 8px; }
.legal-body p { color: var(--ink-muted); margin-top: 10px; }
.legal-updated { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: var(--t-sm); color: var(--ink-muted); }

/* Utility list (404) */
.link-list { display: grid; gap: 10px; margin-top: 20px; }
.link-list a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 32px; }
.link-list svg { width: 16px; height: 16px; flex: none; }

/* Print */
@media print {
  .site-header, .site-footer, .close-band, .rail, .mob-menu { display: none !important; }
  body { color: #000; }
}

/* Responsive overrides at END of stylesheet */
@media (max-width: 1080px) {
  .nav-list, .header-actions { display: none; }
  .mob-menu { display: block; }
  .hero-grid, .local-split, .proof-split, .contact-grid { grid-template-columns: 1fr; }
  .timeline, .scenario-grid, .plans-grid { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-grid, .page-grid--read { grid-template-columns: 1fr; justify-content: start; }
  .rail { position: static; }
  .inner-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .fact-panel { max-width: 480px; }
}
@media (max-width: 680px) {
  .hero-facts { grid-template-columns: 1fr; gap: 14px; }
  .svc-row, .hub-row { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
  .svc-icon, .hub-row .svc-icon { width: 64px; height: 64px; }
  .svc-icon svg { width: 28px; height: 28px; }
  .svc-row .arrow-link, .hub-row .arrow-link { grid-column: 2; }
  .hub-row__meta { grid-column: 2; }
  .ind-row { grid-template-columns: 1fr; gap: 4px; }
  .town-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid, .checks { grid-template-columns: 1fr; }
  .post-row { grid-template-columns: 1fr; gap: 6px; }
  .post-feature { grid-template-columns: 1fr; }
  .office-meta { grid-template-columns: max-content minmax(0, 1fr); }
  .dark-squares::before { width: 460px; right: -60px; top: -10px; opacity: 0.72; }
  #map { height: 320px; }
  .page-body { padding-top: 36px; }
}
