/* ==========================================================================
   Top Shelf Cabinet & Design — design system
   Palette: blue / black / grey. Every accent used as text on a light ground
   is contrast-checked against WCAG AA (4.5:1). Swap the --brand block when
   the real logo lands; nothing else should need to change.
   ========================================================================== */

:root {
  /* --- brand (swap these six when the logo arrives) --- */
  --ink:        #0A0E14;   /* near-black */
  --ink-2:      #141A23;
  --navy:       #12263F;
  --navy-deep:  #0B1826;
  --blue:       #2E6FA7;   /* 5.3:1 on white — safe as text */
  --blue-ink:   #1B4A75;   /* 9.2:1 on white — headings/links */
  --blue-bright:#4A93D1;   /* 5.4:1 on --navy-deep — DARK GROUNDS ONLY */

  /* --- neutrals --- */
  --steel:  #6B7480;       /* 4.7:1 on white — secondary text */
  --nickel: #C9CFD6;       /* hardware sheen — never text on light */
  --mist:   #F2F4F7;
  --paper:  #FBFBFC;
  --white:  #FFFFFF;

  --line:        rgba(10,14,20,.09);
  --line-strong: rgba(10,14,20,.18);
  --line-dark:   rgba(255,255,255,.12);

  /* --- layout --- */
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --r:    2px;
  --r-lg: 3px;

  --shadow:      0 1px 2px rgba(11,24,38,.05), 0 10px 30px rgba(11,24,38,.07);
  --shadow-lift: 0 4px 14px rgba(11,24,38,.09), 0 28px 64px rgba(11,24,38,.13);

  /* --- type --- */
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: .5s;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .16s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .22s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
::selection { background: var(--blue); color: #fff; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 9999; padding: 12px 18px; background: var(--navy-deep); color: #fff; }
.skip:focus { left: 12px; top: 12px; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ============ TYPE ============ */
.eyebrow {
  font: 700 12px/1 var(--f-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-ink);            /* 9.2:1 — fixes the Edwin contrast defect */
}
.eyebrow.on-dark { color: var(--blue-bright); }

h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 600; line-height: 1.14; letter-spacing: -.02em; }

.display {
  font-family: var(--f-body);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
}
h1.display { font-size: clamp(40px, 6.4vw, 88px); }
h2.display { font-size: clamp(32px, 4.6vw, 64px); }

h2.section { font: 600 clamp(28px, 3.4vw, 46px)/1.12 var(--f-body); letter-spacing: -.03em; }
h2.section em,
h1.display em { font-style: normal; color: var(--blue-ink); }
.on-dark h2.section em, .on-dark h1.display em, h2.section.on-dark em { color: var(--blue-bright); }

h3.tile { font: 600 21px/1.25 var(--f-body); letter-spacing: -.02em; }

.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--steel); max-width: 62ch; }
.prose p { max-width: 68ch; margin-bottom: 1.1em; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.quote { font: 500 clamp(22px, 2.4vw, 32px)/1.3 var(--f-serif); letter-spacing: -.015em; color: var(--ink); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font: 600 15px/1 var(--f-body);
  letter-spacing: .01em;
  border-radius: var(--r);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--navy); }
