/* Haven Collision Center — styles.css
   Dark "showroom" look: near-black + warm paper, one accent (gold — the colour of the review stars).
   Display type is Cormorant (classic serif, echoes the HAVEN wordmark); UI/body is Archivo.
   One motif: the tapered rule from the logo ("— COLLISION —"), used on eyebrows.
   Bump V in tools/build_pages.py after editing. */

:root {
  --tb-h: 40px;
  --black: #0b0c0f;
  --ink: #111318;
  --char: #171a20;
  --char-2: #20242c;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .22);
  --paper: #f5f3ee;
  --paper-2: #ebe6dc;
  --white: #fff;
  --text: #14161a;
  --text-2: #4a4f59;
  --rule: #ddd6c9;
  --on-dark: #f3f1ec;
  --on-dark-2: #b4b8c0;
  --gold: #e2b04f;
  --gold-2: #f0c977;
  --gold-deep: #8a6420;      /* gold for text on light backgrounds (4.7:1 on paper) */
  --serif: "Cormorant", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--on-dark);
  font: 400 1.0625rem/1.65 var(--sans);
  font-variant-numeric: lining-nums;   /* Cormorant defaults to old-style figures */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; text-wrap: balance; }
h1 em, h2 em, .tagline em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 860px; }
.narrow-wide { max-width: 1000px; }
.center { text-align: center; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin: 0; color: var(--gold);
  font: 650 .78rem/1.3 var(--sans); font-stretch: 115%;
  letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before, .center .eyebrow::after, .s-head.center .eyebrow::after {
  content: ""; flex: none; width: 34px; height: 3px; background: var(--gold);
  clip-path: polygon(0 50%, 80% 0, 100% 50%, 80% 100%);
}
.center .eyebrow::after, .s-head.center .eyebrow::after { transform: scaleX(-1); }
.center .eyebrow, .s-head.center .eyebrow { justify-content: center; }
.lede { font-size: 1.14rem; line-height: 1.6; color: var(--on-dark-2); max-width: 40rem; }
.center .lede, .s-head.center .lede { margin-inline: auto; }

.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.stars-sm svg { width: 13px; height: 13px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #111; box-shadow: 0 12px 30px -12px rgba(226, 176, 79, .65); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 16px 36px -12px rgba(226, 176, 79, .8); }
.btn-ghost { border-color: var(--line-2); color: var(--on-dark); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-dark { background: var(--black); color: var(--on-dark); }
.btn-dark:hover { background: #000; }
.btn-outline-dark { border-color: rgba(0, 0, 0, .35); color: var(--text); }
.btn-outline-dark:hover { background: rgba(0, 0, 0, .06); border-color: var(--text); }
.btn-sm { padding: .72rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1.08rem 1.65rem; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.more {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1rem;
  font-weight: 600; font-size: .96rem; color: inherit; text-decoration: none;
}
.more svg { width: 16px; height: 16px; color: var(--gold); transition: transform .25s var(--ease); }
a:hover > .more svg, .more:hover svg, .svc:hover .more svg, .way:hover .more svg { transform: translateX(4px); }
.s-paper .more svg { color: var(--gold-deep); }

/* ---------- top bar + header (both stay pinned while scrolling) ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: #000; color: var(--on-dark-2); font-size: .84rem; }
.topbar-in { display: flex; align-items: center; gap: 1.6rem; height: var(--tb-h); white-space: nowrap; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--on-dark); }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }
.status { display: inline-flex; align-items: center; gap: .45rem; }
.status svg { width: 14px; height: 14px; color: var(--gold); }
.tb-rating { margin-left: auto; }
.tb-rating .stars svg { color: var(--gold); }
.is-open [data-status-text]::before, .is-closed [data-status-text]::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: .45rem; vertical-align: .1em;
}
.is-open [data-status-text]::before { background: #55d68c; box-shadow: 0 0 0 3px rgba(85, 214, 140, .2); }
.is-closed [data-status-text]::before { background: #e0705d; }

.site-header { position: sticky; top: var(--tb-h); z-index: 50; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 12, 15, .82); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.header-in { display: flex; align-items: center; gap: 2rem; height: 80px; transition: height .3s var(--ease); }
.scrolled .header-in { height: 66px; }
.brand { display: block; flex: none; position: relative; z-index: 2; }
.brand img { height: 42px; width: auto; transition: height .3s var(--ease); }
.scrolled .brand img { height: 36px; }

.nav-list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative; display: block; padding: .6rem .8rem; color: var(--on-dark);
  font-weight: 500; font-size: .95rem; text-decoration: none; border-radius: 8px; transition: color .2s;
}
.nav-list > li > a:hover { color: var(--gold-2); }
.nav-list > li > a[aria-current]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--gold);
  clip-path: polygon(0 50%, 10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%);
}
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: .2rem; }
.sub-btn { background: none; border: 0; color: var(--on-dark-2); padding: .5rem .35rem; cursor: pointer; border-radius: 6px; }
.sub-btn svg { width: 15px; height: 15px; transition: transform .25s; }
.has-sub.open .sub-btn svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 8px); left: -.5rem; min-width: 270px; list-style: none; margin: 0; padding: .5rem;
  background: var(--char); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: .65rem .8rem; font-size: .93rem; }
.sub a:hover, .sub a[aria-current] { background: var(--char-2); color: var(--gold-2); }
.nav-mobile-cta { display: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; position: relative; z-index: 2; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--on-dark); font-weight: 600; text-decoration: none; font-size: .95rem; }
.header-phone svg { width: 17px; height: 17px; color: var(--gold); }
.header-phone:hover { color: var(--gold-2); }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03); color: var(--on-dark); cursor: pointer; place-items: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-close { display: none; }
.nav-open .menu-open { display: none; }
.nav-open .menu-close { display: block; }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; background:
  radial-gradient(1200px 600px at 85% -10%, rgba(226, 176, 79, .12), transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(255, 255, 255, .04), transparent 60%), var(--black); }
.hero-glow {
  position: absolute; right: -200px; top: 120px; width: 760px; height: 760px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(226, 176, 79, .16), transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(3.1rem, 6.6vw, 6.2rem); line-height: .96; margin: 1.1rem 0 1.5rem; }
.hero .lede { font-size: 1.16rem; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.2rem; padding: .75rem 1.2rem .75rem .9rem;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .03);
  color: var(--on-dark); text-decoration: none; transition: border-color .25s;
}
.hero-rating:hover { border-color: rgba(226, 176, 79, .55); }
.hr-score { font: 600 2.9rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold); }
.hr-meta { display: grid; gap: .3rem; font-size: .92rem; color: var(--on-dark-2); }
.hr-meta u { text-decoration-color: var(--gold); color: var(--on-dark); }

.hero-visual { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 1.02; justify-self: end; }
.hv-main {
  position: absolute; inset: 0 0 13% 15%; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow); outline: 1px solid var(--line); outline-offset: -1px;
}
.hv-main img, .hv-sub img { width: 100%; height: 100%; object-fit: cover; }
.hv-stack { position: absolute; left: 0; bottom: 0; width: 39%; display: grid; }
.hv-sub {
  position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  border: 7px solid var(--black); box-shadow: var(--shadow);
}
.hv-quote {
  position: absolute; right: -3%; bottom: 2%; width: min(330px, 60%); margin: 0; padding: 1.1rem 1.3rem 1.15rem;
  background: rgba(17, 19, 24, .8); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hv-quote blockquote { margin: .55rem 0 .5rem; }
.hv-quote p { font: italic 500 1.36rem/1.22 var(--serif); color: var(--on-dark); }
.hv-quote figcaption { font-size: .8rem; color: var(--on-dark-2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 80px 0 0; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .55rem; padding: 30px 26px 36px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 600; }
.stat dd { margin: 0; display: flex; align-items: baseline; gap: .35rem; font: 600 3.6rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--on-dark); }
.stat dd small { font-size: 1.5rem; color: var(--gold); }
.stat dd small svg { width: 1.3rem; height: 1.3rem; }
.stat-word { font-style: italic; color: var(--gold); font-size: 3.2rem; }

/* hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hv-main, .hv-sub, .hv-quote { animation: rise 1s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hv-main { animation-delay: .1s; }
  .hv-sub { animation-delay: .3s; }
  .hv-sub + .hv-sub { animation-delay: .4s; }
  .hv-quote { animation: rise 1s var(--ease) .5s both, float 7s ease-in-out 1.6s infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- review ribbon ---------- */
.ribbon { background: var(--char); border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; }
.ribbon-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon ul { display: flex; gap: 3.2rem; list-style: none; margin: 0; padding: 0 3.2rem 0 0; }
.ribbon li { display: flex; align-items: center; gap: .75rem; white-space: nowrap; font: italic 500 1.32rem/1 var(--serif); color: var(--on-dark); }
.ribbon li svg { width: 15px; height: 15px; color: var(--gold); }
.ribbon li em { font: 500 .8rem/1 var(--sans); color: var(--on-dark-2); letter-spacing: .04em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.s-paper { background: var(--paper); color: var(--text); padding: 104px 0; }
.s-dark { background: var(--black); color: var(--on-dark); padding: 104px 0; }
.s-dark.process, .s-dark.themes { background: var(--ink); }
.s-dark + .s-dark { border-top: 1px solid var(--line); }
.s-paper .eyebrow { color: var(--gold-deep); }
.s-paper .lede, .s-paper p { color: var(--text-2); }
.s-paper h2 em, .s-paper h1 em { color: var(--gold-deep); }
.s-head { max-width: 780px; margin-bottom: 56px; }
.s-head.center { margin-inline: auto; text-align: center; }
.s-head h2, .split h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.02; margin: .8rem 0 1rem; }
.s-head .lede { margin-bottom: 0; }
.s-head .lede a { color: inherit; }
.center-link { margin: 48px 0 0; text-align: center; }
.center-link .btn { display: inline-flex; }

/* pillars */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; display: flex; flex-direction: column; padding: 42px 34px 34px; background: var(--white);
  border-radius: var(--r); border-top: 3px solid var(--gold); box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 50px -34px rgba(0, 0, 0, .35);
}
.pillar-n { display: block; margin: -.4rem 0 .9rem; font: 600 3.4rem/1 var(--serif); font-variant-numeric: lining-nums; color: rgba(138, 100, 32, .32); }
.pillar-k { margin: 0; font: 650 .74rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep) !important; }
.pillar h3 { position: relative; font: 600 2.05rem/1.08 var(--serif); margin: .6rem 0 .9rem; color: var(--text); }
.pillar .more { color: var(--text); }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.reviews-intro h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.02; margin: .8rem 0 0; }
.big-quote { margin: 2.2rem 0 0; padding-left: 26px; border-left: 2px solid var(--gold); }
.big-quote blockquote { margin: 0 0 1rem; }
.big-quote p { font: italic 500 clamp(1.55rem, 2.3vw, 2.05rem)/1.22 var(--serif); color: var(--on-dark); }
.big-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; font-size: .9rem; color: var(--on-dark-2); }
.big-quote strong { color: var(--on-dark); font-weight: 600; }
.widget-card {
  background: #fff; color: var(--text); border-radius: 22px; padding: 14px 14px 6px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
}
.s-paper .widget-card { box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .05); }
.widget-head { padding: 6px 8px 14px; margin-bottom: 4px; border-bottom: 1px solid #eee; }
.widget-head strong { display: block; font-size: 1rem; }
.widget-card [data-review-widget] { min-height: 320px; }
.widget-card noscript p { padding: 1rem; }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.quote {
  margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--white);
  border: 1px solid rgba(0, 0, 0, .05); border-radius: var(--r); box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .35);
}
.quote blockquote { margin: 0; }
.quote p { font: italic 500 1.3rem/1.36 var(--serif); color: var(--text) !important; }
.quote figcaption { margin-top: auto; display: grid; gap: 2px; font-size: .86rem; color: var(--text-2); }
.quote figcaption strong { color: var(--text); font-weight: 600; font-size: .95rem; }
.q-note { font-weight: 400; color: var(--text-2); }
.on-dark .quote, .quote.on-dark { background: var(--char); border-color: var(--line); box-shadow: none; }
.on-dark .quote p, .quote.on-dark p { color: var(--on-dark) !important; }
.on-dark .quote figcaption, .quote.on-dark figcaption, .on-dark .q-note, .quote.on-dark .q-note { color: var(--on-dark-2); }
.on-dark .quote figcaption strong, .quote.on-dark figcaption strong { color: var(--on-dark); }
.quote-grid.single { grid-template-columns: 1fr; margin-top: 0; }
.single .quote { align-items: center; text-align: center; padding: 52px 48px; }
.single .quote p { font-size: clamp(1.55rem, 2.9vw, 2.25rem); line-height: 1.25; }
.single .quote figcaption { margin-top: .5rem; }
.quote.inline { margin-top: 1.8rem; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(15, 1fr); gap: 20px; }
.svc-grid > .svc { grid-column: span 3; }
.svc-grid > .svc-photo { grid-column: span 5; }
.svc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.svc-grid-3 > .svc { grid-column: auto; }
.svc {
  display: flex; flex-direction: column; gap: .7rem; padding: 28px 26px; background: var(--white); color: var(--text);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--r); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .4); }
