/* ==========================================================================
   Upstate Auto & Mobile Truck Repair, Inc. — site.css
   Palette from their own shop: the flag-background sign over the bay doors
   (Old Glory red, flag navy, white) and the garage's steel-blue trim.
   There is no logo file, so the sign IS the colour system. Every colour lives in
   these tokens: re-pointing the brand is a token edit, not a rewrite.
   Type: Literata 900 (a heavy American serif that echoes the sign lettering),
   Overpass (Highway Gothic, the lettering on the NY 40 / NY 67 road signs),
   Overpass Mono (repair-order figures).
   ========================================================================== */

@font-face { font-family: "Literata"; src: url("/fonts/literata-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/fonts/overpass-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass Mono"; src: url("/fonts/overpassmono-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  /* brand (from the shop sign + building) */
  --red: #b22234;          /* Old Glory red: buttons, highlights */
  --red-d: #8f1a2a;        /* pressed / hover */
  --red-l: #f26a76;        /* red text on navy (5:1) */
  --navy: #13213f;         /* flag navy: rich sections */
  --navy-9: #0b1428;       /* deepest: hero scrim, footer */
  --navy-7: #1c2e55;       /* raised navy surfaces */
  --steel: #3e6c9c;        /* garage trim blue */
  --steel-l: #9dbfe2;      /* steel text on navy */
  /* neutrals */
  --paper: #f3f1ec;        /* white siding, warm */
  --paper-2: #e8e4dc;
  --white: #ffffff;
  --ink: #0f1726;
  --text: #283244;
  --mute: #566176;
  --line: #d5d0c5;
  --line-d: rgba(255, 255, 255, .14);
  --fog: #c8d2e2;          /* body text on navy */
  --star: #f5b301;         /* review stars only */

  --display: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Overpass", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gut: max(clamp(18px, 5vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1240px;
  --edge: max(var(--gut), calc((var(--vw, 100vw) - var(--max)) / 2));
  --hdr-h: 68px;
  --r: 14px;
  --r-s: 9px;
  --sh-1: 0 1px 2px rgba(11, 20, 40, .08), 0 6px 20px -8px rgba(11, 20, 40, .18);
  --sh-2: 0 2px 4px rgba(11, 20, 40, .1), 0 24px 60px -24px rgba(11, 20, 40, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1080px) { html { scroll-padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 16.5px/1.62 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
@media (min-width: 760px) { body { font-size: 17px; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
:where(ul, ol)[role="list"] { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
:where(a, button, span, p, li, summary) > svg:where(:not([width])) { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.t-navy :focus-visible, .t-deep :focus-visible, .hero :focus-visible, .phero :focus-visible, .ftr :focus-visible, .cta :focus-visible, .moment :focus-visible { outline-color: var(--white); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; box-shadow: var(--sh-2); transition: top .2s; }
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.nowrap { white-space: nowrap; }

/* ---------- type ---------- */
.dh { font-family: var(--display); font-weight: 900; color: var(--ink); letter-spacing: -.018em; line-height: 1.02; text-wrap: balance; font-variant-numeric: lining-nums; }
.h-xl { font-size: clamp(2.5rem, 10.4vw, 5.6rem); }
.h-lg { font-size: clamp(2.05rem, 7.4vw, 3.9rem); }
.h-md { font-size: clamp(1.55rem, 5.2vw, 2.35rem); line-height: 1.08; }
.h-sm { font-size: clamp(1.2rem, 3.8vw, 1.45rem); line-height: 1.15; letter-spacing: -.01em; }
.ac { color: var(--red); }
.kick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2em .55em; font: 800 .74rem/1.3 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; width: fit-content; }
.kick i { font-style: normal; color: var(--steel); letter-spacing: 0; }
.kick::before { content: ""; width: 22px; height: 3px; background: linear-gradient(90deg, var(--red) 0 33%, var(--white) 33% 66%, var(--navy) 66%); box-shadow: 0 0 0 1px rgba(19, 33, 63, .18); border-radius: 1px; }
.lede { font-size: clamp(1.06rem, 2.6vw, 1.2rem); line-height: 1.55; color: var(--text); max-width: 60ch; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.prose .para + .para { margin-top: 1em; }
.para > p + p { margin-top: .7em; }
@media (min-width: 960px) {
  .para > p { display: inline; }
  .para > p + p::before { content: " "; }
  .para > p + p { margin-top: 0; }
}
.prose a:not(.btn), .lnk { color: var(--red); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(178, 34, 52, .35); }
.prose a:not(.btn):hover, .lnk:hover { text-decoration-color: currentColor; }
.fine { font-size: .86rem; color: var(--mute); }

/* section tones */
.sec { padding-block: clamp(64px, 11vw, 128px); position: relative; }
.sec-tight { padding-block: clamp(48px, 8vw, 88px); }
.t-paper { background: var(--paper); }
.t-white { background: var(--white); }
.t-stone { background: var(--paper-2); }
.t-navy { background: var(--navy); color: var(--fog); }
.t-deep { background: var(--navy-9); color: var(--fog); }
.t-navy .dh, .t-deep .dh { color: var(--white); }
.t-navy .ac, .t-deep .ac { color: var(--red-l); }
.t-navy .kick, .t-deep .kick { color: var(--red-l); }
.t-navy .kick i, .t-deep .kick i { color: var(--steel-l); }
.t-navy .kick::before, .t-deep .kick::before { box-shadow: none; }
.t-navy .lede, .t-deep .lede, .t-navy .prose, .t-deep .prose { color: var(--fog); }
.t-navy .fine, .t-deep .fine { color: var(--steel-l); }
.t-navy .prose a:not(.btn), .t-deep .prose a:not(.btn), .t-navy .lnk, .t-deep .lnk { color: var(--white); text-decoration-color: rgba(255, 255, 255, .4); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 6vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .sec-head.duo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 56px; } .sec-head.duo.top { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }

/* stripe rule (the flag, quietly) */
.stripe { height: 6px; background: linear-gradient(90deg, var(--red) 0 33.33%, var(--white) 33.33% 66.66%, var(--navy) 66.66%); }
.t-navy + .stripe, .stripe.on-dark { background: linear-gradient(90deg, var(--red) 0 33.33%, var(--white) 33.33% 66.66%, var(--steel) 66.66%); }

/* ---------- buttons ---------- */
.btn { --b: var(--red); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 13px 24px; border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: var(--white); font: 800 .98rem/1.1 var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); box-shadow: 0 10px 24px -12px rgba(178, 34, 52, .8); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:hover { --b: var(--red-d); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-g { background: transparent; color: var(--ink); border-color: rgba(15, 23, 38, .28); box-shadow: none; }
.btn-g:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-gl { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .55); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-gl:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.prose a.btn { color: var(--white); text-decoration: none; }
.prose a.btn-g { color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; color: var(--red); text-decoration: none; letter-spacing: .01em; }
.link svg { transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.t-navy .link, .t-deep .link { color: var(--white); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 90; height: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); color: var(--white); transition: background-color .25s var(--ease), transform .3s var(--ease), box-shadow .25s; }
.hdr::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--red) 0 33.33%, var(--white) 33.33% 66.66%, var(--steel) 66.66%); opacity: 0; transition: opacity .25s; }
.hdr.scrolled, body:not(.pg-home) .hdr, body.menu-open .hdr { background: var(--navy-9); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.hdr.scrolled::after, body:not(.pg-home) .hdr::after { opacity: 1; }
.hdr.tuck { transform: translateY(-104%); }
.hdr.tuck:focus-within { transform: none; }
.hdr-in { height: var(--hdr-h); display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); min-width: 0; flex: 0 1 auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.fm-bg { fill: var(--red); }
.fm-st { fill: var(--white); }
.fm-r { fill: var(--white); opacity: .55; }
.lk-star .fm-bg { fill: transparent; stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; }
.lk-star .fm-r { fill: var(--red-l); opacity: 1; }
.brand-wm { display: grid; line-height: 1; min-width: 0; }
.bw-1 { font: 900 1.42rem/0.95 var(--display); letter-spacing: -.01em; }
.bw-2 { font: 800 .6rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-l); margin-top: 4px; white-space: nowrap; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; font: 700 .93rem/1 var(--sans); text-decoration: none; color: rgba(255, 255, 255, .9); transition: background-color .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--red-l); border-radius: 0; }
.hdr-call { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; background: var(--red); color: var(--white); text-decoration: none; font: 800 .95rem/1 var(--sans); white-space: nowrap; transition: background-color .2s; }
.hdr-call:hover { background: var(--red-d); }
.hdr-call .hc-num { display: none; }
.burger { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; display: grid; place-content: center; gap: 6px; flex: none; }
.burger span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 420px) { .hdr-call .hc-num { display: inline; } .hdr-call { padding: 0 16px; } }
@media (max-width: 379px) { .bw-1 { font-size: 1.22rem; } .bw-2 { font-size: .52rem; letter-spacing: .1em; } .brand-mark { width: 34px; height: 34px; } }
@media (min-width: 1140px) {
  .nav { display: block; }
  .hdr-call { margin-left: 8px; }
  .burger { display: none; }
  .bw-1 { font-size: 1.6rem; }
  .bw-2 { font-size: .66rem; }
  .brand-mark { width: 44px; height: 44px; }
}
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--navy-9); color: var(--white); padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 18px) var(--gut) calc(28px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.drawer.open { opacity: 1; transform: none; }
.drawer-grid { display: grid; gap: 28px; max-width: 640px; margin-inline: auto; }
.d-main { display: grid; }
.d-main a { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line-d); font: 900 1.65rem/1.1 var(--display); text-decoration: none; }
.d-main a svg { color: var(--red-l); }
.drawer h2 { font: 800 .74rem/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--steel-l); margin-bottom: 12px; }
.d-svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 16px; }
.d-svc a { padding: 9px 0; color: var(--fog); text-decoration: none; font-weight: 600; font-size: .98rem; }
.d-svc a:hover { color: var(--white); }
.drawer .btn-row .btn { flex: 1 1 200px; }

/* ---------- media frames ---------- */
.ph { display: block; position: relative; overflow: hidden; background: var(--navy-7); border-radius: var(--r); isolation: isolate; }
.ph > img, .ph > picture > img { width: 100%; height: 100%; object-fit: cover; }
.ph.r-43 { aspect-ratio: 4 / 3; }
.ph.r-32 { aspect-ratio: 3 / 2; }
.ph.r-169 { aspect-ratio: 16 / 9; }
.ph.r-45 { aspect-ratio: 4 / 5; }
.ph.r-11 { aspect-ratio: 1; }
.ph.r-34 { aspect-ratio: 3 / 4; }
.ph.fill { height: 100%; min-height: 260px; }
.ph.fill > img { position: absolute; inset: 0; }
.ph-tag { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 6px; background: rgba(11, 20, 40, .82); color: var(--white); font: 600 .74rem/1.25 var(--sans); letter-spacing: .02em; max-width: calc(100% - 24px); }
.cap { margin-top: 10px; font-size: .84rem; color: var(--mute); }
.t-navy .cap, .t-deep .cap { color: var(--steel-l); }

/* Ken Burns (pure CSS), paused by html.motion-off or reduced motion */
@keyframes kb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.6%, -1.2%, 0); } }
.kb img { animation: kb 26s var(--ease) infinite alternate; transform-origin: var(--kbo, 50% 50%); will-change: transform; }
html.motion-off .kb img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .kb img { animation: none; } }
.motion-btn { position: absolute; right: max(14px, env(safe-area-inset-right, 0px)); bottom: 14px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(11, 20, 40, .55); color: var(--white); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s; }
.motion-btn:hover { background: rgba(11, 20, 40, .85); }
.motion-btn svg { width: 16px; height: 16px; }
.motion-btn .i-play { display: none; }
html.motion-off .motion-btn .i-play { display: block; }
html.motion-off .motion-btn .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .motion-btn { display: none; } }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- HERO (home) ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: grid; align-items: center; color: var(--white); background: var(--navy-9); overflow: hidden; isolation: isolate; padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 28px) 0 76px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 70% at 50% 46%, rgba(11, 20, 40, .56) 0%, rgba(11, 20, 40, .66) 55%, rgba(11, 20, 40, .86) 100%),
  linear-gradient(180deg, rgba(11, 20, 40, .7) 0%, rgba(11, 20, 40, .2) 26%, rgba(11, 20, 40, .35) 62%, rgba(11, 20, 40, .95) 100%); }
