/* Overtake Cycle Performance
   Palette pulled from the logo (charcoal, signal red, white) plus the
   anodized gold of the fork tubes. Archivo's width + italic axes stand in
   for the logo's slanted block lettering. */

:root {
  --charcoal: #1c1c1c;      /* logo background */
  --pit: #141414;
  --surface: #252525;
  --line: #3a3a3a;
  --white: #f4f4f2;
  --muted: #b3b3ae;
  --red: #c62828;           /* logo red; white text on it = 5.6:1 */
  --red-hot: #e0352f;
  --gold: #c9a45c;          /* fork tube gold */
  --focus: #f5c76b;
  --frame: #000;            /* photo frames: a step darker than any section */

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --slant: -12deg;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  --wrap: 1200px;
  --gutter: 16px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  --z-header: 40;
  --z-actionbar: 50;
  --z-dialog: 100;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }


*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* room for the mobile action bar */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

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

.skip-link {
  position: absolute; left: var(--s3); top: -100px; z-index: 999;
  background: var(--white); color: var(--pit); padding: var(--s2) var(--s3); font-weight: 700;
}
.skip-link:focus { top: var(--s3); }

/* ---------- type ---------- */
.display {
  font-family: var(--font);
  font-weight: 900;
  font-style: italic;
  font-stretch: 70%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: .92;
}
.h2 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
.h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); }

.section-head { max-width: 62ch; margin-bottom: var(--s6); }
.section-head p { color: var(--muted); margin-top: var(--s3); font-size: 1.0625rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3); }

section { padding-block: var(--s7); }
@media (min-width: 768px) { section { padding-block: var(--s8); } }

/* Darker bands are cut on the logo's slant instead of stacking as flat boxes,
   with faint diagonal "speed lines" in the surface. */
.services, .setup, .estimates, .reviews {
  --cut: clamp(28px, 4.5vw, 72px);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  padding-block: calc(var(--s7) + var(--cut));
  background-image: repeating-linear-gradient(118deg, rgba(255, 255, 255, .022) 0 2px, transparent 2px 26px);
}
@media (min-width: 768px) { .services, .setup, .estimates, .reviews { padding-block: calc(var(--s8) + var(--cut)); } }
.estimates, .reviews { background-color: var(--pit); }

/* section labels: race-number style, numbered in red */
.tag {
  display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3);
  font-style: normal; font-stretch: 100%; font-size: .8125rem; font-weight: 800; line-height: 1;
  letter-spacing: .16em; color: var(--gold);
}
.tag b { color: var(--red); font-weight: 900; font-style: italic; letter-spacing: .04em; }
.tag b::after { content: ""; display: inline-block; width: 18px; height: 2px; margin-left: var(--s2); vertical-align: middle; background: var(--line); transform: skewX(-30deg); }

