/* ==========================================================
   Abbotsford Tune-Up Centre — "Cleared"
   deep ink-indigo + confident emerald: approved, certified, passed
   ========================================================== */

@font-face { font-family: 'Saira Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/saira-600.woff2) format('woff2'); }
@font-face { font-family: 'Saira Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/saira-700.woff2) format('woff2'); }
@font-face { font-family: 'Saira Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/saira-800.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400 700; font-style: normal; font-display: swap; src: url(/fonts/inter-var.woff2) format('woff2'); }

:root {
  --ink-950: #080d1a;
  --ink-900: #0e1626;
  --ink-800: #182236;
  --ink-600: #33415c;
  --pass-500: #10b981;
  --pass-400: #34d399;
  --pass-100: #d1fae5;
  --pass-700: #047857;   /* AA emerald for small text on light (5.3:1 on paper) */
  --gold-500: #d4a044;
  --paper-50: #fafaf8;
  --paper-100: #f2f2ee;
  --paper-200: #e4e4de;
  --slate-400: #8b93a3;
  --slate-600: #4b5468;
  --ink-text: #0e1626;

  --grad-pass: linear-gradient(135deg, var(--pass-400), var(--pass-500));
  --grad-ink: linear-gradient(160deg, var(--ink-800), var(--ink-950));
  --glow-pass: 0 0 34px rgba(16,185,129,.3);

  --f-display: 'Saira Condensed', 'Archivo', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 6px; --r: 12px; --r-lg: 20px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --nav-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink-950); color: #e6e9ef; font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1; margin: 0; letter-spacing: 0; }
p { margin: 0; }
[hidden]:not(.drawer) { display: none !important; }
::selection { background: var(--pass-400); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--pass-400); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible, .trust :focus-visible { outline-color: var(--pass-700); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.accent { color: var(--pass-400); }
.accent-d { color: var(--pass-700); }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars .ico { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.stars--lg .ico { width: 24px; height: 24px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--pass-400); color: var(--ink-950); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad-pass); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- buttons ---------- */
.btn { --mx: 0px; --my: 0px; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 1.4em; border-radius: var(--r-sm); border: 1px solid transparent; font: 700 1.05rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transform: translate3d(var(--mx), var(--my), 0); transition: transform .35s var(--ease-out), box-shadow .3s, background-color .3s, border-color .3s, color .3s; }
.btn .ico { transition: transform .3s var(--ease-out); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 1em; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 1.6em; font-size: 1.12rem; }
.btn--block { width: 100%; }
.btn--pass { background: var(--pass-500); color: var(--ink-950); }
.btn--pass:hover { background: var(--pass-400); box-shadow: var(--glow-pass), 0 8px 24px rgba(16,185,129,.25); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost:hover { border-color: var(--pass-400); color: var(--pass-400); box-shadow: 0 0 26px rgba(52,211,153,.2); }
.btn--line { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn--line:hover { border-color: var(--pass-400); color: var(--pass-400); }

/* ---------- nav (dark, frosts on scroll) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s; }
.nav.is-scrolled { background: rgba(8,13,26,.82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: rgba(255,255,255,.07); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--grad-pass); box-shadow: 0 6px 18px -6px rgba(16,185,129,.6); }
.brand__mark svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-950); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand__text { font: 800 1.3rem/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; color: #fff; display: flex; flex-direction: column; }
.brand__text b { font: 600 .66rem/1 var(--f-display); letter-spacing: .22em; color: var(--slate-400); margin-top: 3px; }
.nav__links { display: none; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; padding: 8px 11px; font: 700 1rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: #c7ccd6; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--pass-400); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__call { font-variant-numeric: tabular-nums; }
.nav__toggle { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-sm); cursor: pointer; }
.nav__toggle .ico { width: 22px; height: 22px; }
@media (min-width: 1080px) { .nav__links { display: flex; } .nav__cta { margin-left: 8px; } .nav__toggle { display: none; } }
@media (max-width: 460px) { .nav__call span { display: none; } .nav__call { width: 44px; padding: 0; } .brand__text { font-size: 1.12rem; } }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer[hidden] { display: block; visibility: hidden; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(4,7,14,.6); opacity: 0; transition: opacity .35s; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--ink-900); border-left: 1px solid var(--ink-800); padding: 80px 24px 32px; display: flex; flex-direction: column; gap: 24px; transform: translateX(100%); transition: transform .45s var(--ease-out); overflow-y: auto; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--ink-800); border-radius: var(--r-sm); cursor: pointer; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 14px 0; border-bottom: 1px solid var(--ink-800); font: 700 1.3rem/1.2 var(--f-display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
.drawer nav a:hover { color: var(--pass-400); }
.drawer__meta { color: var(--slate-400); font-size: .92rem; }

/* ---------- hero: real workshop photo, ink scrim, emerald scan ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 80px; overflow: hidden; isolation: isolate; background: var(--ink-950); }
.hero__photo { position: absolute; z-index: -2; inset: 0 0 auto 0; height: 46svh; overflow: hidden; background: var(--ink-900); }
.hero__photo picture, .hero__photo img { display: block; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 50% 40%; transform-origin: 50% 45%; animation: kenburns 28s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
/* the scan: one thin emerald line of light travelling down the photo roughly every 8s. Kept faint on purpose. */
.hero__sweep { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(52,211,153,0) 0, rgba(52,211,153,.05) 70%, rgba(52,211,153,.32) 98%, rgba(52,211,153,0) 100%);
  animation: sweep 8s cubic-bezier(.45,0,.55,1) 1.2s infinite; will-change: transform, opacity; }
@keyframes sweep { 0% { transform: translateY(-100px); opacity: 0; } 8% { opacity: .55; } 62% { opacity: .55; } 70% { transform: translateY(var(--sweep-end, 60svh)); opacity: 0; } 100% { transform: translateY(var(--sweep-end, 60svh)); opacity: 0; } }
.hero.is-paused .hero__sweep, .hero.is-paused .hero__photo img { animation-play-state: paused; }
.hero__scrim { position: absolute; z-index: -1; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(8,13,26,.94) 0, rgba(8,13,26,.86) 7svh, rgba(8,13,26,.45) 13svh, rgba(8,13,26,.12) 20svh, rgba(8,13,26,.12) 30svh, rgba(8,13,26,.9) 41svh, var(--ink-950) 46svh); }
.hero__scrim::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--pass-500) 40%, var(--pass-400) 60%, transparent); opacity: .55; }
@media (max-width: 979px) {
  .hero { align-items: flex-start; padding-top: 39svh; }
  .hero__photo { --sweep-end: 46svh; }
}
@media (min-width: 980px) {
  .hero__photo { inset: 0 0 0 40%; height: auto; }
  .hero__photo { --sweep-end: 100svh; }
  .hero__photo img { object-position: 50% 50%; }
  .hero__scrim { background:
    linear-gradient(90deg, var(--ink-950) 0, var(--ink-950) 38%, rgba(8,13,26,.94) 43%, rgba(8,13,26,.82) 49%, rgba(8,13,26,.62) 56%, rgba(8,13,26,.4) 64%, rgba(8,13,26,.2) 74%, rgba(8,13,26,.08) 86%, rgba(8,13,26,0) 100%),
    linear-gradient(0deg, var(--ink-950) 0, rgba(8,13,26,.75) 8%, rgba(8,13,26,.35) 18%, rgba(8,13,26,0) 30%),
    linear-gradient(180deg, rgba(8,13,26,.85) 0, rgba(8,13,26,.5) 10%, rgba(8,13,26,.15) 20%, rgba(8,13,26,0) 30%); }
  .hero .hero__inner > * { max-width: 600px; }
  .hero .hero__inner > .hero__title { max-width: 700px; font-size: clamp(3rem, 5.6vw, 5.6rem); }
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 .95rem/1.2 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--pass-400); margin-bottom: 20px; }
.hero__eyebrow span { color: var(--slate-400); }
.hero__title { font-size: clamp(3rem, 8vw, 6.2rem); font-weight: 800; line-height: .92; text-transform: uppercase; color: #fff; letter-spacing: -.005em; }
.hero__title .line { display: block; }
.hero__title .line > span { display: inline-block; }
/* staggered rise: transform only, and the words are visible from the first frame (headline stays the LCP text) */
.js .hero__title .line > span { animation: rise .9s var(--ease-out) both; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.js .hero__title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(22px); } to { transform: none; } }
.hero__sub { margin-top: 24px; max-width: 36em; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: #cfd4dd; }
.hero__sub em { font-style: normal; color: #fff; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 560px) { .hero__ctas .btn { width: 100%; } }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.hero__rating { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); text-decoration: none; }
.hero__score { font-size: 2.4rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.hero__src { color: #c7ccd6; font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.hero__rating:hover .hero__src { color: var(--pass-400); }
.hero__since { font: 700 1rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: #c7ccd6; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.hero__since b { font-size: 1.6rem; color: var(--gold-500); margin-right: 4px; font-variant-numeric: tabular-nums; }
.js .hero__eyebrow, .js .hero__sub, .js .hero__ctas, .js .hero__meta { animation: fadeUp .8s var(--ease-out) both; }
.js .hero__sub { animation-delay: .25s; }
.js .hero__ctas { animation-delay: .35s; }
.js .hero__meta { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- trust strip (light) ---------- */
.trust { background: var(--paper-50); color: var(--slate-600); border-bottom: 1px solid var(--paper-200); }
.trust__list { list-style: none; margin: 0 auto; padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.trust__list li, .trust__list a { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; text-decoration: none; color: var(--slate-600); }
.trust__list b { color: var(--ink-text); font-weight: 650; }
.trust__list .ico { color: var(--pass-700); }
.trust__list .ico--star { color: var(--gold-500); fill: currentColor; stroke: none; }
.trust__list a:hover b { color: var(--pass-700); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 136px) 0; }
.section--light { background: var(--paper-50); color: var(--slate-600); }
.section--light h2, .section--light h3 { color: var(--ink-text); }
.section--dark { background: var(--ink-950); color: #cfd4dd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.trust + .section--light { border-top: 0; }
.sh { max-width: 780px; margin: 0 auto 52px; text-align: center; position: relative; }
.sh--left { text-align: left; margin-left: 0; }
.sh__eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .9rem/1 var(--f-display); letter-spacing: .24em; text-transform: uppercase; color: var(--pass-400); margin-bottom: 16px; }
.sh__eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section--light .sh__eyebrow { color: var(--pass-700); }
.sh__title { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; text-transform: uppercase; text-wrap: balance; }
.sh__lede { margin-top: 18px; font-size: 1.08rem; color: #aeb5c2; }
.section--light .sh__lede { color: var(--slate-600); }
.sh--left .sh__lede { max-width: 36em; }
.sh__lede b { color: var(--ink-text); }

/* "scan-line" reveal on section headers: a thin emerald line passes, then the text rises */
.js .sh::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--pass-400) 40%, #fff 50%, var(--pass-400) 60%, transparent); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; pointer-events: none; }
.js .sh > * { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .sh.is-in::before { animation: hsweep .9s var(--ease) forwards; }
.js .sh.is-in > * { opacity: 1; transform: none; }
.js .sh.is-in > *:nth-child(1) { transition-delay: .4s; }
.js .sh.is-in > *:nth-child(2) { transition-delay: .5s; }
.js .sh.is-in > *:nth-child(n+3) { transition-delay: .6s; }
@keyframes hsweep { 0% { transform: scaleX(0); opacity: 1; transform-origin: 0 50%; } 50% { transform: scaleX(1); opacity: 1; transform-origin: 0 50%; } 51% { transform-origin: 100% 50%; } 100% { transform: scaleX(0); opacity: 1; transform-origin: 100% 50%; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- symptoms (light) ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 960px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; background: #fff; border: 1px solid var(--paper-200); border-radius: 999px; font: 600 .98rem/1.2 var(--f-body); color: var(--ink-text); cursor: pointer; box-shadow: 0 1px 2px rgba(8,13,26,.06); transition: transform .35s var(--ease-out), border-color .25s, background-color .25s, box-shadow .3s, color .25s; text-align: left; }
.chip .ico { color: var(--pass-700); transition: transform .5s var(--ease-out); }
.chip:hover { transform: translateY(-3px); border-color: var(--pass-700); box-shadow: 0 10px 24px rgba(4,120,87,.14); }
.chip:hover .ico { transform: scale(1.15); }
.chip[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.chip[aria-pressed="true"] .ico { color: var(--pass-400); }
.chip--hot { border-color: rgba(4,120,87,.5); background: #f1fbf6; }
.js .chips .chip { opacity: 0; transform: translateY(16px) scale(.96); }
.js .chips.is-in .chip { animation: chipIn .6s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes chipIn { to { opacity: 1; transform: none; } }
.diag { position: relative; max-width: 780px; margin: 40px auto 0; min-height: 220px; border-radius: var(--r-lg); background: var(--ink-900); color: #e6e9ef; overflow: hidden; box-shadow: 0 30px 70px rgba(8,13,26,.22); }
.diag__idle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 220px; padding: 24px; color: var(--slate-400); font: 700 1rem/1.3 var(--f-display); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.diag__line { position: relative; width: 180px; height: 2px; background: var(--ink-800); overflow: hidden; border-radius: 2px; }
.diag__line span { position: absolute; top: 0; left: 0; width: 50px; height: 100%; background: linear-gradient(90deg, transparent, var(--pass-400), transparent); animation: idle 2.2s var(--ease) infinite; }
@keyframes idle { from { transform: translateX(-60px); } to { transform: translateX(200px); } }
.diag__result { position: relative; padding: clamp(24px, 4vw, 40px); }
.diag__result.is-anim > *:not(.diag__scan) { animation: fadeUp .6s var(--ease-out) both; }
.diag__scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(52,211,153,.2), transparent); transform: translateX(-100%); pointer-events: none; }
.diag__result.is-anim .diag__scan { animation: dscan .8s var(--ease) forwards; }
@keyframes dscan { to { transform: translateX(100%); } }
.diag__label { font: 700 .85rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--pass-400); }
.diag__service { font-size: clamp(1.9rem, 4vw, 2.6rem); text-transform: uppercase; margin-top: 10px; color: #fff !important; }
.diag__why { margin-top: 12px; color: #cfd4dd; max-width: 42em; }
.diag__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.diag__note { margin-top: 18px; font-size: .85rem; color: var(--slate-400); }

/* ---------- services (dark) ---------- */
.services { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(16,185,129,.12), transparent 70%), var(--ink-950); }
.svc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .svc--feature { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { position: relative; background: var(--ink-900); border: 1px solid var(--ink-800); border-radius: var(--r); transition: transform .45s var(--ease-out), border-color .3s, box-shadow .4s; }
.svc:hover { transform: translateY(-5px); border-color: rgba(52,211,153,.5); box-shadow: 0 18px 40px rgba(0,0,0,.4), var(--glow-pass); }
.svc.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 20%, 60% { box-shadow: 0 0 0 2px var(--pass-400), var(--glow-pass); } }
.svc--feature { background: linear-gradient(135deg, rgba(16,185,129,.14), transparent 50%), var(--ink-900); border-color: rgba(52,211,153,.4); }
.svc__head { width: 100%; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon title plus" "icon badge plus"; align-items: center; gap: 4px 16px; padding: 22px; background: none; border: 0; cursor: pointer; text-align: left; }
.svc__icon { grid-area: icon; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.25); color: var(--pass-400); }
.svc__icon .ico { width: 28px; height: 28px; transition: transform .6s var(--ease-out); }
.svc:hover .svc__icon .ico { transform: scale(1.1) rotate(-6deg); }
.svc__title { grid-area: title; display: flex; flex-direction: column; gap: 4px; }
.svc__tag { font: 700 .78rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); }
.svc__name { font: 800 1.45rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.svc--feature .svc__name { font-size: 1.8rem; }
.svc__badge { grid-area: badge; justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.25); font: 700 .82rem/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--pass-400); font-variant-numeric: tabular-nums; }
.svc__badge .ico { width: 14px; height: 14px; }
.svc__plus { grid-area: plus; position: relative; width: 16px; height: 16px; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--slate-400); transition: transform .35s var(--ease-out), background-color .3s; }
.svc__plus::after { transform: rotate(90deg); }
.svc__head[aria-expanded="true"] .svc__plus::after { transform: rotate(0); }
.svc__head[aria-expanded="true"] .svc__plus::before, .svc__head[aria-expanded="true"] .svc__plus::after { background: var(--pass-400); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.svc__body > div { overflow: hidden; padding: 0 22px; }
.svc__head[aria-expanded="true"] + .svc__body { grid-template-rows: 1fr; }
.svc__head[aria-expanded="true"] + .svc__body > div { padding-bottom: 22px; }
.svc__body p { color: #cfd4dd; font-size: .98rem; max-width: 60em; }
.svc__body a { color: var(--pass-400); }

/* ---------- out-of-province (light) ---------- */
.oop__top { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .oop__top { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
.oop .sh { margin-bottom: 0; }
.oop__ctas { margin-top: 28px; }
.oop__quote { margin: 0; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--paper-200); box-shadow: 0 24px 60px rgba(8,13,26,.08); }
.oop__quote blockquote { margin: 0; font: 600 1.35rem/1.35 var(--f-display); color: var(--ink-text); }
.oop__quote blockquote::before { content: "“"; display: block; font: 800 3.4rem/.6 var(--f-display); color: var(--pass-500); margin-bottom: 12px; }
.oop__quote figcaption { margin-top: 16px; display: flex; flex-direction: column; font-size: .92rem; color: var(--slate-600); }
.oop__quote figcaption b { font-family: var(--f-display); font-size: 1.15rem; color: var(--ink-text); }
.reply { display: flex; gap: 10px; margin-top: 16px !important; padding: 12px 14px; border-radius: var(--r-sm); border-left: 3px solid var(--pass-500); background: rgba(16,185,129,.07); font-size: .92rem; }
.reply .ico { color: var(--pass-500); margin-top: 2px; }
.reply span { display: flex; flex-direction: column; }
.reply b { font: 700 .82rem/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.section--light .reply { color: var(--slate-600); }
.section--light .reply b { color: var(--pass-700); }
.section--dark .reply { color: #cfd4dd; background: rgba(52,211,153,.08); }
.section--dark .reply b { color: var(--pass-400); }
.icbc { margin-top: 48px; padding: 28px clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--ink-900); color: #cfd4dd; position: relative; overflow: hidden; }
.icbc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-pass); }
.icbc__label { font: 700 .85rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--pass-400); }
.icbc blockquote { margin: 12px 0 0; font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.25 var(--f-display); color: #fff; }
.icbc__note { margin-top: 14px; font-size: .98rem; max-width: 60em; }
.icbc__note a { color: var(--pass-400); display: inline-flex; align-items: center; gap: 4px; }
.icbc__note .ico { width: 14px; height: 14px; }
.qa { margin-top: 40px; display: grid; gap: 12px; }
@media (min-width: 860px) { .qa { grid-template-columns: 1fr 1fr; } }
.qa__item { background: #fff; border: 1px solid var(--paper-200); border-radius: var(--r); transition: border-color .3s, box-shadow .3s; }
.qa__item[open] { border-color: var(--pass-700); box-shadow: 0 12px 30px rgba(4,120,87,.1); }
.qa__item summary { list-style: none; cursor: pointer; padding: 20px 22px; font: 700 1.3rem/1.2 var(--f-display); letter-spacing: .02em; text-transform: uppercase; color: var(--ink-text); display: flex; justify-content: space-between; gap: 16px; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after { content: "+"; color: var(--pass-700); font-size: 1.6rem; line-height: .8; transition: transform .3s var(--ease-out); }
.qa__item[open] summary::after { transform: rotate(45deg); }
.qa__item p { padding: 0 22px 20px; color: var(--slate-600); }
.qa__item a { color: var(--pass-700); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r); background: var(--paper-100); }
.step__n { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-900); color: var(--pass-400); font: 800 1.2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.step p { margin-top: 6px; color: var(--slate-600); font-size: .96rem; }

/* ---------- why (dark) ---------- */
.why { background: linear-gradient(180deg, var(--ink-900), var(--ink-950)); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .why__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .why__list { grid-template-columns: repeat(4, 1fr); } }
.why__item { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r); background: rgba(14,22,38,.8); border: 1px solid var(--ink-800); overflow: hidden; transition: transform .45s var(--ease-out), border-color .3s; }
.why__item:hover { transform: translateY(-4px); border-color: rgba(52,211,153,.4); }
.why__item::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad-pass); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease-out) .2s; }
.why__item.is-in::before, html:not(.js) .why__item::before { transform: scaleX(1); }
.why__n { position: absolute; right: 18px; top: 10px; font: 800 3.4rem/1 var(--f-display); color: rgba(139,147,163,.14); font-variant-numeric: tabular-nums; }
.why__item > .ico { width: 30px; height: 30px; color: var(--pass-400); }
.why__item h3 { margin-top: 18px; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; }
.why__item p { margin-top: 10px; color: #aeb5c2; font-size: .96rem; }
.why__item blockquote { margin: auto 0 0; padding-top: 18px; margin-top: 20px; border-top: 1px solid var(--ink-800); font-size: .95rem; color: #e6e9ef; font-style: italic; }
.why__item cite { display: block; margin-top: 8px; font: normal 700 .8rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--pass-400); }

/* ---------- inspection checklist (light) ---------- */
.checklist__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .checklist__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.checklist .sh { margin-bottom: 0; }
.cl__card { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--paper-200); box-shadow: 0 30px 70px rgba(8,13,26,.1); padding: 26px clamp(20px, 3vw, 32px) 30px; }
.cl__card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad-pass); }
.cl__scan { position: absolute; left: 0; right: 0; top: 0; height: 60px; pointer-events: none; background: linear-gradient(180deg, rgba(16,185,129,0), rgba(16,185,129,.12) 90%, rgba(16,185,129,0)); transform: translateY(-80px); }
.cl.is-in .cl__scan { animation: clscan 2.4s var(--ease) .3s 1 forwards; }
@keyframes clscan { to { transform: translateY(520px); } }
.cl__head { display: flex; align-items: center; gap: 10px; font: 800 1.25rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-text); padding-bottom: 16px; border-bottom: 1px dashed var(--paper-200); }
.cl__head .ico { color: var(--pass-700); width: 26px; height: 26px; }
.cl__list { list-style: none; margin: 0; padding: 0; }
.cl__list:empty { display: none; }
.cl__item { border-bottom: 1px solid var(--paper-100); }
.cl__row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 700 1.2rem/1.2 var(--f-display); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-text); }
.cl__box { width: 26px; height: 26px; flex: none; border-radius: 6px; border: 2px solid var(--paper-200); display: grid; place-items: center; color: #fff; transition: background-color .35s, border-color .35s; }
.cl__box .ico { width: 16px; height: 16px; stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s var(--ease-out) .1s; }
.cl__item.is-ticked .cl__box { background: var(--pass-500); border-color: var(--pass-500); }
.cl__item.is-ticked .cl__box .ico { stroke-dashoffset: 0; }
.cl__note { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.cl__note > p { overflow: hidden; margin: 0; padding-left: 40px; color: var(--slate-600); font-size: .96rem; }
.cl__row[aria-expanded="true"] + .cl__note { grid-template-rows: 1fr; }
.cl__row[aria-expanded="true"] + .cl__note > p { padding-bottom: 14px; }
.cl__summary { padding-top: 18px; display: grid; gap: 12px; }
.cl__summary p { color: var(--slate-600); }
.cl__src { font-size: .85rem; }
.cl__src a { color: var(--pass-700); display: inline-flex; align-items: center; gap: 4px; }
.cl__src .ico { width: 13px; height: 13px; }
.cl__cta-copy { color: var(--ink-text) !important; font-weight: 600; }
.cl__cta-copy em { font-style: normal; color: var(--pass-700); }
.cl__summary .btn { justify-self: start; margin-top: 4px; }

/* ---------- reviews (dark) ---------- */
.reviews { background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212,160,68,.08), transparent 70%), var(--ink-950); }
.wall { columns: 1; column-gap: 16px; }
@media (min-width: 720px) { .wall { columns: 2; } }
@media (min-width: 1060px) { .wall { columns: 3; } }
.rcard { break-inside: avoid; display: block; margin: 0 0 16px; padding: 26px; border-radius: var(--r); background: var(--ink-900); border: 1px solid var(--ink-800); transition: transform .45s var(--ease-out), border-color .3s; }
.rcard:hover { transform: translateY(-4px); border-color: rgba(52,211,153,.35); }
.rcard blockquote { margin: 0; font-size: 1.02rem; color: #e6e9ef; }
.rcard blockquote::before { content: "“"; display: block; font: 800 3.4rem/.6 var(--f-display); color: var(--pass-400); margin-bottom: 12px; }
.rcard figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.rcard figcaption b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .03em; color: #fff; }
.rcard figcaption span { color: var(--slate-400); }
.rcard--score { text-align: center; background: radial-gradient(circle at 50% 0%, rgba(16,185,129,.14), transparent 70%), var(--ink-900); border-color: rgba(52,211,153,.35); }
.rcard__big { display: block; font: 800 5.8rem/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--pass-400); }
.rcard--score .stars { margin: 10px 0; }
.rcard--score > p { color: #aeb5c2; }
.rcard__topics { margin-top: 18px !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .84rem; }
.rcard__topics span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(52,211,153,.4); color: var(--pass-400); }
.rcard--feature { background: linear-gradient(160deg, rgba(16,185,129,.12), transparent 60%), var(--ink-900); border-color: rgba(52,211,153,.35); }
.rcard--feature blockquote { font: 600 1.28rem/1.4 var(--f-display); color: #fff; }
.rcard--short blockquote { font: 700 1.3rem/1.3 var(--f-display); }
.rcard--cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; font: 800 1.2rem/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; background: var(--pass-500); color: var(--ink-950); border-color: var(--pass-500); }
.rcard--cta:hover { background: var(--pass-400); border-color: var(--pass-400); box-shadow: var(--glow-pass); }
.rcard--cta .ico { width: 26px; height: 26px; transition: transform .3s var(--ease-out); }
.rcard--cta:hover .ico { transform: translate(3px, -3px); }

/* ---------- visit (light) ---------- */
.visit__grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .visit__grid { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: stretch; } }
.visit .sh { margin-bottom: 20px; }
.vrow { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--paper-200); text-decoration: none; }
.vrow > .ico { width: 24px; height: 24px; color: var(--pass-700); margin-top: 2px; }
.vrow span { display: flex; flex-direction: column; color: var(--slate-600); }
.vrow b { color: var(--ink-text); font: 700 1.3rem/1.2 var(--f-display); letter-spacing: .02em; }
.vrow em { font-style: normal; color: var(--pass-700); margin-top: 4px; font-size: .9rem; font-weight: 600; }
a.vrow:hover b { color: var(--pass-700); }
.hours { width: 100%; margin-top: 24px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--paper-200); font-weight: 400; color: var(--slate-600); }
.hours td { text-align: right; }
.hours tr.is-today { background: #fff; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink-text); font-weight: 600; }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; font: 700 .72rem/1.4 var(--f-display); letter-spacing: .12em; text-transform: uppercase; background: var(--pass-700); color: #fff; vertical-align: middle; }
.hours__note { margin-top: 12px; font-size: .92rem; color: var(--slate-600); }
.open-now { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.open-now.is-open { color: var(--pass-700); }
.open-now.is-closed { color: #9a5b0e; }
.visit__map { position: relative; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--paper-200); background: var(--paper-100); box-shadow: 0 24px 60px rgba(8,13,26,.12); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.footer { padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--ink-950); border-top: 1px solid var(--ink-800); }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3 { font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; color: var(--pass-400); margin-bottom: 14px; }
.footer p { color: #aeb5c2; font-size: .95rem; margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--pass-400); }
.footer__tag { margin-top: 14px !important; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-800); }
.footer__legal p { color: var(--slate-400); font-size: .84rem; }

/* ---------- mobile thumb bar ---------- */
.thumbbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8,13,26,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--ink-800); transform: translateY(110%); transition: transform .45s var(--ease-out); }
.thumbbar.is-shown { transform: none; }
.thumbbar a { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-sm); font: 800 1rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.thumbbar__call { background: var(--pass-500); color: var(--ink-950); font-variant-numeric: tabular-nums; }
.thumbbar__oop { border: 1px solid var(--pass-400); color: var(--pass-400); }
@media (min-width: 1080px) { .thumbbar { display: none; } }
@media (max-width: 1079px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- reduced motion: photo static, no sweep, no drift ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__sweep, .cl__scan, .diag__scan, .diag__line span { display: none; }
  .hero__photo img { animation: none !important; transform: none !important; }
  .btn { transform: none !important; }
}