.hero-in { text-align: center; max-width: 920px; margin-inline: auto; display: grid; justify-items: center; }
.lockup { display: grid; justify-items: center; gap: 8px; margin-bottom: 22px; }
.lk-star { width: 30px; height: 30px; color: var(--white); }
.lk-1 { font: 900 clamp(2.2rem, 9.6vw, 3.6rem)/.9 var(--display); letter-spacing: -.01em; }
.lk-2 { font: 800 clamp(.66rem, 2.5vw, .82rem)/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--white); padding-top: 8px; }
.lk-stripe { width: min(220px, 60vw); height: 5px; background: linear-gradient(90deg, var(--red) 0 33.33%, var(--white) 33.33% 66.66%, var(--steel) 66.66%); border-radius: 2px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .38); background: rgba(11, 20, 40, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 700 .8rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.pill svg { color: var(--red-l); }
.pill { flex-wrap: wrap; justify-content: center; text-align: center; max-width: 100%; }
.pill-dot { color: var(--red-l); }
@media (max-width: 479px) { .pill { font-size: .7rem; letter-spacing: .04em; gap: 6px; padding: 8px 12px; } .pill > svg { display: none; } }
.hero h1 { display: grid; gap: 12px; justify-items: center; }
.h1-k { font: 800 clamp(.82rem, 2.9vw, 1rem)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-l); }
.h1-big { font: 900 clamp(3.05rem, 14.4vw, 7rem)/.92 var(--display); letter-spacing: -.025em; color: var(--white); text-wrap: balance; }
.h1-big .ac { color: var(--red-l); display: inline-block; }
.hero-sub { margin-top: 20px; font-size: clamp(1.04rem, 2.8vw, 1.22rem); line-height: 1.5; color: #e4eaf4; max-width: 46ch; }
.hero .btn-row { justify-content: center; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 28px; font: 700 .84rem/1.3 var(--sans); color: #dfe6f1; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--red-l); }
.trust .stars { color: var(--star); letter-spacing: 1px; }
@media (max-width: 759px) { .hero .btn-row .btn { flex: 1 1 100%; } .trust { gap: 8px 16px; font-size: .8rem; } }
@media (min-width: 960px) { .hero { padding-bottom: 96px; } .lockup { margin-bottom: 28px; } }

/* credential band */
.cred { background: var(--navy-9); color: var(--fog); border-top: 1px solid var(--line-d); }
.cred-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding-block: 6px; font: 600 .7rem/1.35 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-align: center; }
.cred-in li { display: grid; place-items: center; padding: 12px 8px; }
.cred-in li:nth-child(odd) { border-right: 1px solid var(--line-d); }
.cred-in li:nth-child(-n+2) { border-bottom: 1px solid var(--line-d); }
.cred-in b { color: var(--white); font-weight: 700; }
@media (min-width: 900px) {
  .cred-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding-block: 18px; font-size: .78rem; letter-spacing: .06em; }
  .cred-in li { display: inline-flex; align-items: center; gap: 18px; padding: 0; border: 0 !important; }
  .cred-in li + li::before { content: "//"; color: var(--red-l); }
}

