/* ==========================================================================
   Limitless Customs: site styles
   --------------------------------------------------------------------------
   REBRAND IN ONE PLACE: every colour, font, size, space and radius lives in
   the :root block below (values from DESIGN-SPEC.md section 4). Component
   rules underneath only read these tokens.
   Mobile first. Breakpoints: 600px (tablet), 960px (desktop).
   Dark-only by design (spec section 4, "Why dark-only").
   ========================================================================== */

/* Self-hosted fonts (Google Fonts files via Fontsource, SIL OFL 1.1; licences in /fonts/). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"),
       url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg:          #0B0A0E;
  --bg-raised:   #16141C;
  --bg-bar:      #1E1A26;
  --bg-tint:     #2A1245;
  --line:        #2A2633;
  --bg-header:   rgba(11, 10, 14, .92);
  --bg-video-btn: rgba(30, 26, 38, .8);

  /* Text */
  --fg:          #F5F3F8;
  --fg-muted:    #ABA5B8;
  --brand-text:  #B98AFF;

  /* Brand */
  --brand:       #8902F1;
  --brand-hover: #9D2BFF;
  --on-brand:    #FFFFFF;

  /* UI */
  --field-bg:     #0B0A0E;
  --field-border: #7C768A;
  --focus:        #C9A6FF;
  --error:        #FF8A94;
  --success:      #6EDC9F;
  --tbc:          #F2C14E;
  --scrim: linear-gradient(to top, rgba(11,10,14,.88) 0%, rgba(11,10,14,.80) 45%, rgba(11,10,14,0) 100%);

  /* Type */
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Figtree", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --stretch-display: 118%;
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h3:   1.375rem;
  --fs-h2:   clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --fs-h1:   clamp(2.125rem, 1.4rem + 3.6vw, 4rem);
  --fs-menu: 1.75rem;
  --fs-quote-mark: 4rem;
  --lh-tight: 1.08;
  --lh-body:  1.6;

  /* Space (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 16px;
  --section-y: var(--s8);
  --maxw: 1200px;

  /* Sizes */
  --header-h: 64px;
  --bar-h: 64px;
  --btn-h: 52px;
  --tap: 44px;

  /* Radius (from the logo mark: round TL + BR, square TR + BL) */
  --r-sig:    20px 3px 20px 3px;
  --r-sig-sm: 12px 2px 12px 2px;
  --r-pill:   999px;

  /* Shadows / glow */
  --shadow-card: 0 1px 0 rgba(255,255,255,.05) inset, 0 16px 40px rgba(0,0,0,.55);
  --glow-brand:  0 0 0 1px rgba(137,2,241,.6), 0 10px 36px rgba(137,2,241,.35);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur:  180ms;
  --dur-slow: 400ms;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --gutter: 32px; --section-y: var(--s9); --header-h: 80px; } }
@media (prefers-reduced-motion: reduce) { :root { --dur: 0ms; --dur-slow: 0ms; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--s4));
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 760; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0; }
p, li, blockquote { text-wrap: pretty; }
a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
button { font: inherit; color: inherit; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }

.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: var(--s3) var(--s4); border-radius: var(--r-sig-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
/* Two plain sections in a row share one gap instead of doubling it. */
.section:not(.band-tint) + .section:not(.band-tint) { padding-top: 0; }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); max-width: 46rem; }
.section-head p:not(.eyebrow) { color: var(--fg-muted); font-size: var(--fs-lead); }

/* Eyebrow: "/ LABEL". The slash is a brand-purple display accent. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-stretch: normal;
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .16em; color: var(--brand-text);
}
.eyebrow::before { content: "/"; color: var(--brand); font-weight: 800; font-size: 1.25em; }
h2.eyebrow { font-size: var(--fs-xs); }

/* Icons */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--btn-h); padding: 0 var(--s5);
  border-radius: var(--r-sig-sm); border: 1.5px solid transparent;
  font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn-primary:hover, .btn-primary:active { background: var(--brand-hover); border-color: var(--brand-hover); box-shadow: var(--glow-brand); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--fg-muted); }
