/* ==========================================================================
   Luis Loja LLC Contractor — Shared stylesheet
   Palette: slate & bluestone (the stone they lay), boxwood green (the grounds
   they keep), brass hairlines (estate hardware). Built for Westchester homes.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Public+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #14181a;
  --bluestone: #2c3a40;
  --slate: #55666e;
  --slate-soft: #8a999f;
  --chalk: #edede8;
  --chalk-deep: #e0e0d8;
  --paper: #f7f7f4;
  --boxwood: #43604c;
  --boxwood-lt: #7c9784;
  --brass: #b08d4f;
  --white: #ffffff;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --rule: 1px solid rgba(20, 24, 26, 0.12);
  --rule-light: 1px solid rgba(237, 237, 232, 0.18);
  --shadow: 0 18px 50px -28px rgba(20, 24, 26, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

/* The browser's own stylesheet puts `margin: 1em 40px` on figure and
   blockquote. That was quietly eating 80px of width from every gallery tile
   and every review card, which is what made them look cramped and over-inset.
   Both are laid out by their containers here, so the margin goes. */
figure, blockquote { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* Eyebrow — the mono label used as a structural marker throughout */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--boxwood);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow.on-dark { color: var(--boxwood-lt); }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--slate); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--boxwood); color: var(--paper); }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-outline { border-color: rgba(20, 24, 26, 0.28); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: rgba(237, 237, 232, 0.35); color: var(--chalk); background: transparent; }
.btn-ghost:hover { background: var(--chalk); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-sub {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  /* Three words on one line or it stacks under the business name */
  white-space: nowrap;
}

.site-nav ul { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--bluestone);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.site-nav a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--boxwood); }

.header-cta { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; margin-left: 1.25rem; }
/* The header is a tight row; a wrapped button reads as a layout fault */
.header-cta .btn { white-space: nowrap; padding-inline: 1.25rem; }
.site-nav { flex: 0 1 auto; }
.header-phone {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone span { display: block; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--slate); text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(20, 24, 26, 0.25);
  border-radius: 2px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--chalk);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 24, 26, 0.93) 0%, rgba(20, 24, 26, 0.82) 30%, rgba(20, 24, 26, 0.45) 58%, rgba(20, 24, 26, 0.28) 100%),
    linear-gradient(to top, rgba(20, 24, 26, 0.55) 0%, rgba(20, 24, 26, 0) 45%);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; opacity: 1; }
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 9.5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}
.hero h1 { color: var(--chalk); max-width: 16ch; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--boxwood-lt); }
.hero .lede { color: rgba(237, 237, 232, 0.78); margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.page-hero {
  background: var(--ink);
  color: var(--chalk);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero h1 { color: var(--chalk); }
.page-hero .lede { color: rgba(237, 237, 232, 0.75); }

/* ---------- Credential strip ---------- */
.credentials {
  background: var(--bluestone);
  color: var(--chalk);
  border-top: 1px solid rgba(176, 141, 79, 0.35);
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.credential {
  padding: 2rem 1.5rem 2rem 0;
  border-right: var(--rule-light);
}
.credential:last-child { border-right: none; }
.credential-figure {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--chalk);
  line-height: 1;
  display: block;
  margin-bottom: 0.45rem;
}
.credential p { font-size: 0.88rem; color: rgba(237, 237, 232, 0.7); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-chalk { background: var(--chalk); }
.section-dark { background: var(--ink); color: var(--chalk); }
.section-dark h2, .section-dark h3 { color: var(--chalk); }
.section-dark .lede { color: rgba(237, 237, 232, 0.72); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.check-list { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--boxwood);
  background: var(--boxwood);
  transform: rotate(45deg);
}
.section-dark .check-list li::before { border-color: var(--boxwood-lt); background: var(--boxwood-lt); }

/* ---------- Service category cards (home) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pillar {
  background: var(--white);
  border: var(--rule);
  border-top: 3px solid var(--boxwood);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-code {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.32rem; margin-bottom: 0.55rem; }
.pillar p { font-size: 0.93rem; color: var(--slate); margin-bottom: 1.2rem; }
.pillar ul { list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: 0.87rem; color: var(--bluestone); }
.pillar ul li { padding: 0.32rem 0; border-bottom: 1px dotted rgba(20, 24, 26, 0.13); }
.pillar-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--boxwood);
  font-weight: 500;
}
.pillar-link:hover { color: var(--ink); }

/* ---------- Service detail entries (services page) ---------- */
.service-group { margin-bottom: clamp(3.5rem, 7vw, 6rem); scroll-margin-top: 100px; }
.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.group-head h2 { margin: 0; }
.group-head p { margin: 0; max-width: 46ch; font-size: 0.95rem; color: var(--slate); }

.service {
  background: var(--white);
  border: var(--rule);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  scroll-margin-top: 100px;
}
.service-main h3 { margin-bottom: 0.15rem; }
.service-code {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.7rem;
}
.service-main > p { font-size: 0.97rem; color: var(--bluestone); }

.benefit-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 1.4rem 0 0.7rem;
}
.benefits { list-style: none; margin: 0; padding: 0; }
.benefits li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.93rem;
  margin-bottom: 0.5rem;
  color: var(--bluestone);
}
.benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--boxwood-lt);
  transform: rotate(45deg);
}