/* ---------- TWO WAYS IN ---------- */
.ways { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
/* phones: photo band on top, words on solid navy below (contrast is a given) */
.way { position: relative; display: grid; border-radius: var(--r); overflow: hidden; background: var(--navy); color: var(--fog); isolation: isolate; text-decoration: none; align-content: start; }
.way .ph { position: relative; border-radius: 0; aspect-ratio: 4 / 3; }
.way .ph img { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.way .ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, rgba(19, 33, 63, 0), var(--navy)); }
.way:hover .ph img { transform: scale(1.04); }
.way-in { padding: 4px clamp(22px, 4vw, 36px) clamp(24px, 4vw, 36px); display: grid; gap: 12px; }
@media (min-width: 900px) {
  .way { min-height: 640px; align-content: stretch; }
  .way .ph { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
  .way .ph::after { display: none; }
  .way::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 40, .12) 0%, rgba(11, 20, 40, .3) 26%, rgba(11, 20, 40, .9) 52%, rgba(11, 20, 40, .97) 100%); }
  .way-in { align-self: end; padding: 36px; }
}
.way-n { font: 600 .78rem/1 var(--mono); letter-spacing: .14em; color: var(--steel-l); text-transform: uppercase; }
.way h3 { font: 900 clamp(1.8rem, 6.4vw, 2.6rem)/1.02 var(--display); color: var(--white); letter-spacing: -.015em; }
.way h3 .ac { color: var(--red-l); }
.way p { color: #dce4f0; max-width: 46ch; }
.way ul { display: grid; gap: 6px; margin-top: 4px; }
.way li { display: flex; gap: 9px; align-items: baseline; font-weight: 600; color: var(--white); font-size: .95rem; }
.way li::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--red-l); transform: translateY(-2px); flex: none; }
.way .link { margin-top: 6px; color: var(--white); }
@media (min-width: 900px) { .ways { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; } }