.svc h3 { font: 600 1.14rem/1.25 var(--sans); margin-top: .3rem; }
.svc p { margin: 0; font-size: .96rem; color: var(--text-2); }
.svc-icon {
  flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--black); color: var(--gold);
}
.svc-icon svg { width: 24px; height: 24px; }
.s-dark .svc-icon { background: rgba(226, 176, 79, .1); border: 1px solid rgba(226, 176, 79, .28); }
.svc-photo { position: relative; min-height: 440px; padding: 0; overflow: hidden; background: #000; color: #fff; justify-content: flex-end; border: 0; }
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 15%, rgba(0, 0, 0, .62) 52%, rgba(0, 0, 0, .92) 100%); }
.svc-photo:hover img { transform: scale(1.05); }
.svc-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .6rem; padding: 30px 28px; }
.svc-photo h3 { font: 600 2rem/1.05 var(--serif); color: #fff; }
.svc-photo p { color: rgba(255, 255, 255, .84) !important; }
.svc-photo .svc-icon { background: var(--gold); color: #111; }
.svc-photo .more { color: #fff; }

/* process steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.steps::before {
  content: ""; position: absolute; top: 39px; left: 10%; right: 10%; height: 1px; opacity: .55;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
}
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px; }
.step-icon {
  order: -1; position: relative; width: 78px; height: 78px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--char); border: 1px solid rgba(226, 176, 79, .4); color: var(--gold); box-shadow: 0 0 0 8px var(--ink);
}
.step-icon svg { width: 30px; height: 30px; }
.step-n { font: 650 .76rem/1 var(--sans); letter-spacing: .2em; color: var(--gold); margin-bottom: .7rem; }
.steps h3 { font: 600 1.14rem/1.3 var(--sans); margin-bottom: .5rem; }
.steps p { color: var(--on-dark-2); font-size: .95rem; }

/* facility gallery */
.facility-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.facility-head .s-head { margin-bottom: 0; }
.mini-quote { margin: 0; padding-left: 24px; border-left: 2px solid var(--gold); }
.mini-quote blockquote { margin: 0; }
.mini-quote p { font: italic 500 1.4rem/1.35 var(--serif); color: var(--text) !important; }
.mini-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .8rem; font-size: .88rem; color: var(--text-2); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.gallery-3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--char); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* certifications band */
.certs-band { background: var(--white); color: var(--text); padding: 40px 0; border-block: 1px solid var(--rule); }
.certs-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; }
.certs-label { margin: 0; font: 650 .74rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.certs { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.certs li { display: grid; gap: 3px; padding: 6px 24px; border-left: 1px solid var(--rule); }
.certs strong { font: 750 1.3rem/1.05 var(--sans); font-stretch: 112%; letter-spacing: .02em; }
.certs span { font-size: .78rem; color: var(--text-2); }
.certs-meta { display: grid; gap: .5rem; }
.certs-band .more { margin: 0; padding: 0; color: var(--text); font-size: .9rem; }
.certs-band .more svg { color: var(--gold-deep); }

/* duo cards */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { display: flex; flex-direction: column; overflow: hidden; background: var(--char); border: 1px solid var(--line); border-radius: 24px; }
.duo-card > img { width: 100%; height: 290px; object-fit: cover; }
.duo-body { display: flex; flex-direction: column; align-items: flex-start; padding: 34px 36px 38px; flex: 1; }
.duo-body h3 { font: 600 2.05rem/1.08 var(--serif); margin: .8rem 0 .9rem; }
.duo-body p { color: var(--on-dark-2); }
.duo-body .btn { margin-top: auto; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--white); border: 1px solid rgba(0, 0, 0, .06); border-radius: 14px; scroll-margin-top: calc(110px + var(--tb-h)); }
.s-dark .faq { background: var(--char); border-color: var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 20px 24px;
  list-style: none; cursor: pointer; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--gold-deep); transition: transform .3s var(--ease); }
.s-dark .faq summary svg { color: var(--gold); }
.faq[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { color: var(--text-2); }
.s-dark .faq-a p { color: var(--on-dark-2); }
.faq-a a { color: inherit; font-weight: 600; }

/* visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: stretch; }
.visit-info h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.02; margin: .8rem 0 1rem; }
.open-pill {
  display: inline-flex; align-items: center; gap: .5rem; margin: .4rem 0 0; padding: .5rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--on-dark);
}
.open-pill svg { width: 16px; height: 16px; color: var(--gold); }
.visit-lines { display: grid; gap: .9rem; margin: 1.6rem 0; font-style: normal; }
.visit-lines a { display: flex; align-items: flex-start; gap: .8rem; color: var(--on-dark); text-decoration: none; }
.visit-lines a:hover { color: var(--gold-2); }
.visit-lines svg { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; flex: none; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; font-size: .97rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 500; color: var(--on-dark-2); }
.hours td { text-align: right; font-weight: 600; }
.hours tr.today th, .hours tr.today td { color: var(--gold); }
.hours-sm { font-size: .88rem; }
.map { min-height: 460px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--char); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6) contrast(.92); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; padding: 76px 0; color: #111;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .09) 0 2px, transparent 2px 26px), linear-gradient(120deg, #ecc068, #d9a03d);
}
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.cta-band h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.02; max-width: 21ch; margin-bottom: 1rem; }
.cta-band h2 em { color: #111; }
.cta-band p { font-size: 1.08rem; color: rgba(0, 0, 0, .75); margin: 0; max-width: 46ch; }
.cta-band .btn-row { margin: 0; }

/* footer */
.site-footer { background: #060709; color: var(--on-dark-2); padding-top: 84px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 48px; padding-bottom: 56px; }
.f-brand .brand img { height: 54px; width: auto; }
.f-tag { margin: 1.3rem 0 .7rem; font: italic 500 1.45rem/1.25 var(--serif); color: var(--on-dark); }
.social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--on-dark); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold-2); }
.social svg { width: 18px; height: 18px; }
.f-col h2 { margin: 0 0 1.1rem; font: 650 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.f-col ul { display: grid; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.f-col a { color: var(--on-dark-2); text-decoration: none; }
.f-col a:hover { color: var(--on-dark); }
.f-visit address { display: grid; gap: .8rem; margin-bottom: 1.3rem; font-style: normal; }
.f-visit address a { display: flex; align-items: flex-start; gap: .6rem; }
.f-visit svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 3px; }
.f-areas { padding: 22px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.f-areas strong { color: var(--on-dark); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 22px 0 32px; border-top: 1px solid var(--line); font-size: .85rem; }
.f-bottom p { margin: 0; }
.f-bottom a { color: var(--on-dark-2); }
.f-bottom [aria-hidden] { margin: 0 .5rem; }
.mobile-bar { display: none; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; display: flex; align-items: center; min-height: 540px; padding: 56px 0 76px; overflow: hidden; background: var(--black); }
.page-hero.compact { min-height: 0; padding: 48px 0 64px; background:
  radial-gradient(900px 420px at 90% -20%, rgba(226, 176, 79, .14), transparent 60%), var(--black); }
.ph-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, rgba(11, 12, 15, .78) 20%, rgba(11, 12, 15, .12) 62%, rgba(11, 12, 15, .3) 100%);
}
.ph-in { position: relative; z-index: 1; }
.has-media .ph-in > :not(.crumbs) { max-width: 640px; }
.page-hero h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: .98; margin: 1rem 0 1.2rem; }
.compact h1 { max-width: 18ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 2.2rem; padding: 0; font-size: .85rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.proof { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; list-style: none; margin: 2rem 0 0; padding: 0; font-size: .9rem; color: var(--on-dark-2); }
.proof li, .proof a { display: flex; align-items: center; gap: .55rem; }
.proof a { color: var(--on-dark); text-decoration: none; }
.proof li > svg { width: 18px; height: 18px; color: var(--gold); }
.btn-row:empty { display: none; }

/* service rows */
.svc-rows { display: grid; gap: 28px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--white); border: 1px solid rgba(0, 0, 0, .06); border-radius: 24px; scroll-margin-top: calc(110px + var(--tb-h)); }
.svc-row.flip .svc-row-media { order: 2; }
.svc-row-media { position: relative; min-height: 360px; }
.svc-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-row-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .8rem; padding: 52px; }
.svc-row-body h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.05; margin: .4rem 0 .2rem; color: var(--text); }
.svc-row-body .more { margin-top: .4rem; padding-top: 0; color: var(--text); }