.text-link {
  display: inline-block; margin-top: var(--s4);
  font-weight: 700; color: var(--white); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- buttons: skewed like the logo's underline bar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s4);
  transform: skewX(var(--slant));
  border: 2px solid transparent; border-radius: 2px;
  font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color .18s var(--ease-out), border-color .18s var(--ease-out), color .18s var(--ease-out), translate .25s var(--ease-out);
}
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sweep, var(--pit)); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.btn > span { display: inline-flex; align-items: center; gap: var(--s2); transform: skewX(calc(var(--slant) * -1)); }
.btn-red { background: var(--red); color: #fff; }
.btn-red { --sweep: var(--pit); }
.btn-red:hover { border-color: var(--red); }
.btn-red:active { background: #a81f1f; }
.btn-ghost { border-color: var(--gold); color: var(--white); background: rgba(201, 164, 92, .1); }
.btn-ghost .icon { color: var(--gold); }
.btn-ghost { --sweep: var(--gold); }
.btn-ghost:hover { color: var(--pit); }
.btn-ghost:hover .icon { color: var(--pit); }
.btn-sm { min-height: 44px; padding: 0 var(--s3); font-size: .875rem; }
.btn[hidden] { display: none; }

/* ---------- top bar + header ---------- */
/* quiet info strip: charcoal with a gold accent, red stays reserved for actions */
/* contact row: what you need before you scroll, set in a quiet charcoal strip */
.topbar { background: var(--pit); color: var(--muted); border-bottom: 1px solid var(--line); font-size: .8125rem; font-weight: 600; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px var(--s4); padding-block: var(--s2); }
.topbar-item { display: inline-flex; align-items: center; gap: var(--s2); white-space: nowrap; }
.topbar .icon { color: var(--gold); width: 18px; height: 18px; flex: none; }
.topbar a { color: var(--white); font-weight: 800; text-decoration: none; border-bottom: 1px solid transparent; }
.topbar a:hover { color: var(--gold); }
.topbar-wide { display: none; }
@media (min-width: 900px) {
  .topbar-inner { justify-content: flex-end; }
  .topbar-inner > p { margin-right: auto; }
  .topbar-wide { display: inline-flex; }
}

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(20, 20, 20, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
.brand img { height: 44px; width: auto; }
@media (min-width: 768px) { .brand img { height: 52px; } }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: var(--s1); }
.site-nav a {
  display: block; padding: var(--s2) var(--s3);
  font-weight: 700; font-size: .9375rem; text-decoration: none; color: var(--muted); white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--white); }
.site-nav a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--red); }

.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-phone { display: none; align-items: center; gap: var(--s2); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--gold); }
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

.menu-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}

@media (max-width: 1023px) {
  .header-inner { justify-content: space-between; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    /* the header's backdrop-filter makes it the containing block, so this sits right under it */
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100dvh - 100%); overflow-y: auto;
    background: var(--pit); border-bottom: 1px solid var(--line);
    padding: var(--s3) var(--gutter) var(--s5);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility 0s .18s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { font-size: 1.25rem; padding: var(--s3) 0; color: var(--white); border-bottom: 1px solid var(--line); }
}

/* ---------- hero ---------- */
.hero {
  --hcut: clamp(36px, 6vw, 96px);
  position: relative; isolation: isolate; padding: 0; min-height: min(88dvh, 820px); display: flex; align-items: center; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hcut)), 0 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--hcut) + 10px);
  background: var(--red); clip-path: polygon(0 calc(100% - 10px), 100% 0, 100% 10px, 0 100%);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,20,20,.96) 0%, rgba(20,20,20,.86) 38%, rgba(20,20,20,.25) 75%, rgba(20,20,20,.1) 100%),
    linear-gradient(0deg, rgba(28,28,28,1) 0%, rgba(28,28,28,0) 22%);
}
@media (max-width: 767px) {
  .hero::before { background: linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.88) 45%, rgba(28,28,28,1) 100%); }
  .hero-media img { object-position: 62% 50%; }
}
.hero-content { padding-block: var(--s7) calc(var(--s8) + var(--hcut) * .5); }
.hero-kicker { display: flex; align-items: center; gap: var(--s3); color: var(--gold); font-weight: 700; font-size: .9375rem; margin-bottom: var(--s3); }
.hero-kicker::before { content: ""; flex: none; width: 36px; height: 3px; background: var(--gold); transform: skewX(-30deg); }
.hero-title { font-size: clamp(3.4rem, 11vw, 8.75rem); }
.hero-title .line { display: block; }
.slash-bar {
  display: block; width: min(560px, 80%); height: 14px; margin: var(--s4) 0 var(--s4) 4px;
  background: var(--red); transform: skewX(-40deg); transform-origin: left;
}
.hero-lede { max-width: 52ch; font-size: 1.125rem; color: #dcdcd8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

/* the one orchestrated moment: the headline rides in, the red bar follows */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line { animation: ride-in .7s var(--ease-out) both; }
  .hero-title .line:nth-child(2) { animation-delay: .08s; }
  .hero-title .line:nth-child(3) { animation-delay: .16s; }
  .slash-bar { animation: bar-in .55s var(--ease-out) .38s both; }
  @keyframes ride-in { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
  @keyframes bar-in { from { transform: skewX(-40deg) scaleX(0); } to { transform: skewX(-40deg) scaleX(1); } }
}

/* ---------- credentials strip ---------- */
.creds {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-block: 1px solid var(--line);
}
.creds li {
  display: flex; align-items: center; gap: var(--s3);
  background: var(--pit); padding: var(--s4) var(--gutter);
  font-size: .9375rem; color: var(--muted);
}
.creds strong { color: var(--white); font-weight: 800; }
.creds .icon { color: var(--gold); width: 26px; height: 26px; }
@media (min-width: 1024px) { .creds { grid-template-columns: repeat(4, 1fr); } }

/* ---------- reviews ---------- */
.reviews { overflow: hidden; }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
.reviews-grid > * { min-width: 0; }
.reviews-body .h2 { margin-bottom: var(--s4); }
.reviews-meta { display: flex; align-items: center; gap: var(--s2); font-weight: 700; color: var(--muted); margin-bottom: var(--s4); }
.reviews-meta .star { color: var(--gold); fill: var(--gold); }
.reviews-empty { display: grid; gap: var(--s4); justify-items: start; }
@media (min-width: 960px) {
  .reviews-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 var(--s8); align-items: end; }
  .reviews-body .h2 { margin-bottom: 0; }
  .reviews-meta { grid-column: 1; margin: var(--s3) 0 0; }
}
.reviews-empty p { max-width: 52ch; color: var(--muted); font-size: 1.0625rem; }