.btn-secondary:hover { border-color: var(--fg); background: var(--bg-raised); }
.btn[disabled] { cursor: progress; opacity: .85; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.btn-row > .btn { flex: 1 1 auto; }

.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); font-weight: 600; }
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- TBC placeholder (review builds) ---------- */
.tbc {
  display: inline-flex; align-items: center; gap: var(--s2); flex-wrap: nowrap;
  color: var(--fg-muted); margin-inline: 3px;
  outline: 1.5px dashed var(--tbc); outline-offset: 2px; border-radius: 2px;
  padding: 0 var(--s1);
}
.tbc::before {
  content: "TBC"; flex: none; font-size: 0.6875rem; font-weight: 700; letter-spacing: .08em;
  color: var(--bg); background: var(--tbc); padding: 1px 5px; border-radius: 2px; line-height: 1.4;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: height var(--dur) var(--ease);
}
/* Background on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position menu sheet inside the 64px header box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header::before { background: var(--bg-header); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); min-height: var(--tap); text-decoration: none; flex: none; }
.brand-mark { height: 32px; width: auto; }
.brand-wordmark { height: 24px; width: auto; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: var(--tap); min-width: var(--tap); padding: 0 var(--s3);
  background: transparent; border: 1.5px solid var(--fg-muted); border-radius: var(--r-sig-sm);
  font-weight: 600; cursor: pointer;
}
.menu-toggle:hover { border-color: var(--fg); background: var(--bg-raised); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Phone/tablet: the menu is a full-height sheet under the header (JS on). */
.site-menu { display: flex; flex-direction: column; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a { color: var(--fg); text-decoration: none; }
.menu-phone { display: none; }
.menu-extra { display: grid; gap: var(--s5); }
.menu-social { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.menu-social a { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); }

@media (max-width: 959.98px) {
  .js .site-menu {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    background: var(--bg-bar);
    padding: var(--s5) var(--gutter) calc(var(--s7) + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    gap: var(--s5);
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .js .site-menu[data-open="true"] {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
  }
  .menu-links a {
    display: flex; align-items: center; min-height: 56px;
    font-family: var(--font-display); font-stretch: var(--stretch-display);
    font-size: var(--fs-menu); font-weight: 700;
    border-bottom: 1px solid var(--line);
  }
  .menu-links a:hover { color: var(--brand-text); }
  .menu-quote { width: 100%; }
  .menu-extra .btn-row > .btn { flex: 1 1 0; }
  /* No JS: hide the toggle and show the links as a simple row under the header. */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: var(--s2); height: auto; }
  html:not(.js) .site-menu { width: 100%; }
  html:not(.js) .menu-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
  html:not(.js) .menu-links a { font-size: var(--fs-base); min-height: var(--tap); border: 0; }
  html:not(.js) .menu-quote, html:not(.js) .menu-extra { display: none; }
}
@media (prefers-reduced-motion: reduce) { .js .site-menu { transform: none !important; } }
body.menu-open { overflow: hidden; }

/* Desktop: inline nav */
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-menu { flex-direction: row; align-items: center; gap: var(--s6); }
  .menu-links { display: flex; gap: var(--s5); }
  .menu-links a {
    display: inline-flex; align-items: center; min-height: var(--tap);
    font-weight: 500; font-size: 1rem;
    border-bottom: 2px solid transparent; padding-top: 2px;
  }
  .menu-links a:hover { border-bottom-color: var(--fg-muted); }
  .menu-links a[aria-current="page"], .menu-links a.is-active { border-bottom-color: var(--brand); }
  .menu-phone { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; color: var(--fg); }
  .menu-quote { min-height: 44px; }
  .menu-extra { display: none; }
  .site-header.is-scrolled { --header-h: 64px; }
  .site-header.is-scrolled { height: 64px; }
}

/* ---------- Sticky call/text bar (below 960) ---------- */
.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--bg-bar); border-top: 1px solid var(--line);
  padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom));
  display: flex; gap: var(--s2);
  transition: transform var(--dur) var(--ease), visibility 0s;
}
.contact-bar .btn { flex: 1 1 0; min-height: 48px; padding: 0 var(--s2); gap: 6px; font-size: 1rem; white-space: nowrap; }
.contact-bar .btn-primary { flex-grow: 1.3; }
.contact-bar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
body.has-bar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 960px) {
  .contact-bar { display: none; }
  body.has-bar { padding-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { padding-bottom: var(--s7); }
.hero-grid { display: grid; grid-template-areas: "media" "title" "lead" "cta" "facts"; }
.hero-media { grid-area: media; position: relative; margin-inline: calc(-1 * var(--gutter)); background: var(--bg-raised); }
/* The title sits under the photo below 960px so the car is never hidden behind text. */
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 66%;
}
.hero-title {
  grid-area: title; position: relative; z-index: 1;
  display: grid; gap: var(--s3); padding-top: var(--s5);
}
.hero-title .eyebrow { color: var(--brand-text); }
/* Spec: H1 "3 lines max". At 34px and 118% stretch it runs to 4 lines on a 375px phone,
   so below 600px the display face is set at its normal width. */
@media (max-width: 599.98px) { .hero-title h1 { font-stretch: 100%; } }
.hero-lead { grid-area: lead; margin-top: var(--s5); font-size: var(--fs-lead); color: var(--fg-muted); max-width: 34rem; }
.hero-cta { grid-area: cta; margin-top: var(--s5); display: grid; gap: var(--s3); }
.hero-facts { grid-area: facts; margin-top: var(--s6); }

@media (min-width: 600px) {
  .hero-media img { aspect-ratio: 16 / 9; }
  .hero-cta { grid-template-columns: repeat(2, max-content); }
}
@media (min-width: 960px) {
  .hero { padding-top: var(--s7); padding-bottom: var(--s8); }
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: ". media" "title media" "lead media" "cta media" "facts media";
    column-gap: var(--s7);
  }
  .hero-title { grid-area: title; padding-bottom: 0; }
  .hero-title .eyebrow { color: var(--brand-text); }
  .hero-media { grid-area: media; grid-row: 1 / -1; margin: 0; border-radius: var(--r-sig); overflow: hidden; box-shadow: var(--shadow-card); align-self: center; }
  .hero-media::after { display: none; }
  .hero-media img { aspect-ratio: 4 / 5; object-position: 50% 65%; }
  .hero-facts { align-self: start; }
}

