/* ==========================================================
   A-COLOR — Design System
   Montserrat (display · body · labels)
   Ink-black plum · soft mauve paper · signature magenta
   ========================================================== */

/* ----------------------------------------------------------
   1. CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  /* colors (injected from config) */
  --color-primary: #18131B;
  --color-primary-dark: #100C13;
  --color-secondary: #C01C8C;
  --color-secondary-dark: #991570;
  --color-background: #FBFAFB;
  --color-surface: #F3EEF2;
  --color-surface-dark: #E7DEE6;
  --color-text: #18131B;
  --color-text-muted: #6E6675;
  --color-border: #E7DEE6;
  --color-white: #FFFFFF;

  /* tints */
  --line-ink: rgba(24, 19, 27, 0.12);
  --line-ink-strong: rgba(24, 19, 27, 0.22);
  --line-cream: rgba(255, 255, 255, 0.16);
  --line-cream-strong: rgba(255, 255, 255, 0.32);
  --mag-soft: rgba(192, 28, 140, 0.12);

  /* spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;
  --space-3xl: 10rem;

  /* radii — sharp, mostly squared */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 9px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* shadows — layered, magenta-tinted depth */
  --shadow-sm: 0 1px 2px rgba(24, 19, 27, 0.06);
  --shadow-md: 0 2px 6px rgba(24, 19, 27, 0.05), 0 14px 30px -16px rgba(24, 19, 27, 0.20);
  --shadow-lg: 0 4px 10px rgba(24, 19, 27, 0.05), 0 36px 70px -30px rgba(24, 19, 27, 0.30);
  --shadow-mag: 0 24px 60px -24px rgba(153, 21, 112, 0.40);
  --shadow-card: 0 1px 2px rgba(24, 19, 27, 0.05), 0 18px 40px -22px rgba(24, 19, 27, 0.55);
  --shadow-card-hover: 0 6px 14px rgba(24, 19, 27, 0.10), 0 40px 70px -28px rgba(153, 21, 112, 0.45);

  /* typography */
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-mono: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* easing */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);

  /* layout */
  --container-max: 1760px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);
  --nav-height: 5.25rem;

  /* grain texture (reused on dark sections) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Root font scales up on large screens so the whole design grows
     proportionally. 16px to ~1450px, then fluid up to ~22px on 4K. */
  font-size: clamp(1rem, 0.45vw + 0.59rem, 1.4rem);
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
::selection { background: var(--color-secondary); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ----------------------------------------------------------
   3. TYPOGRAPHY — Bricolage display, DM Sans body, DM Mono labels
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  color: var(--color-text);
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
}
h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.18;
}
h4 {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

p {
  color: var(--color-text-muted);
  line-height: 1.68;
  font-size: 1rem;
  font-weight: 400;
  max-width: 62ch;
}

/* Eyebrow — mono micro-label with magenta tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-left: 2.1rem;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 2px;
  background: var(--color-secondary);
}
.eyebrow.on-dark { color: rgba(255,255,255,0.74); }

/* ----------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
section { position: relative; }

/* shared section header (heading left, intro right) */
.sec-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: var(--space-xl);
}
.sec-head-left { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.sec-head h2 { margin: 0; max-width: 16ch; }
.sec-head p { margin: 0; font-size: 1.02rem; max-width: 46ch; }

/* ----------------------------------------------------------
   5. NAVBAR — fixed, transparent over hero, paper when scrolled
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  color: #fff;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.nav-brand { display: inline-flex; align-items: center; gap: 0.7rem; color: inherit; }
.nav-brand-logo { height: 2.5rem; width: auto; display: block; }
.nav-logo-dark { display: none; }

.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links > a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
  color: inherit;
  opacity: 0.88;
  transition: opacity 0.25s var(--ease-out);
}
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--color-secondary);
  transition: width 0.4s var(--ease-out);
}
.nav-links > a:hover { opacity: 1; }
.nav-links > a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease-out);
}
.nav-cta::before {
  content: ""; position: absolute; inset: 0;
  background: #fff;
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}
.nav-cta:hover { color: var(--color-primary); }
.nav-cta:hover::before { transform: translateX(0); }

/* Scrolled / solid */
.nav.scrolled, .nav.always-solid {
  background: rgba(251, 250, 251, 0.88);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  color: var(--color-text);
  box-shadow: 0 1px 0 var(--line-ink);
}
.nav.scrolled .nav-logo-light, .nav.always-solid .nav-logo-light { display: none; }
.nav.scrolled .nav-logo-dark, .nav.always-solid .nav-logo-dark { display: block; }
.nav.scrolled .nav-cta, .nav.always-solid .nav-cta { background: var(--color-secondary); color: #fff; }
.nav.scrolled .nav-cta::before, .nav.always-solid .nav-cta::before { background: var(--color-primary); }
.nav.scrolled .nav-cta:hover, .nav.always-solid .nav-cta:hover { color: #fff; }

.nav-menu-drawer { display: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: inherit; position: relative;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.35s var(--ease-out); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   6. HERO — full-bleed video, ink overlay, white content
   ---------------------------------------------------------- */
.hero {
  position: relative;
  /* wave height + the fraction of it the tallest crest reaches above the band
     baseline (path crest is at y=29 of a 70-tall viewBox -> 1 - 29/70 ~= 0.59) */
  --hero-wave-h: clamp(20px, 2.6vw, 42px);
  --hero-wave-crest: calc(var(--hero-wave-h) * 0.59);
  height: calc(97vh + var(--nav-height));
  height: calc(97dvh + var(--nav-height));
  min-height: calc(660px + var(--nav-height));
  max-height: 1600px; /* defensive cap: full-viewport on real devices, prevents vh blow-up in full-page capture */
  margin-top: calc(-1 * var(--nav-height));
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-primary);
}
.hero-media {
  position: absolute;
  top: -14%; left: 0; right: 0;
  height: 128%;
  z-index: -3;
  overflow: hidden;
  will-change: transform;
}
.hero-video, .hero-poster-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: hero-zoom 2.6s var(--ease-out) 0.1s forwards;
}
/* Hero video opens on the A-Color logo (black) then flows into bright paint
   footage. The overlay must stay legible across both: a base veil + strong
   left/bottom darkening for the heading and foot, plus a magenta brand glow. */
.hero-overlay {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 62% 56% at 93% 0%, rgba(192, 28, 140, 0.36) 0%, rgba(192, 28, 140, 0) 56%),
    linear-gradient(to right, rgba(16, 12, 19, 0.82) 0%, rgba(16, 12, 19, 0.46) 48%, rgba(16, 12, 19, 0.42) 100%),
    linear-gradient(180deg, rgba(16, 12, 19, 0.50) 0%, rgba(16, 12, 19, 0.30) 34%, rgba(16, 12, 19, 0.90) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@keyframes hero-zoom { to { transform: scale(1); } }

/* hero body — holds the lead over the video; the foot wave band sits below it */
.hero-body {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
}
.hero-body .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* content sits low in the hero, 60px above the white wavy line */
  justify-content: flex-end;
  /* hero is pulled up by margin-top:-nav, so content must clear a full nav
     height plus the nav's own offset to sit below the fixed navbar */
  padding-top: calc(var(--nav-height) * 2 + var(--space-md));
  padding-bottom: calc(var(--hero-wave-crest) + 60px);
}

.hero-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 1.15rem; max-width: 54rem; }
.hero h1 {
  color: #fff;
  margin: 0;
  text-wrap: balance;
  max-width: 22ch; /* wide enough to break onto two lines, not three */
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
}
.hero-accent { color: var(--color-secondary); position: relative; display: inline-block; white-space: nowrap; }
.hero-accent .brush-svg {
  position: absolute;
  left: -0.06em; bottom: -0.14em;
  width: calc(100% + 0.12em); height: 0.34em;
  fill: var(--color-secondary);
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(192, 28, 140, 0.45));
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-accent .brush-svg { animation: brush-in 0.95s var(--ease-out) 1.15s both; }
  @keyframes brush-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

  /* hero content rises in, staggered */
  .hero-lead > *, .hero-foot { opacity: 0; animation: hero-rise 0.9s var(--ease-out) forwards; }
  .hero .eyebrow { animation-delay: 0.2s; }
  .hero h1 { animation-delay: 0.35s; }
  .hero-sub { animation-delay: 0.55s; }
  .hero-ctas { animation-delay: 0.7s; }
  .hero-foot { animation-delay: 0.85s; }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
}