.marquee { position: relative; margin-top: var(--s6); }
.marquee[hidden] { display: none; }
.marquee-track { display: flex; gap: var(--s3); width: max-content; padding-inline: var(--gutter); }
@media (prefers-reduced-motion: no-preference) {
  .marquee.is-moving .marquee-track { animation: marquee var(--marquee-duration, 60s) linear infinite; }
  .marquee.is-moving:hover .marquee-track, .marquee.is-moving:focus-within .marquee-track { animation-play-state: paused; }
}
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
  .marquee-toggle { display: none; }
}
.review {
  width: min(340px, 80vw); flex: none; scroll-snap-align: start;
  background: var(--charcoal); border-left: 3px solid var(--red);
  padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3);
}
.review-stars { display: flex; gap: 2px; color: var(--gold); }
.review-stars .icon { fill: currentColor; width: 16px; height: 16px; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.review cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: .9375rem; margin-top: auto; }
.marquee-toggle {
  display: flex; width: fit-content; align-items: center; gap: var(--s2);
  margin: 0 var(--gutter) var(--s3) auto;
  min-height: 40px; padding: 0 var(--s3);
  background: transparent; border: 1px solid var(--line); border-radius: 2px;
  color: var(--muted); font-size: .875rem; font-weight: 600; cursor: pointer;
}
.marquee-toggle:hover { color: var(--white); border-color: var(--muted); }

/* ---------- services ---------- */
.services { background: var(--pit); }
.services-grid { display: grid; gap: var(--s6); }
.services-head { margin-bottom: 0; }
.services-head .btn { margin-top: var(--s5); }
.service-list { display: grid; gap: var(--s5); }
.service { display: grid; background: var(--charcoal); border: 1px solid var(--line); }
.service-body { padding: var(--s4) var(--s4) var(--s5); }
.service-body .h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.service .ticks { font-size: .9375rem; }
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: 3fr 7fr; gap: var(--s7); align-items: start; }
  .services-head { position: sticky; top: 120px; }
}
/* photo full width on top at its own shape, details underneath */
@media (min-width: 720px) {
  .service-body { padding: var(--s5); }
  .service .ticks { grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s5); }
}
/* black frame with the logo's red underline bar set into the bottom edge */
.service-media { position: relative; display: block; overflow: hidden; background: var(--frame); }
.service-media::before { content: ""; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 0 10px var(--frame); pointer-events: none; }
.service-media img { width: 100%; height: auto; }
.service-media::after {
  content: ""; position: absolute; bottom: 0; left: 32px; z-index: 2;
  width: min(34%, 170px); height: 10px; background: var(--red); transform: skewX(-40deg);
}

