/* Acton Detailing — palette pulled from the logo: black, charcoal, chrome silver, steel. */
:root {
  --bg: #f2f3f4;
  --bg-soft: #e7e9ea;
  --card: #ffffff;
  --ink: #0b0c0d;
  --ink-2: #33383b;
  --muted: #565d61;
  --line: rgba(11, 12, 13, .1);
  --line-strong: rgba(11, 12, 13, .18);
  --chrome: #dcdee0;
  --silver: #9a9da0;
  --steel: #3f4b4a;
  --steel-2: #6f8a88;
  --charcoal: #161718;
  --charcoal-2: #242627;
  --on-dark: #eceeef;
  --on-dark-muted: #b4b9bc;

  /* Theme tokens: light values here, dark overrides in the [data-theme="dark"] block below */
  --surface: #ffffff;
  --disc-bg: linear-gradient(160deg, #f5f6f6, #d9dcde);
  --glass-nav: rgba(255, 255, 255, .78);
  --glass-nav-line: rgba(255, 255, 255, .9);
  --glass-pill: rgba(255, 255, 255, .85);
  --glass-proof: rgba(255, 255, 255, .88);
  --glass-trust: rgba(255, 255, 255, .7);
  --glass-trust-line: rgba(255, 255, 255, .8);
  --glass-disc: rgba(255, 255, 255, .9);
  --glass-cap: rgba(255, 255, 255, .82);
  --glass-ghost: rgba(255, 255, 255, .8);
  --inset-hl: rgba(255, 255, 255, .9);
  --hero-glow: #eef2f2;
  --hero-glow-0: rgba(238, 242, 242, 0);
  --hero-a: #f8f9f9;
  --hero-b: #e4e7e8;
  --hero-c: #c9cfd0;
  --btn-bg: linear-gradient(180deg, #26282a, #0c0d0e);
  --btn-fg: #ffffff;
  --btn-hl: rgba(255, 255, 255, .18);
  --on-ink: #ffffff;
  --star: #b7791f;
  --ok-bg: #e7f0ee;
  --ok-fg: #23403c;
  --err-bg: #fbe9e7;
  --err-fg: #7a1f16;
  --err: #b42318;
  --thumb-bg: linear-gradient(160deg, #e9ebec, #d6d9db);
  --map-filter: grayscale(.85) contrast(1.05);
  --avatar-bg: #161718;
  --avatar-fg: #ffffff;

  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-card: 0 1px 0 var(--inset-hl) inset, 0 18px 40px -26px rgba(12, 16, 18, .38);
  --shadow-pop: 0 24px 60px -28px rgba(12, 16, 18, .5);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(11, 12, 13, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--steel-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--on-ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 12px var(--gutter) 0; }
.nav {
  max-width: calc(var(--wrap) + 40px); margin-inline: auto; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 12px 0 22px;
  background: var(--glass-nav);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--glass-nav-line);
  border-radius: 26px;
  box-shadow: 0 1px 0 var(--inset-hl) inset, 0 12px 34px -20px rgba(12, 16, 18, .35), 0 0 0 1px var(--line);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav__links a { position: relative; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 10px 2px; }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; border-radius: 2px; background: var(--ink);
}
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 6px; }
.nav__toggle {
  display: none; width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  padding: calc(var(--header-h) + 36px) var(--gutter) 40px; display: none; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a.mm-link { font-size: 28px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: -.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 1px 0 var(--btn-hl) inset, 0 12px 26px -14px rgba(0, 0, 0, .7);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--btn-hl) inset, 0 18px 30px -14px rgba(0, 0, 0, .75); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 48px; padding: 0 20px; font-size: 15px; }
.btn--ghost {
  background: var(--glass-ghost); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-strong), 0 10px 24px -18px rgba(0, 0, 0, .5);
}
.btn--ghost:hover { background: var(--surface); box-shadow: 0 0 0 1px var(--ink), 0 14px 26px -16px rgba(0, 0, 0, .5); }
.btn--light { background: #fff; color: #0b0c0d; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .6); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--outline-light:hover { box-shadow: 0 0 0 1px #fff; background: rgba(255, 255, 255, .06); }
.btn__disc {
  display: grid; place-items: center; width: 34px; height: 34px; margin-right: -12px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.btn--ghost .btn__disc, .btn--light .btn__disc { background: rgba(11, 12, 13, .07); }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.h2 { font-size: clamp(32px, 4.6vw, 54px); }
.h3 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.section-head .lead { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: 16px var(--gutter) 0; }
.hero__frame {
  position: relative; max-width: calc(var(--wrap) + 40px); margin-inline: auto; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  min-height: clamp(600px, 78vh, 760px);
  background:
    radial-gradient(900px 480px at 78% 8%, var(--hero-glow) 0%, var(--hero-glow-0) 65%),
    linear-gradient(115deg, var(--hero-a) 0%, var(--hero-b) 46%, var(--hero-c) 100%);
  box-shadow: 0 0 0 1px var(--line);
}
.hero__media {
  position: absolute; z-index: -1; inset: 0 0 0 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 14%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 14%, #000 40%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(20, 24, 26, .22), rgba(20, 24, 26, 0) 40%);
}
.hero__copy { padding: clamp(36px, 7vw, 92px) clamp(24px, 5vw, 64px) 190px; max-width: 640px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--glass-pill); font-size: 14px; font-weight: 700; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px -14px rgba(0, 0, 0, .4);
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--steel-2); box-shadow: 0 0 0 4px rgba(111, 138, 136, .25); }
.hero h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: -.045em; line-height: .98; margin: 22px 0 22px; }
.hero h1 .pill { display: flex; width: fit-content; margin-bottom: 26px; font-size: 14px; letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.hero .lead { color: var(--ink-2); margin-bottom: 30px; }
.hero__proof {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 999px;
  background: var(--glass-proof); text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 0 0 1px var(--line), 0 10px 26px -18px rgba(0, 0, 0, .5);
}
.hero__proof .stars { display: inline-flex; color: var(--star); }
.hero__proof span.muted { color: var(--ink-2); font-weight: 500; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars .icon { width: 16px; height: 16px; }

.trust {
  position: absolute; left: clamp(14px, 3vw, 40px); right: clamp(14px, 3vw, 40px); bottom: clamp(14px, 3vw, 32px);
  display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 12px;
  background: var(--glass-trust); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  border-radius: 26px; box-shadow: 0 0 0 1px var(--glass-trust-line), 0 24px 50px -30px rgba(0, 0, 0, .5);
}
.trust li { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 0 12px; position: relative; }
.trust li + li::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: var(--line); }
.trust .disc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--glass-disc); box-shadow: 0 0 0 1px var(--line); margin-bottom: 6px; }
.trust strong { font-size: 16px; letter-spacing: -.01em; }
.trust span { font-size: 14px; color: var(--ink-2); line-height: 1.35; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 34px);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.card { text-decoration: none; display: block; }
a.card:hover, .card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), 0 0 0 1px var(--line-strong), 0 28px 46px -30px rgba(12, 16, 18, .5); }
.card .icon-disc {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 22px;
  background: var(--disc-bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line);
}
.card .icon-disc .icon { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); font-weight: 600; }
.card__price strong { color: var(--ink); font-size: 16px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); font-size: 15px; }
.card__more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.card:hover .card__more .icon { transform: translateX(4px); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 6px; }
.step::before {
  counter-increment: step; content: "0" counter(step); display: block; font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--steel);
  margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.work-tile {
  position: relative; grid-column: span 4; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--bg-soft);
  padding: 0; border: 0; cursor: zoom-in; box-shadow: 0 0 0 1px var(--line);
}
.work-tile--wide { grid-column: span 8; }
.work-tile--tall { grid-row: span 2; aspect-ratio: auto; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-tile:hover img { transform: scale(1.045); }
.work-tile figcaption, .work-tile .cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; gap: 8px; align-items: center; justify-content: space-between;
  padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); text-align: left;
  background: var(--glass-cap); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease);
}
.work-tile:hover .cap, .work-tile:focus-visible .cap { opacity: 1; transform: none; }
@media (hover: none) { .work-tile .cap { opacity: 1; transform: none; } }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; background: var(--surface); color: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s;
}
.chip:hover { box-shadow: 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry .work-tile { display: block; width: 100%; grid-column: auto; aspect-ratio: auto; margin: 0 0 16px; break-inside: avoid; }
.masonry .work-tile img { height: auto; }
.masonry .work-tile[hidden] { display: none; }

.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.ba figure { margin: 0; justify-self: center; width: min(100%, 340px); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pop), 0 0 0 1px var(--line); }