/* hero subheading — single short sentence under H1 */
.hero-sub {
  margin: 0.4rem 0 0;
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* hero foot — full-width white band capped by a wave; tagline (left) + stats
   (right). The band uses --color-background so it merges into the services
   section directly below it. */
.hero-foot {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--color-background);
  color: var(--color-text);
}
.hero-wave {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px); /* sit above the band, 1px overlap hides the seam */
  width: 100%;
  height: var(--hero-wave-h);
  display: block;
  color: var(--color-background); /* path is fill: currentColor */
  pointer-events: none;
}
.hero-foot-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  padding-top: var(--space-xs);
  padding-bottom: var(--space-md);
}
.hero-stats { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem); flex-shrink: 0; flex-wrap: wrap; }

/* hero promises — checkmark + short claim, inline next to Google badge */
.hero-promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem clamp(1rem, 2vw, 1.75rem);
}
.hero-promises li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--color-text);
  white-space: nowrap;
}
.hero-promises li svg {
  width: 12px; height: 12px;
  flex-shrink: 0;
  padding: 5px;
  box-sizing: content-box;
  border-radius: var(--radius-pill);
  background: rgba(192, 28, 140, 0.14);
  color: var(--color-secondary);
}

/* Google rating chip — logo + rating + gold stars, no text. Shared: hero + reviews */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.95rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.google-badge-logo { width: 1.75rem; height: 1.75rem; display: block; flex-shrink: 0; }
.google-badge-rate { display: flex; flex-direction: column; gap: 0.28rem; }
.google-badge-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.google-badge-stars { --google-gold: #FBBC04; display: inline-flex; align-items: center; gap: 2px; }
.google-badge-stars .g-star { width: 0.92rem; height: 0.92rem; }
.google-badge-stars .g-star-bg { fill: rgba(24, 19, 27, 0.14); }
.google-badge-stars .g-star-fill svg { fill: var(--google-gold); }
/* Reviews variant — transparent, no box; sits in the section, doesn't stretch the grid cell */
.google-badge--bare { justify-self: start; padding: 0; background: transparent; border: none; box-shadow: none; }
/* hero CTA: magenta base -> white fill + ink content on hover (see .hero-ctas .btn-primary below) */

/* ----------------------------------------------------------
   7. BUTTONS — sharp rectangle, sliding fill, traveling arrow
   ---------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.9rem;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transition: color 0.45s var(--ease-out);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: var(--color-primary);
  transform: translateX(-101%);
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}
.btn-primary svg { width: 1rem; height: 1rem; transition: transform 0.45s var(--ease-out); }
.btn-primary:hover { color: #fff; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover svg { transform: translateX(6px); }
.btn-primary:active { transform: scale(0.985); }
.btn-primary:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; }

.btn-primary.on-light::before { background: var(--color-secondary-dark); }

/* hero CTA: hover sweeps to a WHITE fill with dark (ink) content so it stays prominent */
.hero-ctas .btn-primary::before { background: #fff; }
.hero-ctas .btn-primary:hover { color: var(--color-primary); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.8rem;
  background: transparent;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-cream-strong);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.btn-ghost::before { content: ""; position: absolute; inset: 0; background: #fff; transform: translateX(-101%); transition: transform 0.55s var(--ease-out); z-index: -1; }
.btn-ghost svg { width: 0.9rem; height: 0.9rem; transition: transform 0.45s var(--ease-out); }
.btn-ghost:hover { color: var(--color-primary); border-color: #fff; }
.btn-ghost:hover::before { transform: translateX(0); }
.btn-ghost:hover svg { transform: translateX(6px); }
.btn-ghost:active { transform: scale(0.985); }
.btn-ghost:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btn-ghost.on-light { color: var(--color-primary); border-color: var(--line-ink-strong); }
.btn-ghost.on-light::before { background: var(--color-primary); }
.btn-ghost.on-light:hover { color: #fff; border-color: var(--color-primary); }

/* left-aligned section CTA (all sizes) */
.section-cta { margin-top: var(--space-lg); }

/* ----------------------------------------------------------
   8. SERVICES — dark image cards
   ---------------------------------------------------------- */
.services { background: var(--color-background); padding: var(--space-2xl) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(20rem, 28vw, 27rem);
  padding: 2rem;
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
/* painterly corner frame that draws in on hover (balances the index) */
.service-card::before {
  content: ""; position: absolute; top: 1.5rem; left: 1.7rem; z-index: 2;
  width: 1.5rem; height: 1.5rem;
  border-top: 2px solid var(--color-secondary);
  border-left: 2px solid var(--color-secondary);
  opacity: 0; transform: translate(7px, 7px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.service-card:hover::before { opacity: 1; transform: translate(0, 0); }
.service-card-media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}
.service-card:hover .service-card-media { transform: scale(1.1); }
.service-card-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(16,12,19,0.94) 0%, rgba(16,12,19,0.55) 32%, rgba(16,12,19,0.08) 64%, rgba(16,12,19,0.22) 100%);
  transition: opacity 0.45s var(--ease-out);
}
.service-card:hover .service-card-shade { opacity: 0.85; }
.service-card-index {
  position: absolute; top: 1.6rem; right: 1.8rem; z-index: 1;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.66);
}
.service-card-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.service-card-line {
  width: 34px; height: 2px;
  background: var(--color-secondary);
  transform-origin: left;
  transform: scaleX(0.5);
  transition: transform 0.5s var(--ease-out);
  margin-bottom: 0.4rem;
}
.service-card:hover .service-card-line { transform: scaleX(1); }
.service-card h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  color: #fff;
  line-height: 1.1;
  margin: 0;
}
.service-card-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 32ch;
}

/* ----------------------------------------------------------
   9. AREAS — slim dark served-area band
   ---------------------------------------------------------- */
.areas {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.areas::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); background-size: 180px 180px; opacity: 0.05; mix-blend-mode: overlay; }
.areas .container { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); flex-wrap: nowrap; }
.areas .eyebrow { color: rgba(255,255,255,0.72); flex-shrink: 0; }
.areas .eyebrow::before { background: var(--color-secondary); }