.service-side {
  background: var(--chalk);
  border-left: 3px solid var(--brass);
  padding: 1.4rem 1.5rem;
  align-self: start;
}
.service-side h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.service-side p { font-size: 0.9rem; color: var(--bluestone); margin-bottom: 1.1rem; }

/* Signature element: the season strip — 12 months, filled = right window */
.season {
  margin-top: 0.4rem;
}
.season-track {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
}
.season-track span {
  display: block;
  height: 26px;
  background: rgba(20, 24, 26, 0.09);
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 26px;
  text-align: center;
  color: var(--slate);
  border-radius: 1px;
}
.season-track span.on { background: var(--boxwood); color: var(--paper); }
.season-track span.ok { background: var(--boxwood-lt); color: var(--ink); }
.season-key {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  text-transform: uppercase;
}
.season-key i { display: inline-block; width: 10px; height: 10px; margin-right: 0.4rem; vertical-align: -1px; }
.key-on { background: var(--boxwood); }
.key-ok { background: var(--boxwood-lt); }
.key-off { background: rgba(20, 24, 26, 0.09); }

/* ---------- Sticky sub-nav on services page ---------- */
.jump {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: var(--chalk);
  border-bottom: var(--rule);
}
.jump ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  max-width: var(--wrap);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.jump ul::-webkit-scrollbar { display: none; }
.jump a {
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bluestone);
  white-space: nowrap;
}
.jump a:hover { color: var(--boxwood); }

/* ---------- Service area (SEO) ---------- */
.towns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0;
  border-top: var(--rule-light);
  border-left: var(--rule-light);
}
.towns li {
  list-style: none;
  padding: 0.85rem 1rem;
  border-bottom: var(--rule-light);
  border-right: var(--rule-light);
  color: rgba(237, 237, 232, 0.85);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
/* At a 190px minimum only one column fits a phone, which turned two dozen
   towns into a thousand pixels of scrolling. Two columns, tighter type. */
@media (max-width: 560px) {
  .towns { grid-template-columns: repeat(2, 1fr); }
  .towns li { padding: 0.65rem 0.7rem; font-size: 0.7rem; letter-spacing: 0.02em; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.shot {
  position: relative;
  overflow: hidden;
  background: var(--chalk-deep);
  aspect-ratio: 4 / 5;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(20, 24, 26, 0.88), transparent);
  color: var(--chalk);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.shot-wide { grid-column: span 2; aspect-ratio: 16 / 10; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { border-top: 2px solid var(--brass); padding-top: 1.2rem; }
.step-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--brass);
  display: block;
  margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: rgba(237, 237, 232, 0.7); margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: var(--rule); }
.faq details { border-bottom: var(--rule); padding: 1.3rem 0; }
.faq summary {
  font-family: var(--display);
  font-size: 1.14rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--brass); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0.9rem 0 0; font-size: 0.96rem; color: var(--slate); max-width: 70ch; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote {
  background: var(--white);
  border: var(--rule);
  border-left: 3px solid var(--boxwood);
  padding: 1.8rem;
}
.quote p { font-family: var(--display); font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.quote cite {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--boxwood);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.cta-band h2 { color: var(--paper); max-width: 18ch; }
.cta-band p { color: rgba(247, 247, 244, 0.82); max-width: 58ch; }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--ink); color: var(--paper); }
.cta-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 4.5rem); }
.form-field { margin-bottom: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
input, select, textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(20, 24, 26, 0.2);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--boxwood);
  box-shadow: 0 0 0 3px rgba(67, 96, 76, 0.14);
}
textarea { min-height: 130px; resize: vertical; }