.service-body p { color: var(--muted); margin-top: var(--s3); max-width: 54ch; }
.ticks { margin-top: var(--s4); display: grid; gap: var(--s2); }
.ticks li { position: relative; padding-left: var(--s5); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 14px; height: 6px; background: var(--red); transform: skewX(-30deg);
}


/* ---------- estimate steps (a real sequence, so numbered) ---------- */
.steps { display: grid; gap: var(--s5); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: var(--s7); border-top: 2px solid var(--line); }
.steps li::before {
  content: counter(step);
  position: absolute; top: var(--s3); left: 0;
  font-weight: 900; font-style: italic; font-stretch: 70%; font-size: 2.5rem; line-height: 1;
  color: var(--red);
}
.steps li:first-child { border-top-color: var(--red); }
.steps h3 { font-size: 1.25rem; font-weight: 800; }
.steps p { color: var(--muted); margin-top: var(--s2); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }

/* ---------- setup ---------- */
.setup { position: relative; isolation: isolate; overflow: hidden; background-color: var(--pit); }
.setup-media { position: absolute; inset: 0; z-index: -2; }
.setup-media img { width: 100%; height: 100%; object-fit: cover; }
.setup::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,20,20,.95) 0%, rgba(20,20,20,.85) 45%, rgba(20,20,20,.55) 100%);
}
.setup-grid { display: grid; gap: var(--s6); align-items: center; }
.setup-copy p { color: #d0d0cb; margin-top: var(--s3); max-width: 56ch; font-size: 1.0625rem; }
.setup-copy .btn { margin-top: var(--s5); }
.setup-sheet {
  background: rgba(20, 20, 20, .9); border: 1px solid var(--line); border-top: 6px solid var(--gold);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px -24px rgba(20, 20, 20, .35);
  padding: var(--s5) var(--s4);
}
.setup-sheet figcaption { font-size: 1.75rem; margin-bottom: var(--s4); }
.setup-sheet dl { display: grid; gap: var(--s3); }
.setup-sheet dl > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--s3); padding: var(--s1) 0 var(--s1) var(--s3); border-left: 3px solid var(--red); }
.setup-sheet dt { font-weight: 800; color: var(--gold); }
.setup-sheet dd { color: var(--muted); }
@media (max-width: 479px) { .setup-sheet dl > div { grid-template-columns: 1fr; gap: var(--s1); } }
@media (min-width: 960px) { .setup-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }

/* ---------- mobile service ---------- */
.mobile-top { display: grid; gap: var(--s6); align-items: end; }
.mobile-copy > p { color: var(--muted); margin-top: var(--s3); max-width: 52ch; font-size: 1.0625rem; }
.mobile-copy .btn { margin-top: var(--s5); }
.ways { display: grid; gap: var(--s3); }
.ways li {
  display: flex; flex-direction: column; gap: var(--s3);
  background: var(--surface); border-top: 4px solid var(--line); padding: var(--s5) var(--s4);
}
.ways .icon { color: var(--red); width: 32px; height: 32px; }
.ways h3 { font-size: 1.5rem; font-weight: 900; font-style: italic; font-stretch: 70%; text-transform: uppercase; line-height: 1; }
.ways p { color: var(--muted); margin-top: var(--s2); }
.ways .is-featured { background: var(--red); border-top-color: var(--gold); }
.ways .is-featured .icon, .ways .is-featured p { color: #fff; }
@media (min-width: 640px) { .ways { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .mobile-top { grid-template-columns: 4fr 8fr; gap: var(--s7); }
  .ways .is-featured { transform: translateY(calc(var(--s4) * -1)); }
}
.area-map { margin-top: var(--s7); }
.area-map svg { width: 100%; height: auto; max-width: 600px; margin-inline: auto; display: block; overflow: visible; }
.area-map figcaption { text-align: center; color: var(--muted); margin-top: var(--s3); }
.area-map figcaption a { color: var(--white); font-weight: 700; text-underline-offset: 3px; }
.area-map .ring { fill: rgba(198, 40, 40, .07); stroke: var(--red); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.area-map .ring-mid { fill: rgba(198, 40, 40, .07); stroke: var(--line); stroke-dasharray: none; stroke-width: 1; }
.area-map .hwy { fill: none; stroke: var(--line); stroke-width: 3; }
.area-map text { fill: var(--muted); font-family: var(--font); font-size: 15px; font-weight: 600; }
.area-map .town circle { fill: var(--white); }
.area-map .track rect { fill: var(--gold); }
.area-map .track text { fill: var(--gold); font-weight: 800; }
.area-map .home circle { fill: var(--red); }
.area-map .home text { fill: var(--white); font-size: 20px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.area-map .ring-label { fill: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
@media (prefers-reduced-motion: no-preference) {
  .area-map .pulse { transform-origin: 300px 300px; animation: pulse 2.4s var(--ease-out) infinite; }
  @keyframes pulse { from { opacity: .6; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
}


/* ---------- gallery ---------- */
.work { background: var(--pit); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: var(--s2); }
/* black frame, corner clipped like a race number plate; goes red on hover */
.gallery li {
  overflow: hidden; background: var(--frame); padding: 6px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: background-color .2s var(--ease-out);
}
.gallery li:has(button:focus-visible) { background: var(--red); }
@media (hover: hover) { .gallery li:hover { background: var(--red); } }
.gallery button { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--surface); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out), filter .4s var(--ease-out); filter: saturate(.9); }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.04); filter: saturate(1.05); }
.gallery button:focus-visible { outline-offset: -3px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: var(--s3); } }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92dvh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 10, .88); }
.lightbox img { max-height: 88dvh; width: auto; margin-inline: auto; border: 8px solid var(--frame); border-bottom-color: var(--red); }
.lightbox-close {
  position: absolute; top: -56px; right: 0; width: 48px; height: 48px;
  display: grid; place-items: center; background: var(--red); color: #fff; border: 0; border-radius: 2px; cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in .22s var(--ease-out); }
  @keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
}

/* ---------- community ---------- */
.community { position: relative; isolation: isolate; overflow: hidden; }
.community-media { position: absolute; inset: 0; z-index: -2; }
.community-media img { width: 100%; height: 100%; object-fit: cover; }
.community::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(198,40,40,.92) 0%, rgba(150,24,24,.9) 50%, rgba(20,20,20,.55) 100%); }
.community-content { max-width: var(--wrap); }
.community-content p { max-width: 54ch; margin-block: var(--s3) var(--s5); font-size: 1.125rem; color: #fff; }
.community .btn-ghost:hover { color: var(--red); }

/* ---------- request form ---------- */
.request-grid { display: grid; gap: var(--s6); }
.request-intro p { color: var(--muted); margin-top: var(--s3); font-size: 1.0625rem; }
.contact-list { margin-top: var(--s4); display: grid; gap: var(--s2); }
.contact-list a { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); }
.contact-list .icon { color: var(--red); }
@media (min-width: 1024px) { .request-grid { grid-template-columns: 4fr 7fr; gap: var(--s8); } .request-intro { position: sticky; top: 120px; align-self: start; } }