/* ---------- SERVICES INDEX (numbered rows with photo faces) ---------- */
.svc-list { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.svc-list > li { display: grid; }
.svc-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; padding-right: 16px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); align-content: start; }
.svc-card:hover { border-color: rgba(178, 34, 52, .45); box-shadow: var(--sh-1); transform: translateY(-2px); }
.svc-card .ph { aspect-ratio: 1; border-radius: var(--r-s); }
.svc-card .ph img { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.svc-card:hover .ph img { transform: scale(1.05); }
.svc-txt { display: grid; gap: 4px; min-width: 0; }
.svc-n { font: 600 .74rem/1 var(--mono); color: var(--red); letter-spacing: .1em; }
.svc-card h3 { font: 900 1.28rem/1.1 var(--display); color: var(--ink); letter-spacing: -.01em; }
.svc-card p { font-size: .92rem; color: var(--mute); line-height: 1.45; }
.svc-go { position: absolute; right: 14px; top: 14px; color: var(--red); opacity: 0; transition: opacity .2s, transform .2s; }
.svc-card:hover .svc-go { opacity: 1; transform: translateX(2px); }
@media (min-width: 760px) {
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* >=1100: 4 cols. lead 2x2 (4 cells) + 6 singles + last card 2 wide = 12 cells = 3 full rows */
@media (min-width: 1100px) {
  .svc-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .svc-list > li.lead { grid-column: span 2; grid-row: span 2; }
  .svc-list > li:last-child { grid-column: span 2; }
  .svc-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; padding: 0; gap: 0; height: 100%; overflow: hidden; }
  .svc-card .ph { aspect-ratio: 4 / 3; border-radius: 0; }
  .svc-txt { padding: 18px 20px 22px; align-content: start; }
  .lead .svc-card { grid-template-rows: minmax(0, 1fr) auto; }
  .lead .svc-card .ph { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .lead .svc-card h3 { font-size: 2rem; }
  .lead .svc-card p { font-size: 1rem; }
  .svc-list > li:last-child .svc-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .svc-list > li:last-child .svc-card .ph { aspect-ratio: auto; height: 100%; min-height: 200px; }
  .svc-list > li:last-child .svc-txt { align-content: center; }
  .svc-go { top: auto; bottom: 20px; right: 20px; }
}

/* ---------- GALLERY (the shop's own photos) ----------
   phones: 2 cols, g1 + g8 wide = 2+6+2 = 10 cells (5 rows)
   >=960: 4 cols dense: g1 2x2, g2/g6/g8 2x1, g5/g7 1x2, g3/g4 1x1 = 16 cells (4 rows) */
.gal { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal > li { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-s); overflow: hidden; background: var(--navy-7); }
.gal > li.g1, .gal > li.g8 { grid-column: span 2; aspect-ratio: 16 / 10; }
.gal figure { position: absolute; inset: 0; }
.gal .ph { position: absolute; inset: 0; border-radius: 0; }
.gal .ph img { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.gal > li:hover .ph img { transform: scale(1.04); }
.gal figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 20px); width: fit-content; padding: 6px 10px; border-radius: 6px; background: rgba(11, 20, 40, .84); color: var(--white); font: 700 .74rem/1.25 var(--sans); letter-spacing: .02em; }
@media (min-width: 960px) {
  .gal { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 15vw, 232px); grid-auto-flow: dense; gap: 14px; }
  .gal > li { aspect-ratio: auto; }
  .gal > li.g1 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gal > li.g2, .gal > li.g6, .gal > li.g8 { grid-column: span 2; aspect-ratio: auto; }
  .gal > li.g5, .gal > li.g7 { grid-row: span 2; }
  .gal figcaption { font-size: .8rem; left: 14px; bottom: 14px; }
}

/* ---------- FEATURED REVIEW ---------- */
.rev1 { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.rev1-q { position: relative; }
.rev1-q .qmark { font: 900 7rem/0.6 var(--display); color: var(--red-l); display: block; height: 52px; }
.rev1-q blockquote p { font: 700 clamp(1.45rem, 5.4vw, 2.5rem)/1.22 var(--display); color: var(--white); letter-spacing: -.01em; text-wrap: pretty; }
.rev1-q figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); font: 800 1rem/1 var(--sans); flex: none; }
.who { display: grid; line-height: 1.3; }
.who b { color: var(--white); font-size: 1.02rem; }
.who span { color: var(--steel-l); font-size: .88rem; }
.q-stars { color: var(--star); letter-spacing: 2px; font-size: 1.1rem; display: block; margin-bottom: 14px; }
.score { display: grid; gap: 8px; padding: 26px; border-radius: var(--r); background: var(--navy-7); border: 1px solid var(--line-d); }
.score b { font: 900 4.2rem/1 var(--display); color: var(--white); }
.score .stars { color: var(--star); font-size: 1.3rem; letter-spacing: 2px; }
.score p { color: var(--fog); font-size: .95rem; }
@media (min-width: 960px) { .rev1 { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 64px; } }