.contact-block { border-top: 2px solid var(--ink); padding-top: 1.3rem; margin-bottom: 2rem; }
.contact-block h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { color: var(--boxwood); }
.contact-line { font-family: var(--mono); font-size: 0.95rem; margin-bottom: 0.35rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px dotted rgba(20, 24, 26, 0.16); }
.hours-table td:last-child { text-align: right; font-family: var(--mono); font-size: 0.85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(237, 237, 232, 0.72); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--chalk); }
.footer-logo { height: 74px; width: auto; filter: invert(1); margin-bottom: 1.1rem; }
.footer-about p { font-size: 0.9rem; max-width: 34ch; }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.socials a {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(237, 237, 232, 0.22);
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
}
.socials a:hover { border-color: var(--brass); color: var(--chalk); }
.footer-credit a {
  color: rgba(237, 237, 232, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 141, 79, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-credit a:hover { color: var(--chalk); border-bottom-color: var(--brass); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: var(--rule-light);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(237, 237, 232, 0.5);
}

/* ---------- Mobile call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--ink);
  border-top: 1px solid var(--brass);
}
.call-bar a {
  flex: 1;
  text-align: center;
  padding: 0.95rem 0.5rem;
  text-decoration: none;
  color: var(--chalk);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.call-bar a + a { border-left: var(--rule-light); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .credential:nth-child(2) { border-right: none; }
}

/* ---- Header, small-laptop range ----------------------------------------
   The full header (brand + tagline + 5 nav links + phone block + button)
   needs about 1190px. Between the mobile breakpoint and that width it was
   wrapping "Our Work" and the button onto second lines. The phone block is
   the least essential item — the number is in the hero, the footer, the
   contact page and the mobile call bar — so it steps aside first, then the
   nav tightens. */
@media (max-width: 1200px) {
  .header-phone { display: none; }
  .site-nav ul { gap: 1.35rem; }
  .header-cta { margin-left: 1rem; }
}
@media (max-width: 1010px) {
  .site-nav ul { gap: 1rem; }
  .site-nav a { font-size: 0.87rem; }
  .header-cta .btn { font-size: 0.87rem; padding-inline: 1rem; }
  .brand img { height: 46px; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.12em; }
}
/* The last 60px before the burger menu takes over at 860px. The gutter grows
   with the viewport here (5vw), so the usable row is narrowest of all. */
@media (max-width: 930px) {
  .site-nav ul { gap: 0.75rem; }
  .site-nav a { font-size: 0.83rem; }
  .header-cta { margin-left: 0.6rem; }
  .header-cta .btn { font-size: 0.83rem; padding-inline: 0.8rem; }
  .brand { gap: 0.5rem; }
  .brand-sub { font-size: 0.5rem; letter-spacing: 0.08em; }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: var(--rule);
    padding: 1rem var(--gutter) 1.5rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.2rem; }
  .site-nav a { display: block; padding: 0.75rem 0; border-bottom: 1px solid rgba(20, 24, 26, 0.08); }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .split, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .shot-wide { grid-column: span 1; aspect-ratio: 4 / 5; }
  .call-bar { display: flex; }
  body { padding-bottom: 52px; }
  .jump { top: 84px; }
}

@media (max-width: 560px) {
  .pillars, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .credential { border-right: none; border-bottom: var(--rule-light); padding-right: 0; }
  .credential:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
}

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

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

/* ==========================================================================
   Gallery: tabs, media grid, video tiles, lightbox
   ========================================================================== */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  border-bottom: var(--rule);
  padding-bottom: 1.2rem;
}
.tab {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(20, 24, 26, 0.2);
  border-radius: 2px;
  background: transparent;
  color: var(--bluestone);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tab-count { opacity: 0.55; margin-left: 0.45rem; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}
.media-grid[hidden] { display: none; }

.tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--chalk-deep);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0 solid var(--brass);
  transition: border-width 0.15s ease;
}
.tile:hover::after { border-width: 2px; }