/* split layouts */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; scroll-margin-top: calc(100px + var(--tb-h)); }
.split.flip { grid-template-columns: .95fr 1.05fr; }
.split p { color: var(--text-2); }
.s-dark .split p { color: var(--on-dark-2); }
.split-media { position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: 4 / 3.4; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .6); }
.split-media > img { width: 100%; height: 100%; object-fit: cover; }
.split-media.tall { aspect-ratio: 4 / 5; }
.split-media.stack { overflow: visible; aspect-ratio: auto; box-shadow: none; margin-bottom: 40px; }
.split-media.stack > img:first-child { aspect-ratio: 4 / 3; height: auto; border-radius: 26px; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .6); }
.split-media .stack-sm {
  position: absolute; right: -18px; bottom: -40px; width: 40%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 18px; border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.float-stat {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: .9rem; padding: 16px 22px;
  background: rgba(11, 12, 15, .86); color: #fff; border-radius: 16px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.float-stat strong { font: 600 2.7rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold); }
.float-stat span { max-width: 13ch; font-size: .86rem; line-height: 1.3; }
.checks { display: grid; gap: .7rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.checks li { display: flex; align-items: flex-start; gap: .75rem; }
.checks svg { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; color: var(--gold-deep); background: rgba(226, 176, 79, .2); stroke-width: 3; }
.s-dark .checks svg { color: var(--gold); background: rgba(226, 176, 79, .14); }
.s-paper .checks span { color: var(--text); }

/* mini cards, ways, certs */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-grid.three { grid-template-columns: repeat(3, 1fr); }
.mini-card { padding: 30px 28px; background: var(--white); border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--r); }
.s-dark .mini-card { background: var(--char); border-color: var(--line); }
.mini-card h3 { font: 600 1.14rem/1.3 var(--sans); margin: 1.1rem 0 .5rem; }
.mini-card p { margin: 0; font-size: .97rem; color: var(--text-2); }
.s-dark .mini-card p { color: var(--on-dark-2); }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ways-3 { grid-template-columns: repeat(3, 1fr); }
.way {
  display: flex; flex-direction: column; gap: .5rem; padding: 30px 28px; background: var(--white); color: var(--text);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--r); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.way:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .4); }