/* continuously scrolling served-area ribbon */
.areas-marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.areas-track {
  display: flex; align-items: center; width: max-content;
  will-change: transform;
}
.areas-group { display: flex; align-items: center; }
.areas-item {
  position: relative; display: inline-flex; align-items: center;
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
}
.areas-item::before {
  content: ""; position: absolute; left: -3px; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-secondary); transform: translateY(-50%);
}
@media (prefers-reduced-motion: no-preference) {
  .areas-track { animation: areas-scroll 42s linear infinite; }
  .areas-marquee:hover .areas-track { animation-play-state: paused; }
  @keyframes areas-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .areas-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .areas-track { flex-wrap: wrap; }
  .areas-group--dup { display: none; }
}

/* ----------------------------------------------------------
   10. SIGNATURE — founder image + text
   ---------------------------------------------------------- */
.signature { background: var(--color-background); padding: var(--space-2xl) 0; }
.signature .container {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.signature-media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.signature-media::after {
  content: ""; position: absolute; left: 0; bottom: 0; z-index: 1;
  width: 46%; height: 4px; background: var(--color-secondary);
  transform-origin: left; transition: width 0.6s var(--ease-out);
}
.signature-media:hover::after { width: 72%; }
.signature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.signature-media:hover img { transform: scale(1.04); }
.signature-content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.signature-content h2 { margin: 0; max-width: 15ch; }
.signature-content p { font-size: 1.02rem; max-width: 52ch; }
.signature-quote {
  margin: 0.6rem 0 0;
  padding: 0 0 0 1.6rem;
  border-left: 2px solid var(--color-secondary);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.signature-quote-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--color-text);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.022em;
  max-width: 26ch;
}
.signature-quote-author {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
}