.btn.ghost { border-color: var(--line-strong); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.on-dark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn.lg { padding: 18px 32px; font-size: 16px; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--blue-ink); }
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ============ REVEALS ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; } .delay-2 { transition-delay: .16s; } .delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============ TOP STRIP ============ */
.top-strip { background: var(--navy-deep); color: rgba(255,255,255,.82); font-size: 13px; }
.top-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 40px; }
.top-strip .badges { display: flex; gap: 22px; }
.top-strip .badges span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.top-strip .badges span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-bright); }
.top-strip a { color: #fff; font-weight: 600; }
@media (max-width: 900px) { .top-strip .badges span:nth-child(n+3) { display: none; } }
@media (max-width: 620px) { .top-strip .badges span:nth-child(n+2) { display: none; } }

/* ============ HEADER ============ */
header.site {
  position: sticky; top: 0; z-index: 900;
  background: rgba(251,251,252,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
header.site.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 14px rgba(11,24,38,.06); }
header.site .container { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word strong { font-size: 16px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.brand-word em { font-style: normal; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--steel); }

nav.primary { margin-left: auto; }
nav.primary > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-item { display: block; white-space: nowrap; padding: 9px 11px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: var(--r); transition: color .18s, background .18s; }
.nav-item:hover, .nav-item[aria-current="page"] { color: var(--blue-ink); background: var(--mist); }

.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 620px; padding: 22px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 20px;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.submenu-heading { grid-column: 1 / -1; font: 700 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--steel); padding: 10px 8px 6px; }
.submenu-heading:not(:first-child) { border-top: 1px solid var(--line); margin-top: 8px; }
.submenu a { display: block; padding: 7px 8px; font-size: 14.5px; color: var(--ink-2); border-radius: var(--r); }
.submenu a:hover { background: var(--mist); color: var(--blue-ink); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.phone-link:hover { color: var(--blue-ink); }
.menu-btn { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
[aria-expanded="true"].menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
[aria-expanded="true"].menu-btn span:nth-child(2) { opacity: 0; }
[aria-expanded="true"].menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  nav.primary { display: none; }
  .menu-btn { display: flex; }
  .phone-link .phone-num { display: none; }
}
@media (max-width: 560px) { .nav-cta .btn { display: none; } }

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950; background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.mobile-menu-close { width: 42px; height: 42px; display: grid; place-items: center; }
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-menu-scroll { flex: 1; overflow-y: auto; padding: 12px var(--gutter) 24px; -webkit-overflow-scrolling: touch; }
.mobile-menu-scroll ul { list-style: none; }
.mm-link { display: block; padding: 15px 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.submenu-mobile { padding: 6px 0 14px; }
.submenu-mobile-title { font: 700 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--steel); padding: 14px 0 8px; }
.submenu-mobile a { display: block; padding: 9px 0 9px 14px; font-size: 15.5px; color: var(--ink-2); border-left: 2px solid var(--line); }
.submenu-mobile a:hover { border-left-color: var(--blue); color: var(--blue-ink); }
.mobile-menu-footer { display: grid; gap: 10px; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.mobile-menu-footer .btn { justify-content: center; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(72px, 11vw, 148px) 0 clamp(64px, 9vw, 116px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(46,111,167,.34), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 40%);
  pointer-events: none;
}
/* cabinet-door rule motif */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 132px 100%;
  opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px; margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.05);
}
.hero .kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); }
.hero .sub { margin-top: 26px; max-width: 60ch; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.76); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(48px, 6vw, 76px); background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.hero-badges .b { background: var(--navy-deep); padding: 22px 20px; }
.hero-badges strong { display: block; font-size: 15px; color: #fff; margin-bottom: 3px; }
.hero-badges span { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.45; }
@media (max-width: 860px) { .hero-badges { grid-template-columns: repeat(2, 1fr); } }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; background: var(--ink); color: rgba(255,255,255,.55); padding: 13px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 40px; animation: slide 46s linear infinite; }
.marquee span { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "◆"; font-size: 6px; color: var(--blue-bright); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============ SECTIONS ============ */
section { padding: clamp(64px, 8.5vw, 118px) 0; }
section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head p { margin-top: 18px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row .sec-head { margin-bottom: 0; }

.on-dark { background: var(--navy-deep); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lede, .on-dark .prose p { color: rgba(255,255,255,.72); }
.mist { background: var(--mist); }

/* ============ TRUST STRIP ============ */
.trust { border-block: 1px solid var(--line); background: #fff; padding: 26px 0; }
.trust .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust .lbl { font: 700 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--steel); }
.trust .items { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--paper); }
.trust-item:hover { border-color: var(--line-strong); }
.trust-item .glyph { font-weight: 800; font-size: 12px; color: var(--blue-ink); }

/* ============ STATS ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--paper); padding: 34px 26px; }
.stat .n { font: 700 clamp(36px, 4.4vw, 58px)/1 var(--f-body); letter-spacing: -.04em; color: var(--navy); }
.stat .l { margin-top: 10px; font-size: 14px; color: var(--steel); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ GRIDS / CARDS ============ */
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: minmax(0,1fr); } }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card .img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.card:hover .img img { transform: scale(1.035); }
.card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card .n { font: 700 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 12px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--steel); line-height: 1.55; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 14.5px; color: var(--blue-ink); display: inline-flex; gap: 7px; }
.card .more::after { content: "→"; transition: transform .2s var(--ease); }
a.card:hover .more::after { transform: translateX(4px); }