.req-form { background: var(--pit); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: var(--s5) var(--s4); }
@media (min-width: 768px) { .req-form { padding: var(--s6); } }
.hp { position: absolute; left: -9999px; }
.progress { height: 6px; background: var(--surface); margin-bottom: var(--s3); transform: skewX(-30deg); }
.progress span { display: block; height: 100%; width: 25%; background: var(--red); transition: width .3s var(--ease-out); }
.step-count { color: var(--muted); font-size: .875rem; font-weight: 600; margin-bottom: var(--s4); }
.step { border: 0; padding: 0; margin: 0 0 var(--s5); min-width: 0; }
.js-steps .step:not(.is-active) { display: none; }
.step legend { font-size: 2rem; padding: 0; margin-bottom: var(--s4); }
.sub-legend { font-weight: 800; margin: var(--s5) 0 var(--s3); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s2); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; min-height: 52px; padding: var(--s2) var(--s3);
  border: 2px solid var(--line); border-radius: 2px; font-weight: 700;
  transition: border-color .15s, background-color .15s;
}
.choice input:hover + span { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--red); background: rgba(198, 40, 40, .16); }
.choice input:checked + span::after { content: ""; margin-left: auto; width: 10px; height: 18px; border: solid var(--red); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-2px, -2px); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.field { display: grid; gap: var(--s2); margin-top: var(--s4); }
.field[hidden], .intake[hidden] { display: none; }
.field label { font-weight: 700; font-size: .9375rem; }
.field abbr { color: var(--red); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s2) var(--s3);
  background: var(--charcoal); border: 2px solid var(--line); border-radius: 2px;
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a85; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 164, 92, .35); }
.field [aria-invalid="true"] { border-color: var(--error, var(--red-hot)); }
.field-row { display: grid; gap: 0 var(--s3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.help { color: var(--muted); font-size: .9375rem; }
.field-error { color: var(--error, #ff8a80); font-size: .9375rem; font-weight: 600; margin-top: var(--s1); }
.field-error[hidden] { display: none; }
.form-errors { border-left: 4px solid var(--red-hot); background: rgba(198, 40, 40, .14); padding: var(--s3) var(--s4); margin-bottom: var(--s4); }
.form-errors a { font-weight: 700; }
.form-errors[hidden] { display: none; }

.intake { margin-top: var(--s4); padding-top: var(--s2); border-top: 1px dashed var(--line); }
.intake .sub-legend { color: var(--gold); }

.file-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-top: var(--s4); }
.file {
  position: relative; display: grid; place-items: center; gap: var(--s2); text-align: center;
  min-height: 112px; padding: var(--s3) var(--s2);
  border: 2px dashed var(--line); border-radius: 2px; cursor: pointer; color: var(--muted);
  font-size: .875rem; font-weight: 600; overflow-wrap: anywhere;
}
.file:hover { border-color: var(--muted); color: var(--white); }
.file.has-file { border-style: solid; border-color: var(--gold); color: var(--white); }
.file .icon { width: 28px; height: 28px; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

.form-nav { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: flex-end; padding-top: var(--s4); border-top: 1px solid var(--line); }
.form-nav [data-prev] { margin-right: auto; }
.js-steps .form-nav [data-submit]:not(.is-visible) { display: none; }
.js-steps .form-nav [data-next].is-hidden { display: none; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: var(--s8); } }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  min-height: 64px; padding-block: var(--s3); font-weight: 800; font-size: 1.125rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border: solid var(--red); border-width: 0 3px 3px 0; transform: rotate(45deg); transition: transform .2s var(--ease-out); margin-right: 4px; }
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list summary:hover { color: var(--gold); }
.faq-list details p { color: var(--muted); padding-bottom: var(--s4); max-width: 64ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--pit); border-top: 1px solid var(--line); padding-top: var(--s7); }
.footer-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s4); }
.footer-tag { font-size: clamp(1.6rem, 4vw, 2.25rem); max-width: 14ch; }
.footer-h { font-size: .9375rem; font-weight: 800; color: var(--gold); margin-bottom: var(--s3); }
.site-footer ul { display: grid; gap: var(--s2); color: var(--muted); }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { margin-top: var(--s6); padding-block: var(--s4); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1.4fr 1.2fr 1fr; } .footer-brand { grid-column: auto; flex-direction: column; align-items: flex-start; } }