/* ----------------------------------------------------------
   11. PROCESS — scroll-driven, pinned horizontal stepper
   (falls back to a clean vertical card stack on mobile / reduced motion)
   ---------------------------------------------------------- */
.process { background: var(--color-surface); padding: var(--space-2xl) 0; }

.process-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; margin-bottom: var(--space-lg); }
.process-head h2 { margin: 0; max-width: 18ch; }
.process-intro { margin: 0; font-size: 1.02rem; max-width: 48ch; }

/* ---- static 4-step grid ---- */
.process-grid {
  --process-pad: clamp(1.6rem, 2.1vw, 2.2rem);
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.6vw, 1.6rem);
}
/* connector: dashed baseline + magenta progress that draws in on reveal.
   Lives behind the (opaque) cards, so it only shows in the gaps between them. */
.process-grid::before,
.process-grid::after {
  content: ""; position: absolute; z-index: 0;
  top: calc(var(--process-pad) + 1.5rem);
  left: 0; right: 0; height: 0;
  pointer-events: none;
}
.process-grid::before { border-top: 2px dashed var(--line-ink-strong); }
.process-grid::after {
  border-top: 2px solid var(--color-secondary);
  transform: scaleX(0); transform-origin: left;
}

.process-card {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.9rem;
  background: var(--color-background);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius-md);
  padding: var(--process-pad);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.process-card-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 3.4vw, 3.4rem); letter-spacing: -0.04em; line-height: 1;
  color: var(--color-secondary);
  transition: color 0.4s var(--ease-out);
}
.process-card h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); color: var(--color-text); margin: 0; }
.process-card p { font-size: 0.96rem; color: var(--color-text-muted); margin: 0; line-height: 1.6; }
.process-card-rule {
  display: block; width: 38px; height: 2px; background: var(--color-secondary);
  margin-top: auto; transform-origin: left; transform: scaleX(0.4);
  transition: transform 0.4s var(--ease-out);
}

/* connector animation + hover interaction live behind a motion guard */
@media (prefers-reduced-motion: no-preference) {
  .process-grid::after { transition: transform 1.1s var(--ease-out) 0.2s; }
  .process-grid.is-drawn::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .process-grid.is-drawn::after { transform: scaleX(1); }
}

@media (hover: hover) {
  .process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
  }
  .process-card:hover .process-card-num { color: var(--color-secondary-dark); }
  .process-card:hover .process-card-rule { transform: scaleX(1); }
}