/* ---------- Dark section (video + CTA) ---------- */
.dark {
  color: var(--on-dark);
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(111, 138, 136, .22), transparent 70%),
    linear-gradient(180deg, #202223 0%, #101112 100%);
}
.dark .eyebrow { color: #a7bcba; }
.dark .lead, .dark p { color: var(--on-dark-muted); }
.dark h2, .dark h3 { color: #fff; }
.videos { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.video { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video--land video { aspect-ratio: 16 / 9; }
.video--port { max-height: 560px; }
.video--port video { aspect-ratio: 9 / 16; max-height: 560px; margin-inline: auto; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Reviews ---------- */
.rating-sum { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rating-sum .big { font-size: clamp(44px, 6vw, 68px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.rating-sum .stars .icon { width: 22px; height: 22px; color: var(--star); }
.review { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.review .stars { color: var(--star); }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--avatar-bg); color: var(--avatar-fg); font-weight: 800; }
.review .who { font-weight: 700; line-height: 1.2; }
.review .who small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.area-chips a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--surface); font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s var(--ease);
}
.area-chips a:hover { box-shadow: 0 0 0 1px var(--ink); transform: translateY(-2px); }
.area-chips .icon { width: 16px; height: 16px; color: var(--steel); }
.map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pop), 0 0 0 1px var(--line); background: var(--bg-soft); aspect-ratio: 4 / 3.4; }
.map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; min-height: 64px; font-weight: 700; font-size: 18px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 400; line-height: 1; color: var(--steel); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 80px); }
.cta::after {
  content: ""; position: absolute; right: -60px; bottom: -90px; width: min(46%, 420px); aspect-ratio: 512 / 612; opacity: .09;
  background: url("/assets/img/logo-shield.png") center / contain no-repeat; pointer-events: none;
}
.cta h2 { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; margin-bottom: 18px; }
.cta p { max-width: 52ch; margin-bottom: 30px; font-size: 19px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.04em; max-width: 18ch; margin: 18px 0 20px; }
.page-hero .lead { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs { list-style: none; padding: 0; margin: 0 0 6px; }
.crumbs li { display: inline-flex; }

/* ---------- Services page ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pop), 0 0 0 1px var(--line); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row__media--compare { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
/* Tall/portrait photos (like the interior before-and-after) show whole, never cropped */
.service-row__media--natural { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; display: grid; justify-items: center; }
.service-row__media--natural img { width: min(100%, 320px); height: auto; object-fit: contain; border-radius: var(--r-lg); box-shadow: var(--shadow-pop), 0 0 0 1px var(--line); }
.service-row__media--natural .compare__hint { text-align: center; }

/* ---------- Before / after slider ---------- */
.compare {
  --pos: 50%; position: relative; overflow: hidden; border-radius: var(--r-lg); background: #111;
  box-shadow: var(--shadow-pop), 0 0 0 1px var(--line); user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y;
}
.compare__range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 2000px; }
.compare__range::-moz-range-track { height: 100%; background: transparent; }
.compare__range::-moz-range-thumb { width: 56px; height: 2000px; border: 0; background: transparent; }
.compare__bar { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), 0 0 18px rgba(0, 0, 0, .35); pointer-events: none; }
.compare__knob {
  position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 52px; height: 52px; translate: -50% -50%;
  border-radius: 50%; background: #fff; color: #0b0c0d; box-shadow: 0 6px 20px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .1);
}
.compare__knob .icon { width: 24px; height: 24px; stroke-width: 2.25; }
.compare__range:focus-visible ~ .compare__bar .compare__knob { outline: 3px solid var(--steel-2); outline-offset: 3px; }
.compare__tag {
  position: absolute; z-index: 2; top: 14px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255, 255, 255, .92); color: #0b0c0d; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); pointer-events: none;
}
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; background: rgba(11, 12, 13, .88); color: #fff; }
.compare__hint { margin: 14px 4px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.prose figure .compare { box-shadow: 0 0 0 1px var(--line); }
.service-row h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 14px; }
.service-row .price-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 15px; margin: 6px 0 20px; }
.checks { display: grid; gap: 10px; margin: 0 0 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--steel); }
.tiers { margin: 6px 0 22px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.tiers__note { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tiers ul { display: grid; }
.tiers li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; }
.tiers li:first-child { border-top: 0; }
.tiers li strong { font-size: 22px; letter-spacing: -.02em; }
.service-extra { margin: 0 0 26px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); scroll-margin-top: 100px; }
.service-extra h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -.02em; }
.service-extra p { color: var(--muted); }
.service-extra .checks { margin-bottom: 18px; }