/* service list (dense) */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .svc-list { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .svc-list { grid-template-columns: minmax(0,1fr); } }
.svc { background: var(--paper); padding: 28px 26px; display: flex; flex-direction: column; transition: background .25s var(--ease); }
.svc:hover { background: #fff; }
.svc h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.02em; }
.svc p { font-size: 14.5px; color: var(--steel); line-height: 1.55; flex: 1; }
.svc .go { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--blue-ink); }
.svc:hover .go::after { content: " →"; }

/* ============ SPLIT ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: minmax(0,1fr); } }
.split .media { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.split .media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ============ WHY / FEATURE LIST ============ */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
@media (max-width: 760px) { .why { grid-template-columns: minmax(0,1fr); } }
.why .item { background: var(--navy-deep); padding: clamp(28px, 3.4vw, 44px); }
.why .item h3 { font-size: 20px; margin-bottom: 12px; }
.why .item p { color: rgba(255,255,255,.68); font-size: 15.5px; }
.why .item .num { font: 700 11px/1 var(--f-body); letter-spacing: .18em; color: var(--blue-bright); margin-bottom: 16px; display: block; }

/* ============ PROCESS ============ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .flow { grid-template-columns: minmax(0,1fr); } }
.flow .step { background: var(--paper); padding: 30px 26px; }
.flow .step .n { font: 700 11px/1 var(--f-body); letter-spacing: .18em; color: var(--blue-ink); margin-bottom: 18px; }
.flow .step h4 { font-size: 17px; margin-bottom: 10px; }
.flow .step p { font-size: 14.5px; color: var(--steel); line-height: 1.55; }

/* ============ REVIEWS ============ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .review-grid { grid-template-columns: minmax(0,1fr); } }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column;
}
.review .stars { color: var(--blue); letter-spacing: 3px; font-size: 15px; margin-bottom: 16px; }
.review blockquote { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); flex: 1; }
.review cite { display: block; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-style: normal; font-weight: 600; font-size: 14.5px; }
.review cite span { display: block; font-weight: 400; font-size: 13px; color: var(--steel); margin-top: 2px; }

.rating-block { display: flex; align-items: center; gap: 18px; }
.rating-block .num { font: 700 46px/1 var(--f-body); letter-spacing: -.04em; color: var(--navy); }
.rating-block .stars { color: var(--blue); letter-spacing: 3px; }
.rating-block .meta { font-size: 13.5px; color: var(--steel); margin-top: 4px; }

/* ============ MAP ============ */
.map-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 940px) { .map-layout { grid-template-columns: minmax(0,1fr); } }
.map-svg { width: 100%; height: auto; }
.map-svg .land { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.1); }
.map-svg .county { fill: none; stroke: rgba(255,255,255,.14); stroke-dasharray: 3 5; }
.map-svg .ocean { fill: url(#oceanGrad); }
.map-svg .ocean-lbl { fill: rgba(255,255,255,.26); font: 600 11px var(--f-body); letter-spacing: .3em; }
.map-svg .evergrass { fill: url(#hatch); }
.map-svg .evergrass-lbl { fill: rgba(255,255,255,.28); font: 600 10px var(--f-body); letter-spacing: .2em; }
.map-svg .county-label { fill: rgba(255,255,255,.9); font: 700 15px var(--f-body); letter-spacing: -.01em; }
.map-svg .county-sub { fill: rgba(255,255,255,.42); font: 400 11px var(--f-body); }
.map-svg .coast { fill: none; stroke: rgba(74,147,209,.5); stroke-width: 1.5; }
.map-svg .pin { fill: var(--blue-bright); }
.map-svg .pin-halo { fill: rgba(74,147,209,.16); transition: r .25s var(--ease); }
.map-svg .city:hover .pin-halo { r: 20; }
.map-svg .city-label { fill: rgba(255,255,255,.8); font: 500 12px var(--f-body); }
.map-svg .city:hover .city-label { fill: #fff; }
.map-svg .hq { fill: #fff; }
.map-svg .hq-ring { fill: none; stroke: var(--blue-bright); stroke-width: 1.5; }
.map-svg .hq-pulse { fill: rgba(74,147,209,.2); animation: pulse 2.6s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
.map-svg .hq-lbl { fill: #fff; font-weight: 700; }
@keyframes pulse { 0%,100% { opacity: .5; transform: scale(.85); } 50% { opacity: .12; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .map-svg .hq-pulse { animation: none; } }
.map-svg .compass { fill: rgba(74,147,209,.7); font: 700 11px var(--f-body); }

.county-cards { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 32px; }
.county-cards .c { background: var(--navy-deep); padding: 20px 22px; }
.county-cards strong { display: block; font-size: 15px; color: #fff; margin-bottom: 5px; }
.county-cards span { font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.chip { padding: 9px 16px; border: 1px solid var(--line-dark); border-radius: 100px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.82); transition: background .2s, border-color .2s; }
.chip:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.chips.light .chip { border-color: var(--line); color: var(--ink-2); }
.chips.light .chip:hover { background: var(--mist); border-color: var(--line-strong); }

/* ============ VISUALIZER ============ */
.viz {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--ink) 100%);
  color: #fff;
}
.viz::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 20% 0%, rgba(74,147,209,.26), transparent 65%);
  pointer-events: none;
}
.viz .container { position: relative; z-index: 1; }
.viz-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
@media (max-width: 940px) { .viz-layout { grid-template-columns: minmax(0,1fr); } }

.viz-stage {
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg);
  background: rgba(255,255,255,.04); padding: 14px;
  box-shadow: var(--shadow-lift);
}
.viz-frame { position: relative; aspect-ratio: 4/3; border-radius: 2px; overflow: hidden; background: var(--ink); }
.viz-frame img { width: 100%; height: 100%; object-fit: cover; }
.viz-frame .wm {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  font: 700 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72); text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.viz-before-after { position: absolute; inset: 0; }
.viz-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split, 50%)); }
.viz-handle {
  position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: rgba(255,255,255,.9); z-index: 2;
  transform: translateX(-1px);
}
.viz-handle::after {
  content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 15px; box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.viz-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; }
.viz-tag { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 6px 12px; border-radius: 100px; background: rgba(10,14,20,.62); backdrop-filter: blur(6px); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }

.viz-steps { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.viz-steps li { display: flex; gap: 16px; align-items: flex-start; }
.viz-steps .i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,147,209,.16); border: 1px solid rgba(74,147,209,.4); color: var(--blue-bright); font-size: 13px; font-weight: 700; }
.viz-steps strong { display: block; font-size: 15.5px; color: #fff; margin-bottom: 3px; }
.viz-steps span { font-size: 14.5px; color: rgba(255,255,255,.66); line-height: 1.5; }

.viz-note { margin-top: 28px; padding: 16px 18px; border-left: 2px solid var(--blue-bright); background: rgba(255,255,255,.05); font-size: 14px; color: rgba(255,255,255,.72); }

.style-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.style-opt { padding: 9px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(255,255,255,.04); transition: all .2s var(--ease); }
.style-opt[aria-pressed="true"], .style-opt:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ============ FAQ ============ */
.faq-list { border-top: 1px solid var(--line); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; font-size: 24px; font-weight: 400; color: var(--blue-ink); line-height: 1; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a { padding: 0 0 26px; max-width: 72ch; color: var(--steel); font-size: 16px; line-height: 1.62; }

/* ============ PAGE HEADER (interior) ============ */
.page-head { background: var(--navy-deep); color: #fff; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 78px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 0%, rgba(46,111,167,.3), transparent 60%); pointer-events: none; }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; max-width: 20ch; font-size: clamp(34px, 4.8vw, 62px); letter-spacing: -.03em; }
.page-head .page-sub { margin-top: 20px; max-width: 62ch; font-size: clamp(16.5px, 1.4vw, 19px); color: rgba(255,255,255,.74); }

.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: rgba(255,255,255,.3); }

/* ============ INCLUDES LIST ============ */
.includes { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.includes li { background: var(--paper); padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.includes li::before { content: "✓"; flex-shrink: 0; color: var(--blue); font-weight: 700; }

/* ============ FINAL CTA ============ */
.final-cta { background: var(--mist); text-align: center; }
.final-cta h2 { max-width: 20ch; margin-inline: auto; }
.final-cta p { margin: 20px auto 0; max-width: 56ch; color: var(--steel); font-size: 17px; }
.final-cta .cta-row { justify-content: center; }

/* ============ FOOTER ============ */
footer.site { background: var(--ink); color: rgba(255,255,255,.62); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 14.5px; }
footer.site .grid-f { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
@media (max-width: 940px) { footer.site .grid-f { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px; } }
@media (max-width: 560px) { footer.site .grid-f { grid-template-columns: minmax(0,1fr); } }
footer.site h5 { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site a:hover { color: #fff; }
footer.site .foot-brand p { margin-top: 18px; max-width: 42ch; line-height: 1.6; }
footer.site .socials { display: flex; gap: 10px; margin-top: 22px; }
footer.site .socials a { width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s; }
footer.site .socials a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
footer.site .nap p { margin-bottom: 12px; }
footer.site .bar { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45); }

/* ============ FLOATING CONTACT ============ */
.fab-wrap { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 800; display: grid; gap: 10px; justify-items: end; }
.fab {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 18px; border-radius: 100px;
  font-size: 14.5px; font-weight: 600; color: #fff;
  box-shadow: 0 4px 18px rgba(11,24,38,.28);
  opacity: 0; transform: translateY(14px) scale(.94); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
body.scrolled .fab { opacity: 1; transform: none; pointer-events: auto; }
.fab svg { width: 19px; height: 19px; flex-shrink: 0; }
.fab.call { background: var(--blue); }
.fab.book { background: var(--ink); }
@media (max-width: 560px) { .fab .label { display: none; } .fab { width: 52px; padding: 0; justify-content: center; } }

/* ============ FORMS ============ */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 42px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0,1fr); } }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15.5px;
  border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.form-fine { margin-top: 18px; font-size: 12.5px; color: var(--steel); line-height: 1.55; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 16px 18px; border-radius: var(--r); margin-bottom: 20px; font-size: 15px; }
.form-msg.ok { background: rgba(46,111,167,.08); border-left: 3px solid var(--blue); color: var(--ink-2); }
.form-msg.err { background: rgba(180,40,40,.06); border-left: 3px solid #b42828; color: #7a1c1c; }

/* ============ PLACEHOLDER NOTICE (dev only — removed at launch) ============ */
.ph-banner {
  background: repeating-linear-gradient(45deg, #1b1f27, #1b1f27 12px, #222732 12px, #222732 24px);
  color: #ffd479; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 9px 0; text-align: center;
}
.ph-banner code { background: rgba(255,212,121,.14); padding: 1px 6px; border-radius: 3px; }