/* tablet: two columns, drop the single-row connector */
@media (max-width: 1000px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before, .process-grid::after { display: none; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   12. STATEMENT — bold editorial band over image
   ---------------------------------------------------------- */
.statement {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.statement-bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: 0.4; transform: scale(1.04); }
.statement::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 60% at 90% 8%, rgba(192, 28, 140, 0.30) 0%, rgba(192, 28, 140, 0) 55%),
    linear-gradient(to right, rgba(16,12,19,0.84) 0%, rgba(16,12,19,0.52) 60%, rgba(16,12,19,0.40) 100%),
    linear-gradient(180deg, rgba(16,12,19,0.40) 0%, rgba(16,12,19,0.72) 100%);
}
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); background-size: 180px 180px; opacity: 0.06; mix-blend-mode: overlay; }
.statement .container { display: flex; flex-direction: column; align-items: flex-start; gap: 1.8rem; max-width: 1300px; }
.statement h2 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 5rem); margin: 0; max-width: 15ch; letter-spacing: -0.035em; }
.statement-body { font-size: 1.1rem; color: rgba(255, 255, 255, 0.78); max-width: 54ch; margin: 0; }
.statement-cta { margin-top: 0.6rem; }

/* ----------------------------------------------------------
   13. GALLERY / KOHTEET — mosaic
   ---------------------------------------------------------- */
.gallery { background: var(--color-background); padding: var(--space-2xl) 0; }
.gallery-grid { display: grid; grid-template-columns: 1fr 0.72fr; gap: clamp(0.6rem, 1.2vw, 1rem); align-items: stretch; }
.gallery-stack { display: grid; gap: clamp(0.6rem, 1.2vw, 1rem); min-height: 0; }
.gallery-item { position: relative; margin: 0; overflow: hidden; background: var(--color-surface-dark); }
.gallery-media { display: block; position: relative; overflow: hidden; }
.gallery-stack .gallery-media { aspect-ratio: 16 / 9; }
.gallery-item--tall .gallery-media { position: absolute; inset: 0; }
.gallery-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.gallery-item:hover .gallery-media img { transform: scale(1.055); }
.gallery-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,12,19,0.86) 0%, rgba(16,12,19,0.28) 28%, rgba(16,12,19,0) 52%); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.6rem 1.7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; color: #fff; }
.gallery-cap::before { content: ""; width: 32px; height: 2px; background: var(--color-secondary); margin-bottom: 0.7rem; transform-origin: left; transform: scaleX(0.55); transition: transform 0.45s var(--ease-out); }
.gallery-item:hover .gallery-cap::before { transform: scaleX(1); }
.gallery-cap-label { font-family: var(--font-mono); font-weight: 500; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.gallery-cap-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }

/* ---- Before/After compare ---- */
.gallery-item--compare .compare-media { position: relative; user-select: none; touch-action: none; cursor: ew-resize; }
.gallery-item--compare:hover .gallery-media img { transform: none; }
.compare-media .compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: none; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.compare-media .compare-img--after { position: relative; }
.compare-clip { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--compare-pos)) 0 0); -webkit-clip-path: inset(0 calc(100% - var(--compare-pos)) 0 0); pointer-events: none; }
.compare-clip .compare-img--before { position: absolute; inset: 0; }
.compare-divider { position: absolute; top: 0; bottom: 0; left: var(--compare-pos); width: 2px; background: rgba(255,255,255,0.92); transform: translateX(-1px); z-index: 2; pointer-events: none; box-shadow: 0 0 0 1px rgba(16,12,19,0.18), 0 0 22px rgba(16,12,19,0.35); }
.compare-handle { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--color-ink, #100c13); display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); box-shadow: 0 6px 18px rgba(16,12,19,0.35), 0 0 0 1px rgba(16,12,19,0.08); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.gallery-item--compare:hover .compare-handle,
.compare-range:focus-visible + .compare-handle { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 10px 26px rgba(16,12,19,0.42), 0 0 0 1px rgba(16,12,19,0.12); }
.compare-label { position: absolute; top: 0.9rem; z-index: 2; font-family: var(--font-mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; padding: 0.35rem 0.6rem; background: rgba(16,12,19,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.compare-label--before { left: 0.9rem; }
.compare-label--after { right: 0.9rem; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 46px; height: 46px; background: transparent; cursor: ew-resize; }
.compare-range::-moz-range-thumb { width: 46px; height: 46px; background: transparent; border: 0; cursor: ew-resize; }
.gallery-item--compare .gallery-media::after { background: linear-gradient(to top, rgba(16,12,19,0.72) 0%, rgba(16,12,19,0.18) 22%, rgba(16,12,19,0) 42%); pointer-events: none; z-index: 1; }
.gallery-item--compare .gallery-cap { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .compare-handle, .gallery-item--compare:hover .compare-handle { transition: none; transform: translate(-50%, -50%); }
}

/* ----------------------------------------------------------
   14. REVIEWS / KOKEMUKSET — 3-column editorial
   ---------------------------------------------------------- */
.reviews { background: var(--color-surface); padding: var(--space-2xl) 0; }
.reviews-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2.5rem;
  margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--line-ink);
}
.reviews-head-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; max-width: 56ch; }
.reviews-head h2 { margin: 0; }
.reviews-head p { max-width: 48ch; margin: 0; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.review-card { background: transparent; padding: 0 2.4rem 0 0; display: flex; flex-direction: column; gap: 1.5rem; position: relative; isolation: isolate; transition: transform 0.4s var(--ease-out); }
.review-card + .review-card { border-left: 1px solid var(--line-ink); padding-left: 2.4rem; }
.review-card::before { content: ""; position: absolute; top: 0; left: 0; width: 38px; height: 2px; background: var(--color-secondary); transition: width 0.45s var(--ease-out); }
.review-card + .review-card::before { left: 2.4rem; }
.review-card:hover::before { width: 68px; }
/* faint editorial quotation watermark */
.review-card::after {
  content: "\201C";
  position: absolute; top: 1.1rem; left: 0; z-index: -1;
  font-family: var(--font-display); font-weight: 700;
  font-size: 5.5rem; line-height: 1;
  color: var(--color-secondary); opacity: 0.16;
  pointer-events: none;
}
.review-card + .review-card::after { left: 2.4rem; }
.review-card { padding-top: 1.8rem; }
.review-stars { display: inline-flex; align-items: center; gap: 3px; }
.review-stars .g-star { width: 0.9rem; height: 0.9rem; }
.review-stars .g-star-bg { fill: rgba(24,19,27,0.10); }
.review-text { font-family: var(--font-body); font-size: 1.05rem; color: var(--color-text); line-height: 1.6; margin: 0; flex-grow: 1; font-weight: 400; letter-spacing: -0.003em; }
.review-author { display: flex; flex-direction: column; gap: 0.2rem; }
.review-author-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--color-text); letter-spacing: -0.01em; }
.review-author-meta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--color-text-muted); letter-spacing: 0.14em; text-transform: uppercase; }