/* Video tiles — nothing loads until the visitor clicks */
.tile-video {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
}
.tile-video video, .tile-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}
.play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: linear-gradient(150deg, var(--bluestone), var(--ink));
  color: var(--chalk);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.25s ease;
}
.play:hover { background: linear-gradient(150deg, #35464e, #1c2225); }
.play-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.play:hover .play-icon { transform: scale(1.08); background: rgba(176, 141, 79, 0.16); }
.play-icon::after {
  content: '';
  border-left: 14px solid var(--chalk);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.play-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 237, 232, 0.72);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 15, 16, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 2px;
}
.lb-btn {
  position: absolute;
  background: rgba(237, 237, 232, 0.08);
  border: 1px solid rgba(237, 237, 232, 0.25);
  color: var(--chalk);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lb-btn:hover { background: rgba(237, 237, 232, 0.18); border-color: var(--brass); }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-prev { left: clamp(0.6rem, 3vw, 2rem); }
.lb-next { right: clamp(0.6rem, 3vw, 2rem); }
.lb-count {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(237, 237, 232, 0.6);
}

/* Testimonial video */
.video-feature {
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 620px;
}
.video-feature video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 560px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .play-icon { width: 42px; height: 42px; }
  .play-label { font-size: 0.65rem; }
}

/* ==========================================================================
   Google reviews block
   ========================================================================== */

.google-card {
  background: var(--white);
  border: var(--rule);
  border-top: 3px solid var(--brass);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  align-self: start;
}
.google-mark { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.google-mark svg { width: 26px; height: 26px; flex: none; }
.google-mark span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.google-score {
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.stars { display: flex; gap: 2px; margin: 0.35rem 0 0.2rem; }
.stars svg { width: 19px; height: 19px; }
.google-meta { font-size: 0.88rem; color: var(--slate); margin: 0 0 1.3rem; }
.google-card .btn { align-self: stretch; justify-content: center; }
.review-note {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 0.9rem;
  line-height: 1.5;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}
.reviews-layout .quotes { grid-template-columns: repeat(2, 1fr); }

.quote-source {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.quote-source svg { width: 15px; height: 15px; }
.quote-source span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate);
}
.quote .stars { margin: 0 0 0.7rem; }
.quote .stars svg { width: 15px; height: 15px; }

@media (max-width: 1020px) {
  .reviews-layout { grid-template-columns: 1fr; }
  .reviews-layout .quotes { grid-template-columns: 1fr; }
  .google-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
  .google-card .btn { align-self: auto; }
  .review-note { width: 100%; }
}

/* ==========================================================================
   Framed media — keeps a fixed aspect ratio and crops rather than distorting
   ========================================================================== */

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--chalk-deep);
  border-radius: 2px;
  aspect-ratio: 3 / 2;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* On narrow screens a wide landscape shot loses its subject; ease the ratio */
@media (max-width: 860px) {
  .media-frame { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Feature split — media column matches the text column's full height
   ========================================================================== */

.split-feature {
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
}
.split-feature > div { display: flex; flex-direction: column; justify-content: center; }

.media-fill {
  aspect-ratio: auto;
  height: 100%;
  min-height: 460px;
  margin: 0;
}
.media-fill img { width: 100%; height: 100%; object-fit: cover; }

/* Caption plate — anchors the image and does a little selling */
.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1.5rem 1.3rem;
  background: linear-gradient(to top, rgba(20, 24, 26, 0.9), rgba(20, 24, 26, 0));
  color: var(--chalk);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .split-feature { grid-template-columns: 1fr; }
  .media-fill { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   Transformations — home page video row
   ========================================================================== */

.transform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.transform {
  position: relative;
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
}
.transform video, .transform iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}
.transform .play { position: absolute; inset: 0; }
.transform .play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
}
/* The scrim has to sit ON TOP of the poster, so it needs its own z-index —
   ::before is the first child and the <img> that follows would otherwise
   paint straight over it. (That is why this used to fade the whole photo to
   55% instead: with the gradient buried, dimming the image was the only way
   to get readable text. The photograph can now be seen properly.) */
.transform .play::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(20, 24, 26, 0.95) 0%,
    rgba(20, 24, 26, 0.82) 18%,
    rgba(20, 24, 26, 0.30) 42%,
    rgba(20, 24, 26, 0.10) 62%,
    rgba(20, 24, 26, 0.30) 100%);
}
/* Lifts the play icon above the scrim. Deliberately not `> *`: that also hit
   .transform-meta and replaced its `absolute` with `relative`, which let the
   caption float in the middle of the tile instead of sitting at the bottom. */
