/* ============================================================
   Magic Cleaning Co. — design system
   Monochrome (black / white / warm grey) + single worker-shirt
   blue accent (sampled #044BA7) for CTAs.
   ============================================================ */

:root {
  /* ink / paper */
  --ink:        #101011;
  --ink-2:      #2a2a2d;
  --ink-3:      #55534f;
  --paper:      #ffffff;
  --cream:      #f6f4ef;   /* warm off-white */
  --cream-2:    #efece5;
  --warm-grey:  #8b8579;
  --warm-grey-2:#b7b1a5;
  --line:       rgba(16,16,17,0.10);
  --line-strong:rgba(16,16,17,0.18);

  /* accent — worker shirt blue */
  --accent:      #0b57c9;
  --accent-deep: #044ba7;
  --accent-ink:  #ffffff;

  /* type */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* rhythm — restrained, editorial: near-square corners, not pill/blob */
  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1240px;
  --radius: 3px;
  --radius-lg: 4px;

  /* nav */
  --nav-h: 76px;
  --promo-h: 42px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0;
  font-optical-sizing: auto;
  /* Push Fraunces toward its high-contrast display cut for a premium,
     editorial feel (crisp thins, weighty stems) rather than a flat sans look. */
  font-variation-settings: "opsz" 120, "SOFT" 0, "WONK" 0;
}
/* editorial accent: italicise a single word inside a heading, sparingly */
.display-italic {
  font-style: italic;
  font-variation-settings: "opsz" 120, "SOFT" 4, "WONK" 1;
}
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);            /* monochrome label; blue is reserved */
  margin: 0 0 1.2rem;
  display: block;
}
.eyebrow--light { color: rgba(255,255,255,0.7); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--paper); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-3); max-width: 46ch; }
.section--ink .lede { color: rgba(255,255,255,0.72); }

/* ---------- buttons — flat, near-square, no glow/gradient ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent; border-radius: 2px;
  font-weight: 600; font-size: 0.94rem; letter-spacing: 0.005em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--accent-deep); }
.btn svg { width: 16px; height: 16px; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); background: var(--ink); border-color: var(--ink); }
.btn--onvideo { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--onvideo:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); background: var(--cream); }
.btn--lg { padding: 1.05rem 2rem; font-size: 0.98rem; }
/* clear / outlined button — inherits its colour from context (white over video,
   ink over light content). Used for the nav CTA and the hero "View Services". */
.btn--outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--outline:hover { background: transparent; color: var(--accent); border-color: var(--accent); }