/* ---------- Prose (blog + area pages) ---------- */
.prose-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 70ch; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 2.2em 0 .6em; color: var(--ink); scroll-margin-top: 100px; }
.prose h3 { font-size: 22px; margin: 1.8em 0 .5em; color: var(--ink); letter-spacing: -.02em; }
.prose p { margin-bottom: 1.25em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose li { margin-bottom: .55em; padding-left: .2em; }
.prose li::marker { color: var(--steel-2); }
.prose a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration-color: var(--steel-2); text-decoration-thickness: 2px; }
.prose a:not(.btn):hover { text-decoration-color: var(--ink); }
.prose .btn { text-decoration: none; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); width: 100%; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.callout { margin: 2em 0; padding: 22px 26px; border-radius: var(--r-md); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); border-left: 4px solid var(--steel-2); }
.callout p { margin: 0; }
.callout strong { color: var(--ink); }
.toc, .side-card { position: sticky; top: 96px; }
.side-card { padding: 28px; }
.side-card h3 { font-size: 22px; margin-bottom: 8px; }
.side-card p { font-size: 15px; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-card .btn + .btn { margin-top: 10px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 20px; }
.article-hero { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; margin-bottom: clamp(32px, 5vw, 56px); box-shadow: 0 0 0 1px var(--line); background: var(--bg-soft); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
/* Lower-resolution photos are shown whole at a size where they stay sharp, instead of being cropped and stretched */
.article-hero--compact { aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; display: grid; justify-items: center; }
.article-hero--compact img { width: min(100%, 720px); height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-pop), 0 0 0 1px var(--line); }
.post-card__img img.contain { object-fit: contain; background: var(--thumb-bg); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__tag { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.post-card h3 { font-size: 22px; letter-spacing: -.02em; }
.post-card p { font-size: 15px; line-height: 1.55; }
.post-card .card__more { margin-top: auto; padding-top: 6px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.field .req { color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 0; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-strong); transition: box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--ink); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--err); }
.field .err { color: var(--err); font-size: 14px; font-weight: 600; min-height: 0; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { padding: 16px 20px; border-radius: 14px; font-weight: 600; margin-top: 18px; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--ok-bg); color: var(--ok-fg); }
.form-status--err { background: var(--err-bg); color: var(--err-fg); }
.contact-cards { display: grid; gap: 14px; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-md); background: var(--surface); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s var(--ease); }
a.contact-line:hover { box-shadow: 0 0 0 1px var(--ink); transform: translateY(-2px); }
.contact-line .disc { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--disc-bg); flex: none; }
.contact-line small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.contact-line strong { font-size: 18px; letter-spacing: -.01em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(64px, 9vw, 116px); background: linear-gradient(180deg, #1c1e1f, #0d0e0f); color: var(--on-dark-muted); padding: clamp(48px, 6vw, 80px) 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.footer-brand img { height: 78px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; font-size: 15px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.site-footer li { margin-bottom: 4px; }
.site-footer a { text-decoration: none; color: var(--on-dark-muted); font-size: 15px; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; }
.footer-social a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(36px, 5vw, 64px); padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-bottom a { font-size: 14px; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 9, 10, .92); }
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: calc(100dvh - 120px); width: auto; max-width: 100%; border-radius: 16px; object-fit: contain; }
.lightbox figcaption { color: #fff; font-weight: 600; text-align: center; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox button .icon { width: 22px; height: 22px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1100px) { .nav__phone { display: inline-flex; } }
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn { display: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .prose-wrap { grid-template-columns: 1fr; }
  .toc, .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .areas, .ba, .service-row, .videos { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .video--port { max-width: 340px; justify-self: center; }
}
@media (max-width: 820px) {
  .hero__frame { min-height: 0; display: flex; flex-direction: column; }
  .hero__media {
    position: relative; inset: auto; order: -1; height: 300px; z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .hero__media img { object-position: 20% 60%; }
  .hero__media::after { display: none; }
  .hero__copy { padding: 6px 22px 28px; }
  .trust { position: static; margin: 0 14px 14px; grid-template-columns: 1fr; padding: 8px 12px; }
  .trust li { grid-template-columns: 44px 1fr; justify-items: start; text-align: left; column-gap: 14px; padding: 12px 4px; }
  .trust li + li::before { left: 4px; right: 4px; top: 0; bottom: auto; width: auto; height: 1px; }
  .trust .disc { grid-row: span 2; margin: 0; }
  .work-tile, .work-tile--wide { grid-column: span 6; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; padding-bottom: 76px; }
  .grid--3, .grid--2, .form-grid { grid-template-columns: 1fr; }
  .brand img { height: 40px; }
  .work-tile, .work-tile--wide { grid-column: span 12; }
  .work-tile--tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-hero { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(242, 243, 244, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line);
  }
  .callbar .btn { min-height: 52px; padding: 0 14px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; translate: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ---------- Theme toggle + logo swap ---------- */
.brand .logo-dark { display: none; }
.theme-toggle {
  display: inline-flex; width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; align-items: center; justify-content: center; transition: transform .2s var(--ease), box-shadow .2s;
}
.theme-toggle:hover { box-shadow: 0 0 0 1px var(--ink); }
.theme-toggle .i-sun { display: none; }
.theme-toggle .icon { width: 22px; height: 22px; }
::placeholder { color: var(--muted); opacity: 1; }

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0e0f;
  --bg-soft: #181a1b;
  --card: #17191a;
  --surface: #1c1e20;
  --ink: #f2f3f4;
  --ink-2: #cfd3d6;
  --muted: #a5acb0;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .24);
  --steel: #9dbcb9;
  --steel-2: #86a8a5;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -26px rgba(0, 0, 0, .8);
  --shadow-pop: 0 24px 60px -28px rgba(0, 0, 0, .9);
  --disc-bg: linear-gradient(160deg, #2b2e30, #1d1f21);
  --glass-nav: rgba(23, 25, 26, .8);
  --glass-nav-line: rgba(255, 255, 255, .08);
  --glass-pill: rgba(22, 24, 25, .78);
  --glass-proof: rgba(20, 22, 23, .82);
  --glass-trust: rgba(16, 18, 19, .86);
  --glass-trust-line: rgba(255, 255, 255, .1);
  --glass-disc: rgba(255, 255, 255, .1);
  --glass-cap: rgba(22, 24, 25, .84);
  --glass-ghost: rgba(255, 255, 255, .08);
  --inset-hl: rgba(255, 255, 255, .05);
  --hero-glow: rgba(58, 70, 70, .85);
  --hero-glow-0: rgba(58, 70, 70, 0);
  --hero-a: #1a1c1d;
  --hero-b: #131415;
  --hero-c: #0b0c0c;
  --btn-bg: linear-gradient(180deg, #f8f9f9, #d6dadc);
  --btn-fg: #0b0c0d;
  --btn-hl: rgba(255, 255, 255, .6);
  --on-ink: #0b0c0d;
  --star: #e6b043;
  --ok-bg: #1b302d;
  --ok-fg: #bfe6de;
  --err-bg: #3b1b18;
  --err-fg: #ffb9af;
  --err: #ff9184;
  --thumb-bg: linear-gradient(160deg, #26292b, #1b1d1e);
  --map-filter: invert(.92) hue-rotate(180deg) grayscale(.6) brightness(.9) contrast(.95);
  --avatar-bg: #dfe3e5;
  --avatar-fg: #0b0c0d;
}
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .btn--ghost .btn__disc { background: rgba(255, 255, 255, .12); }
:root[data-theme="dark"] .btn--light .btn__disc { background: rgba(11, 12, 13, .08); }
:root[data-theme="dark"] .btn:not(.btn--ghost):not(.btn--light):not(.btn--outline-light) .btn__disc { background: rgba(11, 12, 13, .1); }
:root[data-theme="dark"] .cta { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
:root[data-theme="dark"] .site-footer { box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); }
:root[data-theme="dark"] .mobile-menu { background: var(--bg); }
:root[data-theme="dark"] .work-tile { background: var(--bg-soft); }
:root[data-theme="dark"] .callbar { background: rgba(13, 14, 15, .9); }