.way h3 { font: 600 1.18rem/1.3 var(--sans); margin-top: .8rem; }
.way p { margin: 0; font-size: .97rem; color: var(--text-2); overflow-wrap: anywhere; }
.way p strong { color: var(--text); }
.full-warranty { margin-top: 32px; background: var(--char); border: 1px solid var(--line); border-radius: 16px; }
.full-warranty summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 20px 24px; list-style: none; cursor: pointer; font-weight: 600; }
.full-warranty summary::-webkit-details-marker { display: none; }
.full-warranty summary svg { width: 20px; height: 20px; color: var(--gold); transition: transform .3s; }
.full-warranty[open] summary svg { transform: rotate(180deg); }
.fw-body { padding: 0 24px 26px; font-size: .95rem; color: var(--on-dark-2); }
.fw-body strong { color: var(--on-dark); letter-spacing: .04em; }
.finance-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 34px 38px;
  background: var(--white); border: 1px solid rgba(0, 0, 0, .06); border-radius: 22px;
}
.finance-cta h3 { font: 600 1.9rem/1.1 var(--serif); margin-bottom: .4rem; }

/* reviews page themes */
.theme + .theme { margin-top: 72px; }
.theme-title { display: flex; align-items: center; gap: 1.2rem; font: italic 600 1.75rem/1.2 var(--serif); color: var(--gold-2); }
.theme-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.theme .quote-grid { margin-top: 24px; }

