/* =====================================================================
   PEAKY PAINTERS — Design System (shared across all pages)
   Author: Senior FE / UI-UX
   Stack: HTML5 + CSS3 + vanilla JS (no frameworks, no build step)
   ===================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand palette */
  --ink:        #0B0B0D;   /* near-black surfaces */
  --ink-700:    #141417;
  --ink-600:    #1C1C20;
  --ink-500:    #26262B;

  --paper:      #FFFFFF;
  --cream:      #F3F3F4;   /* light grey section bg */
  --sand:       #E8E8EA;

  --text:       #0B0B0D;   /* body text on light */
  --text-muted: #5B5B61;
  --text-faint: #9A9AA0;
  --on-dark:    #F2F2F3;   /* text on dark surfaces */
  --on-dark-muted:#A6A6AD;

  /* Monochrome accents (black & white) */
  --accent:        #FFFFFF;   /* white — accents on dark / primary on dark */
  --accent-strong: #0B0B0D;   /* near-black — accents on light backgrounds */
  --accent-soft:   #E5E5E5;
  --teal:          #FFFFFF;
  --coral:         #111114;   /* asterisk / error (monochrome) */

  /* Lines & overlays */
  --line:        rgba(16,17,22,.10);
  --line-soft:   rgba(16,17,22,.06);
  --line-dark:   rgba(255,255,255,.12);

  /* Radii (sharpened, architectural) */
  --r-sm: 4px;
  --r:    6px;
  --r-lg: 10px;
  --r-xl: 14px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(16,17,22,.05), 0 2px 6px rgba(16,17,22,.07);
  --shadow:     0 14px 34px -16px rgba(16,17,22,.30);
  --shadow-lg:  0 36px 70px -24px rgba(16,17,22,.40);
  --shadow-glow:0 16px 42px -12px rgba(0,0,0,.42);

  /* Motion */
  --t:      .30s cubic-bezier(.2,.7,.2,1);
  --t-slow: .65s cubic-bezier(.2,.7,.2,1);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 44px);
  --section-y: clamp(64px, 9vw, 132px);
  --nav-h: 76px;

  /* Fonts */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; } /* lock scroll when mobile menu open */

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--ink); }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--dark  { background: var(--ink); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--accent); }

.h-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.h-sub {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--text-muted);
  max-width: 60ch;
}
.section--dark .h-sub { color: var(--on-dark-muted); }
.section-head.center .h-sub { margin-inline: auto; }

/* gradient text accent for key words */
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-strong) 60%, var(--coral) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-pill);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.btn:active { transform: translateY(-1px) scale(.99); }

.btn--primary { --btn-bg: var(--accent); --btn-fg: #2A1B00; }
.btn--primary:hover { --btn-bg: var(--accent-strong); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { box-shadow: var(--shadow-lg); }

.btn--ghost {
  --btn-fg: var(--text);
  background: transparent;
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); box-shadow: var(--shadow); }

.btn--ghost-light {
  --btn-fg: #fff;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.28);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; box-shadow: none; }

.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ripple effect (injected by JS) */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.45);
  animation: ripple .6s ease-out;
  pointer-events: none;
  z-index: -1;
}
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--accent-strong);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. Scroll progress bar ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--coral));
  z-index: 1200;
  transition: width .1s linear;
}

/* ---------- 6. Top utility bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: .82rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; padding-block: 7px;
}
.topbar__list { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 15px; height: 15px; color: var(--accent); }
.topbar a:hover { color: #fff; }
.topbar strong { color: var(--on-dark); font-weight: 600; }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------- 7. Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.nav--scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(16,17,22,.4);
}
.nav__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--nav-h);
}

/* logo / brand */
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  position: relative; width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__dots { display: flex; gap: 3px; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); }
.brand__dots i { width: 4px; height: 4px; border-radius: 50%; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  letter-spacing: -.02em; line-height: 1;
}
.brand__name span { color: var(--accent-strong); }
.brand__tag { display:block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-top: 3px; }
/* WordPress custom-logo support */
.brand--logo { display: inline-flex; align-items: center; }
.brand .custom-logo, .brand--logo .custom-logo { height: 46px; width: auto; display: block; }

/* nav links */
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 500; font-size: .96rem; color: var(--text);
  transition: color var(--t), background var(--t);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav__call {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 9px 14px; border-radius: var(--r-pill);
  transition: background var(--t);
}
.nav__call svg { width: 17px; height: 17px; color: var(--accent-strong); }
.nav__call:hover { background: var(--cream); }

/* hamburger */
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); margin-left: auto;
  position: relative; transition: background var(--t);
}
.nav__toggle:hover { background: var(--cream); }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t);
}
.nav__toggle span { transform: translate(-50%,-50%); }
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(6px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  color: var(--on-dark);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
/* Layered premium gradient "paint" background (no external image needed).
   To use a real photo later: set --hero-img: url('assets/hero.jpg'); on .hero  */
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(1100px 680px at 78% -10%, rgba(245,166,35,.28), transparent 60%),
    radial-gradient(900px 700px at 8% 110%, rgba(20,184,166,.20), transparent 55%),
    radial-gradient(700px 500px at 50% 50%, rgba(255,107,91,.10), transparent 60%),
    linear-gradient(160deg, #0B0E13 0%, #131A26 55%, #0E1116 100%);
}
/* optional real image layer */
.hero__bg.has-img {
  background-image:
    linear-gradient(180deg, rgba(10,12,17,.55), rgba(10,12,17,.78)),
    var(--hero-img);
  background-size: cover; background-position: center;
}
/* a diagonal "paint sweep" */
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: -10%;
  background: conic-gradient(from 210deg at 70% 30%, transparent 0deg, rgba(245,166,35,.16) 40deg, transparent 120deg);
  filter: blur(20px);
  animation: sweep 18s ease-in-out infinite alternate;
}
@keyframes sweep { to { transform: rotate(12deg) scale(1.1); } }
/* fine grain texture */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center;
  padding-block: clamp(60px, 9vw, 96px); width: 100%;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  font-size: .82rem; font-weight: 500; color: var(--on-dark); backdrop-filter: blur(6px);
  margin-bottom: 26px;
}
.hero__eyebrow b { color: var(--accent); font-weight: 700; }
.hero__eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(20,184,166,.6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(20,184,166,0); } 100% { box-shadow: 0 0 0 0 rgba(20,184,166,0); } }