/* ---------- SIGNATURE: the repair order ---------- */
.sig { --ro-ink: #1d2a47; --ro-paper: #fbf8f1; --ro-rule: #c9d4e6; }
.sig-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.sig-fig { position: sticky; top: calc(var(--hdr-h) + 8px); z-index: 2; padding-block: 8px 14px; background: linear-gradient(180deg, var(--paper-2) 82%, rgba(232, 228, 220, 0)); }
.ro { position: relative; max-width: 560px; margin-inline: auto; background: var(--ro-paper); color: var(--ro-ink); border-radius: 6px; box-shadow: 0 1px 0 #e2dccd, 0 2px 0 #fff, 0 3px 0 #e2dccd, var(--sh-2); font-family: var(--mono); overflow: hidden; }
.ro::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 7px; background: linear-gradient(90deg, var(--red) 0 33.33%, var(--white) 33.33% 66.66%, var(--navy) 66.66%); }
.ro-hd { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 16px 16px 10px; border-bottom: 2px solid var(--ro-ink); }
.ro-co { font: 900 .98rem/1.08 var(--display); letter-spacing: -.005em; color: var(--navy); }
.ro-co small { display: block; font: 600 .6rem/1.35 var(--mono); letter-spacing: .04em; color: #4a5875; margin-top: 4px; text-transform: uppercase; }
.ro-no { text-align: right; font: 700 .62rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #4a5875; }
.ro-no b { display: block; font-size: 1.05rem; color: var(--red); letter-spacing: .02em; }
.ro-body { padding: 4px 16px 14px; display: grid; }
.ro-row { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--ro-rule); font-size: .74rem; line-height: 1.35; }
.ro-row > span:first-child { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5a6886; font-size: .62rem; }
.ro-v { position: relative; color: var(--ro-ink); font-weight: 600; min-height: 1.35em; }
.ro-v .w { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path .7s steps(18, end); }
.ro-clock { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0 8px; border-bottom: 1px dashed var(--ro-rule); }
.ro-clock svg { width: 58px; height: 58px; }
.ro-clock .trk { stroke: var(--ro-rule); }
.ro-clock .arc { stroke: var(--red); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease); }
.ro-clock .hand { transform-origin: 30px 30px; transform: rotate(0deg); transition: transform 1.2s var(--ease); }
.ro-clock p { font-size: .7rem; line-height: 1.35; color: #4a5875; }
.ro-clock p b { display: block; font-size: 1.05rem; color: var(--ro-ink); letter-spacing: .02em; }
.ro-3c { display: grid; gap: 0; }
.ro-ok { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0 4px; font-size: .7rem; }
.ro-box { width: 44px; height: 30px; border: 1.5px solid var(--ro-ink); border-radius: 3px; display: grid; place-items: center; }
.ro-box svg { width: 26px; height: 20px; color: var(--red); stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .6s var(--ease); }
.ro-stamp { position: absolute; right: 12px; bottom: 26px; transform: rotate(-11deg) scale(1.6); opacity: 0; padding: 7px 12px 5px; border: 3px solid var(--red); border-radius: 6px; color: var(--red); font: 900 1.05rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-align: center; transition: opacity .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); mix-blend-mode: multiply; pointer-events: none; }
.ro-stamp small { display: block; font: 700 .52rem/1.3 var(--mono); letter-spacing: .12em; margin-top: 3px; }
.ro-meter { display: flex; gap: 4px; padding: 0 16px 14px; }
.ro-meter span { flex: 1; height: 4px; border-radius: 2px; background: var(--ro-rule); transition: background-color .3s; }
.ro-meter span.on { background: var(--red); }
/* cumulative states s1..s5 */
.ro .st { opacity: .28; transition: opacity .4s; }
.ro.s1 .st-1, .ro.s2 .st-2, .ro.s3 .st-3, .ro.s4 .st-4, .ro.s5 .st-5 { opacity: 1; }
.ro.s1 .st-1 .w, .ro.s2 .st-2 .w, .ro.s3 .st-3 .w, .ro.s4 .st-4 .w, .ro.s5 .st-5 .w { clip-path: inset(0 0 0 0); }
.ro.s2 .ro-clock .arc { stroke-dashoffset: 66.7; }
.ro.s2 .ro-clock .hand { transform: rotate(120deg); }
.ro.s4 .ro-box svg { stroke-dashoffset: 0; }
.ro.s5 .ro-stamp { opacity: .92; transform: rotate(-11deg) scale(1); }
.no-seq .ro .st { opacity: 1; }
.no-seq .ro .w { clip-path: none; }
.sig-steps { display: grid; gap: 0; padding-top: 8px; }
.sig-step { padding: 26px 0 30px; border-top: 1px solid var(--line); opacity: .45; transition: opacity .35s; }
.sig-step.cur { opacity: 1; }
.no-seq .sig-step { opacity: 1; }
.sig-step .num { font: 600 .74rem/1 var(--mono); letter-spacing: .12em; color: var(--red); }
.sig-step h3 { margin-top: 8px; }
.sig-step p { margin-top: 10px; color: var(--text); max-width: 52ch; }
.sig-step .pq { margin-top: 14px; padding-left: 14px; border-left: 3px solid var(--red); font: 600 .98rem/1.45 var(--sans); color: var(--ink); }
.sig-step .pq cite { display: block; margin-top: 4px; font: 600 .78rem/1.3 var(--mono); font-style: normal; color: var(--mute); letter-spacing: .03em; }
.sig-step:last-child { padding-bottom: 18svh; }
@media (max-width: 959px) {
  .ro-hd { padding: 13px 13px 8px; }
  .ro-body { padding: 2px 13px 10px; }
  .ro-row { padding: 5px 0; font-size: .7rem; }
  .ro-clock svg { width: 46px; height: 46px; }
  .ro-meter { padding: 0 13px 11px; }
  .sig-step { padding: 22px 0 24px; }
  .sig-step p { font-size: .97rem; }
}
@media (max-width: 959px) and (max-height: 760px) {
  .ro-row.opt { display: none; }
}
@media (min-width: 960px) {
  .sig-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 72px; align-items: start; }
  .sig-fig { order: 2; top: calc(var(--hdr-h) + 40px); padding: 0; background: none; }
  .sig-steps { order: 1; padding-top: 0; }
  .sig-step { min-height: 56vh; display: grid; align-content: center; padding: 40px 0; border-top: 0; }
  .sig-step:last-child { padding-bottom: 40px; min-height: 64vh; }
  .ro { max-width: 600px; }
  .ro-row { font-size: .82rem; }
  .ro-co { font-size: 1.15rem; }
}