/* about */
.tagline-band { padding: 96px 0; }
.tagline { margin: 1.1rem 0 1.4rem; font: italic 600 clamp(2.5rem, 5.6vw, 4.6rem)/1.04 var(--serif); color: var(--gold); text-wrap: balance; }
.tagline-band .lede { margin-inline: auto; }
.prose p { font-size: 1.06rem; }
.prose h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.04; margin: .8rem 0 1.2rem; }

/* FAQ page */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 44px; }
.chips a { padding: .55rem 1.05rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; }
.chips a:hover { border-color: var(--gold-deep); }
.faq-group { scroll-margin-top: calc(110px + var(--tb-h)); }
.faq-group + .faq-group { margin-top: 52px; }
.faq-group h2 { font-size: 2.1rem; margin-bottom: 18px; color: var(--text); }

/* forms */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.form-card {
  padding: 42px; background: var(--white); border: 1px solid rgba(0, 0, 0, .05); border-radius: 26px;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .4); scroll-margin-top: calc(100px + var(--tb-h));
}
.form-card h2 { font-size: 2.3rem; line-height: 1.05; margin-bottom: 1.4rem; color: var(--text); }
.form fieldset { border: 0; margin: 0 0 30px; padding: 0; }
.form legend { display: flex; align-items: center; gap: .7rem; margin-bottom: 14px; padding: 0; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.form legend span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--gold); font-size: .82rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .38rem; font-size: .88rem; font-weight: 600; color: var(--text); }
.opt { font-weight: 400; color: var(--text-2); }
.req { color: #b4231a; }
.form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .form select, .form textarea {
  width: 100%; padding: .82rem .95rem; font: inherit; font-size: 1rem; color: var(--text);
  background: #fdfcf9; border: 1.5px solid #d6d0c4; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(226, 176, 79, .28); }
.hint { margin: -.3rem 0 14px; font-size: .93rem; }
.photo-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-tile {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; text-align: center; cursor: pointer;
  background: #faf8f3; border: 2px dashed #cbc3b2; border-radius: 16px; transition: border-color .2s, background-color .2s;
}
.photo-tile:hover, .photo-tile:focus-within { border-color: var(--gold-deep); background: #fff; }
.photo-tile:focus-within { box-shadow: 0 0 0 4px rgba(226, 176, 79, .3); }
.photo-tile input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.pt-empty { display: grid; justify-items: center; gap: 3px; padding: 10px; pointer-events: none; }
.pt-empty svg { width: 28px; height: 28px; color: var(--gold-deep); margin-bottom: 4px; }
.pt-empty strong { font-size: .92rem; color: var(--text); }
.pt-empty small { font-size: .78rem; color: var(--text-2); }
.pt-preview { position: absolute; inset: 0; display: none; background: center / cover no-repeat; pointer-events: none; }
.photo-tile.has-file { border-style: solid; border-color: var(--gold); }
.photo-tile.has-file .pt-preview { display: block; }
.photo-tile.has-file .pt-empty { visibility: hidden; }
.radios, .checks-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 14px; }
.radios label, .checks-row label {
  display: inline-flex; align-items: center; gap: .55rem; padding: .62rem 1rem; cursor: pointer; font-size: .95rem; color: var(--text);
  background: #fdfcf9; border: 1.5px solid #d6d0c4; border-radius: 999px; transition: border-color .2s, background-color .2s;
}
.radios input, .checks-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--black); }
.radios label:has(input:checked), .checks-row label:has(input:checked) { border-color: var(--black); background: #fff6e2; }
.form-status { margin: .9rem 0 0; font-weight: 600; color: var(--text); }
.form-status:empty { display: none; }
.form-status.error { color: #b4231a; }
.form-note { margin-top: .8rem; font-size: .86rem; }
.form-note a { color: var(--text); font-weight: 600; }
.hp { position: absolute !important; left: -9999px; }
.form-aside { position: sticky; top: calc(100px + var(--tb-h)); display: grid; gap: 20px; }
.aside-card { padding: 28px 28px 30px; background: var(--black); color: var(--on-dark); border-radius: 22px; }
.aside-card h3 { font: 600 1.65rem/1.1 var(--serif); margin-bottom: .9rem; }
.aside-line { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--line); }
.aside-line:hover strong { color: var(--gold-2); }
.aside-line svg { flex: none; width: 22px; height: 22px; color: var(--gold); }
.aside-line strong { display: block; }
.aside-line small { display: block; color: var(--on-dark-2); font-size: .86rem; overflow-wrap: anywhere; }
.aside-card .open-pill { margin-top: 1.2rem; }
.next { display: grid; gap: .75rem; margin: 0; padding-left: 1.2rem; color: var(--on-dark-2) !important; }
.next li::marker { color: var(--gold); font-weight: 700; }
.next strong { color: var(--on-dark); }
.aside-card p, .areas { color: var(--on-dark-2) !important; }
.areas { font-size: .95rem; line-height: 1.75; }

/* policies */
.policy h2 { font-size: 2.2rem; line-height: 1.1; margin-bottom: 1rem; color: var(--text); }
.policy h3 { margin: 2.2rem 0 .7rem; font: 650 1.2rem/1.3 var(--sans); color: var(--text); }
.policy .run-in { margin: 1.5rem 0 .35rem; }
.policy .run-in strong { color: var(--text); }
.policy ul { margin: 0 0 1rem; padding-left: 1.3rem; color: var(--text-2); }
.policy li { margin-bottom: .4rem; }
.policy li strong { color: var(--text); }
.policy a { overflow-wrap: anywhere; }
.policy-date { margin-bottom: 26px !important; font-weight: 600; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ribbon { overflow-x: auto; }
  .ribbon-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1300px) {
  .header-phone { display: none; }
}
@media (max-width: 1140px) {
  .menu-btn { display: grid; }
  .header-phone { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 1; overflow-y: auto; padding: 150px 24px 40px;
    background: var(--black); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: 560px; margin: 0 auto; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 1rem .2rem; font-size: 1.2rem; }
  .nav-list > li > a[aria-current]::after { display: none; }
  .nav-list > li > a[aria-current] { color: var(--gold); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-btn { display: none; }
  .sub {
    position: static; display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-width: 0; padding: 0 0 .8rem; margin: 0;
    opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none;
  }
  .sub::before { display: none; }
  .sub a { padding: .5rem .2rem; font-size: .98rem; color: var(--on-dark-2); }
  .sub a:hover, .sub a[aria-current] { background: none; }
  .nav-mobile-cta { display: grid; gap: .75rem; max-width: 560px; margin: 2rem auto 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { justify-self: center; max-width: 640px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid > .svc, .svc-grid > .svc-photo { grid-column: auto; }
  .svc-grid > .svc-photo:first-child, .svc-grid > .svc:last-child { grid-column: 1 / -1; }
  .svc-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .svc-grid-3 > .svc:last-child { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .tb-addr { display: none; }
  .s-paper, .s-dark { padding: 84px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillar-grid, .quote-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .reviews-grid, .visit-grid, .duo-grid, .facility-head, .form-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 0; }
  .steps::before { display: none; }
  .steps li:last-child { grid-column: 1 / -1; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 44px; }
  .split.flip > .split-media { order: 2; }
  .svc-row, .svc-row.flip { grid-template-columns: 1fr; }
  .svc-row.flip .svc-row-media { order: 0; }
  .svc-row-media { min-height: 260px; }
  .svc-row-body { padding: 36px 30px; }
  .mini-grid.three, .ways-3 { grid-template-columns: 1fr 1fr; }
  .svc-grid-3 { grid-template-columns: 1fr 1fr; }
  .form-aside { position: static; }
  .map, .map iframe { min-height: 360px; }
  .page-hero.has-media { min-height: 0; padding: 48px 0 64px; }
  .ph-media { width: 100%; opacity: .4; }
  .ph-media::after { background: linear-gradient(180deg, rgba(11, 12, 15, .55), var(--black) 96%); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --tb-h: 0px; }
  .topbar { display: none; }
  .nav { padding-top: 104px; padding-bottom: 120px; }
  body { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(11, 12, 15, .95); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 4px; border-radius: 12px; color: var(--on-dark); font-size: .74rem; font-weight: 600; text-decoration: none; }
  .mobile-bar svg { width: 20px; height: 20px; color: var(--gold); }
  .mobile-bar .mb-main { background: var(--gold); color: #111; }
  .mobile-bar .mb-main svg { color: #111; }
  .header-in { height: 68px; gap: 1rem; }
  .brand img { height: 34px; }
  .scrolled .brand img { height: 32px; }
  .scrolled .header-in { height: 62px; }
  .header-phone { display: none; }
  .hero { padding-top: 44px; }
  .hero-visual { aspect-ratio: 1 / 1.18; }
  .hv-main { inset: 0 0 34% 0; border-radius: 22px; }
  .hv-stack { width: 41%; }
  .hv-sub { border-width: 5px; border-radius: 18px; }
  .hv-quote { right: 0; bottom: 0; width: 56%; padding: .9rem 1rem; }
  .hv-quote p { font-size: 1.08rem; }
  .hv-quote figcaption { font-size: .74rem; }
  .ways, .mini-grid, .mini-grid.three, .ways-3, .svc-grid, .svc-grid-3, .footer-top { grid-template-columns: 1fr; }
  .svc-grid > .svc-photo { min-height: 380px; }
  .certs li { border-left: 0; padding: 6px 18px 6px 0; }
  .form-card { padding: 28px 22px; border-radius: 20px; }
  .fields { grid-template-columns: 1fr; }
  .finance-cta { padding: 28px 24px; }
  .single .quote { padding: 36px 26px; }
  .cta-band { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .header-actions .btn-sm { padding: .62rem .9rem; font-size: .86rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-rating { width: 100%; }
  .stat { padding: 22px 14px 26px; }
  .stat:first-child, .stat:nth-child(3) { padding-left: 0; }
  .stat dd { font-size: 2.8rem; }
  .stat-word { font-size: 2.3rem; }
  .gallery, .gallery-3 { grid-auto-rows: 150px; gap: 10px; }
  .photo-tiles { gap: 8px; }
  .pt-empty small { display: none; }
  .split-media .stack-sm { right: -6px; }
  .theme-title { font-size: 1.45rem; }
}

/* added-photo badge (shows even when the browser can't preview the file, e.g. HEIC in Chrome) */
.photo-tile.has-file::after {
  content: "✓ Added"; position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: .2rem .55rem;
  font-size: .74rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .72); border-radius: 999px;
}

/* ---------- certifications page (/certifications/) ----------
   Plaques = acrylic panels on brushed-steel standoffs, hung on the showroom's dark wall (the idea from Rob's
   Haven_Certifications_Page mockup). Logo sizes: --mh on an <img> (from "maxHeight" in certifications.json). */
.cert-hero { position: relative; padding: 56px 0 96px; overflow: hidden; background:
  radial-gradient(900px 520px at 85% 10%, rgba(226, 176, 79, .13), transparent 62%), var(--black); }
.cert-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.cert-hero h1 { margin: 0 0 1.4rem; }
.cert-hero h1 .eyebrow { display: flex; width: fit-content; margin-bottom: 1.3rem; }
.ch-title { display: block; font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: .98; }
.cert-wall { padding-top: 40px; }

.plaque {
  --screw: radial-gradient(circle at 40% 38%, #fff 0 1px, #dfe2e5 1.6px, #9ea4ab 4.6px, #6f757c 5.6px, transparent 6.2px);
  position: relative; display: flex; flex-direction: column; padding: 36px 32px 30px; border-radius: 6px;
  background: #fcfbf8; color: var(--text);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(0, 0, 0, .05), 0 30px 48px -26px rgba(0, 0, 0, .85), 0 10px 18px -12px rgba(0, 0, 0, .6);
}
.plaque::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background-image: var(--screw), var(--screw), var(--screw), var(--screw);
  background-position: 0 0, 100% 0, 0 100%, 100% 100%; background-size: 14px 14px; background-repeat: no-repeat;
}
.s-paper .plaque { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(20, 22, 26, .06), 0 22px 34px -26px rgba(20, 22, 26, .45), 0 6px 12px -10px rgba(20, 22, 26, .25); }
.pq-logos { display: flex; align-items: center; justify-content: center; gap: 28px; height: 112px; margin-bottom: 24px; }
.pq-logos img { width: auto; max-width: 100%; max-height: var(--mh, 100px); object-fit: contain; }
.pq-pair img { max-width: 44%; max-height: var(--mh, 76px); }
.pq-wordmark img { max-height: var(--mh, 44px); }
.pq-text { flex: 1; }
.plaque h3 { padding-top: 20px; border-top: 1px solid #e7e2d8; font: 600 1.5rem/1.15 var(--serif); color: var(--text); text-wrap: balance; }
.plaque p { margin: .7rem 0 0; font-size: .97rem; line-height: 1.6; color: var(--text-2); }
.plaque .pq-issuer { margin-top: 1rem; font-size: .84rem; color: #6b6f78; }
.pq-family { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pq-family img { width: 64px; height: 64px; border-radius: 50%; }
.plaque-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.plaque.w2 { grid-column: span 2; }
.plaque.w3 { grid-column: 1 / -1; }
.plaque.w2, .plaque.w3 { display: grid; grid-template-columns: minmax(150px, 280px) 1fr; gap: 40px; align-items: center; }
.plaque.w2 .pq-logos, .plaque.w3 .pq-logos { height: auto; margin: 0; }
.plaque.w2 h3, .plaque.w3 h3 { padding-top: 0; border-top: 0; }
.plaque.w2 p, .plaque.w3 p { max-width: 40em; }

/* the black-glass I-CAR Gold Class plaque */
.plaque-glass {
  align-items: center; padding: 44px 40px 38px; text-align: center; color: var(--on-dark);
  background: linear-gradient(158deg, #2a2e35 0%, #0d0f12 46%, #1b1e24 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px rgba(226, 176, 79, .18), 0 44px 70px -30px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(226, 176, 79, .25);
}
.plaque-glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .06) 44%, transparent 56%); }
.plaque-glass img { width: min(260px, 70%); margin: 0 auto 26px; }
.plaque-glass h2 { font-size: 1.95rem; line-height: 1.12; color: var(--gold-2); }
.plaque-glass p { margin: 14px auto 0; max-width: 30em; color: var(--on-dark-2); }
@media (prefers-reduced-motion: no-preference) {
  .plaque-glass { animation: rise 1s var(--ease) .1s both; }
}

.cert-award { display: flex; align-items: center; gap: 22px; margin-top: 40px; padding: 26px 30px; border: 1px solid var(--rule); border-radius: 14px; background: rgba(255, 255, 255, .6); }
.cert-award svg { flex: none; width: 52px; height: 52px; color: var(--gold-deep); }
.cert-award strong { display: block; font: 600 1.45rem/1.2 var(--serif); color: var(--text); }
.cert-award span { font-size: .95rem; color: var(--text-2); }

.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.why-grid .s-head { margin: 0; position: sticky; top: calc(120px + var(--tb-h)); }
.why-list { display: grid; gap: 34px; margin: 0; }
.why-list dt { padding-left: 22px; border-left: 2px solid var(--gold); font: 600 1.5rem/1.25 var(--serif); color: var(--on-dark); }
.why-list dd { margin: 8px 0 0; padding-left: 24px; color: var(--on-dark-2); }
.why-list a { color: var(--on-dark); }

/* badge strip (warranty page) → links into /certifications/ */
.cert-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: flex; align-items: center; justify-content: center; gap: 12px; height: 104px; padding: 16px 18px;
  background: var(--white); border: 1px solid rgba(0, 0, 0, .06); border-radius: 14px; box-shadow: 0 18px 36px -30px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.chip:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .5); }
.chip img { width: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.chip.pq-pair img { max-width: 44%; max-height: 52px; }

@media (max-width: 1140px) {
  .cert-hero-grid { gap: 48px; }
}
@media (max-width: 960px) {
  .cert-hero { padding: 48px 0 72px; }
  .cert-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .plaque-glass { max-width: 540px; }
  .plaque-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .plaque.w2, .plaque.w3 { grid-column: auto; display: flex; align-items: stretch; }
  .plaque.w2 .pq-logos, .plaque.w3 .pq-logos { height: 112px; margin-bottom: 24px; }
  .plaque.w2 h3, .plaque.w3 h3 { padding-top: 20px; border-top: 1px solid #e7e2d8; }
  .plaque.t2 { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: 32px; align-items: center; }
  .plaque.t2 .pq-logos { height: auto; margin: 0; }
  .plaque.t2 h3 { padding-top: 0; border-top: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-grid .s-head { position: static; }
}
@media (max-width: 720px) {
  .cert-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .plaque-grid { grid-template-columns: 1fr; }
  .plaque.t2 { grid-column: auto; display: flex; align-items: stretch; }
  .plaque.t2 .pq-logos { height: 112px; margin-bottom: 24px; }
  .plaque.t2 h3 { padding-top: 20px; border-top: 1px solid #e7e2d8; }
  .plaque { padding: 32px 24px 26px; }
  .plaque-glass { padding: 38px 24px 32px; }
  .cert-award { flex-direction: column; align-items: flex-start; }
}