.transform .play > .play-icon { position: relative; z-index: 2; }

.transform .play > .transform-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem;
  text-align: left;
  z-index: 3;
  pointer-events: none;
}
.transform-trade {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 0.3rem;
}
.transform-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--chalk);
  line-height: 1.2;
  display: block;
}
.transform-town {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(237, 237, 232, 0.6);
  display: block;
  margin-top: 0.25rem;
}

@media (max-width: 1020px) { .transform-grid { grid-template-columns: repeat(2, 1fr); } }

/* Phones: carousel.js takes the grid over below 860px, so no column count
   belongs here — it would fight the flex track. Only the type needs to come
   down, because a 9:16 tile at phone width has very little room for words. */
@media (max-width: 860px) {
  .transform-meta { padding: 0.85rem 0.75rem; }
  .transform-trade { font-size: 0.55rem; letter-spacing: 0.12em; margin-bottom: 0.2rem; }
  .transform-title { font-size: 0.88rem; line-height: 1.15; }
  .transform-town { font-size: 0.58rem; margin-top: 0.15rem; }
}

/* ==========================================================================
   Mobile corrections
   ========================================================================== */

/* Nothing should ever push the page sideways */
html, body { max-width: 100%; overflow-x: hidden; }

/* Long words (town names, email addresses) must not overflow their box */
h1, h2, h3, p, li, cite, .contact-line { overflow-wrap: break-word; }