/* Quick facts */
.facts {
  background: var(--bg-raised); border-radius: var(--r-sig); padding: var(--s2) var(--s5);
  display: grid; margin: 0;
}
.fact { display: grid; grid-template-columns: 24px 1fr; gap: var(--s1) var(--s3); align-items: start; align-content: start; padding-block: var(--s4); }
.fact + .fact { border-top: 1px solid var(--line); }
.fact .icon { color: var(--brand-text); margin-top: 2px; grid-row: span 2; }
.fact dt { color: var(--fg-muted); font-size: var(--fs-sm); }
.fact dd { margin: 0; color: var(--fg); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s4); }
.fact dd .tbc { font-weight: 400; }
.fact-links { display: inline-flex; gap: var(--s4); font-weight: 600; }
.fact-links a { display: inline-flex; align-items: center; min-height: var(--tap); }
@media (min-width: 960px) {
  .hero .facts { background: transparent; padding: var(--s5) 0 0; border-top: 1px solid var(--line); border-radius: 0; grid-template-columns: repeat(3, auto); gap: var(--s5); justify-content: start; }
  .hero .fact { padding: 0; }
  .hero .fact + .fact { border-top: 0; }
}

/* ---------- Services ---------- */
.service-grid { display: grid; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.card {
  background: var(--bg-raised); border-radius: var(--r-sig); box-shadow: var(--shadow-card);
  overflow: hidden; display: flex; flex-direction: column;
  outline: 1px solid transparent; transition: outline-color var(--dur) var(--ease);
}
.card-media { overflow: hidden; background: var(--bg-bar); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.card-body p { color: var(--fg-muted); }
.card-body .link-arrow { margin-top: auto; padding-top: var(--s2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.chips li {
  border: 1px solid var(--line); color: var(--fg-muted); font-size: var(--fs-sm);
  padding: var(--s1) var(--s3); border-radius: var(--r-sig-sm); line-height: 1.4;
}
.services-note { margin-top: var(--s5); color: var(--fg-muted); }
@media (hover: hover) and (min-width: 960px) {
  .card:hover { outline-color: var(--brand); }
  .card:hover .card-media img { transform: scale(1.03); }
}
@media (min-width: 600px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid > :last-child { grid-column: 1 / -1; }
  .service-grid > :last-child .card-media img { aspect-ratio: 16 / 9; }
}
@media (min-width: 960px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid > :last-child { grid-column: auto; }
  .service-grid > :last-child .card-media img { aspect-ratio: 4 / 3; }
}

/* ---------- Video ---------- */
/* Phone/tablet: text on top, the two clips side by side. Desktop: text column + two clips. */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s3); align-items: start; }
.video-text { grid-column: 1 / -1; display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.video-caption { font-size: var(--fs-lead); font-weight: 600; }
.video-item { margin: 0; display: grid; gap: var(--s2); min-width: 0; }
.video-item figcaption { color: var(--fg-muted); font-size: var(--fs-sm); text-align: center; }
.video-frame {
  position: relative; width: 100%;
  border-radius: var(--r-sig); overflow: hidden; box-shadow: var(--shadow-card);
  background: var(--bg-raised);
}
.video-frame video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.video-toggle {
  position: absolute; right: var(--s2); bottom: var(--s2);
  width: var(--tap); height: var(--tap); border-radius: var(--r-pill);
  border: 0; background: var(--bg-video-btn); color: var(--fg);
  display: grid; place-items: center; cursor: pointer;
}
.video-toggle .icon { width: 20px; height: 20px; }
.video-toggle .icon-play { display: none; }
.video-toggle[data-state="paused"] .icon-play { display: block; }
.video-toggle[data-state="paused"] .icon-pause { display: none; }
html:not(.js) .video-toggle { display: none; }
@media (min-width: 600px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: var(--s5) var(--s5); }
  .video-toggle { right: var(--s3); bottom: var(--s3); }
}
@media (min-width: 960px) {
  .video-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px) minmax(0, 340px); justify-content: stretch; align-items: center; gap: var(--s6); }
  .video-text { grid-column: auto; justify-items: start; text-align: left; }
  .video-item figcaption { text-align: left; }
}