.hero__title {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04;
  letter-spacing: -.03em;
}
.hero__sub {
  margin-top: 22px; max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--on-dark-muted);
}
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__tags a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .9rem; font-weight: 500; color: var(--on-dark);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.hero__tags a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__trust {
  display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero__stars { display: flex; flex-direction: column; gap: 3px; }
.hero__stars .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; }
.hero__stars small { color: var(--on-dark-muted); font-size: .82rem; }
.hero__trust .divider { width: 1px; height: 34px; background: rgba(255,255,255,.16); }
.hero__trust .credo { font-size: .86rem; color: var(--on-dark-muted); max-width: 26ch; }
.hero__trust .credo b { color: #fff; }

/* glass stat card on the right */
.hero__card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg);
  padding: 30px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.hero__card p { color: var(--on-dark-muted); font-size: .92rem; margin-bottom: 22px; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.hero__stat .n {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: #fff;
  line-height: 1; display: flex; align-items: baseline; gap: 2px;
}
.hero__stat .n .suffix { color: var(--accent); font-size: 1.3rem; }
.hero__stat .l { font-size: .82rem; color: var(--on-dark-muted); margin-top: 6px; }
.hero__card .mini-cta {
  margin-top: 24px; display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: var(--r); background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.3); font-size: .9rem;
}
.hero__card .mini-cta svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* floating swatches */
.swatch {
  position: absolute; border-radius: 12px; box-shadow: var(--shadow-lg);
  z-index: -1; opacity: .9;
}
.swatch--1 { width: 64px; height: 64px; background: var(--accent); top: 14%; left: 46%; transform: rotate(-12deg); animation: float 7s ease-in-out infinite; }
.swatch--2 { width: 48px; height: 48px; background: var(--teal); bottom: 18%; right: 6%; transform: rotate(10deg); animation: float 9s ease-in-out infinite reverse; }
.swatch--3 { width: 40px; height: 40px; background: var(--coral); top: 24%; right: 2%; animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-16px) rotate(6deg); } }

/* ---------- 9. Marquee trust strip ---------- */
.trustbar { background: var(--ink-700); color: var(--on-dark); padding-block: 22px; border-block: 1px solid var(--line-dark); }
.trustbar__inner { display: flex; align-items: center; justify-content: center; gap: clamp(20px,4vw,54px); flex-wrap: wrap; }
.trustbar__item { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; color: var(--on-dark); }
.trustbar__item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ---------- 10. Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px 280px at 80% -20%, rgba(245,166,35,.16), transparent 70%);
  transition: opacity var(--t);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(245,166,35,.5); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--ink), var(--ink-500)); color: var(--accent);
  margin-bottom: 20px; transition: transform var(--t);
}
.service-card:hover .service-card__icon { transform: scale(1.06) rotate(-4deg); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: .96rem; margin-bottom: 18px; }
.service-card .link-arrow { font-size: .9rem; }

/* ---------- 11. Why choose us ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,5vw,72px); align-items: start; }
.why__media {
  position: relative; border-radius: var(--r-xl); min-height: 440px;
  background:
    radial-gradient(500px 360px at 30% 20%, rgba(245,166,35,.30), transparent 60%),
    linear-gradient(150deg, var(--ink-600), var(--ink));
  overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; align-items: flex-end; padding: 30px;
}
.why__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: 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='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.why__badge {
  position: relative; z-index: 1; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px);
  border-radius: var(--r); padding: 22px 24px; color: #fff; max-width: 300px;
}
.why__badge .big { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.why__badge .big span { color: var(--accent); }
.why__badge p { color: var(--on-dark-muted); font-size: .92rem; margin-top: 8px; }
.why__media .swatch-row { position: absolute; top: 26px; left: 26px; display: flex; gap: 8px; z-index: 1; }
.why__media .swatch-row i { width: 30px; height: 44px; border-radius: 6px; box-shadow: var(--shadow); }

.why__list { display: grid; gap: 14px; }
.feature {
  display: flex; gap: 18px; padding: 22px;
  border-radius: var(--r); background: var(--paper); border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(245,166,35,.4); }
.feature__icon {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--cream); color: var(--accent-strong);
}
.feature__icon svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 5px; }
.feature p { font-size: .93rem; color: var(--text-muted); }

/* ---------- 12. Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--ink); margin-bottom: 18px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(245,166,35,.16);
}
.step:not(:last-child) .step__num::after {
  content: ""; position: absolute; left: 100%; top: 50%; width: calc(100% + 22px - 46px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px);
  transform: translateY(-50%);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--text-muted); }

/* ---------- 13. Commercial / contractor band ---------- */
.commercial { position: relative; overflow: hidden; isolation: isolate; }
.commercial__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px,5vw,64px); align-items: center; }
.commercial__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 480px at 88% 20%, rgba(20,184,166,.18), transparent 60%),
    radial-gradient(600px 400px at 0% 90%, rgba(245,166,35,.16), transparent 60%),
    var(--ink);
}
.commercial ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 26px; }
.commercial li { display: flex; gap: 11px; align-items: flex-start; color: var(--on-dark); font-size: .96rem; }
.commercial li svg { width: 21px; height: 21px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.commercial__card {
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg);
  padding: 32px; backdrop-filter: blur(14px); text-align: center; color: #fff;
}
.commercial__card .ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(20,184,166,.16); border: 1px solid rgba(20,184,166,.4); display: grid; place-items: center; margin: 0 auto 18px; }
.commercial__card .ico svg { width: 32px; height: 32px; color: var(--teal); }
.commercial__card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.commercial__card p { color: var(--on-dark-muted); font-size: .95rem; margin-bottom: 22px; }