/* ---------- PHOTO MOMENT ---------- */
.moment { position: relative; min-height: clamp(460px, 82svh, 760px); display: grid; align-items: end; color: var(--white); overflow: hidden; isolation: isolate; background: var(--navy-9); }
.moment .ph { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.moment .ph img { position: absolute; inset: 0; }
.moment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 40, .35) 0%, rgba(11, 20, 40, .1) 30%, rgba(11, 20, 40, .78) 70%, rgba(11, 20, 40, .95) 100%); }
.moment .wrap { padding-block: 60px 84px; }
.moment .dh { color: var(--white); max-width: 16ch; }
.moment .ac { color: var(--red-l); }
.moment .kick { color: var(--red-l); }
.moment .lede { color: #e1e8f2; margin-top: 16px; max-width: 54ch; }
@media (max-width: 959px) { .moment::before { background: linear-gradient(180deg, rgba(11, 20, 40, .5) 0%, rgba(11, 20, 40, .6) 30%, rgba(11, 20, 40, .88) 58%, rgba(11, 20, 40, .96) 100%); } }
.moment .credit { margin-top: 18px; font-size: .74rem; color: rgba(255, 255, 255, .72); }
@media (min-width: 960px) { .moment::before { background: linear-gradient(90deg, rgba(11, 20, 40, .9) 0%, rgba(11, 20, 40, .72) 38%, rgba(11, 20, 40, .12) 72%), linear-gradient(0deg, rgba(11, 20, 40, .5), rgba(11, 20, 40, 0) 40%); } .moment { align-items: center; } }

/* ---------- INSPECTION BAND ---------- */
.insp { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.sticker { position: relative; width: min(260px, 70vw); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: var(--white); border: 10px solid var(--navy); box-shadow: 0 0 0 4px var(--red), var(--sh-2); display: grid; place-items: center; text-align: center; color: var(--navy); }
.sticker::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 2px dashed var(--steel); }
.sticker b { display: block; font: 900 2.9rem/0.95 var(--display); letter-spacing: -.01em; }
.sticker span { display: block; font: 800 .64rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.sticker em { display: block; font: 600 .64rem/1.4 var(--mono); font-style: normal; letter-spacing: .06em; color: #4a5875; margin-top: 6px; }
.insp-list { display: grid; gap: 12px; margin-top: 22px; }
.insp-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.insp-list svg { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
@media (min-width: 900px) { .insp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 72px; } }

/* ---------- SERVICE AREA ---------- */
.area-grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
.route { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.route li { border-bottom: 1px solid var(--line); }
.route a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 4px; text-decoration: none; color: var(--ink); transition: background-color .2s, padding .2s; }
.route a:hover { background: var(--white); padding-inline: 12px; }
.route .min { font: 700 1.5rem/1 var(--mono); color: var(--red); letter-spacing: -.02em; }
.route .min small { display: block; font: 600 .6rem/1.2 var(--mono); letter-spacing: .12em; color: var(--mute); margin-top: 3px; }
.route .tn { display: grid; gap: 3px; min-width: 0; }
.route .tn b { font: 900 1.32rem/1.1 var(--display); }
.route .tn span { font-size: .84rem; color: var(--mute); }
.route .go { color: var(--red); }
.shields { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.shield { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border: 2px solid var(--ink); border-radius: 6px 6px 12px 12px; background: var(--white); font: 800 .82rem/1 var(--sans); color: var(--ink); }
.t-navy .shield, .t-deep .shield { border-color: var(--white); }
.area-aside { display: grid; gap: 18px; align-content: start; }
.area-aside .ph { aspect-ratio: 4 / 3; }
.near { font-size: .92rem; color: var(--mute); }
@media (min-width: 960px) { .area-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
.faq { display: grid; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 14px; align-items: center; padding: 20px 2px; font: 800 1.06rem/1.35 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b22234' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red); }
.faq .ans { padding: 0 2px 22px; color: var(--text); max-width: 64ch; }
.t-navy .faq, .t-deep .faq { border-top-color: var(--white); }
.t-navy .faq details, .t-deep .faq details { border-bottom-color: var(--line-d); }
.t-navy .faq summary, .t-deep .faq summary { color: var(--white); }
.t-navy .faq .ans, .t-deep .faq .ans { color: var(--fog); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; } }

/* ---------- CTA BAND ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy-9); padding-block: clamp(80px, 14vw, 150px); text-align: center; }
.cta .ph { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.cta .ph img { position: absolute; inset: 0; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 80% at 50% 50%, rgba(11, 20, 40, .72), rgba(11, 20, 40, .92)); }
.cta .dh { color: var(--white); max-width: 18ch; margin-inline: auto; }
.cta .ac { color: var(--red-l); }
.cta .kick { color: var(--red-l); margin-inline: auto; }
.cta .lede { color: #e1e8f2; margin: 18px auto 0; }
.cta .btn-row { justify-content: center; margin-top: 30px; }
@media (max-width: 759px) { .cta, .moment { padding-bottom: 72px; } }

/* ---------- QUOTE / CONTACT ---------- */
.qt-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.qt-call { margin-top: 26px; padding: 24px; border-radius: var(--r); background: var(--navy); color: var(--fog); }
.qt-call .mono { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-l); }
.qt-call .big { display: block; font: 900 clamp(2rem, 8vw, 2.7rem)/1.05 var(--display); color: var(--white); text-decoration: none; margin: 6px 0 8px; white-space: nowrap; }
.qt-call p { color: var(--fog); font-size: .95rem; }
.qt-call .qt-hours { margin-top: 10px; font-size: .86rem; color: var(--steel-l); line-height: 1.5; }
.way .para p, .steps .para p { margin: 0; }
.way .para > p + p, .steps .para > p + p { margin-top: .5em; }
.steps .para { margin-top: 8px; color: var(--fog); position: relative; }
@media (min-width: 960px) { .way .para > p + p, .steps .para > p + p { margin-top: 0; } }
.qt-call .btn-row { margin-top: 16px; }
.qt-facts { display: grid; gap: 12px; margin-top: 22px; }
.qt-facts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .95rem; }
.qt-facts svg { width: 20px; height: 20px; color: var(--red); margin-top: 2px; }
form.qf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; background: var(--white); color: var(--text); border-radius: var(--r); padding: clamp(20px, 4vw, 34px); box-shadow: var(--sh-2); border-top: 6px solid var(--red); position: relative; }
form.qf h3 { font: 900 1.6rem/1.1 var(--display); color: var(--ink); }
form.qf p { color: var(--text); }
form.qf .fine { color: var(--mute); }
form.qf a:not(.btn) { color: var(--red); font-weight: 700; }
.f2 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .f2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.fld { display: grid; gap: 6px; }
.fld label, .chips legend { font: 800 .86rem/1.2 var(--sans); color: var(--ink); }
.fld label small, .chips legend small { font-weight: 500; color: var(--mute); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #c3c9d4; background-color: #fbfbfc; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.fld textarea { min-height: 112px; resize: vertical; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23283244' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(62, 108, 156, .2); background-color: var(--white); }
.fld [aria-invalid="true"] { border-color: var(--red); background-color: #fff6f7; }
.f-err { color: var(--red); font-size: .84rem; font-weight: 700; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; padding: 0; width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #c3c9d4; font-weight: 700; font-size: .92rem; color: var(--text); transition: background-color .15s, border-color .15s, color .15s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
form.qf button[type="submit"] { width: 100%; white-space: normal; }
.hp-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.qf-status { min-height: 0; font-weight: 700; }
.qf-status:empty { display: none; }
.qf-status.err { color: var(--red); padding: 12px 14px; border-radius: 10px; background: #fff3f4; border: 1px solid rgba(178, 34, 52, .3); }
.qf-done { display: grid; gap: 10px; justify-items: start; padding: 10px 0; outline: none; }
.qf-done svg { width: 44px; height: 44px; color: #1c8a4a; }
.qf-done h3 { font: 900 1.5rem/1.15 var(--display); color: var(--ink); }
.t-navy form.qf p, .t-deep form.qf p { color: var(--text); }
.t-navy form.qf .fine, .t-deep form.qf .fine { color: var(--mute); }
@media (min-width: 960px) { .qt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; } }

/* ---------- INNER HERO ---------- */
.phero { position: relative; color: var(--white); background: var(--navy-9); overflow: hidden; isolation: isolate; }
.phero-media { position: relative; height: clamp(220px, 60vw, 340px); margin-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)); overflow: hidden; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(180deg, rgba(11, 20, 40, 0), var(--navy-9)); }
.phero-scrim { display: none; }
.phero-in { position: relative; padding-top: 6px; padding-bottom: 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font: 700 .76rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-l); margin-bottom: 14px; width: fit-content; }
.crumbs li { display: inline-flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .4); }
.crumbs a { text-decoration: none; color: var(--fog); }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: var(--white); }
.phero h1 { display: grid; gap: 10px; }
.phero .h1-k { color: var(--steel-l); text-align: left; }
.phero .h1-big { font-size: clamp(2.35rem, 9.8vw, 5rem); line-height: .98; text-wrap: balance; }
.phero .lede { color: #e3e9f3; margin-top: 16px; }
.phero .btn-row { margin-top: 24px; }
.phero .motion-btn { top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 12px); bottom: auto; }
.phero .credit { margin-top: 20px; font-size: .74rem; color: rgba(255, 255, 255, .68); max-width: 70ch; }
.phero .credit a { color: inherit; }
.phero .chips-row { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 20px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); font: 700 .78rem/1.2 var(--sans); color: var(--white); background: rgba(255, 255, 255, .06); }
.tag svg { color: var(--red-l); }
@media (max-width: 759px) { .phero .btn-row .btn { flex: 1 1 100%; } }
@media (min-width: 760px) {
  .phero { min-height: clamp(540px, 74svh, 760px); display: grid; align-items: end; }
  .phero-media { position: absolute; inset: 0; height: auto; margin-top: 0; z-index: -2; }
  .phero-media::after { display: none; }
  .phero-scrim { display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 20, 40, .93) 0%, rgba(11, 20, 40, .84) 42%, rgba(11, 20, 40, .4) 74%, rgba(11, 20, 40, .2) 100%), linear-gradient(0deg, rgba(11, 20, 40, .75), rgba(11, 20, 40, 0) 45%); }
  .phero-in { padding-top: calc(var(--hdr-h) + 80px); padding-bottom: 76px; }
  .phero-in > * { max-width: 760px; }
  .phero .motion-btn { top: auto; bottom: 14px; }
}
@media (min-width: 760px) and (max-width: 1199px) { .phero-scrim { background: linear-gradient(90deg, rgba(11, 20, 40, .94) 0%, rgba(11, 20, 40, .88) 64%, rgba(11, 20, 40, .55) 100%), linear-gradient(0deg, rgba(11, 20, 40, .7), rgba(11, 20, 40, 0) 45%); } }