/* ---------- Photo grids (Recent work + Gallery) ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.photo-grid a {
  display: block; border-radius: var(--r-sig-sm); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-raised);
}
.photo-grid img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  color: var(--fg-muted); font-size: var(--fs-sm); /* alt text if the image fails */
  transition: filter var(--dur) var(--ease);
}
.photo-grid a:hover img, .photo-grid a:focus-visible img { filter: brightness(1.08); }
.work-more { margin-top: var(--s5); }
.work-more .btn { width: 100%; }
@media (min-width: 600px) {
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-more .btn { width: auto; }
}
@media (min-width: 960px) {
  .photo-grid { gap: var(--s3); }
  .photo-grid--gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work-layout { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s5); }
  .work-layout > .section-head { grid-column: 1; grid-row: 1; }
  .work-layout > .work-more { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 var(--s6); }
  .work-layout > .photo-grid { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Reviews ---------- */
.review-grid { display: grid; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.review {
  margin: 0; background: var(--bg-raised); border-radius: var(--r-sig); box-shadow: var(--shadow-card);
  padding: var(--s5); display: grid; gap: var(--s4); align-content: start; height: 100%;
}
.review-mark {
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--bg-tint); border-radius: var(--r-sig-sm);
  font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800;
  font-size: var(--fs-quote-mark); line-height: 1.25; color: var(--brand);
  padding-top: 10px; overflow: hidden;
}
.review blockquote { margin: 0; font-size: var(--fs-base); color: var(--fg); }
.review figcaption { font-size: var(--fs-sm); font-weight: 600; color: var(--fg-muted); }
.reviews-more { margin-top: var(--s5); }
@media (min-width: 600px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- How it works / About ---------- */
.about-grid { display: grid; gap: var(--s7); }
.steps { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: var(--s5); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s4); align-items: start; counter-increment: step; }
.steps li::before {
  content: counter(step); width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--bg-raised); border-radius: var(--r-sig-sm); color: var(--brand-text);
  font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: 1.375rem;
}
.steps h3 { font-size: 1.125rem; margin-bottom: var(--s1); }
.steps p { color: var(--fg-muted); }
.about-note { background: var(--bg-raised); border-radius: var(--r-sig); padding: var(--s5); display: grid; gap: var(--s3); align-content: start; }
.about-note p { color: var(--fg-muted); }
.about-note p.about-lede { color: var(--fg); font-size: var(--fs-lead); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: var(--s8); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { grid-template-columns: 1fr; }
}