@media (max-width: 860px) {
  /* The van sits low-left in the hero frame — keep it visible when the
     viewport crops in, instead of centring on empty driveway */
  .hero-media img { object-position: 38% 62%; }

  /* The desktop scrim runs left-to-right because the copy sits in the left
     half. On a phone the copy is full width, so the light end of that
     gradient fell under the text and the van's own lettering read through
     it. Straighten the scrim out and lift the floor. */
  .hero::after {
    background:
      linear-gradient(to bottom, rgba(20, 24, 26, 0.86) 0%, rgba(20, 24, 26, 0.74) 45%, rgba(20, 24, 26, 0.80) 100%),
      linear-gradient(to top, rgba(20, 24, 26, 0.5) 0%, rgba(20, 24, 26, 0) 55%);
  }

  /* Hero was reserving desktop-sized vertical padding */
  .hero-inner { padding-top: clamp(3rem, 14vw, 5rem); padding-bottom: clamp(2.5rem, 8vw, 4rem); }

  /* Full-width tap targets read better than half-width buttons */
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 560px) {
  /* 41px headlines are too large on a 360px screen */
  h1 { font-size: clamp(2.05rem, 8.5vw, 2.6rem); }
  h2 { font-size: clamp(1.65rem, 6.5vw, 2rem); }

  /* Portrait video tiles stacked one-per-row made the section enormous.
     Two columns keeps all four visible in roughly one screen. */
  .transform-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .transform-title { font-size: 0.82rem; }
  .transform-meta { padding: 0.7rem 0.6rem; }
  .transform .play-icon { width: 40px; height: 40px; }
  .transform .play-icon::after { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }

  /* Google card was wrapping into an awkward row */
  .google-card { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.3rem; }
  .google-card .btn { align-self: stretch; }
  .google-score { font-size: 2.6rem; }

  /* Season strip: 12 cells across a phone is unreadable at 8px.
     Taller cells and a slightly larger label keep it legible. */
  .season-track span { height: 30px; line-height: 30px; font-size: 0.62rem; }
  .season-key { font-size: 0.62rem; gap: 0.7rem; }

  /* Service cards had desktop padding on a small screen */
  .service { padding: 1.2rem; }
  .service-side { padding: 1.1rem 1.1rem; }

  /* Lightbox arrows were overlapping the photo */
  .lb-btn { width: 42px; height: 42px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lightbox img { max-height: 74vh; }

  /* Keep the footer readable rather than cramped */
  .footer-grid { gap: 2rem; }
  .socials a { font-size: 0.66rem; padding: 0.4rem 0.6rem; }
}

/* Very small phones (iPhone SE and similar) */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  h1 { font-size: 1.92rem; }
  .brand img { height: 44px; }
  .brand-name { font-size: 0.95rem; }
  .header-inner { min-height: 72px; }
  .site-nav { top: 72px; }
  .jump { top: 72px; }
  .media-grid { gap: 0.45rem; }
}

/* Landscape phones: the sticky header eats too much of a short viewport */
@media (max-height: 460px) and (orientation: landscape) {
  .site-header { position: static; }
  .jump { position: static; }
}

/* Touch devices: hover transforms cause sticky states after a tap */
@media (hover: none) {
  .pillar:hover { transform: none; box-shadow: none; }
  .shot:hover img, .tile:hover img { transform: none; }
  .btn-primary:hover { transform: none; }
}

/* ==========================================================================
   Gallery trade sections
   ========================================================================== */

.trade-section { margin-bottom: clamp(2.8rem, 6vw, 4.5rem); scroll-margin-top: 110px; }
.trade-section:last-child { margin-bottom: 0; }
.trade-section[hidden] { display: none; }

.trade-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1.5rem;
}
.trade-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}
.trade-head .trade-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0;
}
.trade-blurb {
  font-size: 0.95rem;
  color: var(--slate);
  max-width: 62ch;
  margin: -0.6rem 0 1.5rem;
}

@media (max-width: 560px) {
  .trade-head { padding-bottom: 0.7rem; margin-bottom: 1.1rem; }
  .trade-blurb { font-size: 0.9rem; margin-bottom: 1.1rem; }
}

/* ==========================================================================
   Mobile header corrections
   ========================================================================== */