/* ---------- INNER: intro + when-to-call ---------- */
.intro-grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.callcard { border-radius: var(--r); background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 30px); box-shadow: var(--sh-1); }
.callcard h2 { font: 900 1.45rem/1.1 var(--display); color: var(--ink); }
.callcard ul { display: grid; gap: 10px; margin-top: 16px; }
.callcard li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 600; color: var(--text); line-height: 1.4; }
.callcard li svg { width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.callcard .btn { margin-top: 20px; width: 100%; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; } .callcard { position: sticky; top: calc(var(--hdr-h) + 28px); } }

/* steps */
.steps { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: st; }
.steps li { position: relative; padding: 24px 22px 24px; border-radius: var(--r); background: var(--navy-7); border: 1px solid var(--line-d); overflow: hidden; }
.steps li::before { counter-increment: st; content: "0" counter(st); position: absolute; right: 12px; top: -6px; font: 900 5.4rem/1 var(--display); color: rgba(255, 255, 255, .06); letter-spacing: -.04em; }
.steps h3 { font: 900 1.3rem/1.15 var(--display); color: var(--white); position: relative; }
.steps p { margin-top: 8px; color: var(--fog); position: relative; }
.steps .sn { font: 600 .72rem/1 var(--mono); color: var(--red-l); letter-spacing: .12em; display: block; margin-bottom: 10px; position: relative; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* split (photo + text) */
.split { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.split .ph { aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } .split.swap > .split-media { order: 2; } .split .ph { aspect-ratio: 5 / 4; } }
.callout { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--red); background: var(--white); border-radius: 0 var(--r-s) var(--r-s) 0; }
.callout b { display: block; font: 800 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }

