/* ==========================================================================
   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; }

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; }
.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; }
.brand-sub {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none;
  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; }
.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;
}
.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;
}

/* ---------- 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-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; }
}

@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: 0.55;
}
.transform .play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 26, 0.92) 8%, rgba(20, 24, 26, 0.25) 55%);
}
.transform .play > * { position: relative; z-index: 2; }

.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); } }
@media (max-width: 560px)  { .transform-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* ==========================================================================
   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%; }

  /* 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; }
}