.link-arrow { font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 0.45rem; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  /* No background or scrim at any scroll position — the nav sits directly
     over the video/content. Only the text colour changes. */
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(1rem, 2.5vw, 3.125rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  flex-wrap: nowrap;
}
/* Between the mobile breakpoint and ~1200px the translated (French) bar is wider,
   so reclaim room: tighter gaps and phone shown as icon only (still tappable). */
@media (max-width: 1200px) {
  .nav__inner { gap: 0.9rem; }
  .nav__phone-label { display: none; }
  .nav__links { gap: 1.2rem; }
  .nav__right { gap: 0.75rem; }
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
/* Logo shown in its natural black/white/grey — no colour/brightness/invert filter, ever. */
.nav__logo { height: 46px; width: auto; }
.nav__brandname {
  font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.01em;
  color: #fff; transition: color .35s ease; white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.nav__links { display: flex; align-items: center; gap: 1.6rem; flex-shrink: 0; white-space: nowrap; }
.nav__links a {
  font-size: 0.92rem; font-weight: 500; color: #fff;
  transition: color .3s; position: relative;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.nav__links a::after {
  content:""; position:absolute; left:0; bottom:-6px; height:1.5px; width:0;
  background: var(--accent); transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 0.95rem; flex-shrink: 0; }
.nav__right .btn { white-space: nowrap; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.92rem; color: #fff; transition: color .3s;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.nav__phone svg { width: 15px; height: 15px; }

/* over-content state (scrolled past the hero video, or secondary pages):
   text goes dark for legibility — still no background box. */
.nav.is-solid .nav__brandname,
.nav.is-solid .nav__links a,
.nav.is-solid .nav__phone { color: var(--ink); text-shadow: none; }
.nav.is-solid .btn--outline { color: var(--ink); border-color: var(--line-strong); }

/* mobile menu */
.nav__burger {
  display: none; width: 42px; height: 42px; margin-left: 0.2rem;
  background: none; border: none; cursor: pointer; color: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 9px;
}
.nav.is-solid .nav__burger, .nav.is-open .nav__burger { color: var(--ink); }
.nav__burger span { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* the top bar turns solid white while the menu is open, so links read clearly */
.nav.is-open { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav.is-open .nav__brandname, .nav.is-open .nav__phone { color: var(--ink); text-shadow: none; }

/* EN / FR language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0.28rem;
  background: none; border: none; cursor: pointer; padding: 0.35rem 0.1rem;
  font-family: var(--font-sans, "Inter", sans-serif);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em;
  color: #fff; transition: color .3s; text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.lang-toggle [data-lang] { opacity: 0.82; font-weight: 600; transition: opacity .2s, color .2s; }
.lang-toggle [data-lang].is-active { opacity: 1; font-weight: 800; color: var(--accent); }
.lang-toggle .lang-sep { opacity: 0.5; font-weight: 400; margin: 0 0.05rem; }
.nav.is-solid .lang-toggle, .nav.is-open .lang-toggle { color: var(--ink); text-shadow: none; }

/* ---- promo ticker bar (pinned above the nav on the home page) ---- */
.promo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: var(--promo-h); background: var(--accent); color: #fff;
  display: flex; align-items: center; overflow: hidden;
}
.promo-track { display: flex; flex: none; width: max-content; will-change: transform; animation: promo-scroll 42s linear infinite; }
.promo-bar:hover .promo-track { animation-play-state: paused; }
.promo-seq { display: flex; align-items: center; flex: none; }
.promo-item { flex: none; white-space: nowrap; padding: 0 1.4rem; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.01em; }
.promo-dot { flex: none; font-size: 0.5rem; opacity: 0.6; transform: translateY(-1px); }
@keyframes promo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .promo-track { animation: none; } .promo-bar { overflow-x: auto; } }
@media (max-width: 620px) { .promo-item { font-size: 0.8rem; padding: 0 1rem; } }
/* on pages carrying the promo bar, drop the fixed nav below it */
.has-promo .nav { top: var(--promo-h); }
.has-promo .nav__mobile { top: calc(var(--nav-h) + var(--promo-h)); max-height: calc(100vh - var(--nav-h) - var(--promo-h)); }

.nav__mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--pad-x) 2rem;
  box-shadow: 0 24px 40px -22px rgba(0,0,0,0.35);
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  animation: navdrop .25s ease;
}
@keyframes navdrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
/* only the top-level nav links get the row treatment — NOT the CTA button */
.nav__mobile > a { display: block; padding: 1.05rem 0; font-size: 1.15rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav__mobile-cta { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; }
.nav__mobile-call { display: block; text-align: center; font-weight: 600; color: var(--accent); padding: 0.4rem 0; font-size: 1rem; }
@media (min-width: 961px) { .nav__mobile { display: none !important; } }

/* ============================================================
   HERO SCROLL-SCRUB STAGE
   ============================================================ */
.stage {
  position: relative;
  /* Total scroll length; sticky child is 100vh, so scrub travel = height - 100vh.
     Shorter = the sequence plays through faster per unit of scroll (brisk). */
  height: 290vh;
  background: var(--ink);
}
.stage__sticky {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
}
.stage__video-wrap { position: absolute; inset: 0; background: #0b0b0c; }
/* All clips stay fully opaque and stacked; the active one sits on top via
   z-index. Because each clip's boundary frame is identical to the next clip's,
   swapping which one is on top is an instant, seamless cut — no crossfade gap,
   no black frame, no flash. */
.scrub-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 1;
  backface-visibility: hidden;
}
.scrub-video.is-active { z-index: 2; }
/* A clip that has no decodable data yet paints opaque black, which would cover
   the clip stacked beneath it and flash a black screen at the hand-off on slow
   connections. Hiding it lets the previously-loaded clip show through, so the
   worst case is a briefly frozen frame instead of a black hole. */
.scrub-video.is-blank { opacity: 0; }
.stage__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
}

/* hero copy */
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: clamp(4rem, 11vh, 8rem);
  padding-inline: var(--pad-x);
  z-index: 3; color: #fff;
  transition: opacity .4s ease, transform .4s ease;
}
.hero-copy__inner { max-width: var(--maxw); margin-inline: auto; }
.hero-title {
  color: #fff; font-size: clamp(2.6rem, 6.4vw, 6rem);
  max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-sub {
  margin-top: 1.4rem; max-width: 44ch;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem); color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 14px rgba(0,0,0,0.4);
}
.hero-actions { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* per-section overlay copy — stacked bottom-left, one visible at a time.
   Editorial treatment: a thin accent rule + label + one line of copy. No card,
   no blur — legibility comes from a subtle text-shadow over the scrim. */
.captions {
  position: absolute; left: 0; right: 0; bottom: clamp(3.5rem, 10vh, 7rem);
  padding-inline: var(--pad-x); z-index: 3; pointer-events: none;
}
.caption {
  position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 0;
  max-width: clamp(20rem, 46vw, 44rem); margin: 0; padding-left: 1.4rem;
  border-left: 3px solid var(--accent);
  opacity: 0; transform: translateY(12px);
  /* quick fade so the copy is present from the start of its window, not late */
  transition: opacity .3s ease, transform .3s ease;
}
.caption.is-on { opacity: 1; transform: none; }
.caption__label {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  margin-bottom: 1rem; text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}
/* Large, hero-weight display copy so each section reads with real presence. */
.caption__text {
  margin: 0; color: #fff;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em;
  font-optical-sizing: auto; font-variation-settings: "opsz" 120;
  text-shadow: 0 2px 26px rgba(0,0,0,0.5);
}

/* slim overall scrub progress at the very bottom edge of the hero */
.stage-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 4;
  background: rgba(255,255,255,0.18);
}
.stage-progress__fill {
  display: block; height: 100%; width: 0%; background: var(--accent);
  transform-origin: left center;
}

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,0.8); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  transition: opacity .4s;
}
.scroll-cue__mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,0.7); border-radius: 12px; position: relative; }
.scroll-cue__mouse::after { content:""; position:absolute; left:50%; top:6px; width:3px; height:6px; border-radius:2px; background:#fff; transform:translateX(-50%); animation: cue 1.6s infinite; }
@keyframes cue { 0%{opacity:0; transform:translate(-50%,0)} 30%{opacity:1} 60%{opacity:1; transform:translate(-50%,8px)} 100%{opacity:0; transform:translate(-50%,10px)} }

/* ============================================================
   INTRO / STATS
   ============================================================ */
.intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,5rem); align-items: end; }
.intro h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); max-width: 16ch; }
.intro__aside { padding-bottom: 0.4rem; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: clamp(3rem,6vw,5rem); border-top: 1px solid var(--line); padding-top: 2.5rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem,4.5vw,3.6rem); letter-spacing: -0.02em; line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { color: var(--ink-3); font-size: 0.92rem; margin-top: 0.5rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem,5vw,4rem); }
.services__head h2 { font-size: clamp(2rem,4vw,3.4rem); max-width: 14ch; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service {
  background: var(--paper); padding: clamp(1.6rem,2.4vw,2.4rem);
  display: flex; flex-direction: column; gap: 0.9rem; min-height: 250px;
  transition: background .3s; position: relative;
}
.service:hover { background: var(--cream); }
.service__num { font-size: 0.76rem; color: var(--warm-grey); font-weight: 600; letter-spacing: 0.08em; }
.service__icon { width: 32px; height: 32px; color: var(--ink); }
.service h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin-top: 0.2rem; }
.service p { color: var(--ink-3); font-size: 0.95rem; margin: 0; }
.service__tag { margin-top: auto; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); }
.service--wide { grid-column: span 3; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.5rem,3vw,2.5rem); margin-top: clamp(2.5rem,5vw,4rem); }
.step__num { font-family: var(--font-display); font-size: 2.4rem; color: var(--ink); line-height: 1; font-variation-settings: "opsz" 120; }
.step h3 { font-size: 1.25rem; margin: 1rem 0 0.6rem; }
.step p { color: rgba(255,255,255,0.66); font-size: 0.95rem; margin: 0; }
.section--ink .step__num { color: rgba(255,255,255,0.42); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.about__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--cream-2); position: relative; }
.about__media video, .about__media img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(2rem,3.8vw,3.2rem); max-width: 15ch; margin-bottom: 1.4rem; }
.about p { color: var(--ink-3); margin: 0 0 1rem; }
.about__points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.9rem; }
.about__points li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; color: var(--ink-2); }
.about__points svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.reviews__head { text-align: center; margin-bottom: clamp(2.5rem,5vw,4rem); }
.reviews__head h2 { font-size: clamp(2rem,4vw,3.2rem); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
/* extra reviews stay hidden until "See more" is clicked */
.reviews-grid .review--extra { display: none; }
.reviews-grid.is-expanded .review--extra { display: flex; }
.reviews-more-wrap { text-align: center; margin-top: clamp(2.2rem,4vw,3.2rem); }
.reviews-more {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: none; border: 1.5px solid var(--line-strong); color: var(--ink);
  padding: 0.85rem 1.7rem; border-radius: 2px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.reviews-more:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.reviews-more svg { width: 16px; height: 16px; transition: transform .3s ease; }
.reviews-more.is-open svg { transform: rotate(180deg); }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.8rem,2.6vw,2.4rem); display: flex; flex-direction: column; gap: 1.2rem;
}
.section--cream .review { background: #fff; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.28rem; line-height: 1.35; letter-spacing: -0.01em; }
.review__author { margin-top: auto; display: flex; align-items: center; gap: 0.8rem; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 0.95rem; }
.review__name { font-weight: 600; font-size: 0.95rem; }
.review__meta { font-size: 0.82rem; color: var(--warm-grey); }

/* ============================================================
   SERVICE AREA / CTA band
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem,5vw,4rem); max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin: 1.4rem auto 2.4rem; text-align: center; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2.6rem; }
.area-pill { border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); padding: 0.45rem 1rem; border-radius: 2px; font-size: 0.85rem; letter-spacing: 0.02em; }

/* ============================================================
   FOOTER
   ============================================================ */
/* Light footer so the logo shows in its natural black/white/grey — no filter. */
.footer { background: var(--cream); color: var(--ink-3); padding-block: clamp(3.5rem,6vw,5.5rem) 2.5rem; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.footer__logo { height: 52px; }
.footer__brand span { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.footer p { font-size: 0.94rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer a:hover { color: var(--accent); }
.footer__contact a { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-weight: 500; }
.footer__contact svg { width: 16px; height: 16px; color: var(--accent); }
.footer__phone { font-family: var(--font-display); font-size: 1.7rem !important; color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(3rem,5vw,4rem); padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--warm-grey); }

/* ============================================================
   PAGE HERO (secondary pages)
   ============================================================ */
.page-hero { padding-top: calc(var(--nav-h) + clamp(3rem,7vw,6rem)); padding-bottom: clamp(2.5rem,5vw,4rem); background: var(--cream); }
.page-hero h1 { font-size: clamp(2rem,4.2vw,3.5rem); max-width: none; text-wrap: balance; }
.page-hero .lede { margin-top: 1.4rem; }
.breadcrumb { font-size: 0.82rem; color: var(--warm-grey); margin-bottom: 1.4rem; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--accent); }

/* our work — alternating image + text rows */
.work-item { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.8rem,4vw,4.5rem); align-items: center; padding-block: clamp(2.5rem,5vw,4.5rem); border-top: 1px solid var(--line); }
.work-item:first-of-type { border-top: none; padding-top: 0; }
.work-item--flip .work-item__media { order: 2; }
.work-item__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-2); }
.work-item__media img { width: 100%; height: 100%; max-height: 78vh; object-fit: cover; display: block; }
.work-item__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.work-item__body h2 { font-size: clamp(1.7rem,3.2vw,2.7rem); margin-bottom: 1rem; max-width: 18ch; }
.work-item__body p { color: var(--ink-3); margin: 0; max-width: 52ch; font-size: 1.02rem; }

