/* Layout: white page, full-bleed royal-blue bands (hero, process, closing CTA), navy text. 4 views (home/about/services/contact) routed by #hash. Max width 1200px. */
:root {
  /* Palette (strict): navy #152A4E, white #FFFFFF, muted navy-gray #7683A0 (secondary/small text only).
     Lines, tints and shadows are navy or white at reduced opacity. */
  --blue: #152A4E;
  --blue-deep: #152A4E;
  --on-blue: #FFFFFF;
  --on-blue-muted: #FFFFFF;
  --navy: #152A4E;
  --logo: #152A4E;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --tint: rgba(21,42,78,.04);
  --fg: #152A4E;
  --muted: #7683A0;
  --line: rgba(21,42,78,.14);
  --accent: #152A4E;
  --focus: #152A4E;
  --btn-light-bg: #FFFFFF;
  --btn-light-fg: #152A4E;
  --warn-bg: rgba(21,42,78,.05); --warn-fg: #152A4E; --warn-line: rgba(21,42,78,.16);
  --shadow: 0 1px 2px rgba(21,42,78,.06), 0 10px 30px rgba(21,42,78,.08);
  --shadow-lift: 0 2px 6px rgba(21,42,78,.10), 0 22px 44px rgba(21,42,78,.18);
  --mark-filter: none;
  --map-land: rgba(21,42,78,.035); --map-urban: rgba(21,42,78,.05); --map-grid: rgba(21,42,78,.06); --map-water: rgba(21,42,78,.16); --map-road: rgba(21,42,78,.24); --map-road2: rgba(21,42,78,.14); --logo-pin: #152A4E;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --h1: clamp(2.2rem, 1.4rem + 3vw, 3.75rem);
  --h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  --h3: 1.3rem;
  --wrap: 2000px;
  --r-lg: 24px; --r-md: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
section[id], [data-areas][id] { scroll-margin-top: 90px; }
:root { color-scheme: light; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: 700; }
h2 { font-size: var(--h2); font-weight: 700; }
h3 { font-size: var(--h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.blue :focus-visible { outline-color: #FFFFFF; }
svg.i { width: 20px; height: 20px; flex: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(clamp(20px, 5vw, 96px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(20px, 5vw, 96px), env(safe-area-inset-right, 0px)); }
.sec { padding-block: clamp(72px, 9vw, 128px); }
.sec-tight { padding-block: clamp(48px, 6vw, 80px); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lede { color: var(--fg); font-size: 1.15rem; max-width: 60ch; }
.head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 52px; }
.blue { background: var(--blue); color: var(--on-blue); }
.blue h1, .blue h2, .blue h3 { color: var(--on-blue); }
.blue .lede { color: var(--on-blue-muted); }
.blue .eyebrow { color: var(--on-blue-muted); }
.tint { background: var(--tint); }

/* (preview ribbon removed) */
.ribbon { background: var(--warn-bg); color: var(--warn-fg); border-bottom: 1px solid var(--warn-line); font-size: .86rem; }
.ribbon .wrap { padding-block: 7px; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; }

/* Header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 18px; padding-block: 12px; position: relative; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--fg); margin-right: auto; }
.brand img { width: 46px; height: 46px; filter: var(--mark-filter); }
.brand b { display: block; font-family: "Montserrat", var(--font-body); font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; line-height: 1.05; }
.brand small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: 1.0625rem; line-height: 1.4; white-space: nowrap; padding: 8px 10px; border-radius: 999px; transition: background-color .15s, color .15s; }
.nav a:hover { background: var(--tint); color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.hdr-phone { font-weight: 700; color: var(--fg); text-decoration: none; white-space: nowrap; }
.hdr-phone:hover { color: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: 8px 16px; font: 600 .92rem var(--font-body); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1rem/1.2 var(--font-body); text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s, color .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #FFFFFF; box-shadow: var(--shadow); }
.btn-blue:hover { background: var(--blue-deep); box-shadow: var(--shadow-lift); }
.btn-light { background: var(--btn-light-bg); color: var(--btn-light-fg); }
.btn-light:hover { box-shadow: 0 12px 30px rgba(21,42,78,.3); }
.btn-ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: #FFFFFF; background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn .i { transition: transform .18s; width: 18px; height: 18px; }
.btn:hover .i { transform: translateX(3px); }

/* Hero */
.hero .wrap { padding-block: clamp(48px, 7vw, 96px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { border-left: 6px solid #FFFFFF; padding-left: clamp(16px, 2vw, 26px); }
.hero h1 span { display: block; color: #FFFFFF; }
.hero .lede { font-size: 1.2rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-area { font-size: .95rem; color: var(--on-blue-muted); }
.hero-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.45); transition: text-decoration-color .18s; }
.hero-link:hover { text-decoration-color: #FFFFFF; }
.hero-link .i { width: 18px; height: 18px; transition: transform .18s; }
.hero-link:hover .i { transform: translateX(3px); }
.trust { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid rgba(255,255,255,.2); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.trust li { display: flex; gap: 9px; align-items: center; }
.trust .i { width: 18px; height: 18px; opacity: .9; }
.trust-simple ul { justify-content: flex-start; gap: 10px 36px; }
.trust-simple .i { width: 16px; height: 16px; opacity: .75; }
.hero-audience { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.45; color: var(--on-blue-muted); }
.hero-audience b { font-weight: 700; color: #FFFFFF; }
.why.why-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hs-grid:has(.hs-card) { grid-auto-rows: 1fr; }
.card.hs-card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.card.hs-card p { margin: 0; }
.card.hs-card .hs-cta, .card.hs-card .hs-btn { margin-top: auto; }
.hs-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; justify-self: start; }
.hs-cta .i { width: 16px; height: 16px; }
.hs-note { font-size: .88rem; line-height: 1.45; margin: 0; }
.hs-feature { border-color: var(--accent); }
.hs-btn { padding-left: 18px; padding-right: 18px; }
.hero-call { margin: 0; font-size: .98rem; color: var(--on-blue-muted); }
.hero-call a { font-weight: 700; }
.hero-call a { color: #FFFFFF; text-underline-offset: 4px; }
.nav-extra { display: none !important; }
@media (max-width: 620px) {
  .nav.open .nav-extra { display: block !important; font-weight: 700; }
  .nav.open .nav-quote { background: var(--blue); color: #FFFFFF; text-align: center; margin-top: 6px; }
}

/* Page hero (inner pages) */
.phero .wrap { padding-block: clamp(48px, 6vw, 88px); display: grid; gap: 18px; }
.crumb { font-size: .9rem; color: var(--on-blue-muted); }
.crumb a { color: #FFFFFF; }
.phero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); max-width: 18ch; border-left: 6px solid #FFFFFF; padding-left: clamp(16px, 2vw, 26px); }

/* Photo slots */
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(140deg, #FFFFFF, #FFFFFF); border: 2px dashed #7683A0; display: grid; place-items: center; text-align: center; padding: 24px; color: #152A4E; min-height: 220px; max-width: 100%; }
.photo .i { width: 34px; height: 34px; margin: 0 auto 10px; display: block; color: #152A4E; }
.photo b { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.photo span { font-size: .95rem; max-width: 32ch; display: block; }
.blue .photo { border-color: rgba(255,255,255,.55); background: linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); color: #FFFFFF; }
.blue .photo .i { color: #FFFFFF; }
.hero-photo { aspect-ratio: 5 / 4; box-shadow: 0 30px 60px rgba(21,42,78,.3); }

/* Service selector */
.svc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; }
.svc-tabs { display: grid; gap: 6px; }
.svc-tab { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; background: transparent; border: 1.5px solid transparent; border-radius: var(--r-md); padding: 14px 16px; cursor: pointer; color: var(--fg); font: inherit; transition: background-color .18s, border-color .18s, transform .18s, box-shadow .18s; }
.svc-tab:hover { background: var(--tint); transform: translateX(4px); }
.svc-tab .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent); flex: none; transition: background-color .18s, color .18s; }
.svc-tab .ico .i { width: 20px; height: 20px; }
.svc-tab b { display: block; font-weight: 700; line-height: 1.25; }
.svc-tab small { display: block; color: var(--muted); font-size: .88rem; }
.svc-tab .chev { margin-left: auto; opacity: 0; transition: opacity .18s, transform .18s; color: var(--accent); }
.svc-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.svc-tab[aria-selected="true"] .ico { background: var(--blue); color: #FFFFFF; }
.svc-tab[aria-selected="true"] .chev { opacity: 1; }
.panel { background: var(--blue); color: #FFFFFF; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; min-height: 460px; box-shadow: var(--shadow); }
.panel-stage { display: grid; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.panel-stage > .panel { grid-area: 1 / 1; box-shadow: none; border-radius: 0; }
.wipe-in { animation: wipe .75s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.wipe-line { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #FFFFFF; box-shadow: 0 0 14px 2px rgba(255,255,255,.55); z-index: 2; pointer-events: none; animation: wipe-line .75s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes wipe-line { 0% { left: 0; opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 3px); opacity: 0; } }
.panel-body { display: grid; gap: 18px; min-width: 0; }
.pill { justify-self: start; display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); color: #FFFFFF; }
.panel h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.05; color: #FFFFFF; letter-spacing: -.02em; }
.panel p { color: var(--on-blue-muted); max-width: 52ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks .i { width: 18px; height: 18px; margin-top: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: .85rem; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); color: #FFFFFF; }
.panel .btn { justify-self: start; }
.illo { width: 100%; max-width: 260px; justify-self: center; color: #FFFFFF; }
.illo svg { width: 100%; height: auto; display: block; }
.svc-foot { margin-top: 24px; color: var(--fg); font-size: .98rem; }

/* Services page stacked panels */
.stack { display: grid; gap: 44px; }
.stack .panel:nth-child(even) { background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: none; }
.stack .panel:nth-child(even) p, .stack .panel:nth-child(even) h2 { color: var(--fg); }
.stack .panel:nth-child(even) .pill { background: var(--tint); color: var(--fg); }
.stack .panel:nth-child(even) .illo { color: var(--blue); }
.stack .panel:nth-child(even) .btn-light { background: var(--blue); color: #FFFFFF; }
.stack .panel { min-height: 0; }
.stack .panel:nth-child(even) .illo { order: -1; }
.stack .panel:nth-child(even) { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }

/* Home & specialty */
.hs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hs-intro { display: grid; gap: 18px; }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--fg); font-size: .97rem; }
.note .i { color: var(--accent); margin-top: 2px; }
.note b { color: var(--fg); }
.hs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: grid; gap: 10px; align-content: start; transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent); transition: background-color .2s, color .2s; }
.card:hover .ico { background: var(--blue); color: #FFFFFF; }
.card p { color: var(--fg); font-size: 1rem; line-height: 1.6; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; border-top: 2px dashed rgba(255,255,255,.45); }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); border: 2px solid #FFFFFF; font: 800 1.1rem var(--font-display); color: #FFFFFF; position: relative; transition: background-color .2s, color .2s, transform .2s; }
.steps li:hover .num { background: #FFFFFF; color: var(--blue); transform: scale(1.08); }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--on-blue-muted); font-size: .97rem; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.why > div { border-top: 3px solid var(--blue); padding-top: 22px; display: grid; gap: 10px; align-content: start; transition: transform .2s; }
.why > div:hover { transform: translateY(-4px); }
.why .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #FFFFFF; }
.why p { color: var(--fg); font-size: .98rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 18px; align-content: space-between; background: var(--surface); transition: transform .22s, box-shadow .22s, border-color .22s; }
.quote:first-child { background: var(--blue); border-color: rgba(255,255,255,.5); color: #FFFFFF; }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.quote > .i { width: 30px; height: 30px; color: var(--accent); }
.quote:first-child > .i { color: #FFFFFF; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.4; }
.quote figcaption { display: flex; gap: 12px; align-items: center; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent); font-weight: 700; flex: none; }
.quote:first-child .av { background: rgba(255,255,255,.18); color: #FFFFFF; }
.quote b { display: block; }
.quote small { color: var(--muted); }
.quote:first-child small { color: var(--on-blue-muted); }

/* Industries page */
.ind-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 71px); z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.ind-tabs { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: thin; }
.ind-tabs a { flex: none; white-space: nowrap; text-decoration: none; color: var(--fg); font-weight: 600; font-size: .94rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); transition: background-color .15s, color .15s, border-color .15s; }
.ind-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.ind-tabs a.on { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.ind-list { display: grid; gap: 20px; }
.ind-row { scroll-margin-top: 150px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform .22s, box-shadow .22s, border-color .22s; }
.ind-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.ind-row:target { border-color: var(--accent); box-shadow: var(--shadow); }
.ind-main { display: grid; gap: 14px; align-content: start; }
.ind-main .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #FFFFFF; }
.ind-main h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.ind-main p { color: var(--fg); max-width: 52ch; }
.ind-side { display: grid; gap: 16px; align-content: start; }
.ind-side h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-family: var(--font-body); }
.ind-side .checks li { color: var(--fg); }
.ind-side .checks .i { color: var(--accent); }
.ind-side .btn { justify-self: start; }
a.ind { text-decoration: none; color: inherit; }

/* Real photos */
.shot { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); max-width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery .shot { min-height: 240px; transition: box-shadow .25s; }
.gallery .shot:hover { box-shadow: var(--shadow-lift); }
.gallery .shot:hover img { transform: scale(1.04); }
.gallery .shot:first-child { grid-row: span 2; min-height: 520px; }
.founder .shot { aspect-ratio: 4 / 5; }
.ind-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.ind-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.founder .photo { aspect-ratio: 4 / 5; }
.founder-copy { display: grid; gap: 16px; min-width: 0; }
.sub-h { font-size: 1.15rem; margin-top: 8px; }
.founder-copy p { color: var(--fg); max-width: 62ch; }
.hello { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--fg); }
.sig { display: flex; gap: 14px; align-items: center; padding-top: 8px; }
.sig::before { content: ""; width: 36px; height: 2px; background: var(--blue); }
.sig b { display: block; }
.sig small { color: var(--muted); }
.namecard { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--surface); color: var(--fg); border-radius: 12px; padding: 12px 16px; text-align: left; box-shadow: var(--shadow); }
.namecard b { display: block; }
.namecard small { color: var(--muted); }

/* Mission & values */
.mission { background: var(--tint); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); display: grid; gap: 14px; }
.mission p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.3; letter-spacing: -.01em; max-width: 46ch; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.values .card { grid-template-columns: auto 1fr; column-gap: 18px; }
.values .card .ico { grid-row: span 2; }

/* Gallery */
.gallery { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 270px 270px; gap: 18px; }
.gallery .photo { min-height: 240px; transition: transform .25s ease, box-shadow .25s ease; }
.gallery .photo:hover { transform: scale(1.015); box-shadow: var(--shadow-lift); }
.gallery .photo:first-child { grid-row: span 2; min-height: 500px; }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ind { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-weight: 600; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ind:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.ind .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--accent); flex: none; }
.ind .ico .i { width: 19px; height: 19px; }

.ind-teaser { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }

/* Included chips */
.included { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; transition: transform .18s, border-color .18s, color .18s; }
.chips li:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }

.scope-note { font-weight: 600; color: var(--fg); max-width: 46ch; }
.chip-groups { display: grid; gap: 24px; min-width: 0; }
.chip-group { display: grid; gap: 12px; }
.chip-group h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.chip-group h3 span { color: var(--muted); letter-spacing: .06em; }

/* Service detail sections */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.detail-grid + .detail-grid { margin-top: clamp(56px, 7vw, 96px); }
.detail-grid.rev .detail-photo { order: -1; }
.detail-copy { display: grid; gap: 18px; align-content: start; min-width: 0; max-width: 560px; }
.detail-copy h3 { font-size: 1.5rem; }
.detail-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; max-width: 100%; background: var(--tint); box-shadow: var(--shadow); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; }
.detail-list { margin-top: 0; }
.pair-row { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.detail-grid.rev .photo-pair { order: -1; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; min-width: 0; }
.photo-pair .detail-photo { aspect-ratio: 3 / 4; max-height: none; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq-list details:hover, .faq-list details[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 700; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { transition: transform .2s; color: var(--accent); }
.faq-list details[open] summary .i { transform: rotate(180deg); }
.faq-cta { margin-top: 16px; }
.faq-list .a { padding: 0 22px 22px; color: var(--fg); max-width: 64ch; }

/* Closing CTA */
.cta-card { background: var(--blue); color: #FFFFFF; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta-card h2 { color: #FFFFFF; }
.cta-card p { color: var(--on-blue-muted); margin-top: 14px; max-width: 54ch; }
.cta-card .ctas { flex-direction: column; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cinfo { display: grid; gap: 12px; min-width: 0; }
.crow { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: transform .2s, border-color .2s, box-shadow .2s; min-width: 0; }
.crow:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.crow .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #FFFFFF; flex: none; }
.crow .t { flex: 1; min-width: 0; }
.crow small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crow .v { font-weight: 700; color: var(--fg); overflow-wrap: anywhere; text-decoration: none; user-select: all; }
.copy { flex: none; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--font-body); cursor: pointer; }
.copy:hover { color: var(--accent); border-color: var(--accent); }
.walk-note { padding: 18px 20px; border-radius: var(--r-md); background: var(--tint); color: var(--fg); font-size: .97rem; }
.walk-note b { color: var(--fg); }
.wl { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.wl li { display: flex; gap: 10px; color: var(--fg); font-weight: 500; }
.wl .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }

.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.demo { display: flex; gap: 12px; background: var(--warn-bg); color: var(--warn-fg); border-bottom: 1px solid var(--warn-line); padding: 14px 24px; font-size: .95rem; }
.demo .i { margin-top: 2px; }
form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
form h3 { font-size: 1.5rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--tint); border-radius: 999px; border: 1px solid var(--line); }
.seg label { position: relative; text-align: center; padding: 10px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--muted); transition: background-color .15s, color .15s; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--blue); color: #FFFFFF; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2[hidden] { display: none; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-end; }
.form-foot small { color: var(--muted); font-size: .88rem; max-width: 34ch; }
.result { border-radius: 12px; padding: 14px 16px; background: var(--warn-bg); color: var(--warn-fg); border: 1px solid var(--warn-line); font-size: .95rem; }

/* Map */
.map-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 28px; }
.map { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: var(--map-land); }
.map svg { width: 100%; height: auto; display: block; }
.map-hint { display: none; font-size: .88rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 700px) { .map { overflow-x: auto; overscroll-behavior-x: contain; } .map svg { width: 720px; max-width: none; } .map-hint { display: block; } }
.map-foot { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.map-cap { font-size: .9rem; color: var(--muted); }
.m-land { fill: var(--map-land); }
.urb-a { stop-color: var(--map-urban); } .urb-b { stop-color: var(--map-land); }
.m-grid { stroke: var(--map-grid); stroke-width: 1; fill: none; }
.m-water { fill: var(--map-water); }
.m-river { stroke: var(--map-water); stroke-width: 5; fill: none; stroke-linecap: round; }
.m-us { stroke: var(--map-road2); stroke-width: 3; fill: none; stroke-linecap: round; }
.m-int { stroke: var(--map-road); stroke-width: 6; fill: none; stroke-linecap: round; }
.m-area { fill: var(--blue); fill-opacity: .07; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 9 8; }
.m-sh path { fill: var(--surface); stroke: var(--map-road); stroke-width: 1.5; }
.m-sh text { font: 700 11px var(--font-body); fill: var(--fg); text-anchor: middle; }
.m-cdot { fill: var(--muted); opacity: .7; }
.m-ctx { font: 500 14px var(--font-body); fill: var(--muted); }
.m-pin circle { fill: var(--blue); stroke: #FFFFFF; stroke-width: 3; }
.m-pin rect { fill: var(--blue); }
.m-pin text { fill: #FFFFFF; font: 700 15px var(--font-body); text-anchor: middle; }
.m-pin { transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.m-pin:hover { transform: scale(1.06); }
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: 8px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-weight: 600; }

/* Areas we serve */
.areas-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.areas-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.town-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.town-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); transition: border-color .18s, color .18s, transform .18s; }
.town-list li:hover { border-color: var(--accent); color: var(--accent); transform: translateX(3px); }
.town-list .i { width: 17px; height: 17px; color: var(--accent); }
.not-listed { color: var(--fg); }
.amap { border-radius: 22px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); background: #FFFFFF; }
.amap svg { width: 100%; height: auto; display: block; }
.amap-cap { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.amap-swipe { display: none; }
.am-land { fill: #FFFFFF; }
.am-cover { fill: #152A4E; opacity: .09; }
.am-ring { fill: none; stroke: #152A4E; stroke-opacity: .10; stroke-width: 1.5; stroke-dasharray: 3 9; }
.am-spoke { stroke: #152A4E; stroke-opacity: .22; stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.am-pin circle { fill: #152A4E; stroke: #FFFFFF; stroke-width: 4; }
.am-pin rect { fill: #FFFFFF; stroke: rgba(21,42,78,.16); stroke-width: 1.5; filter: drop-shadow(0 4px 10px rgba(21,42,78,.10)); }
.am-pin text { font: 700 31px var(--font-body); fill: #152A4E; text-anchor: middle; }
.am-main rect { fill: #152A4E; stroke: none; }
.am-main text { font-size: 35px; fill: #FFFFFF; }
.am-main circle { stroke-width: 5; }
.am-compass circle { fill: #FFFFFF; stroke: rgba(21,42,78,.16); stroke-width: 1.5; }
.am-compass path { fill: #152A4E; }
.am-compass text { font: 700 18px var(--font-body); fill: #7683A0; text-anchor: middle; }
.am-pin { transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.am-pin:hover { transform: scale(1.05); }
.tint .town-list li { background: var(--surface); }


/* Social */
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); color: #FFFFFF; transition: background-color .18s, transform .18s, border-color .18s, color .18s; }
.social a:hover { background: #FFFFFF; color: #152A4E; transform: translateY(-2px); text-decoration: none; }
.social .i { width: 19px; height: 19px; }
.social-light a { border-color: var(--line); color: var(--accent); }
.social-light a:hover { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.crow.follow { flex-wrap: wrap; }
.crow.follow .t { flex: 1 1 150px; }

/* Footer */
.foot { background: #152A4E; color: #FFFFFF; }
.foot .wrap { padding-block: 64px 28px; display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .lg { display: flex; gap: 12px; align-items: center; }
.foot-brand img { width: 52px; height: 52px; filter: brightness(0) invert(1); }
.foot-brand b { display: block; font-family: "Montserrat", var(--font-body); color: #FFFFFF; letter-spacing: .06em; font-size: 1.15rem; }
.foot-brand small { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; }
.foot-brand p { font-size: .95rem; max-width: 34ch; }
.foot h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 12px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .96rem; }
.foot a { color: #FFFFFF; text-decoration: none; }
.foot a:hover { color: #FFFFFF; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: #FFFFFF; }

[data-page][hidden] { display: none !important; }

/* Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open a { padding: 12px 14px; font-size: 1.05rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .hs, .founder, .faq, .contact, .included, .map-wrap, .cta-card { grid-template-columns: minmax(0, 1fr); }
  .cta-card .ctas { flex-direction: row; }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* Selector becomes a swipeable row of pills so panel text keeps full width */
  .svc-tabs { display: flex; overflow-x: auto; gap: 8px; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .svc-tab { flex: none; width: auto; scroll-snap-align: start; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); gap: 10px; }
  .svc-tab:hover { transform: none; }
  .svc-tab .ico { width: 32px; height: 32px; border-radius: 50%; }
  .svc-tab .ico .i { width: 16px; height: 16px; }
  .svc-tab small, .svc-tab .chev { display: none; }
  .svc-tab b { white-space: nowrap; font-size: .95rem; }
  .svc-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
  .svc-tab[aria-selected="true"] .ico { background: #FFFFFF; color: var(--blue); }
  .panel, .stack .panel:nth-child(even) { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .illo, .stack .panel:nth-child(even) .illo { order: -1; max-width: 170px; justify-self: start; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-grid.rev .detail-photo { order: 0; }
  .detail-photo { aspect-ratio: 4 / 4.4; }
  .detail-grid.rev .photo-pair { order: 0; }
  .photo-pair { grid-template-columns: minmax(0, 1fr); }
  .photo-pair .detail-photo { aspect-ratio: 3 / 4; }
  .areas-grid { grid-template-columns: minmax(0, 1fr); }
  .areas-map-col { order: 2; }
  .ind-row { grid-template-columns: minmax(0, 1fr); }
  .ind-bar { top: calc(env(safe-area-inset-top, 0px) + 65px); }
  .gallery .photo:first-child { grid-row: auto; min-height: 300px; }
  .gallery .shot, .gallery .shot:first-child { grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .founder .shot { aspect-ratio: 1 / 1; }
  .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .founder .photo { aspect-ratio: 1 / 1; }
}
@media (min-width: 621px) and (max-width: 900px) { .photo-pair { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .hdr-phone, .hdr .btn { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand b { font-size: 1rem; }
  .brand small { letter-spacing: .18em; }
  .ctas .btn { width: 100%; }
  .cta-card .ctas { flex-direction: column; }
  .checks, .hs-grid, .row2, .values, .why, .inds, .foot-top, .quotes { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .steps li { grid-template-columns: 48px 1fr; column-gap: 16px; }
  .steps li .num { grid-row: span 2; }
  .trust ul { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .crow { flex-wrap: wrap; }
  .crow .t { flex: 1 1 170px; }
  .crow .v { font-size: .94rem; }
  .crow .v[href^="mailto"] { font-size: .8rem; }
  .seg label { font-size: .84rem; padding: 10px 6px; }
}
@media (max-width: 360px) {
  .hdr .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand b { font-size: .92rem; letter-spacing: .04em; }
  .brand small { font-size: .7rem; letter-spacing: .04em; }
  .menu-btn { padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Legal page */
.legal { max-width: 760px; display: grid; gap: 16px; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.4rem; margin-top: 20px; }
.legal h3 { font-size: 1.05rem; margin-top: 4px; }
.legal ul { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.legal a { color: #152A4E; }
.foot-bottom a { color: #FFFFFF; }
@media (max-width: 760px) { .why.why-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .hs-grid:has(.hs-card) { grid-auto-rows: auto; } .card.hs-card .hs-cta, .card.hs-card .hs-btn { margin-top: 4px; } }