/* ---------- Contact band / CTA band ---------- */
.band-tint { background: var(--bg-tint); }
.contact-band { display: grid; gap: var(--s5); }
.contact-band .btn-row .btn { flex: 1 1 0; }
.contact-band .btn-row .btn-primary { flex-basis: 100%; }
.contact-band .btn-secondary:hover { background: rgba(11,10,14,.35); }
.contact-meta { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); color: var(--fg-muted); font-size: var(--fs-sm); list-style: none; margin: 0; padding: 0; }
.contact-meta .tbc { color: var(--fg-muted); }
@media (min-width: 600px) {
  .contact-band .btn-row .btn-primary { flex-basis: auto; }
  .contact-band .btn-row .btn { flex: 0 1 auto; }
}
@media (min-width: 960px) {
  .contact-band { grid-template-columns: 1fr auto; align-items: center; column-gap: var(--s7); }
  .contact-meta { grid-column: 1 / -1; padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.12); }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s7) var(--s6); }
.footer-logo { width: 160px; height: auto; margin-bottom: var(--s6); }
.footer-cols { display: grid; gap: var(--s6); }
.footer-cols h2 { font-family: var(--font-body); font-stretch: normal; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--fg-muted); margin-bottom: var(--s3); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.footer-cols a { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); }
.footer-cols li > .tbc { margin-block: var(--s2); }
.footer-legal { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--fg-muted); font-size: var(--fs-xs); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; }
@media (min-width: 600px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Page heads (Gallery, Quote, 404) ---------- */
.page-head { padding-top: var(--s7); padding-bottom: var(--s6); display: grid; gap: var(--s3); }
.page-head p:not(.eyebrow) { color: var(--fg-muted); font-size: var(--fs-lead); max-width: 40rem; }
.page-head + .section { padding-top: 0; }

/* ---------- Quote page ---------- */
.quote-layout { display: grid; gap: var(--s6); align-items: start; }
.quote-side { display: contents; }
.fastlane { order: -1; }
.side-block { background: var(--bg-raised); border-radius: var(--r-sig); padding: var(--s5); display: grid; gap: var(--s4); }
.side-block h2 { font-size: 1.25rem; }
.side-block ol { margin: 0; padding-left: 1.25rem; display: grid; gap: var(--s2); color: var(--fg-muted); }
.side-block ol li::marker { color: var(--brand-text); font-weight: 700; }
.side-block .btn-row .btn { flex: 1 1 0; }
.side-meta { display: grid; gap: var(--s3); margin: 0; }
.side-meta div { display: grid; gap: var(--s1); }
.side-meta dt { color: var(--fg-muted); font-size: var(--fs-sm); }
.side-meta dd { margin: 0; }
@media (min-width: 960px) {
  .quote-layout { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: var(--s7); }
  .quote-side { display: grid; gap: var(--s5); position: sticky; top: 96px; }
  .fastlane { order: 0; }
}

.form-panel { background: var(--bg-raised); border-radius: var(--r-sig); padding: var(--s4); box-shadow: var(--shadow-card); }
@media (min-width: 600px) { .form-panel { padding: var(--s5); } }
.quote-form { display: grid; gap: var(--s5); }
.notice {
  display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start;
  background: var(--bg-tint); border-radius: var(--r-sig-sm); padding: var(--s4);
}
.notice .icon { color: var(--brand-text); margin-top: 2px; }
.notice a { color: var(--fg); font-weight: 600; }
.field { display: grid; gap: var(--s2); }
.field label, .field legend, .field-label { font-size: var(--fs-sm); font-weight: 600; color: var(--fg); }
.req { font-weight: 400; color: var(--fg-muted); }
.hint { font-size: var(--fs-sm); color: var(--fg-muted); }
.input {
  width: 100%; min-height: var(--btn-h); padding: var(--s3) var(--s4);
  background: var(--field-bg); color: var(--fg);
  border: 1.5px solid var(--field-border); border-radius: var(--r-sig-sm);
  font: inherit; font-size: var(--fs-base);
}
textarea.input { min-height: 8rem; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--fg-muted); opacity: 1; }
.input:focus-visible, .input:focus { outline: 2px solid var(--focus); outline-offset: 3px; border-color: var(--brand-text); }
.input[aria-invalid="true"] { border-color: var(--error); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: var(--s2); }
.choices { display: grid; gap: var(--s2); }
.choice {
  display: flex; align-items: center; gap: var(--s3);
  min-height: var(--btn-h); padding: var(--s2) var(--s4);
  border: 1.5px solid var(--line); border-radius: var(--r-sig-sm);
  background: var(--field-bg); cursor: pointer;
}
.choice input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 24px; height: 24px; border: 1.5px solid var(--field-border); border-radius: 4px; background: var(--field-bg);
  display: grid; place-items: center; cursor: pointer;
}
.choice input::after {
  content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--on-brand); border-bottom: 2.5px solid var(--on-brand);
  transform: rotate(-45deg) translate(1px, -1px); opacity: 0;
}
.choice input:checked { background: var(--brand); border-color: var(--brand); }
.choice input:checked::after { opacity: 1; }
.choice:has(input:checked) { border-color: var(--brand-text); }
.choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.choice input:focus-visible { outline: none; }
.choices[aria-invalid="true"] .choice, fieldset[aria-invalid="true"] .choice { border-color: var(--error); }
.field-error { display: flex; gap: var(--s2); align-items: flex-start; color: var(--error); font-size: var(--fs-sm); font-weight: 600; }
.field-error .icon { width: 18px; height: 18px; margin-top: 2px; }
.field-error[hidden] { display: none; }
.photo-tip { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); padding: var(--s4); border: 1px dashed var(--field-border); border-radius: var(--r-sig-sm); color: var(--fg-muted); }
.photo-tip .icon { color: var(--brand-text); margin-top: 2px; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.error-summary { border: 2px solid var(--error); border-radius: var(--r-sig-sm); padding: var(--s4); display: grid; gap: var(--s2); }
.error-summary h2 { font-family: var(--font-body); font-stretch: normal; font-size: var(--fs-base); color: var(--error); }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--fg); }
.error-summary[hidden] { display: none; }
.form-alert { border: 2px solid var(--error); border-radius: var(--r-sig-sm); padding: var(--s4); display: grid; gap: var(--s3); }
.form-alert[hidden] { display: none; }
.form-alert .btn-row .btn { flex: 1 1 0; }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--on-brand); border-radius: 50%; display: none; }
.is-sending .spinner { display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .is-sending .spinner { animation-duration: 2.4s; } }