/* photo gallery ("More of our work") — masonry columns, photos only */
.gallery-head { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: clamp(1.4rem,3vw,2.2rem); }
.gallery { column-width: 300px; column-gap: 14px; }
.gallery img {
  width: 100%; display: block; margin: 0 0 14px; border-radius: var(--radius); overflow: hidden;
  background: var(--cream-2); break-inside: avoid; -webkit-column-break-inside: avoid;
  transition: filter .3s ease, transform .3s ease;
}
.gallery img:hover { filter: brightness(1.04); transform: translateY(-2px); }
@media (max-width: 620px) { .gallery { column-width: 100%; column-gap: 0; } }

/* service detail rows */
.svc-row { display: grid; grid-template-columns: 0.5fr 1.5fr; gap: clamp(1.5rem,4vw,4rem); padding-block: clamp(2.5rem,5vw,4rem); border-top: 1px solid var(--line); align-items: start; }
.svc-row:first-of-type { border-top: none; }
.svc-row__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); }
.svc-row h2 { font-size: clamp(1.7rem,3vw,2.6rem); margin-bottom: 1rem; }
.svc-row p { color: var(--ink-3); margin: 0 0 1rem; max-width: 60ch; }
.svc-row ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-3); display: grid; gap: 0.4rem; }
/* a sub-service nested inside a service (e.g. soft/house washing under pressure washing) */
.svc-sub {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  padding: clamp(1.3rem, 2.4vw, 1.8rem) 0 0 clamp(1rem, 2vw, 1.6rem);
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding-left: clamp(1rem, 2vw, 1.6rem);
}
.svc-sub__label {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--warm-grey);
  margin: 0 0 0.5rem !important;
}
.svc-sub h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; margin-bottom: 0.7rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.contact-card { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.8rem,3vw,2.6rem); }
.thank-you { text-align: center; padding: clamp(1.5rem,3vw,2.5rem) 0; animation: thanks-in .5s cubic-bezier(.2,.7,.3,1); }
.thank-you svg { width: 54px; height: 54px; color: var(--accent); margin: 0 auto 1.3rem; display: block; }
.thank-you h3 { font-family: var(--font-display); font-size: clamp(1.7rem,3vw,2.2rem); margin-bottom: 0.7rem; }
.thank-you p { color: var(--ink-3); max-width: 38ch; margin: 0 auto; font-size: 1.02rem; }
.thank-you a { color: var(--accent); font-weight: 600; }
@keyframes thanks-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 0.98rem; padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
/* multi-select service checkboxes */
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.7rem 1.4rem; margin-top: 0.4rem; }
.field .checkbox { display: flex; flex-direction: row; align-items: flex-start; gap: 0.6rem; margin: 0; cursor: pointer; font-size: 0.95rem; font-weight: 400; line-height: 1.35; letter-spacing: 0; color: var(--ink-2); }
.field .checkbox input[type="checkbox"] {
  width: 18px; height: 18px; flex: none; margin: 0.06rem 0 0; padding: 0;
  accent-color: var(--accent); cursor: pointer; border: none; background: none; box-shadow: none;
}
.field .checkbox input[type="checkbox"]:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-info { display: grid; gap: 1.6rem; align-content: start; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info__item svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-info__item h4 { font-family: var(--font-sans); font-size: 1.02rem; margin-bottom: 0.2rem; }
.contact-info__item p, .contact-info__item a { color: var(--ink-3); font-size: 0.96rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links, .nav__phone-label, .nav__right .btn--outline { display: none; }
  .nav__burger { display: flex; }
  .intro, .about, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .service--wide { grid-column: span 2; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .work-item { grid-template-columns: 1fr; gap: 1.4rem; }
  .work-item--flip .work-item__media { order: 0; }
  .work-item__media img { max-height: 62vh; }
  .stage { height: 260vh; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .services-grid, .reviews-grid, .process-grid { grid-template-columns: 1fr; }
  .service--wide { grid-column: span 1; }
  .stats { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.4rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  /* keep the overlay copy readable, not overwhelming, on small screens */
  .caption { max-width: none; right: var(--pad-x); }
  .caption__text { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
  .caption__label { font-size: 0.72rem; margin-bottom: 0.6rem; }
  .stage { height: 220vh; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue__mouse::after { animation: none; }
}