/* ---------- hover motion ----------
   Pointer devices only, and none of it when the visitor asks for reduced motion. */
a, .text-link, .faq-list summary, .site-nav a { transition: color .2s var(--ease-out), border-color .2s var(--ease-out); }
.service, .ways li, .steps li, .creds li, .review, .gallery li,
.setup-sheet dl > div, .faq-list summary, .brand img, .text-link::after, .service-media::after,
.service-media img, .creds .icon, .ways .icon, .steps li::before {
  transition: transform .35s var(--ease-out), translate .35s var(--ease-out), box-shadow .35s var(--ease-out),
              border-color .25s var(--ease-out), background-color .25s var(--ease-out), color .25s var(--ease-out),
              width .35s var(--ease-out), padding .25s var(--ease-out);
}
.text-link::after { content: "\2192"; display: inline-block; margin-left: var(--s2); color: var(--red); }

@media (hover: hover) {
  .btn:hover::before { transform: scaleX(1); }
  .site-nav a { position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 2px; height: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
  }
  .site-nav a:hover::after { transform: scaleX(1); }
  .service:hover { border-color: var(--red); }
  .service:hover .service-media::after { width: min(60%, 300px); }
  .ways li:not(.is-featured):hover { border-top-color: var(--red); background-color: #2c2c2c; }
  .steps li:hover { border-top-color: var(--gold); }
  .steps li:hover::before { color: var(--gold); }
  .creds li:hover { background-color: var(--surface); }
  .creds li:hover .icon { color: var(--red); }
  .setup-sheet dl > div:hover { background-color: rgba(255, 255, 255, .04); border-left-color: var(--gold); }
  .review:hover { border-left-color: var(--gold); }
  .faq-list summary:hover::after { border-color: var(--gold); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { translate: 0 -2px; }
  .brand:hover img { transform: scale(1.04); }
  .text-link:hover::after { transform: translateX(5px); }
  .service:hover { translate: 0 -6px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8); }
  .service:hover .service-media img { transform: scale(1.04); }
  .ways li:hover { translate: 0 -6px; }
  .ways li:hover .icon { transform: translateX(6px); }
  .steps li:hover::before { transform: translateX(6px); }
  .creds li:hover .icon { transform: scale(1.15) rotate(-8deg); }
  .setup-sheet dl > div:hover { padding-left: var(--s4); }
  .review:hover { translate: 0 -4px; }
  .gallery li:hover { translate: 0 -4px; }
  .faq-list summary:hover { padding-left: var(--s2); }
}

/* ---------- mobile action bar ---------- */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: var(--z-actionbar);
  display: grid; grid-template-columns: 1fr 1fr 2.2fr; align-items: stretch;
  background: var(--pit); border-top: 2px solid var(--gold);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { display: flex; align-items: center; justify-content: center; min-height: 60px; text-decoration: none; font-weight: 800; }
/* call + text: compact icon-over-label tabs */
.action-bar .action-quick { flex-direction: column; gap: 2px; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.action-bar .action-quick .icon { color: var(--gold); width: 22px; height: 22px; }
.action-bar .action-quick:active { color: var(--white); }
/* main action: red block with the logo's slanted leading edge */
.action-bar .action-primary {
  background: var(--red); color: #fff; margin-left: -10px; padding-left: 10px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  text-transform: uppercase; font-style: italic; font-stretch: 80%; font-size: 1.0625rem; letter-spacing: .02em;
}
.action-bar .action-primary:active { background: #a81f1f; }
@media (min-width: 1024px) { .action-bar { display: none; } }