@media (max-width: 860px) {
  /* The header CTA was wrapping onto three lines and swallowing the screen.
     The fixed bottom bar already carries "Free estimate", so this is redundant
     on phones — hide it and give the brand the room it needs. */
  .header-cta .btn-primary { display: none; }

  .header-inner { gap: 0.75rem; min-height: 76px; }

  .brand img { height: 46px; }
  .brand-name { font-size: 1rem; }

  /* Keep the tagline on one line instead of stacking three words vertically */
  .brand-sub {
    font-size: 0.53rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .site-nav { top: 76px; }
  .jump { top: 76px; }
}

@media (max-width: 380px) {
  .brand img { height: 40px; }
  .brand-name { font-size: 0.92rem; }
  .brand-sub { font-size: 0.5rem; letter-spacing: 0.06em; }
  .header-inner { min-height: 68px; }
  .site-nav { top: 68px; }
  .jump { top: 68px; }
}

/* ==========================================================================
   Mobile carousels
   --------------------------------------------------------------------------
   On phones the three picture-heavy grids — recent work, transformations and
   Google reviews — stop stacking into an endless column and become swipeable,
   auto-advancing tracks instead. carousel.js adds .car-track at run time and
   removes it again above the breakpoint, so desktop is untouched.
   ========================================================================== */

/* The shell becomes the grid/flex item in place of the track it wraps, so it
   needs min-width:0 — without it the item sizes to the full un-wrapped width
   of the track's contents and overflows the screen. */
.car-shell { position: relative; min-width: 0; max-width: 100%; }

@media (max-width: 860px) {

  .car-track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Bleed to the screen edges so a slide can sit flush while the next peeks */
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    padding-bottom: 1px;
    overscroll-behavior-x: contain;
    width: auto;
    max-width: none;
  }
  /* Same reason as .car-shell: a track nested in another grid must be allowed
     to be narrower than its contents, or it pushes the page sideways. */
  .reviews-layout, .reviews-layout > * { min-width: 0; }
  .car-track::-webkit-scrollbar { display: none; }

  .car-track > * {
    flex: 0 0 var(--car-slide, 80%);
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* A slide parked off-screen never trips the scroll-reveal observer, so it
     would sit at opacity 0 for ever. Inside a track, reveal is always done. */
  .car-track > .reveal { opacity: 1 !important; transform: none !important; }

  /* ---------- controls ---------- */
  .car-ui {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1rem;
  }
  .car-dots { display: flex; align-items: center; gap: 0.45rem; flex: 1; }
  .car-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 24, 26, 0.2);
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
  }
  .car-dot[aria-selected="true"] {
    width: 22px;
    border-radius: 4px;
    background: var(--boxwood);
  }
  .section-dark .car-dot { background: rgba(237, 237, 232, 0.28); }
  .section-dark .car-dot[aria-selected="true"] { background: var(--brass); }

  .car-count {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--slate);
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
  }
  .section-dark .car-count { color: rgba(237, 237, 232, 0.6); }

  .car-nav { display: flex; gap: 0.4rem; flex: 0 0 auto; }
  .car-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: var(--rule);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .car-btn svg { width: 15px; height: 15px; }
  .car-btn:disabled { opacity: 0.35; }
  .section-dark .car-btn { background: rgba(237, 237, 232, 0.08); border-color: rgba(237, 237, 232, 0.2); color: var(--chalk); }

  /* "Swipe" hint — shown once, fades out after the first interaction */
  .car-hint {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
    opacity: 0.75;
    transition: opacity 0.4s ease;
  }
  .car-shell.touched .car-hint { opacity: 0; }

  /* ---------- per-section slide widths ---------- */
  /* Recent work: two photos side by side, with the third just breaking the
     edge so it reads as a track you can push rather than a static pair */
  .gallery-grid.car-track { --car-slide: 52%; }
  /* Videos are 9:16 — one at a time with the next showing, or text collides */
  .transform-grid.car-track { --car-slide: 62%; }
  /* A review needs room to be read in one go */
  .quotes.car-track { --car-slide: 84%; }

  .gallery-grid.car-track > .shot { aspect-ratio: 4 / 5; }
  .quotes.car-track > .quote { padding: 1.4rem; }
  .quotes.car-track > .quote p { font-size: 1rem; }
}

@media (max-width: 380px) {
  .gallery-grid.car-track { --car-slide: 56%; }
  .transform-grid.car-track { --car-slide: 72%; }
  .quotes.car-track { --car-slide: 88%; }
}

/* Someone who asks for less motion gets a plain swipeable track, no autoplay */
@media (prefers-reduced-motion: reduce) {
  .car-track { scroll-behavior: auto; }
}