/* Google star helper */
.g-star { position: relative; display: inline-block; width: 0.9rem; height: 0.9rem; line-height: 0; }
.g-star svg { width: 100%; height: 100%; display: block; }
.g-star-bg { fill: rgba(24,19,27,0.14); }
.g-star-fill { position: absolute; inset: 0; overflow: hidden; display: block; }
.g-star-fill svg { fill: var(--color-secondary); }

/* ----------------------------------------------------------
   15. WHY — 2x2 grid
   ---------------------------------------------------------- */
.why { background: var(--color-background); padding: var(--space-2xl) 0; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.why-item { display: block; padding: 2.4rem 0; border-bottom: 1px solid var(--line-ink); }
.why-item:nth-child(odd) { padding-right: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid var(--line-ink); }
.why-item:nth-child(even) { padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.why-item:nth-last-child(-n+2) { border-bottom: none; }
.why-item-content { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.why-icon {
  width: 3.4rem; height: 3.4rem;
  color: var(--color-secondary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
  background: var(--mag-soft);
  border: 1px solid rgba(192, 28, 140, 0.18);
  border-radius: var(--radius-pill);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.why-icon svg { width: 1.55rem; height: 1.55rem; stroke-width: 1.5; }
.why-item:hover .why-icon { background: var(--color-secondary); color: #fff; border-color: var(--color-secondary); transform: translateY(-2px); }
.why-item h3 { font-size: 1.4rem; color: var(--color-text); margin: 0; }
.why-item p { font-size: 0.98rem; line-height: 1.6; margin: 0; max-width: 42ch; }

/* ----------------------------------------------------------
   16. CTA — contact form (dark band, elevated form)
   ---------------------------------------------------------- */
.cta { position: relative; background: var(--color-primary); color: #fff; padding: var(--space-2xl) 0; isolation: isolate; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 55% at 86% 2%, rgba(192,28,140,0.26) 0%, rgba(192,28,140,0) 58%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(192,28,140,0.10) 0%, rgba(192,28,140,0) 55%);
}
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); background-size: 180px 180px; opacity: 0.05; mix-blend-mode: overlay; }
.cta .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.cta-head { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-head .eyebrow { color: rgba(255,255,255,0.78); }
.cta-head h2 { margin: 0; max-width: 13ch; color: #fff; }
.cta-head p { max-width: 42ch; margin: 0; color: rgba(255,255,255,0.74); }
.cta-contact { display: grid; gap: 0; width: 100%; margin-top: 1rem; border-top: 1px solid var(--line-cream); }
.cta-contact-row { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-cream); }
.cta-contact-row .label { color: rgba(255,255,255,0.5); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; font-family: var(--font-mono); padding-top: 0.2rem; }
.cta-contact-row .value { font-family: var(--font-body); font-size: 1rem; color: #fff; font-weight: 500; }
.cta-contact-row .value a { transition: color 0.25s var(--ease-out); }
.cta-contact-row .value a:hover { color: var(--color-secondary); }

.cta-form {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line-cream);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 0;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7);
  backdrop-filter: blur(3px);
}
.cta-form-eyebrow { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-secondary); font-weight: 500; margin-bottom: 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line-cream); display: block; }
.cta-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cta-form label { display: block; font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.cta-form input, .cta-form textarea, .cta-form select {
  width: 100%; padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-cream);
  color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.4); font-weight: 400; }
.cta-form input:focus, .cta-form textarea:focus, .cta-form select:focus { outline: none; border-color: var(--color-secondary); background: rgba(255,255,255,0.09); box-shadow: 0 0 0 3px rgba(192, 28, 140, 0.18); }
.cta-form .field { margin-bottom: 1.1rem; position: relative; }
.cta-form textarea { min-height: 120px; resize: vertical; }
.cta-form .select-wrap { position: relative; }
.cta-form select { padding-right: 2.4rem; appearance: none; -webkit-appearance: none; cursor: pointer; }
.cta-form select option { color: var(--color-text); background: var(--color-background); }
.cta-form select:invalid { color: rgba(255,255,255,0.4); font-weight: 400; }
.cta-form .select-caret { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.6); pointer-events: none; display: inline-flex; }
.cta-form .check {
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.3rem; cursor: pointer;
  font-family: var(--font-body); font-size: 0.92rem; color: rgba(255,255,255,0.82); font-weight: 400;
}
.cta-form .check input { width: 1.05rem; height: 1.05rem; flex-shrink: 0; accent-color: var(--color-secondary); cursor: pointer; padding: 0; }
.cta-form .cta-form-submit { margin-top: 0.5rem; width: 100%; justify-content: center; padding-top: 1.15rem; padding-bottom: 1.15rem; background: var(--color-secondary); }
.cta-form .cta-form-submit::before { background: #fff; }
.cta-form .cta-form-submit:hover { color: var(--color-primary); }
.cta-form-success { background: transparent; color: #fff; border: none; border-top: 2px solid var(--color-secondary); padding: 1.2rem 0 0; margin-top: 1.2rem; display: none; font-size: 0.95rem; font-weight: 600; font-family: var(--font-body); }
.cta-form-success.is-visible { display: block; }

/* ----------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------- */
.footer { background: var(--color-background); color: var(--color-text-muted); padding: var(--space-xl) 0 var(--space-md); border-top: 1px solid var(--color-border); }
.footer .container { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.footer h4 { color: var(--color-text); margin-bottom: 1.2rem; }
.footer-brand { display: inline-flex; align-items: center; margin-bottom: 1.2rem; }
.footer-brand .nav-brand-logo { height: 2.9rem; }
.footer-tagline { font-size: 0.94rem; line-height: 1.65; max-width: 36ch; color: var(--color-text-muted); }
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a, .footer-links span { color: var(--color-text-muted); font-size: 0.9rem; font-family: var(--font-body); }
.footer-links a { transition: color 0.25s var(--ease-out); }
.footer-links a:hover { color: var(--color-secondary); }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: var(--color-text-muted); font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ----------------------------------------------------------
   18. SCROLL REVEAL
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); will-change: transform, opacity; }
  .reveal.is-visible { animation: reveal-in 0.8s var(--ease-out) forwards; }
  @keyframes reveal-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
}