/* link rows: towns / services chips */
.linkgrid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .linkgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .linkgrid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--r-s); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.lrow small { display: block; font-weight: 500; color: var(--mute); font-size: .84rem; margin-top: 2px; }
.lrow svg { color: var(--red); }
.lrow:hover { border-color: rgba(178, 34, 52, .45); transform: translateY(-2px); box-shadow: var(--sh-1); }
.t-navy .lrow, .t-deep .lrow { background: var(--navy-7); border-color: var(--line-d); color: var(--white); }
.t-navy .lrow small, .t-deep .lrow small { color: var(--steel-l); }
.t-navy .lrow svg, .t-deep .lrow svg { color: var(--red-l); }

/* photo cards for related services */
.pcards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { display: grid; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; align-content: start; }
.pcard .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.pcard .ph img { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-1); }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard-t { padding: 14px 16px 18px; display: grid; gap: 4px; }
.pcard-t b { font: 900 1.12rem/1.15 var(--display); }
.pcard-t span { font-size: .88rem; color: var(--mute); line-height: 1.4; }

/* town facts */
.facts { display: grid; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font: 700 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.4; }
.facts dd .big { font: 900 1.7rem/1 var(--display); color: var(--red); }
.landmarks { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .landmarks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.landmarks li { padding: 18px 20px; border-radius: var(--r-s); background: var(--white); border: 1px solid var(--line); }
.landmarks b { display: block; font: 900 1.12rem/1.2 var(--display); color: var(--ink); }
.landmarks span { display: block; margin-top: 6px; font-size: .94rem; color: var(--text); }

/* about */
.owner { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .owner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; } }
.ph.front { width: min(300px, 74%); aspect-ratio: 4 / 5; margin: 0 0 -46px 18px; position: relative; z-index: 2; box-shadow: var(--sh-2); border: 5px solid var(--white); transform: rotate(-2deg); }
.ph.front + .reg { padding-top: 0; }
.ph.front + .reg .reg-h { padding-top: 58px; }
.reg { display: grid; gap: 0; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--white); font-family: var(--mono); }
.reg-h { background: #1d5a3c; color: var(--white); padding: 14px 18px; font: 800 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.reg-h b { display: block; font: 900 1.4rem/1.1 var(--display); letter-spacing: -.005em; text-transform: none; margin-top: 4px; }
.reg-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px; padding: 11px 18px; border-top: 1px solid var(--line); font-size: .84rem; }
.reg-row span:first-child { color: var(--mute); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 700; padding-top: 2px; }
.reg-row span:last-child { color: var(--ink); font-weight: 600; }
.reg-src { padding: 11px 18px; border-top: 1px solid var(--line); font: 500 .76rem/1.4 var(--sans); color: var(--mute); }

/* map */
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 960px) { .map { aspect-ratio: 16 / 10; } }

/* 404 */
.nf { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: calc(var(--hdr-h) + 60px) 0 80px; }
.nf .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- FOOTER ---------- */
.ftr { background: var(--navy-9); color: var(--fog); padding: 64px 0 calc(110px + env(safe-area-inset-bottom, 0px)); position: relative; }
.ftr::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 33.33%, var(--white) 33.33% 66.66%, var(--steel) 66.66%); }
.ftr-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
.ftr h2 { font: 800 .74rem/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--steel-l); margin-bottom: 14px; }
.ftr ul { display: grid; gap: 9px; }
.ftr ul a { color: var(--fog); text-decoration: none; font-size: .95rem; }
.ftr ul a:hover { color: var(--white); text-decoration: underline; }
.ftr-nap { display: grid; gap: 5px; margin-top: 18px; font-size: .95rem; }
.ftr-nap b { color: var(--white); font-size: 1rem; }
.ftr-nap a { color: var(--white); font-weight: 800; text-decoration: none; font-size: 1.15rem; }
.ftr-nap a:hover { text-decoration: underline; }
.ftr-note { margin-top: 12px; font-size: .86rem; color: var(--steel-l); max-width: 44ch; }
.ftr-note .lnk { color: var(--white); text-decoration-color: rgba(255, 255, 255, .4); }
.ftr-bot { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-d); display: grid; gap: 8px; font-size: .8rem; color: var(--steel-l); }
.ftr-links { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (min-width: 760px) { .ftr-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .ftr-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 56px; } .ftr { padding-bottom: 56px; } .ftr-bot { grid-template-columns: auto auto; justify-content: space-between; } }

/* mobile action bar */
.mbar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 10px max(10px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-right, 0px)); background: rgba(11, 20, 40, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line-d); transform: translateY(110%); transition: transform .3s var(--ease); }
.mbar.show { transform: none; }
.mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 999px; font: 800 .92rem/1 var(--sans); text-decoration: none; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .35); }
.mbar a.mb-q { background: var(--red); border-color: var(--red); }
body.menu-open .mbar { display: none; }
@media (min-width: 1080px) { .mbar { display: none; } }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--ink); font: 800 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: transparent; }
.badge svg { color: var(--red); }
.t-navy .badge, .t-deep .badge { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.t-navy .badge svg, .t-deep .badge svg { color: var(--red-l); }
@media print { .hdr, .mbar, .drawer, .motion-btn, .cta, form.qf { display: none !important; } .hero, .phero { min-height: 0; color: #000; } }