.result-panel { display: grid; gap: var(--s4); justify-items: start; }
.result-panel[hidden] { display: none; }
.result-panel h2 { font-size: 1.5rem; }
.result-panel h2:focus { outline: none; }
.result-panel h2:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.result-panel p { color: var(--fg-muted); }
.result-icon { width: 48px; height: 48px; border-radius: var(--r-sig-sm); display: grid; place-items: center; }
.result-icon .icon { width: 28px; height: 28px; }
.result-icon--success { background: rgba(110,220,159,.12); color: var(--success); }
.result-icon--info { background: var(--bg-tint); color: var(--brand-text); }
.result-panel .btn-row { width: 100%; }

/* ---------- 404 ---------- */
.notfound { padding-block: var(--s8) var(--s9); display: grid; gap: var(--s5); justify-items: start; }
.notfound .btn-row { width: 100%; max-width: 32rem; }

/* ---------- PhotoSwipe theme ---------- */
.pswp { --pswp-bg: var(--bg); --pswp-placeholder-bg: var(--bg-raised); --pswp-icon-color: var(--fg); --pswp-icon-color-secondary: var(--bg); --pswp-icon-stroke-color: var(--bg); }
.pswp__button { min-width: var(--tap); min-height: var(--tap); }
.pswp__counter { font-family: var(--font-body); font-weight: 600; opacity: 1; color: var(--fg); }
.pswp__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom));
  background: rgba(11,10,14,.88); color: var(--fg); font-size: var(--fs-sm); text-align: center;
}
.pswp__button:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }

/* Travel note under the service area */
.fact-note { display: block; margin-top: var(--s1, 4px); color: var(--fg-muted); font-weight: 400; font-size: .9em; }