/* ----------------------------------------------------------
   19. UTILITIES — mobile CTA
   ---------------------------------------------------------- */
.mobile-cta {
  display: none;
  align-items: center; gap: 0.7rem;
  margin: var(--space-md) 0 0;
  padding: 1.1rem 1.8rem;
  background: var(--color-primary); color: #fff;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  align-self: flex-start; width: fit-content;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease-out);
}
.mobile-cta::before { content: ""; position: absolute; inset: 0; background: var(--color-secondary); transform: translateX(-101%); transition: transform 0.5s var(--ease-out); z-index: -1; }
.mobile-cta::after { content: " →"; transition: transform 0.4s var(--ease-out); display: inline-block; }
.mobile-cta:hover { color: #fff; }
.mobile-cta:hover::before { transform: translateX(0); }
.mobile-cta:hover::after { transform: translateX(4px); }

/* ----------------------------------------------------------
   20. RESPONSIVE — TABLET
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .sec-head { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .signature .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .signature-media { aspect-ratio: 16/11; max-width: 620px; }
  .reviews-head { grid-template-columns: 1fr; align-items: start; }
  .reviews-grid { grid-template-columns: 1fr; gap: 0; }
  .review-card { padding: 2.2rem 0 0; }
  .review-card + .review-card { border-left: none; padding-left: 0; border-top: 1px solid var(--line-ink); padding-top: 2.2rem; margin-top: 2rem; }
  .review-card + .review-card::before { left: 0; }
  .gallery-grid { grid-template-columns: 1fr 0.8fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .why-item:nth-child(even) { padding-left: 0; }
  .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-ink); }
  .why-item:last-child { border-bottom: none; }
  .cta .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer .container { grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
}

/* ----------------------------------------------------------
   21. RESPONSIVE — MOBILE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --space-2xl: 4.5rem; --space-3xl: 6rem; --space-xl: 3rem; --nav-height: 70px; }

  .nav .container { padding-left: 1.25rem; padding-right: 1.25rem; gap: 1rem; }
  .nav-brand-logo { height: 2.1rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open { background: rgba(251,250,251,0.96); backdrop-filter: saturate(150%) blur(18px); -webkit-backdrop-filter: saturate(150%) blur(18px); color: var(--color-text); box-shadow: 0 1px 0 var(--line-ink); }
  .nav.is-open .nav-logo-light { display: none; }
  .nav.is-open .nav-logo-dark { display: block; }

  .nav-menu-drawer {
    display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
    height: calc(100dvh - var(--nav-height)); overflow-y: auto;
    background: var(--color-background); color: var(--color-text);
    padding: 2rem 1.5rem; z-index: 999; flex-direction: column; gap: 0.4rem; border-top: 1px solid var(--line-ink);
  }
  .nav.is-open .nav-menu-drawer { display: flex !important; }
  .nav-menu-drawer a { color: var(--color-text); font-size: 1rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.9rem 0; border-bottom: 1px solid var(--line-ink); }
  .nav-menu-drawer .nav-menu-cta { margin-top: 1.4rem; padding: 1.2rem 1.5rem; background: var(--color-secondary); color: #fff; text-align: center; border-bottom: none; }

  /* Mobile hero is content-sized — no forced 100vh. Eyebrow sits at least 8rem
     below viewport top (nav-height pulls hero up, so the body container's top
     padding adds nav-height + 8rem to land the eyebrow there). */
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-body .container { padding-top: calc(var(--nav-height) + 8rem); padding-bottom: calc(var(--hero-wave-crest) + 3rem); }
  .hero-lead { max-width: 100%; gap: 0.95rem; }
  /* Bigger h1 that wraps naturally — accent is allowed to break to its own
     line(s), brush hidden on mobile since it can't track multi-line wrap. */
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3.2rem); line-height: 1.04; max-width: 100%; letter-spacing: -0.028em; }
  .hero-accent { white-space: normal; }
  .hero-accent .brush-svg { display: none; }
  .hero .eyebrow { font-size: 0.72rem; }
  .hero-sub { font-size: 0.97rem; line-height: 1.45; max-width: 100%; margin-top: 0.15rem; }
  .hero-ctas { gap: 0.7rem; margin-top: 0.2rem; width: 100%; }
  .hero-ctas .btn-primary { padding: 0.95rem 1.3rem; font-size: 0.95rem; }
  /* taller wavy band on mobile: more room above the stats, stats stay pinned low */
  .hero-foot-inner { flex-direction: column; align-items: flex-start; gap: 1rem; padding-top: var(--space-md); padding-bottom: var(--space-sm); }
  .hero-stats { gap: 1.1rem; width: 100%; align-items: flex-start; flex-direction: column; }
  .google-badge { padding: 0.5rem 0.8rem; gap: 0.6rem; }
  .google-badge-logo { width: 1.5rem; height: 1.5rem; }
  .google-badge-value { font-size: 1.15rem; }
  /* Promises stack one-per-row on mobile for cleaner scan */
  .hero-promises { flex-direction: column; align-items: flex-start; gap: 0.55rem; width: 100%; }
  .hero-promises li { font-size: 0.9rem; gap: 0.55rem; }
  .hero-promises li svg { width: 10px; height: 10px; padding: 4px; }
  .hero-ctas .btn-ghost { background: transparent; border: none; padding: 0.4rem 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
  .hero-ctas .btn-ghost::before { content: none; }
  .hero-ctas .btn-ghost svg { display: none; }
  .hero-ctas .btn-ghost:hover { color: var(--color-secondary); }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 16.5rem; padding: 1.7rem; }
  .service-card-shade { background: linear-gradient(to top, rgba(16,12,19,0.95) 0%, rgba(16,12,19,0.7) 45%, rgba(16,12,19,0.4) 100%); }

  .areas .container { gap: 1rem; }
  .areas-item { font-size: 1.1rem; padding: 0 1.1rem; }

  .signature-media { aspect-ratio: 4/3; }
  .statement { padding: var(--space-2xl) 0; }
  .statement h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-stack .gallery-media { aspect-ratio: 16 / 10; }
  .gallery-item--tall .gallery-media { position: static; aspect-ratio: 3 / 4; }

  .cta-form { padding: 1.5rem 1.3rem; }
  .cta-form .row { grid-template-columns: 1fr; gap: 0; }
  .cta-contact-row { grid-template-columns: 6rem 1fr; padding: 0.85rem 0; }

  .footer .container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .mobile-cta { display: inline-flex; }
}