/* ---------- 14. Stats counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; text-align: center; }
.stat { padding: 30px 18px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem,4vw,3rem); color: var(--ink); line-height: 1; }
.stat__num .suffix { color: var(--accent-strong); }
.stat__label { margin-top: 10px; color: var(--text-muted); font-size: .94rem; }

/* ---------- 15. Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.t-card { padding: 30px 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t); }
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.t-card .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--accent); height: 24px; }
.t-card .stars { color: var(--accent); letter-spacing: 2px; margin: 6px 0 14px; }
.t-card p { color: var(--text); font-size: 1rem; flex-grow: 1; }
.t-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.t-card .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--ink); }
.t-card .who b { display: block; font-size: .96rem; }
.t-card .who small { color: var(--text-faint); }

/* ---------- 16. Quote section + form ---------- */
.quote { position: relative; }
.quote__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(34px,5vw,64px); align-items: start; }
.quote__info h2 { font-size: clamp(1.9rem,3.6vw,2.8rem); }
.quote__info .h-sub { color: var(--on-dark-muted); }
.quote__points { display: grid; gap: 16px; margin-top: 30px; }
.quote__point { display: flex; gap: 14px; align-items: flex-start; }
.quote__point .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; }
.quote__point .ico svg { width: 22px; height: 22px; color: var(--accent); }
.quote__point b { color: #fff; display: block; font-size: 1rem; }
.quote__point span { color: var(--on-dark-muted); font-size: .9rem; }
.quote__contact { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 22px; }
.quote__contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.quote__contact svg { width: 20px; height: 20px; color: var(--accent); }

/* form card */
.form-card {
  background: var(--paper); border-radius: var(--r-xl); padding: clamp(26px,3vw,40px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.form-card__head { margin-bottom: 24px; }
.form-card__head h3 { font-size: 1.5rem; }
.form-card__head p { color: var(--text-muted); font-size: .94rem; margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.col-2 { grid-column: span 2; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .88rem; }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--cream); transition: border-color var(--t), box-shadow var(--t), background var(--t);
  width: 100%; font-size: .98rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23586072' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(245,166,35,.18);
}
.field .error-msg { font-size: .8rem; color: var(--coral); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--coral); background: #FFF5F4; }
.field.invalid .error-msg { display: block; }
/* honeypot (hidden from humans) */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-card .consent { font-size: .82rem; color: var(--text-faint); margin-top: 4px; }
.form-card .btn { margin-top: 6px; }

/* success state */
.form-success {
  display: none; text-align: center; padding: 20px 10px;
  animation: pop .5s cubic-bezier(.2,.9,.3,1.3);
}
.form-card.is-success .form-body { display: none; }
.form-card.is-success .form-success { display: block; }
.form-success .check {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  background: rgba(20,184,166,.14); color: var(--teal);
}
.form-success .check svg { width: 42px; height: 42px; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--text-muted); max-width: 36ch; margin: 0 auto 22px; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

/* ---------- 17. Final CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(700px 460px at 50% -30%, rgba(245,166,35,.32), transparent 65%),
  linear-gradient(160deg, var(--ink-600), var(--ink)); }
.cta-band h2 { color: #fff; font-size: clamp(2rem,4.4vw,3.2rem); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--on-dark-muted); margin: 18px auto 32px; max-width: 50ch; font-size: 1.08rem; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 18. Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(56px,7vw,90px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: .94rem; max-width: 34ch; }
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); transition: background var(--t), transform var(--t), color var(--t); }
.footer__socials a:hover { background: var(--accent); color: var(--ink); transform: translateY(-3px); }
.footer__socials svg { width: 19px; height: 19px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .94rem; transition: color var(--t), padding var(--t); }
.footer__links a:hover { color: var(--accent); padding-left: 4px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact a, .footer__contact div { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; }
.footer__contact svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- 19. Floating helpers ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: all var(--t);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); color: var(--ink); }
.to-top svg { width: 22px; height: 22px; }

/* mobile sticky CTA bar */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.mobilebar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.mobilebar a svg { width: 18px; height: 18px; }
.mobilebar .call { background: var(--ink); color: #fff; }
.mobilebar .quote { background: var(--accent); color: var(--ink); }

/* ---------- 20. Scroll reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow), transform var(--t-slow); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--scale { transform: scale(.94); }
.reveal.in-view.reveal--left, .reveal.in-view.reveal--right, .reveal.in-view.reveal--scale { transform: none; }

/* hero load-in (handled by .loaded on body) */
.hero [data-anim] { opacity: 0; transform: translateY(26px); }
body.loaded .hero [data-anim] { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
body.loaded .hero [data-anim="2"] { transition-delay: .1s; }
body.loaded .hero [data-anim="3"] { transition-delay: .2s; }
body.loaded .hero [data-anim="4"] { transition-delay: .3s; }
body.loaded .hero [data-anim="5"] { transition-delay: .42s; }
body.loaded .hero [data-anim="6"] { transition-delay: .54s; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .services, .testimonials, .stats { grid-template-columns: repeat(2,1fr); }
  .process { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .step:not(:last-child) .step__num::after { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 520px; }
  .why { grid-template-columns: 1fr; }
  .why__media { min-height: 320px; }
  .commercial__inner, .quote__inner { grid-template-columns: 1fr; }
  .commercial ul { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  /* mobile nav drawer */
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    padding: 18px var(--gutter) 24px; margin: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform var(--t); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  body.nav-open .nav__links { transform: translateY(0); }
  .nav__link { padding: 14px 12px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav__link::after { display: none; }
  .nav__link:hover { background: var(--cream); }
  .nav__actions { display: none; }
  .nav__toggle { display: block; }
  .nav__links .nav__link--cta {
    display: block;
    margin-top: 10px; background: var(--accent); color: var(--ink);
    text-align: center; font-weight: 700; font-family: var(--font-display);
  }
  .nav__links .nav__link--cta:hover { background: var(--accent-strong); }

  .services, .testimonials, .stats, .process, .commercial ul { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust .divider { display: none; }
  .mobilebar { display: grid; }
  body { padding-bottom: 76px; } /* room for sticky mobile bar */
  .to-top { bottom: 84px; }
}

@media (max-width: 460px) {
  .form-grid { grid-template-columns: 1fr; }
  .field.col-2 { grid-column: span 1; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- 22. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .hero [data-anim] { opacity: 1 !important; transform: none !important; }
}

/* ---------- 23. Print ---------- */
@media print {
  .nav, .topbar, .mobilebar, .to-top, .progress, .cta-band { display: none !important; }
}

/* ---------- 24. Our Work gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--ink-600), var(--ink));
  border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow);
  cursor: pointer; isolation: isolate;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,12,17,.78), transparent 55%);
  opacity: 0; transition: opacity var(--t);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: 18px; bottom: 15px; z-index: 1; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  transform: translateY(8px); opacity: 0; transition: transform var(--t), opacity var(--t);
}
.gallery__item:hover .gallery__cap { transform: none; opacity: 1; }
.gallery__cap span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--on-dark-muted); }
.gallery__item--empty { display: grid; place-items: center; border: 1.5px dashed rgba(255,255,255,.2); cursor: default; }
.gallery__item--empty:hover img { transform: none; }
.gallery__ph { text-align: center; color: var(--on-dark-muted); padding: 16px; }
.gallery__ph svg { width: 36px; height: 36px; margin: 0 auto 10px; color: var(--accent); }
.gallery__ph b { display: block; color: #fff; font-family: var(--font-display); font-size: .95rem; margin-bottom: 2px; }
.gallery__ph small { font-size: .8rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1300; background: rgba(8,10,14,.93); display: none; place-items: center; padding: 30px; backdrop-filter: blur(6px); }
.lightbox.open { display: grid; animation: lb-fade .3s ease; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 20px; right: 22px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background var(--t), color var(--t); }
.lightbox__close:hover { background: var(--accent); color: var(--ink); }
.lightbox__close svg { width: 22px; height: 22px; }
@keyframes lb-fade { from { opacity: 0; } }

/* ---------- 25. Areas We Serve ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-card {
  display: flex; align-items: center; gap: 13px; padding: 18px 20px;
  border-radius: var(--r); background: var(--paper); border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(245,166,35,.5); }
.area-card .pin { width: 42px; height: 42px; border-radius: 12px; background: var(--cream); color: var(--accent-strong); display: grid; place-items: center; flex-shrink: 0; }
.area-card .pin svg { width: 22px; height: 22px; }
.area-card b { font-family: var(--font-display); font-size: 1.04rem; line-height: 1.1; }
.area-card small { display: block; color: var(--text-faint); font-size: .78rem; margin-top: 2px; }
.areas__note { margin-top: 28px; text-align: center; color: var(--text-muted); }
.areas__note a { color: var(--accent-strong); font-weight: 600; }

/* ---------- 26. Responsive for new sections ---------- */
@media (max-width: 1080px) {
  .areas { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
}

/* =====================================================================
   27. MONOCHROME (SpaceX-style black & white) + commercial-towers hero
   ===================================================================== */

/* Faded commercial towers behind the hero (grayscale + dark overlay).
   Swap the photo by uploading a Hero image in WordPress, or change the URL. */
.hero__bg {
  background-color: #0B0B0D;
  background-image:
    linear-gradient(180deg, rgba(8,8,10,.68) 0%, rgba(8,8,10,.82) 60%, rgba(8,8,10,.92) 100%),
    url('https://images.unsplash.com/photo-1444723121867-7a241cacace9?auto=format&fit=crop&w=2100&q=80');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.05) brightness(.95);
}
.hero__bg.has-img {
  background-image:
    linear-gradient(180deg, rgba(8,8,10,.66), rgba(8,8,10,.9)),
    var(--hero-img);
}
.hero::before { display: none; }   /* drop the coloured paint sweep */
.swatch { display: none; }         /* drop floating colour chips */

/* Gradient highlight words: dark on light sections, light on dark sections */
.grad {
  background: linear-gradient(100deg, #111114, #4A4A50);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .grad, .section--dark .grad, .commercial .grad, .cta-band .grad {
  background: linear-gradient(100deg, #FFFFFF, #A6A6AD);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Eyebrows */
.eyebrow::before { background: currentColor; }
.commercial .eyebrow { color: #fff; }

/* Buttons — white on dark by default, black where they sit on light */
.btn--primary { --btn-bg: #fff; --btn-fg: #0B0B0D; }
.btn--primary:hover { --btn-bg: #E5E5E5; }
.nav__actions .btn--primary { --btn-bg: #0B0B0D; --btn-fg: #fff; }
.nav__actions .btn--primary:hover { --btn-bg: #26262B; }
.nav__links .nav__link--cta { background: #0B0B0D; color: #fff; }
.nav__links .nav__link--cta:hover { background: #26262B; }
.mobilebar .quote { background: #0B0B0D; color: #fff; }

/* Process steps */
.step__num { background: #0B0B0D; color: #fff; box-shadow: 0 0 0 6px rgba(0,0,0,.08); }
.step:not(:last-child) .step__num::after {
  background: repeating-linear-gradient(90deg, #0B0B0D 0 8px, transparent 8px 16px);
}

/* Testimonials */
.t-card .stars { color: #0B0B0D; }
.t-card .quote-mark { color: #E2E2E4; }

/* Form focus / errors (monochrome) */
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #0B0B0D; box-shadow: 0 0 0 4px rgba(0,0,0,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: #0B0B0D; background: #F0F0F0;
}

/* Neutralise remaining colour tints on dark cards */
.hero__eyebrow .pulse { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.5); }
.hero__card .mini-cta { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.hero__card .mini-cta svg { color: #fff; }
.commercial__card .ico { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.commercial__card .ico svg { color: #fff; }

/* Grey-out the inline-coloured logo bits */
.brand__dots i, .why__media .swatch-row i { filter: grayscale(100%); }
.brand__mark svg { filter: grayscale(100%) brightness(1.6); }
.brand__name span { color: var(--text); }
.footer__brand .brand__name, .footer__brand .brand__name span { color: #fff; }

/* =====================================================================
   28. SpaceX detailing — uppercase nav, squared minimal buttons
   ===================================================================== */
.nav__link, .nav__call {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 500;
}
.nav__call { border-radius: 4px; }

.btn {
  text-transform: uppercase; letter-spacing: .13em; font-weight: 600;
  font-size: .8rem; border-radius: 3px; padding: 14px 26px;
}
.btn--lg { font-size: .88rem; padding: 16px 32px; }
.btn svg { width: 16px; height: 16px; }

.hero__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; border-radius: 4px; }
.hero__tags a { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; border-radius: 4px; }
.mobilebar a { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; border-radius: 4px; }
.to-top { border-radius: 6px; }
.field input, .field select, .field textarea { border-radius: 5px; }

/* Nav tidy: CTA link belongs only in the mobile drawer; keep desktop row on one line */
.nav__link--cta { display: none; }
.nav__link { white-space: nowrap; padding-inline: 12px; }
@media (max-width: 1024px) { .nav__call { display: none; } }

/* Scroll progress bar */
.progress { background: #0B0B0D; }

/* =====================================================================
   29. PREMIUM ELEVATION — preloader, cursor, magnetic, before/after,
       testimonial marquee, FAQ, gallery colour-reveal, micro-motion
   ===================================================================== */

/* ---- 29.1 Preloader ---- */
.preloader {
  position: fixed; inset: 0; z-index: 4000;
  display: grid; place-items: center;
  background: #0B0B0D;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader__mark {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  animation: pl-pop .7s cubic-bezier(.2,.8,.3,1.2) both;
}
.preloader__mark svg { width: 36px; height: 36px; }
.preloader__name {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .04em;
  color: #fff; font-size: 1.05rem; text-transform: uppercase;
  opacity: 0; animation: pl-fade .5s ease .15s forwards;
}
.preloader__bar { width: 140px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.preloader__bar i { display: block; width: 40%; height: 100%; background: #fff; border-radius: 2px; animation: pl-load 1.1s ease-in-out infinite; }
body.loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes pl-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes pl-fade { to { opacity: 1; } }
@keyframes pl-load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* ---- 29.2 Custom cursor (desktop, fine-pointer only) ---- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.cursor-on { cursor: none; }
  body.cursor-on a, body.cursor-on button, body.cursor-on .btn,
  body.cursor-on input, body.cursor-on textarea, body.cursor-on select,
  body.cursor-on [role="slider"], body.cursor-on summary { cursor: none; }
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 5000;
    pointer-events: none; mix-blend-mode: difference;
    transform: translate(-50%, -50%);
  }
  .cursor__ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 38px; height: 38px; border: 1.5px solid #fff; border-radius: 50%;
    transition: width .25s ease, height .25s ease, opacity .25s ease, background .25s ease;
  }
  .cursor__dot {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 5px; height: 5px; border-radius: 50%; background: #fff;
    transition: opacity .2s ease;
  }
  body.cursor-hover .cursor__ring { width: 58px; height: 58px; background: rgba(255,255,255,.12); }
  body.cursor-hover .cursor__dot { opacity: 0; }
  body.cursor-down .cursor__ring { width: 30px; height: 30px; }
}

/* magnetic buttons — JS sets transform; this just smooths the spring-back */
.btn[data-magnetic], a[data-magnetic] { transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow var(--t), background var(--t); will-change: transform; }

/* ---- 29.3 Gallery: monochrome → colour reveal ---- */
.gallery__item img { filter: grayscale(100%) contrast(1.02); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.gallery__item:hover img { filter: grayscale(0%) contrast(1); transform: scale(1.07); }
.gallery__item::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); border-radius: var(--r-lg);
  transition: opacity var(--t);
}
.gallery__item:hover::before { opacity: 1; }
.gallery__cap { z-index: 2; }

/* ---- 29.4 Before / After comparison slider ---- */
.ba { margin-top: clamp(36px, 5vw, 60px); }
.ba__head { text-align: center; max-width: 620px; margin: 0 auto clamp(22px,3vw,34px); }
.ba__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.ba__sub { color: var(--on-dark-muted); margin-top: 10px; font-size: .98rem; }
.ba__compare {
  position: relative; max-width: 920px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1); user-select: none; touch-action: none;
  outline: none;
}
.ba__compare:focus-visible { box-shadow: var(--shadow-lg), 0 0 0 3px #fff; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; will-change: width; }
.ba__before .ba__img { width: 100vw; max-width: 920px; }
.ba__label {
  position: absolute; top: 16px; z-index: 3; padding: 6px 14px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; backdrop-filter: blur(6px);
}
.ba__label--before { left: 16px; background: rgba(11,11,13,.7); color: #fff; }
.ba__label--after { right: 16px; background: rgba(255,255,255,.85); color: #0B0B0D; }
.ba__handle {
  position: absolute; top: 0; left: 50%; z-index: 4; transform: translateX(-50%);
  width: 4px; height: 100%; background: #fff; cursor: ew-resize; display: grid; place-items: center;
}
.ba__handle::after {
  content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-lg); z-index: -1;
}
.ba__handle svg { width: 22px; height: 22px; color: #0B0B0D; }

/* ---- 29.5 Testimonials auto-marquee ---- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .t-card { width: 380px; flex: 0 0 380px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
@media (max-width: 520px) { .marquee .t-card { width: 300px; flex-basis: 300px; } }

/* ---- 29.6 FAQ accordion ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper);
  overflow: hidden; transition: border-color var(--t), box-shadow var(--t);
}
.faq__item[open] { border-color: rgba(11,11,13,.3); box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 24px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--ink); transition: background var(--t);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--cream); }
.faq__icon { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink); border-radius: 2px;
  transform: translate(-50%,-50%); transition: transform var(--t), opacity var(--t);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 24px 22px; color: var(--text-muted); font-size: .98rem; line-height: 1.7; }
.faq__item[open] .faq__a { animation: faq-open .4s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---- 29.7 Word-by-word text reveal (applied via JS to titles) ---- */
.word { display: inline-block; overflow: hidden; vertical-align: top; }
.word > span { display: inline-block; transform: translateY(110%); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-text.in-view .word > span,
body.loaded .hero .reveal-text .word > span { transform: translateY(0); }
.reveal-text .word:nth-child(1) > span { transition-delay: .02s; }
.reveal-text .word:nth-child(2) > span { transition-delay: .06s; }
.reveal-text .word:nth-child(3) > span { transition-delay: .10s; }
.reveal-text .word:nth-child(4) > span { transition-delay: .14s; }
.reveal-text .word:nth-child(5) > span { transition-delay: .18s; }
.reveal-text .word:nth-child(n+6) > span { transition-delay: .22s; }

/* ---- 29.8 Subtle parallax targets ---- */
[data-parallax] { will-change: transform; }

/* ---- 29.9 Reduced-motion & touch safety ---- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .preloader__bar i { animation: none; }
  .word > span { transform: none !important; }
}

/* =====================================================================
   30. CLIENT FIXES — drop gold glows, hero video, new "Why" media card
   ===================================================================== */

/* 30.1 Keep card hovers fully monochrome (remove residual amber glow/borders) */
.service-card::before { display: none; }              /* the golden hover shadow */
.service-card:hover { border-color: rgba(11,11,13,.30); }
.feature:hover { border-color: rgba(11,11,13,.24); }
.area-card:hover { border-color: rgba(11,11,13,.30); }

/* 30.2 Hero background VIDEO — grayscale motion, falls back to poster then gradient */
.hero__video {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.06) brightness(.8);
}
.hero__bg {                              /* now a translucent dark overlay above the video */
  background: linear-gradient(180deg, rgba(8,8,10,.62) 0%, rgba(8,8,10,.8) 55%, rgba(8,8,10,.93) 100%);
  background-color: transparent;
  filter: none;
  z-index: -2;
}

/* 30.3 "Why choose us" media — real photo card instead of the 100% badge */
.why__media--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: grayscale(100%) contrast(1.03); z-index: 0;
}
.why__media--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(8,8,10,.8));
}
.why__media--photo .why__media-cap { position: relative; z-index: 2; margin-top: auto; color: #fff; }
.why__media-cap b { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: block; margin-bottom: 4px; }
.why__media-cap span { color: var(--on-dark-muted); font-size: .92rem; }

/* 30.4 Why-block image: monochrome → colour reveal on hover (like the gallery) */
.why__media--photo { cursor: default; }
.why__media--photo img { transition: filter .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.why__media--photo:hover img { filter: grayscale(0%) contrast(1.02); transform: scale(1.04); }

/* 30.5 Hero video framing — favour the painter (upper area) when cropping portrait footage */
.hero__video { object-position: 50% 35%; }

/* =====================================================================
   31. SERVICE DETAIL PAGES (interior / exterior / commercial / …)
   ===================================================================== */
.sd-hero {
  position: relative; min-height: clamp(380px, 56vh, 600px);
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--ink); isolation: isolate;
}
.sd-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(12%) contrast(1.02); }
.sd-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,8,10,.32) 0%, rgba(8,8,10,.5) 42%, rgba(8,8,10,.92) 100%);
}
.sd-hero__inner { padding-block: clamp(36px, 5vw, 64px); color: #fff; width: 100%; }
.sd-breadcrumb {
  display: flex; gap: 9px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-display); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-bottom: 18px;
}
.sd-breadcrumb a { color: var(--on-dark-muted); }
.sd-breadcrumb a:hover { color: #fff; }
.sd-breadcrumb svg { width: 13px; height: 13px; opacity: .55; }
.sd-breadcrumb span[aria-current] { color: #fff; }
.sd-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.5rem); max-width: 18ch; line-height: 1.04; }
.sd-hero__lead { color: var(--on-dark-muted); margin-top: 16px; max-width: 56ch; font-size: clamp(1.02rem, 1.4vw, 1.18rem); }

.sd-body { display: grid; grid-template-columns: 1.55fr .85fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.sd-main h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 40px 0 14px; }
.sd-main > h2:first-child, .sd-main > p:first-child { margin-top: 0; }
.sd-main p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.sd-main strong { color: var(--text); font-weight: 600; }
.sd-list { display: grid; gap: 13px; margin: 6px 0 10px; }
.sd-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text); font-size: 1rem; }
.sd-list li svg { width: 22px; height: 22px; color: var(--ink); flex-shrink: 0; margin-top: 2px; }
.sd-steps { display: grid; gap: 14px; margin-top: 8px; }
.sd-step { display: flex; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: border-color var(--t), box-shadow var(--t); }
.sd-step:hover { border-color: rgba(11,11,13,.28); box-shadow: var(--shadow); }
.sd-step__n { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; }
.sd-step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.sd-step p { font-size: .94rem; margin: 0; }

/* sticky aside */
.sd-aside { position: sticky; top: calc(var(--nav-h) + 22px); display: grid; gap: 18px; }
.sd-card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; background: var(--paper); box-shadow: var(--shadow-sm); }
.sd-card--dark { background: var(--ink); color: #fff; border-color: transparent; }
.sd-card--dark h3 { color: #fff; }
.sd-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.sd-card p { color: var(--text-muted); font-size: .94rem; margin-bottom: 18px; }
.sd-card--dark p { color: var(--on-dark-muted); }
.sd-quick { display: grid; gap: 12px; }
.sd-quick li { display: flex; gap: 11px; align-items: center; font-size: .95rem; }
.sd-quick svg { width: 19px; height: 19px; color: var(--ink); flex-shrink: 0; }
.sd-card--dark .sd-quick svg { color: #fff; }

/* related services */
.sd-related-wrap { background: var(--cream); }
.sd-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sd-rel {
  display: block; position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--ink); box-shadow: var(--shadow-sm);
}
.sd-rel img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.sd-rel:hover img { transform: scale(1.06); filter: grayscale(0%); }
.sd-rel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,10,.82), transparent 60%); }
.sd-rel b { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--font-display); font-size: 1.05rem; display: flex; align-items: center; gap: 7px; }
.sd-rel b svg { width: 16px; height: 16px; transition: transform var(--t); }
.sd-rel:hover b svg { transform: translateX(5px); }

@media (max-width: 900px) {
  .sd-body { grid-template-columns: 1fr; }
  .sd-aside { position: static; }
  .sd-related { grid-template-columns: 1fr; }
}

/* =====================================================================
   32. ENTRY STAMP INTRO (home only) + hero polish + header refinement
   ===================================================================== */

/* ---- 32.1 Entry stamp — brand colours only: black screen, white logo ---- */
body.intro-lock { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 6000;
  display: grid; place-items: center; overflow: hidden;
  background: #0B0B0D;
  transition: transform .9s cubic-bezier(.76,0,.24,1), opacity .5s ease .4s, visibility .9s;
}
/* faint film grain so the black isn't flat */
.intro::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
/* the screen lifts up to reveal the site */
.intro.is-done { transform: translateY(-101%); opacity: 0; visibility: hidden; }

.intro__stamp {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  transform: scale(1.7) rotate(-6deg); opacity: 0; filter: blur(2px);
}
.intro__logo { width: min(320px, 62vw); height: auto; }
.intro__tag {
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .48em; text-transform: uppercase; color: rgba(255,255,255,.55);
  padding-left: .48em; opacity: 0;
}
/* stamp press: big + tilted → slams down with overshoot → settles with a slight tilt */
.intro.is-stamping .intro__stamp { animation: stamp .6s cubic-bezier(.18,.92,.26,1) forwards; }
.intro.is-stamping .intro__tag { animation: stamp-tag .5s ease .52s forwards; }
@keyframes stamp {
  0%   { transform: scale(1.7) rotate(-6deg); opacity: 0; filter: blur(3px); }
  52%  { opacity: 1; }
  66%  { transform: scale(.93) rotate(-2.2deg); filter: blur(0); }
  82%  { transform: scale(1.02) rotate(-.6deg); }
  100% { transform: scale(1) rotate(-1.2deg); opacity: 1; filter: blur(0); }
}
@keyframes stamp-tag { to { opacity: 1; } }
/* white shockwave ring on impact */
.intro__ring {
  position: absolute; z-index: 1; width: 300px; height: 300px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); opacity: 0; transform: scale(.14);
}
.intro.is-stamping .intro__ring { animation: stamp-ring .8s cubic-bezier(.2,.7,.3,1) .32s forwards; }
@keyframes stamp-ring { 0% { opacity: .5; transform: scale(.14); } 100% { opacity: 0; transform: scale(1.7); } }
/* reduced-motion: no big movement — still show the brand briefly, then reveal */
@media (prefers-reduced-motion: reduce) {
  .intro__stamp, .intro__tag { transform: none !important; opacity: 1 !important; filter: none !important; }
  .intro { transition: opacity .5s ease, visibility .5s ease; }
  .intro.is-done { transform: none; opacity: 0; visibility: hidden; }
}

/* ---- 32.2 Hero headline — simpler, bigger, tighter ---- */
.hero__title { font-size: clamp(2.8rem, 6.6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; }
.hero__title .grad { display: inline-block; }

/* ---- 32.3 Hero quote card — more premium & structured ---- */
.hero__card {
  background: linear-gradient(165deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.14);
}
.hero__card h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.hero__card > p { font-size: .9rem; }
.hero__stats { gap: 22px 16px; padding: 20px 0; margin-block: 4px; border-block: 1px solid rgba(255,255,255,.12); }
.hero__stat .n { font-size: 2.05rem; letter-spacing: -.02em; }
.hero__stat .l { letter-spacing: .01em; }
.hero__card .mini-cta { margin-top: 20px; border-radius: var(--r-sm); }
.hero__card__cta { display: block; margin-top: 18px; }

/* ---- 32.4 Header refinement — cleaner, balanced, professional ---- */
.nav__inner { gap: 20px; }
.nav__links { gap: 2px; }
.nav__link { letter-spacing: .1em; font-size: .78rem; padding: 10px 13px; }
.nav__actions { padding-left: 18px; margin-left: 12px; border-left: 1px solid var(--line); gap: 14px; }
.nav--scrolled { box-shadow: 0 8px 30px -18px rgba(16,17,22,.5); }
/* let the active/hover underline sit a touch tighter */
.nav__link::after { bottom: 5px; height: 2px; }

/* ---- 32.5 A little more Apple-style motion polish ---- */
.service-card, .area-card, .stat, .t-card, .step, .faq__item { will-change: transform; }
.btn--primary { transition: transform .28s cubic-bezier(.2,.8,.3,1), box-shadow .28s ease, background .28s ease; }
.hero__tags a { transition: transform var(--t), background var(--t); }
.hero__tags a:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.link-arrow { transition: color var(--t); }
.sd-rel b, .gallery__cap { transition: transform var(--t), opacity var(--t); }

@media (max-width: 1024px) { .nav__actions { border-left: none; padding-left: 0; } }
@media (prefers-reduced-motion: reduce) {
  .intro__stamp, .intro__tag { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---- 32.6 Company logo (transparent white variant on dark surfaces) ---- */
.footer__brand .brand { align-items: center; }
.footer__logo { width: clamp(150px, 16vw, 188px); height: auto; }
/* header brand mark = dedicated tight crop of the figure (logo-mark.png), contained cleanly */
.brand__mark--logo { background: #0B0B0D; padding: 6px; overflow: hidden; }
.brand__mark--logo img { width: 100%; height: 100%; object-fit: contain; }

/* =====================================================================
   33. SPACING RHYTHM + APPLE POLISH + SERVICE-PAGE PROJECT GALLERIES
   ===================================================================== */

/* 33.1 Consistent vertical rhythm & anchor offsets */
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
.section-head { margin-bottom: clamp(40px, 5.5vw, 64px); }
.h-sub { margin-top: 16px; }
.gallery { gap: 20px; }
.services { gap: 20px; }
.stats, .testimonials { gap: 20px; }
.marquee { padding-block: 6px; }
.footer__grid { gap: 44px; row-gap: 40px; }

/* 33.2 Apple-style focus & easing consistency */
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn, .nav__link, .link-arrow, .footer__links a { -webkit-tap-highlight-color: transparent; }

/* 33.3 Scroll-reveal variants (used across pages) */
.reveal--up { transform: translateY(36px); }
.reveal--fade { transform: none; }
.reveal.in-view.reveal--up, .reveal.in-view.reveal--fade { transform: none; }
/* gentle zoom-settle for revealed imagery */
.gallery__item.reveal img { transform: scale(1.06); transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.gallery__item.reveal.in-view img { transform: scale(1); }
.gallery__item.reveal.in-view:hover img { transform: scale(1.07); }

/* 33.4 Service-page "Recent projects" gallery */
.sd-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.sd-projects figure {
  position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg);
  overflow: hidden; background: var(--ink); box-shadow: var(--shadow-sm); isolation: isolate;
}
.sd-projects img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.02);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.sd-projects figure:hover img { filter: grayscale(0%); transform: scale(1.06); }
.sd-projects figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.sd-projects figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,8,10,.62), transparent 45%);
}
@media (max-width: 760px) { .sd-projects { grid-template-columns: 1fr; } }

/* 33.5 Detail-page rhythm */
.sd-main h2 { margin: 48px 0 16px; letter-spacing: -.02em; }
.sd-hero__img { transition: transform .2s linear; will-change: transform; }
