/* Archers Roofing: one stylesheet for the whole site.
   Premium direction: dark cinematic photography, semi-expanded Archivo headings, generous space,
   brand red kept for actions and accents. Pill buttons, square photographs. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  --ink: #0f0e0e;
  --ink-2: #181717;
  --ink-3: #222020;
  --paper: #ffffff;
  --stone: #f4f3f1;
  --stone-2: #e7e5e2;
  --text: #121111;
  --muted: #5b5857;          /* 7:1 on white */
  --muted-d: #a9a5a3;        /* 7.6:1 on ink */
  --line: #e2dfdc;
  --line-d: rgb(255 255 255 / 0.14);
  --red: #ee212b;            /* brand red: accents, large type */
  --red-btn: #d21c1d;        /* white text passes AA */
  --red-hover: #b1171a;

  --fs-sm: 0.9375rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lead: clamp(1.1875rem, 1rem + 0.75vw, 1.625rem);
  --fs-h3: clamp(1.625rem, 1.15rem + 1.5vw, 2.625rem);
  --fs-lg: clamp(2.125rem, 1.3rem + 2.9vw, 4.125rem);
  --fs-xl: clamp(2.5rem, 1.25rem + 4.3vw, 5.875rem);
  --fs-hero: clamp(3.25rem, 1.1rem + 7.4vw, 9.25rem);

  --margin: clamp(20px, 4vw, 56px);
  --sec: clamp(88px, 10vw, 168px);
  --r: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hdr: 84px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; font-stretch: 100%;
  font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.skip-link { position: fixed; left: 8px; top: 8px; z-index: 100; background: var(--paper); color: var(--text); padding: 12px 16px; font-weight: 600; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }
.wrap { width: min(1440px, 100% - 2 * var(--margin)); margin-inline: auto; }
.dark { background: var(--ink); color: #fff; }
/* Brand-red bands (services, why choose, reviews, about). The deep brand red keeps white text at 5.3:1;
   secondary text, lines and mats are re-tuned for red through the same custom properties. */
.dark.brand { background: var(--red-btn); --muted-d: rgb(255 255 255 / 0.92); --line-d: rgb(255 255 255 / 0.3); }
.dark.brand + .dark.brand { background-image: linear-gradient(var(--line-d), var(--line-d)); background-size: min(1440px, calc(100% - 2 * var(--margin))) 1px; background-position: top center; background-repeat: no-repeat; }
.brand ::selection { background: var(--ink); }
.brand .btn-light:hover { background: var(--ink); color: #fff; }
.brand .svc-list:hover .svc:not(:hover) .svc-name { color: rgb(255 255 255 / 0.55); }
.brand .svc:hover .svc-go, .brand .svc:focus-visible .svc-go { background: #fff; color: var(--red-btn); box-shadow: inset 0 0 0 1px #fff; }
.brand .why-list .icon, .brand .side-ticks .icon { color: #fff; }
.brand .rv-mark { color: #fff; }
.brand .link-arrow::after { background: #fff; }
.brand .rv-btn:hover { color: var(--red-btn); }
.brand .pillars a:hover { color: var(--ink); }
.brand :focus-visible { outline-color: #fff; }

/* Type */
.h-hero, .h-xl, .h-lg { font-stretch: 112%; font-weight: 600; letter-spacing: -0.042em; line-height: 0.95; }
.h-hero { font-size: var(--fs-hero); letter-spacing: -0.048em; line-height: 0.9; }
.h-xl { font-size: var(--fs-xl); }
.h-lg { font-size: var(--fs-lg); line-height: 1; }
.lead { font-size: var(--fs-lead); line-height: 1.42; letter-spacing: -0.012em; }
.lines .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines .ln > span { display: inline-block; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 1rem/1 "Archivo", sans-serif; font-stretch: 106%; letter-spacing: -0.005em;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn .icon { transition: transform 0.4s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-lg { height: 60px; padding: 0 30px; font-size: 1.0625rem; }
.btn-sm { height: 44px; padding: 0 20px; font-size: var(--fs-sm); }
.btn-red { background: var(--red-btn); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ghost { background: rgb(255 255 255 / 0.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.45); }
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--red-btn); color: #fff; }
.btn-outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; text-decoration: none; padding-bottom: 6px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform-origin: left; transition: transform 0.4s var(--ease); }
.link-arrow .icon { transition: transform 0.4s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0.4); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* Section heads */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.sec-head > h2 { grid-column: 1 / 8; }
.sec-head-side { grid-column: 9 / 13; padding-bottom: 0.4em; }
.sec-head-side p { color: var(--muted); max-width: 42ch; margin-bottom: 24px; }
.dark .sec-head-side p { color: var(--muted-d); }

/* ---------------------------------------------------------------- header */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hdr); color: #fff;
  background: var(--ink); transition: background-color 0.4s var(--ease), height 0.4s var(--ease), transform 0.5s var(--ease);
}
.hdr-over { background: transparent; }
.hdr.is-solid { background: rgb(15 14 14 / 0.97); height: 72px; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { width: min(1440px, 100% - 2 * var(--margin)); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr-logo img { width: 156px; }
.hdr-nav { margin-left: auto; }
.hdr-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.hdr-nav a, .sub-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; background: none; border: 0; cursor: pointer;
  font-size: 1.0625rem; font-weight: 500; color: rgb(255 255 255 / 0.84); text-decoration: none; transition: color 0.2s;
}
.hdr-nav > ul > li > a::after, .sub-toggle::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.hdr-nav > ul > li > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { color: #fff; }
.hdr-nav > ul > li > a:hover::after, .sub-toggle:hover::after, .sub-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 16px); left: -24px; width: 680px; padding: 12px; border-radius: 10px;
  background: var(--paper); color: var(--text); box-shadow: 0 30px 80px rgb(0 0 0 / 0.35); display: none;
}
.sub-toggle[aria-expanded="true"] + .sub { display: block; animation: sub-in 0.35s var(--ease); }
@keyframes sub-in { from { opacity: 0; transform: translateY(8px); } }
.sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.sub a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r); color: var(--text); text-decoration: none; transition: background-color 0.2s; }
.sub a:hover { background: var(--stone); }
.sub img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; flex: none; }
.sub strong { display: block; font-weight: 600; font-size: var(--fs-sm); font-stretch: 105%; }
.sub small { display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.35; margin-top: 2px; }
.sub-all { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 14px 12px 6px; border-top: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.sub-all .icon { color: var(--red-btn); transition: transform 0.3s var(--ease); }
.sub-all:hover { color: var(--red-btn); }
.sub-all:hover .icon { transform: translateX(4px); }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.0625rem; white-space: nowrap; }
.hdr-quote { font-size: 1.0625rem; }
.hdr-menu { display: none; }
.hdr-phone .icon { width: 18px; height: 18px; color: var(--red); }
.hdr-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 100svh; min-height: 680px; max-height: 1200px; overflow: hidden; color: #fff; background: var(--ink); }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s cubic-bezier(0.25, 0.6, 0.3, 1); }
.slide.is-on img { transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(10 9 9 / 0.62) 0%, rgb(10 9 9 / 0) 24%, rgb(10 9 9 / 0) 42%, rgb(10 9 9 / 0.86) 100%),
    linear-gradient(90deg, rgb(10 9 9 / 0.5) 0%, rgb(10 9 9 / 0) 62%);
}
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 36px; }
.hero-copy { max-width: 1180px; }
.hero .h-hero { margin-bottom: 30px; }
.hero-lead { font-size: var(--fs-lead); line-height: 1.4; max-width: 34ch; color: rgb(255 255 255 / 0.88); margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot {
  margin-top: clamp(40px, 7vh, 88px); padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.2);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 52px; }
.hero-facts li { display: grid; gap: 2px; line-height: 1.3; }
.hero-facts strong { font-weight: 600; font-stretch: 106%; }
.hero-facts span { font-size: 0.875rem; color: rgb(255 255 255 / 0.7); }
.hero-ui { display: flex; align-items: center; gap: 16px; flex: none; }
.hero-caption { margin: 0; font-size: 0.875rem; color: rgb(255 255 255 / 0.75); max-width: 30ch; text-align: right; }
.hero-bars { display: flex; gap: 6px; }
.bar { width: 34px; height: 2px; background: rgb(255 255 255 / 0.25); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.bar.is-done i { transform: scaleX(1); }
.bar.is-on i { animation: bar-fill 6.5s linear forwards; }
.is-paused .bar.is-on i { animation-play-state: paused; }
@keyframes bar-fill { to { transform: scaleX(1); } }
.hero-toggle { width: 40px; height: 40px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.hero-toggle:hover { background: #fff; color: var(--ink); }
.hero-toggle .icon { width: 16px; height: 16px; }
.hero-toggle .i-play, .hero-toggle[aria-pressed="true"] .i-pause { display: none; }
.hero-toggle[aria-pressed="true"] .i-play { display: block; }

/* ---------------------------------------------------------------- intro, stats, partners */
.intro { padding: var(--sec) 0; }
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.intro-grid > h2 { grid-column: 1 / 7; }
.intro-copy { grid-column: 8 / 13; padding-top: 0.5em; }
.intro-copy p:not(.lead) { color: var(--muted); max-width: 56ch; }
.intro-copy .lead { margin-bottom: 0.9em; }
.stats { list-style: none; margin: clamp(64px, 8vw, 128px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.stats li { padding-top: 28px; border-top: 1px solid var(--line); }
.stat-n { margin: 0; font-size: clamp(3rem, 1.6rem + 4.2vw, 6.25rem); font-stretch: 112%; font-weight: 600; letter-spacing: -0.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-n em { font-style: normal; color: var(--red); }
.stat-l { margin: 14px 0 0; color: var(--muted); font-size: 1.125rem; max-width: 22ch; line-height: 1.45; }
.partners { margin-top: clamp(64px, 8vw, 112px); padding: 40px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.partners-h { margin: 0; color: var(--muted); font-size: var(--fs-sm); max-width: 34ch; }
.partners-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
.partners-row img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.4s, opacity 0.4s; }
.partners-row li:first-child img { height: 54px; max-width: 160px; }
.partners-row img:hover { filter: none; opacity: 1; }

/* ---------------------------------------------------------------- services */
.services { position: relative; padding: var(--sec) 0; }
.svc-list { list-style: none; margin: clamp(56px, 6vw, 96px) 0 0; padding: 0; border-top: 1px solid var(--line-d); }
.svc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 60px; align-items: center; gap: 24px;
  padding: clamp(22px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--line-d); color: #fff; text-decoration: none;
}
.svc-thumb { display: none; }
.svc-name { font-size: clamp(1.75rem, 1rem + 2.5vw, 3.5rem); font-stretch: 112%; font-weight: 500; letter-spacing: -0.038em; line-height: 1.04; transition: transform 0.6s var(--ease), color 0.4s; }
.svc-line { color: var(--muted-d); max-width: 46ch; transition: color 0.3s; }
.svc-go { width: 60px; height: 60px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-d); display: grid; place-items: center; transition: background-color 0.4s var(--ease), box-shadow 0.4s, transform 0.5s var(--ease); }
.svc-go .icon { width: 22px; height: 22px; }
.svc:hover .svc-name, .svc:focus-visible .svc-name { transform: translateX(18px); }
.svc:hover .svc-line, .svc:focus-visible .svc-line { color: #fff; }
.svc:hover .svc-go, .svc:focus-visible .svc-go { background: var(--red-btn); box-shadow: inset 0 0 0 1px var(--red-btn); transform: rotate(45deg); }
.svc-list:hover .svc:not(:hover) .svc-name { color: rgb(255 255 255 / 0.38); }
.svc-float {
  position: fixed; left: 0; top: 0; z-index: 6; width: 340px; aspect-ratio: 4 / 3; overflow: hidden; pointer-events: none; border-radius: 4px;
  opacity: 0; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(0.7); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.svc-float.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(1); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- process */
.process { padding: var(--sec) 0; }
.process-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.proc-media { grid-column: 1 / 7; position: sticky; top: 96px; align-self: start; height: calc(100svh - 136px); max-height: 860px; overflow: hidden; background: var(--stone); }
.proc-fig { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.proc-fig.is-on { opacity: 1; }
.proc-fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.proc-fig.is-on img { transform: scale(1); }
.proc-fig figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--paper); padding: 8px 14px; font-size: 0.875rem; border-radius: 4px; }
.proc-copy { grid-column: 8 / 13; padding-top: 1em; }
.proc-copy > .lead { color: var(--muted); margin-top: 24px; max-width: 30ch; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; }
/* The step in view takes the ink and a red rule; the others stay readable in the muted grey (7:1). */
.step { min-height: 52svh; padding: 44px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; transition: border-color 0.6s var(--ease); }
.step h3 { color: var(--muted); transition: color 0.6s var(--ease); }
.step.is-on { border-top-color: var(--red-btn); }
.step.is-on h3 { color: var(--text); }
.step-n { margin: 0 0 14px; color: var(--red-btn); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--fs-h3); font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 16px; }
.step p:not(.step-n) { color: var(--muted); max-width: 40ch; margin: 0; }
.step-fig { display: none; }

/* ---------------------------------------------------------------- statement band */

/* ---------------------------------------------------------------- work gallery */
.work { background: var(--stone); padding: var(--sec) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(40px, 4vw, 64px) 0 28px; }
.filter { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--paper); color: var(--text); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.filter:hover { background: var(--stone-2); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 250px); grid-auto-flow: dense; gap: 10px; }
.gallery > li[hidden] { display: none; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
/* A service with only two to four photos of its own: one even row (build.py gallery_section) */
.gallery.g-few-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 30vw, 460px); }
.gallery.g-few-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 26vw, 400px); }
.gallery.g-few-4 { grid-auto-rows: clamp(200px, 21vw, 340px); }
.g-item { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--stone-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(10 9 9 / 0.7)); opacity: 0; transition: opacity 0.4s; }
.g-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; text-align: left; font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after, .g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.work-more { text-align: center; margin-top: 44px; }
.work-more[hidden] { display: none; }
.lightbox { padding: 0; border: 0; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; background: rgb(12 11 11 / 0.97); color: #fff; }
.lightbox::backdrop { background: rgb(12 11 11 / 0.9); }
.lightbox figure { height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 72px var(--margin) 28px; }
.lightbox img { max-height: calc(100dvh - 150px); max-width: 100%; width: auto; object-fit: contain; }
.lightbox figcaption { padding-top: 16px; color: var(--muted-d); }
.lb-btn { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color 0.2s, color 0.2s; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-prev { left: var(--margin); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--margin); top: 50%; transform: translateY(-50%); }
.lb-close { right: var(--margin); top: 16px; }

/* ---------------------------------------------------------------- reviews */
.reviews { padding: var(--sec) 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.reviews-side { grid-column: 1 / 5; }
.reviews-side p { color: var(--muted-d); margin: 24px 0 0; max-width: 32ch; }
.reviews-side .link-arrow { color: #fff; }
.reviews-main { grid-column: 6 / 13; position: relative; }
.rv-mark { display: block; color: var(--red); font-size: 9rem; font-weight: 700; line-height: 0.62; height: 0.5em; font-stretch: 100%; }
.rv-stage { display: grid; }
.rv { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), visibility 0s 0.7s; }
.rv.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.rv blockquote { margin: 0; }
.rv blockquote p { margin: 0; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.25rem); line-height: 1.24; letter-spacing: -0.022em; font-weight: 400; }
.rv figcaption { margin-top: 32px; display: grid; gap: 4px; }
.rv figcaption strong { font-weight: 600; }
.rv figcaption span { color: var(--muted-d); font-size: var(--fs-sm); }
.rv-ui { margin-top: 48px; display: flex; align-items: center; gap: 18px; }
.rv-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-d); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color 0.25s, color 0.25s; }
.rv-btn:hover { background: #fff; color: var(--ink); }
.rv-btn .icon { width: 22px; height: 22px; }
.rv-count { margin: 0; color: var(--muted-d); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- areas */
.areas { padding: var(--sec) 0; }
.areas-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.areas-side { grid-column: 1 / 6; }
.areas-side > p { color: var(--muted); margin: 24px 0 0; max-width: 42ch; }
.area-list { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.area { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.area-name { font-size: clamp(1.75rem, 1.05rem + 2.3vw, 3.375rem); font-stretch: 112%; font-weight: 500; letter-spacing: -0.038em; line-height: 1.05; transition: color 0.3s, transform 0.6s var(--ease); }
.area-go { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; text-align: right; }
.area-go .icon { transition: transform 0.4s var(--ease); }
a.area:hover .area-name, a.area:focus-visible .area-name { color: var(--red-btn); transform: translateX(12px); }
a.area:hover .area-go { color: var(--text); }
a.area:hover .area-go .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------- advice */
.advice { background: var(--stone); padding: var(--sec) 0; }
.cards { list-style: none; margin: clamp(48px, 5vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card time { margin-top: 22px; font-size: 0.875rem; color: var(--muted); }
.card-title { margin-top: 8px; font-size: clamp(1.1875rem, 1rem + 0.45vw, 1.4375rem); font-weight: 600; font-stretch: 106%; letter-spacing: -0.018em; line-height: 1.25; }
.card-go { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--red-btn); font-weight: 600; font-size: var(--fs-sm); }
.card-go .icon { transition: transform 0.4s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card:hover .card-go .icon { transform: translateX(5px); }

/* ---------------------------------------------------------------- quote */
.quote { background: var(--ink); }
.quote-form { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.quote-aside { position: relative; color: #fff; overflow: hidden; padding: clamp(48px, 6vw, 96px) var(--margin); display: flex; flex-direction: column; justify-content: flex-end; min-height: 760px; }
.quote-photo { position: absolute; inset: 0; }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s var(--ease), transform 1.4s var(--ease); }
.quote-photo img.is-swapping { opacity: 0.2; transform: scale(1.04); }
.quote-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 9 9 / 0.35) 0%, rgb(10 9 9 / 0.55) 40%, rgb(10 9 9 / 0.92) 100%); }
.quote-aside-in { position: relative; z-index: 2; max-width: 560px; }
.quote-sub { font-size: var(--fs-lead); line-height: 1.4; color: rgb(255 255 255 / 0.86); margin: 24px 0 0; }
.quote-note { margin-top: 32px; padding: 18px 20px; background: rgb(255 255 255 / 0.08); border-left: 3px solid var(--red); border-radius: 0 var(--r) var(--r) 0; }
.quote-note p { margin: 0; }
.picker-line { color: rgb(255 255 255 / 0.9); }
.picker-more:not(:empty) { margin-top: 8px !important; }
.picker-more a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.picker-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.quote-contact { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.quote-contact li, .quote-contact a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.quote-contact .icon { color: var(--red); }
.quote-contact li:first-child a { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); font-weight: 600; font-stretch: 108%; letter-spacing: -0.02em; }
.quote-contact a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.quote-card { background: var(--paper); color: var(--text); padding: clamp(36px, 5vw, 88px) clamp(24px, 5vw, 88px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.picker legend { padding: 0; margin-bottom: 14px; font-weight: 600; font-size: 1.0625rem; font-stretch: 106%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 16px; border-radius: 999px; background: var(--stone); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: background-color 0.25s, color 0.25s, transform 0.15s var(--ease); }
.chip:hover span { background: var(--stone-2); }
.chip input:active + span { transform: scale(0.96); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.quote-fields { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.quote-fields[hidden] { display: none; }  /* after a send only the thank-you shows (display: grid beats the attribute) */
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: 0.875rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; height: 54px; padding: 0 16px; border-radius: var(--r); border: 1.5px solid transparent; background: var(--stone);
  color: var(--text); font: 400 1rem/1.3 "Archivo", sans-serif; transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; }
.field input[type="file"] { height: auto; padding: 12px 14px; font-size: var(--fs-sm); }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--stone-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--text); }
.field.has-error input, .field.has-error select { border-color: var(--red-btn); background: #fff; }
.field-help { margin: 6px 0 0; font-size: 0.8125rem; color: var(--muted); }
.field-error { margin: 6px 0 0; font-size: 0.8125rem; color: var(--red-btn); font-weight: 600; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: off-screen spam trap */
.quote-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.quote-or { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
/* reCAPTCHA v3: Google allows hiding its floating badge (it would sit on the WhatsApp button) when the
   form carries this notice instead. */
.quote-legal { grid-column: 1 / -1; margin: 0; font-size: 0.8125rem; color: var(--muted); }
.quote-legal a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--r); background: #fdecec; color: var(--red-btn); font-weight: 600; }
.quote-done { margin-top: 28px; padding: 32px; border-radius: var(--r); background: var(--ink); color: #fff; }
.quote-done h3 { font-size: var(--fs-h3); font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 12px; }
.quote-done p { margin: 0; color: rgb(255 255 255 / 0.85); }
.quote-done a { color: #fff; font-weight: 600; }
.quote-form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }

/* ---------------------------------------------------------------- footer */
.ftr { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-top: clamp(16px, 2vw, 32px); }
.ftr-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 40px; padding: 64px 0; }
.ftr-brand img { width: 170px; }
.ftr-brand p { margin: 22px 0 0; color: var(--muted-d); font-size: var(--fs-sm); max-width: 32ch; }
.ftr-social { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 8px; }
.ftr-social a { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-d); display: grid; place-items: center; color: #fff; transition: background-color 0.25s, color 0.25s; }
.ftr-social a:hover { background: #fff; color: var(--ink); }
.ftr-col h3 { margin-bottom: 18px; font-size: 0.875rem; font-weight: 600; color: var(--muted-d); }
.ftr-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr-col a { color: rgb(255 255 255 / 0.88); text-decoration: none; font-size: var(--fs-sm); }
.ftr-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr-col address { display: grid; gap: 10px; font-size: var(--fs-sm); }
.ftr-col address span { color: var(--muted-d); }
.ftr-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0; border-top: 1px solid var(--line-d); font-size: 0.875rem; color: var(--muted-d); }
.ftr-legal p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr-legal a { color: #fff; }
.ftr-cc { padding: 0; border: 0; background: none; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ftr-credit { text-decoration: none; }
.ftr-credit:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- boxed photos: 10px rounded corners.
   Frames that zoom their photo on hover clip it to the radius; figures with a caption underneath round the photo itself. */
:root { --photo-r: 10px; }
.g-item, .proc-media, .step-fig, .card-img, .svc-thumb, .side-photo, .svc-float, .feat-post-img, .srow-img, .post-cover {
  border-radius: var(--photo-r); overflow: hidden;
}
.side-photo img, .why-photo img, .story-photo img, .infographic img, .post-cover img { border-radius: var(--photo-r); }

/* ---------------------------------------------------------------- inner pages: hero */
.phero { height: 86svh; min-height: 640px; max-height: 980px; }
.phero .h-xl { font-size: clamp(2.625rem, 1.2rem + 5vw, 6.5rem); line-height: 0.94; margin-bottom: 24px; }
.phero .h1-long { font-size: clamp(2.25rem, 1rem + 4vw, 5.25rem); }
.quote .quote-h-long { font-size: clamp(1.625rem, 1rem + 1.5vw, 2.375rem); }
.why .h-lg-long { font-size: clamp(1.875rem, 1.1rem + 2.2vw, 3.25rem); }
.crumbs ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: rgb(255 255 255 / 0.72); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.phero .hero-caption { text-align: right; }
.h-md { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); font-stretch: 112%; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }

/* ---------------------------------------------------------------- inner pages: article with a sticky quote card */
.article-wrap { padding: var(--sec) 0; }
.art-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.art { max-width: 780px; }
.a-intro .lead { color: var(--text); margin-bottom: 1em; }
.a-intro p:not(.lead), .a-sec p { color: var(--muted); }
.art p strong { color: var(--text); font-weight: 600; }
.a-sec { margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--line); }
.a-sec h2 { margin-bottom: 24px; }
.a-h3 { font-size: 1.25rem; font-weight: 600; font-stretch: 106%; letter-spacing: -0.015em; margin: 4px 0 12px; }
.feat { margin: 28px 0; }
.feat > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.feat > div:last-child { border-bottom: 1px solid var(--line); }
.feat dt { font-weight: 600; font-stretch: 106%; font-size: 1.0625rem; letter-spacing: -0.01em; }
.feat dd { margin: 0; color: var(--muted); }
.ticks { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .icon { color: var(--red-btn); margin-top: 0.2em; }
.ticks strong { font-weight: 600; color: var(--text); }
.svc-links { list-style: none; margin: 24px 0; padding: 0; border-top: 1px solid var(--line); }
.svc-links li > a, .svc-links li > span { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; font-stretch: 104%; font-size: 1.0625rem; }
.svc-links a .icon { color: var(--red-btn); transition: transform 0.4s var(--ease); }
.svc-links a:hover { color: var(--red-btn); }
.svc-links a:hover .icon { transform: translateX(5px); }
.side { position: sticky; top: 100px; }
.side-card { background: var(--ink); color: #fff; }
.side-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.side-body { padding: 26px 28px 32px; }
.side-h { margin: 0 0 12px; font-size: 1.375rem; font-weight: 600; font-stretch: 110%; letter-spacing: -0.02em; }
.side-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem); font-weight: 600; font-stretch: 108%; letter-spacing: -0.02em; }
.side-phone .icon { color: var(--red); }
.side-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.side-btn { width: 100%; margin: 22px 0 26px; }
.side-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-sm); color: var(--muted-d); }
.side-ticks li { display: flex; align-items: center; gap: 10px; }
.side-ticks .icon { color: var(--red); }

/* ---------------------------------------------------------------- inner pages: why choose (dark band) */
.why { padding: var(--sec) 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 128px); align-items: center; }
.why-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.why-photo figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted-d); }
.why-list { list-style: none; margin: 40px 0 0; padding: 0; }
.why-list li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-d); }
.why-list li:last-child { border-bottom: 1px solid var(--line-d); }
.why-list .icon { width: 24px; height: 24px; color: var(--red); margin-top: 0.1em; }
.why-list p { margin: 0; }
.why-list strong { display: block; font-weight: 600; font-stretch: 106%; font-size: 1.125rem; letter-spacing: -0.01em; }
.why-list span { display: block; margin-top: 4px; color: var(--muted-d); }

/* ---------------------------------------------------------------- dark title band (posts, blog, reviews, contact, legal) */
.bhero { padding: calc(var(--hdr) + clamp(48px, 7vw, 112px)) 0 clamp(56px, 7vw, 104px); position: relative; overflow: hidden; }
.bhero-in { position: relative; z-index: 1; }
.bhero h1 { max-width: 18ch; }
.bhero .h-hero { font-size: clamp(3.5rem, 1.2rem + 9vw, 11rem); }
.bhero-lead { margin: 28px 0 0; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.4; color: rgb(255 255 255 / 0.84); }
.bhero-lead a { color: #fff; font-weight: 600; }
.legal-hero { padding-bottom: clamp(40px, 5vw, 72px); }

/* ---------------------------------------------------------------- blog posts */
.post-hero { padding-bottom: clamp(160px, 16vw, 260px); }
.post-title { max-width: 22ch; font-size: clamp(2.125rem, 1.2rem + 3vw, 4.25rem); }
.post-meta { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted-d); font-size: var(--fs-sm); }
.post-meta span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--red); vertical-align: middle; margin-right: 22px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: rgb(255 255 255 / 0.1); color: #fff; font-size: 0.875rem; text-decoration: none; transition: background-color 0.25s; }
.tag:hover { background: var(--red-btn); }
.post-cover-wrap { margin-top: clamp(-220px, -14vw, -120px); position: relative; z-index: 2; }
.post-cover { box-shadow: 0 30px 80px rgb(0 0 0 / 0.18); } /* taste-skill-ignore: the cover floats over the band */
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.post-body { padding: clamp(56px, 6vw, 96px) 0 var(--sec); }
.post-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.post-side { position: sticky; top: 96px; display: grid; gap: 24px; }
.toc-h { margin: 0 0 12px; font-weight: 600; font-size: 0.875rem; color: var(--muted); }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.post-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: var(--fs-sm); line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.post-toc a:hover { color: var(--text); }
.post-toc a.is-on { color: var(--text); border-left-color: var(--red); font-weight: 600; }
.toc-cta { padding: 22px; background: var(--ink); color: #fff; }
.toc-cta p { margin: 0 0 10px; font-weight: 600; font-stretch: 106%; }
.toc-cta .side-phone { font-size: 1.375rem; margin-bottom: 16px; }
.toc-cta .btn { width: 100%; }
.toc-mobile { display: none; }

/* Article typography */
.prose { max-width: 70ch; font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); line-height: 1.72; }
.prose > p:first-of-type { font-size: var(--fs-lead); line-height: 1.5; color: var(--text); }
.prose p, .prose li { color: #34302f; }
.prose h2 { margin: 2.2em 0 0.7em; font-size: clamp(1.625rem, 1.15rem + 1.4vw, 2.375rem); font-stretch: 110%; letter-spacing: -0.03em; line-height: 1.1; scroll-margin-top: 96px; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: 1.3125rem; font-stretch: 106%; letter-spacing: -0.015em; line-height: 1.25; }
.prose h4 { margin: 1.6em 0 0.4em; font-size: 1.0625rem; }
.prose a { color: var(--red-btn); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; padding-left: 0.2em; }
.prose li::marker { color: var(--red); font-weight: 600; }
.prose strong { color: var(--text); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--red); font-size: 1.125rem; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--stone); font-weight: 600; }
.takeaways { margin: 2em 0; padding: clamp(24px, 3vw, 36px); background: var(--stone); border-left: 4px solid var(--red); }
.takeaways h2 { margin: 0 0 0.6em; font-size: 1.375rem; }
.takeaways ul { margin: 0; }
.takeaways li:last-child { margin-bottom: 0; }
.infographic { margin: 2.2em auto; max-width: 560px; }
.infographic img { width: 100%; }
.faq { margin-top: 1em; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.125rem; }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--stone); transition: background-color 0.25s, transform 0.4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--text); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.faq-item[open] .faq-icon { background: var(--red-btn); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover h3 { color: var(--red-btn); }
.faq-a { padding: 0 0 18px; }
.faq-a p:last-child { margin-bottom: 0; }
.mid-cta { margin: 2.4em 0; padding: clamp(24px, 3vw, 36px); background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.mid-cta p { color: rgb(255 255 255 / 0.8); margin: 0; }
.prose .mid-cta-h { color: #fff; font-size: 1.375rem; font-weight: 600; font-stretch: 108%; letter-spacing: -0.02em; margin-bottom: 4px; }
.mid-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.prose .mid-cta a.btn { color: #fff; text-decoration: none; }

/* ---------------------------------------------------------------- blog listing */
.blog-hero .bhero-lead { max-width: 40ch; }
.bsearch { position: relative; margin-top: 36px; max-width: 560px; }
.bsearch input { width: 100%; height: 60px; padding: 0 56px 0 22px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.1); color: #fff; font: 400 1.0625rem "Archivo", sans-serif; transition: background-color 0.25s; }
.bsearch input::placeholder { color: rgb(255 255 255 / 0.6); }
.bsearch input:focus { outline: none; background: rgb(255 255 255 / 0.18); box-shadow: inset 0 0 0 2px var(--red); }
.bsearch .icon { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: rgb(255 255 255 / 0.7); }
.blog-list { padding: var(--sec) 0; background: var(--stone); }
.feat-post { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; color: var(--text); text-decoration: none; }
.feat-post-img { display: block; overflow: hidden; }
.feat-post-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.feat-post:hover .feat-post-img img { transform: scale(1.04); }
.feat-post-copy { display: grid; gap: 14px; justify-items: start; }
.feat-post-label { color: var(--red-btn); font-weight: 600; font-size: 0.875rem; }
.feat-post-title { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); font-stretch: 110%; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.feat-post time { color: var(--muted); font-size: var(--fs-sm); }
.blog-tools { margin: clamp(64px, 7vw, 112px) 0 32px; display: grid; gap: 22px; }
.chipfs { display: flex; flex-wrap: wrap; gap: 8px; }
.chipf { height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--paper); color: var(--text); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.chipf span { color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.chipf:hover { background: var(--stone-2); }
.chipf[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chipf[aria-pressed="true"] span { color: var(--muted-d); }
.blog-cards { margin-top: 0; }
.blog-cards li[hidden] { display: none; }
.blog-empty { padding: 32px 0; font-size: var(--fs-lead); }

/* ---------------------------------------------------------------- reviews */
.rlist { padding: var(--sec) 0; background: var(--stone); }
.rlist .sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.rgrid { list-style: none; margin: 0; padding: 0; columns: 3 320px; column-gap: 20px; }
.rcard { break-inside: avoid; margin-bottom: 20px; padding: clamp(24px, 2.4vw, 34px); background: var(--paper); }
.rcard blockquote { margin: 0; }
.rcard blockquote p { margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--text); }
.rcard blockquote::before { content: "\201C"; display: block; color: var(--red); font-size: 4rem; line-height: 0.7; height: 0.42em; font-weight: 700; }
.rcard figcaption { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.rcard-name { margin: 0; font-size: 1rem; font-weight: 600; font-stretch: 106%; }
.rcard figcaption span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.875rem; }

/* ---------------------------------------------------------------- about */
.about-story { padding: var(--sec) 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.story-copy .lead { margin-top: 28px; }
.story-copy p:not(.lead) { color: var(--muted); }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-photo figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.about-lead { padding: var(--sec) 0; }
.pillars { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillars li { padding-top: 24px; border-top: 1px solid var(--line-d); }
.pillars h3 { font-size: var(--fs-h3); font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 12px; }
.pillars p { color: var(--muted-d); margin: 0; }
.pillars a { color: #fff; font-weight: 600; font-size: 1.375rem; text-decoration: none; }
.pillars a:hover { color: var(--red); }
.partners-dark { border-top-color: var(--line-d); }
.partners-dark .partners-h { color: var(--muted-d); }
.partners-dark .partners-row li { background: #fff; padding: 10px 14px; }
.partners-dark .partners-row img { filter: none; opacity: 1; height: 38px; }

/* ---------------------------------------------------------------- contact */
.contact-info { padding: var(--sec) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-copy .lead { margin: 24px 0 0; max-width: 40ch; }
.cblocks { margin-top: 40px; border-top: 1px solid var(--line); }
.cblock { padding: 24px 0; border-bottom: 1px solid var(--line); }
.cblock h3 { font-size: 0.875rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.cblock p { margin: 0; }
.cblock address { line-height: 1.55; margin-bottom: 12px; }
.cbig { color: var(--text); text-decoration: none; font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.625rem); font-weight: 600; font-stretch: 108%; letter-spacing: -0.03em; }
.cmail { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); }
.cbig:hover { color: var(--red-btn); }
.contact-ts { margin-top: 32px; width: 240px; height: auto; }
/* contact map: a still of OpenStreetMap with the office pinned (tools/make_map.py); opens Google Maps */
.contact-map { position: sticky; top: 100px; margin: 0; }
.map-link { position: relative; display: block; border-radius: var(--photo-r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.map-link img { display: block; width: 100%; aspect-ratio: 24 / 25; object-fit: cover; transition: transform 1.2s var(--ease); }
.map-link:hover img { transform: scale(1.03); }
.map-open {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border-radius: 999px; background: #fff; color: var(--text); font-weight: 600; font-size: var(--fs-sm); box-shadow: 0 8px 24px rgb(0 0 0 / 0.16);
}
.map-open .icon { color: var(--red-btn); }
.contact-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-top: 16px; }
.contact-map figcaption small { color: var(--muted); font-size: 0.75rem; }
.contact-map figcaption small a { color: inherit; }
.contact-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.contact-social a { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--text); transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.contact-social a:hover { background: var(--red-btn); color: #fff; box-shadow: none; }

/* ---------------------------------------------------------------- legal */
.legal { padding: clamp(56px, 6vw, 96px) 0 var(--sec); }
.legal-prose { margin-inline: auto; }
.legal-prose > p:first-of-type { font-size: inherit; }

/* ---------------------------------------------------------------- FAQ, 404, thanks */
.faq-prose { max-width: 820px; margin-inline: auto; }
.faq-group + .faq-group { margin-top: clamp(48px, 5vw, 80px); }
.faq-group h2 { margin: 0 0 12px; }
.faq-src { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
.nf-ctas { margin-top: 32px; }
.bhero-lead a { color: #fff; }
.quote-done-static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } /* taste-skill-ignore: present for the Ads visibility trigger */

/* ---------------------------------------------------------------- services hub */
.srows { padding: var(--sec) 0 calc(var(--sec) / 2); }
.srow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(64px, 8vw, 128px); }
.srow { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.srow-flip .srow-img { order: 2; }
.srow-img { display: block; overflow: hidden; }
.srow-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.srow:hover .srow-img img { transform: scale(1.04); }
.srow-copy h2 a { color: inherit; text-decoration: none; }
.srow-copy h2 a:hover { color: var(--red-btn); }
.srow-copy > p:not(.step-n) { color: var(--muted); font-size: var(--fs-lead); line-height: 1.45; margin: 20px 0 28px; max-width: 36ch; }
.areas-tight { padding-top: calc(var(--sec) / 2); }

/* ---------------------------------------------------------------- mobile bar + menu sheet */
.sheet { display: none; }

/* ---------------------------------------------------------------- motion: entrances (content stays visible without script) */
.reveal-ready [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }
.reveal-ready .lines[data-reveal] { opacity: 1; transform: none; }
/* only headings with a scroll trigger start hidden; one without (e.g. near a page end) is simply shown */
.reveal-ready .lines[data-reveal] .ln > span { transform: translate3d(0, 108%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + var(--l, 0) * 110ms); }
.reveal-ready .lines.in .ln > span { transform: none; }
.lines .ln:nth-child(2) > span { --l: 1; }
.lines .ln:nth-child(3) > span { --l: 2; }
/* Gallery tiles fade up (no clip-path: a fully clipped tile delays Chrome's lazy image loading) */
.reveal-ready .gallery > li { transition-delay: calc(var(--i, 0) * 80ms); }
.reveal-ready .gallery > li .g-item img { transform: scale(1.12); }
.reveal-ready .gallery > li.in .g-item img { transform: scale(1); transition: transform 1.6s var(--ease); }
.reveal-ready .gallery > li.in .g-item:hover img { transform: scale(1.06); transition-duration: 1.2s; }
/* The first screen animates in pure CSS from the first frame: nothing on it waits for the script,
   so the largest text paints straight away (Largest Contentful Paint). */
.reveal-ready h1.lines .ln > span { transform: none; transition: none; animation: line-up 1.1s var(--ease) both; animation-delay: calc(0.05s + var(--l, 0) * 110ms); }
.reveal-ready .hero-lead, .reveal-ready .bhero-lead { animation: hero-up 0.9s var(--ease) both 0.3s; }
.reveal-ready .hero-ctas { animation: hero-up 0.9s var(--ease) both 0.42s; }
.reveal-ready .hero-foot { animation: hero-up 0.9s var(--ease) both 0.55s; }
@keyframes line-up { from { transform: translate3d(0, 108%, 0); } }
@keyframes hero-up { from { opacity: 0.01; transform: translate3d(0, 18px, 0); } }

/* ================================================================ responsive */
@media (max-width: 1180px) {
  .hdr-nav a, .sub-toggle { padding: 10px 10px; }
  .hdr-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ftr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
  .hero-caption { display: none; }
}

@media (max-width: 899px) {
  :root { --hdr: 64px; }
  .hdr { height: var(--hdr); }
  .hdr.is-solid { height: 60px; }
  .hdr-in { gap: 10px; }
  .hdr-phone, .hdr-menu {
    align-items: center; justify-content: center; height: 42px; border: 0; border-radius: 999px;
    background: rgb(255 255 255 / 0.12); color: #fff; cursor: pointer; transition: background-color 0.2s;
  }
  .hdr-phone { width: 42px; flex: none; }
  .hdr-phone .icon { color: #fff; width: 19px; height: 19px; }
  .hdr-phone:active, .hdr-menu:active { background: rgb(255 255 255 / 0.24); }
  .hdr-nav a, .sub-toggle { font-size: var(--fs-sm); padding: 10px 7px; }
  .hdr-nav > ul > li > a::after, .sub-toggle::after { left: 7px; right: 7px; }
  .hdr-quote { font-size: var(--fs-sm); height: 40px; padding: 0 16px; }
  /* The services panel spans the header instead of hanging off the Services button. */
  .has-sub { position: static; }
  .sub { top: calc(100% - 6px); left: var(--margin); right: var(--margin); width: auto; }
  .hdr-logo img { width: 132px; }

  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero-in { min-height: 100svh; padding: 110px 0 28px; }
  .hero-shade { background: linear-gradient(180deg, rgb(10 9 9 / 0.55) 0%, rgb(10 9 9 / 0.1) 22%, rgb(10 9 9 / 0.35) 45%, rgb(10 9 9 / 0.9) 100%); }
  .hero .h-hero { font-size: min(11vw, 4.5rem); font-stretch: 106%; }
  .hero-lead { margin-bottom: 28px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-foot { margin-top: 36px; padding-top: 20px; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .hero-ui { display: none; }

  .sec-head { display: block; }
  .sec-head-side { margin-top: 24px; }
  .intro-grid { display: block; }
  .intro-copy { margin-top: 28px; padding-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .partners { grid-template-columns: 1fr; gap: 24px; }
  .partners-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 28px 24px; }
  .partners-row img { max-width: 100%; }
  .partners-row img { height: 36px; }
  .partners-row li:first-child img { height: 44px; }

  .svc { grid-template-columns: 100px minmax(0, 1fr) 40px; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; padding: 20px 0; }
  .svc-thumb { display: block; grid-row: 1 / 3; width: 100px; height: 100px; overflow: hidden; }
  .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-name { grid-column: 2; font-size: clamp(1.375rem, 5.6vw, 1.875rem); align-self: end; }
  .svc-line { grid-column: 2; font-size: var(--fs-sm); align-self: start; }
  /* each row ends in a solid arrow button: it opens that service's page */
  .svc-go { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 40px; height: 40px; background: #fff; color: var(--red-btn); box-shadow: none; }
  .svc-go .icon { width: 20px; height: 20px; transform: rotate(45deg); }
  .svc:hover .svc-go, .svc:focus-visible .svc-go, .brand .svc:hover .svc-go { background: #fff; color: var(--red-btn); transform: none; }
  .svc:active .svc-go { transform: scale(0.92); }
  .svc:hover .svc-name { transform: none; }
  .svc-float { display: none; }

  .process-grid { display: block; }
  .proc-media { display: none; }
  .steps { margin-top: 24px; }
  .step { min-height: 0; padding: 32px 0; border-top-color: var(--line); }
  .step h3 { color: var(--text); }
  .step-fig { display: block; margin-top: 22px; overflow: hidden; }
  .step-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 6px; }
  .gallery .g-wide { grid-column: span 2; grid-row: span 1; }
  .gallery.g-few { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .gallery.g-few-3 > li:first-child { grid-column: span 2; }
  .g-cap { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }

  .reviews-grid { display: block; }
  .reviews-main { margin-top: 48px; }
  .rv-mark { font-size: 7rem; }

  .areas-grid { display: block; }
  .area-list { margin-top: 40px; }
  .area { flex-direction: column; align-items: flex-start; gap: 6px; }
  .area-go { text-align: left; }

  .cards { grid-template-columns: 1fr; gap: 40px; }

  .quote-form { grid-template-columns: 1fr; }
  .quote-aside { min-height: 0; padding-top: 220px; }
  .quote-card { padding: 40px var(--margin) 56px; }

  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding: 48px 0; }
  .ftr { padding-bottom: 84px; }  /* room under the legal line for the WhatsApp button */

  .sheet:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 70; overflow-y: auto; background: var(--ink); color: #fff;
    padding: 14px var(--margin) calc(40px + env(safe-area-inset-bottom));
  }
  .sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .sheet-logo img { width: 132px; }
  .sheet-close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
  .sheet-close .icon { width: 24px; height: 24px; }
  .sheet-h { margin: 28px 0 6px; font-size: 0.875rem; font-weight: 600; color: var(--muted-d); }
  .sheet-list { list-style: none; margin: 0; padding: 0; }
  .sheet-list a { display: block; padding: 9px 0; color: #fff; text-decoration: none; font-size: 1.25rem; font-weight: 500; font-stretch: 108%; letter-spacing: -0.02em; }
  .sheet-call { width: 100%; margin-top: 32px; }
  .sheet-all { display: inline-flex !important; align-items: center; gap: 10px; }
  .sheet-all .icon { color: var(--red); width: 20px; height: 20px; }
}

@media (max-width: 1099px) {
  .art-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .side-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}

@media (max-width: 899px) {
  .phero { height: auto; min-height: 88svh; max-height: none; }
  .phero .h-xl { font-size: min(10vw, 3.5rem); }
  .phero .h1-long { font-size: min(8.4vw, 3rem); }
  .phero .hero-caption { display: none; }
  .a-sec { margin-top: 48px; padding-top: 36px; }
  .feat > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .ticks { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-photo img { aspect-ratio: 4 / 3; }
  .why-list { margin-top: 28px; }
}

@media (max-width: 999px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-side { display: none; }
  .toc-mobile { display: block; margin: 0 0 2em; padding: 0 20px; background: var(--stone); }
  .toc-mobile summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
  .toc-mobile ol { margin: 0; padding: 0 0 16px 1.2em; }
  .toc-mobile a { color: var(--text); text-decoration: none; }
}

@media (max-width: 899px) {
  .bhero { padding-top: calc(var(--hdr) + 48px); }
  .post-hero { padding-bottom: 120px; }
  .post-cover-wrap { margin-top: -96px; }
  .post-cover img { aspect-ratio: 16 / 10; }
  .feat-post, .story-grid, .contact-grid, .srow { grid-template-columns: 1fr; }
  .srow-flip .srow-img { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .contact-map { position: static; }
  .map-link img { aspect-ratio: 4 / 3; }
  .mid-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 599px) {
  .side-card { display: block; }
  .side-photo { display: none; }
  .mid-cta-actions .btn { flex: 1 1 auto; }
  .rcard blockquote p { font-size: 1.0625rem; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 28vw; }
  .gallery .g-wide { grid-column: span 2; grid-row: span 2; }
  .gallery.g-few-2, .gallery.g-few-4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 36vw; }
  .gallery.g-few-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 34vw; }
  .gallery.g-few-3 > li:first-child { grid-column: auto; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
  .quote-fields { grid-template-columns: 1fr; }
  .hero-facts span { font-size: 0.8125rem; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- reduced motion: keep the content, drop the travel */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal], .reveal-ready .gallery > li, .reveal-ready .lines .ln > span,
  .reveal-ready .hero-lead, .reveal-ready .hero-ctas, .reveal-ready .hero-foot { opacity: 1; transform: none; clip-path: none; transition: none; }
  .reveal-ready h1.lines .ln > span, .reveal-ready .hero-lead, .reveal-ready .bhero-lead, .reveal-ready .hero-ctas, .reveal-ready .hero-foot { animation: none; }
  .slide, .slide img, .proc-fig img { transition: none; transform: none; }
  .bar.is-on i { animation: none; transform: scaleX(1); }
  .hero-media { transform: none !important; }
}

/* ---------------------------------------------------------------- cookie choices (Consent Mode v2)
   Shown from the first paint when the head script finds no saved choice (html.cc-ask), or when a
   "Cookie settings" button opens it (.is-open). Accept and Reject share one style: an equal choice. */
.cc {
  display: none; position: fixed; left: 24px; bottom: 24px; z-index: 65; width: min(430px, calc(100% - 48px));
  max-height: calc(100svh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 26px;
  background: var(--ink-2); color: #fff; border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line-d), 0 28px 70px rgb(0 0 0 / 0.38);
}
.cc-ask .cc, .cc.is-open { display: block; animation: cc-in 0.7s var(--ease) both; }
@keyframes cc-in { from { opacity: 0.01; transform: translate3d(0, 18px, 0); } }
.cc::before { content: ""; position: absolute; left: 26px; top: 0; width: 40px; height: 3px; background: var(--red); }
.cc-h { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 600; font-stretch: 110%; letter-spacing: -0.02em; outline: none; }
.cc-text { margin: 0; color: var(--muted-d); font-size: var(--fs-sm); line-height: 1.5; }
.cc-text a { color: #fff; text-underline-offset: 3px; }
.cc-prefs { margin-top: 18px; border-top: 1px solid var(--line-d); }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
label.cc-row { cursor: pointer; }
.cc-row strong { display: block; font-size: 0.9375rem; font-weight: 600; font-stretch: 106%; }
.cc-row small { display: block; margin-top: 3px; color: var(--muted-d); font-size: 0.8125rem; line-height: 1.45; }
.cc-always { flex: none; color: var(--muted-d); font-size: 0.8125rem; }
.cc-switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 48px; height: 28px; margin: 0;
  border-radius: 14px; background: rgb(255 255 255 / 0.24); cursor: pointer; transition: background-color 0.25s var(--ease);
}
.cc-switch::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; transition: transform 0.3s var(--ease);
}
.cc-switch:checked { background: var(--red-btn); }
.cc-switch:checked::before { transform: translateX(20px); }
.cc-switch:focus-visible, .cc-more:focus-visible, .cc .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.cc-btn { flex: 1 1 0; background: #fff; color: var(--ink); }
.cc-btn:hover { background: var(--stone-2); }
.cc-more {
  min-height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
  font: 500 var(--fs-sm) "Archivo", sans-serif; text-decoration: underline; text-underline-offset: 4px;
}
.cc-save { flex: 1 1 100%; }
.cc [hidden] { display: none; }  /* .btn's inline-flex would otherwise beat the hidden attribute */
@media (max-width: 899px) {
  .cc {
    left: 10px; right: 10px; width: auto; bottom: calc(10px + env(safe-area-inset-bottom));
    max-height: calc(100svh - 90px - env(safe-area-inset-bottom)); padding: 22px 20px 18px;
  }
  .cc::before { left: 20px; }
  .cc-h { font-size: 1.0625rem; margin-bottom: 6px; }
  .cc-text { font-size: 0.875rem; }
  .cc-actions { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-ask .cc, .cc.is-open { animation: none; }
  .cc-switch, .cc-switch::before { transition: none; }
}

/* ---------------------------------------------------------------- tablet and phone header
   Below 820px the links don't fit: call, Free quote and a Menu button that opens the full-screen menu.
   Phones drop Free quote (the hero and every section end carry one). */
@media (max-width: 819px) {
  .hdr-nav { display: none; }
  .hdr-phone { margin-left: auto; }
  .hdr-menu { display: inline-flex; gap: 8px; padding: 0 16px 0 14px; font: 600 0.9375rem "Archivo", sans-serif; font-stretch: 106%; }
  .hdr-menu .icon { width: 20px; height: 20px; }
}
@media (max-width: 599px) {
  .hdr-quote { display: none; }
  .hdr-in { gap: 8px; }
  .hdr-phone, .hdr-menu { height: 44px; }
  .hdr-phone { width: 44px; }
}
@media (max-width: 359px) {
  .hdr-logo img { width: 112px; }
  .hdr-menu { padding: 0 12px; }
}

/* ---------------------------------------------------------------- partner logos, small screens
   Every logo fits its cell (the desktop 160px cap on the first logo used to win here), in balanced rows:
   one row of five on tablets; on phones Trading Standards gets its own row, then two and two. */
@media (max-width: 899px) {
  .partners-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
  .partners-row li { display: flex; align-items: center; justify-content: center; min-width: 0; }
  .partners-row img, .partners-row li:first-child img { max-width: 100%; height: 36px; object-fit: contain; }
  .partners-row li:first-child img { height: 44px; }
  .partners-dark .partners-row li { min-height: 64px; padding: 10px 12px; border-radius: 4px; }
  .partners-dark .partners-row img { height: 32px; }
  .partners-dark .partners-row li:first-child img { height: 42px; }
}
@media (max-width: 599px) {
  .partners-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partners-row li:first-child { grid-column: 1 / -1; }
  .partners:not(.partners-dark) .partners-row { gap: 28px 20px; }
}

/* ---------------------------------------------------------------- WhatsApp button (phones and tablets)
   Below the cookie banner (z 65) and the menu sheet (z 70), so neither is ever covered. */
.wa-float { display: none; }
@media (max-width: 899px) {
  .wa-float {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    box-shadow: 0 0 0 3px rgb(255 255 255 / 0.92), 0 12px 30px rgb(0 0 0 / 0.3);
    animation: wa-in 0.6s var(--ease) 0.8s both; transition: transform 0.2s var(--ease);
  }
  .wa-float .icon { width: 30px; height: 30px; }
  .wa-float:active { transform: scale(0.93); }
  .wa-float { transition: transform 0.2s var(--ease), translate 0.4s var(--ease), visibility 0s; }
  .wa-float.wa-away { translate: 0 calc(100% + 40px); visibility: hidden; pointer-events: none; transition: translate 0.4s var(--ease), visibility 0s 0.4s; }
  .wa-float:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
}
@keyframes wa-in { from { opacity: 0; transform: scale(0.6); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ---------------------------------------------------------------- section ends: one line and the ways to enquire
   Every homepage section before the quote form closes with these, so the next step is always in view. */
.sec-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px;
  margin-top: clamp(48px, 5vw, 80px); padding-top: 28px; border-top: 1px solid var(--line);
}
.dark .sec-cta { border-top-color: var(--line-d); }
.sec-cta p { margin: 0; max-width: 42ch; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); font-weight: 500; font-stretch: 106%; letter-spacing: -0.01em; line-height: 1.35; }
.sec-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- how it works (homepage) */
.how { padding: var(--sec) 0; }
.how-steps { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.how-steps li { padding-top: 24px; border-top: 2px solid var(--text); }
.how-steps h3 { font-size: var(--fs-h3); font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 14px; }
.how-steps p:not(.step-n) { color: var(--muted); max-width: 36ch; margin: 0; }
.how-steps a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.how .sec-cta { border-top: 0; padding-top: 0; }

@media (max-width: 899px) {
  .how-steps { grid-template-columns: 1fr; gap: 28px; }
  .how-steps h3 { font-size: 1.625rem; margin-bottom: 10px; }
}
@media (max-width: 599px) {
  .sec-cta { gap: 16px; padding-top: 24px; }
  .sec-cta-btns { width: 100%; }
  .sec-cta-btns .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- homepage "Recent work": one row, every photo on /projects/ */
.work-row { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--photo-r); overflow: hidden; color: #fff; text-decoration: none; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(10 9 9 / 0.72)); }
.work-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; }
.work-tile:hover img, .work-tile:focus-visible img { transform: scale(1.05); }
.work-row + .work-more { margin-top: 36px; }
@media (max-width: 899px) {
  /* still one row: swipe sideways through the four */
  .work-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scroll-padding-inline: var(--margin);
  }
  .work-row::-webkit-scrollbar { display: none; }
  .work-row > li { scroll-snap-align: start; }
}

/* ---------------------------------------------------------------- homepage services band: the Archers signs on site
   Black and white, multiplied into the red: multiply only ever darkens, so the white text never loses contrast,
   and the red archer logos on the boards come through as darker red. Fades out before the list gets long. */
.services { position: relative; isolation: isolate; overflow: hidden; }
.svc-bg {
  position: absolute; left: 0; right: 0; top: 0; height: min(100%, 1000px); z-index: -1; pointer-events: none;
  mix-blend-mode: multiply; opacity: 0.62;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}
.svc-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; filter: grayscale(1) contrast(1.2); }
@media (max-width: 899px) {
  .svc-bg { height: 760px; }
  .svc-bg img { object-position: 58% 30%; }
}

/* ---------------------------------------------------------------- dark CTA band (homepage, between services and reviews)
   The line sits just under the service names' size (.svc-name), in the same cut. */
.cta-band { padding: clamp(56px, 7vw, 104px) 0; }
.cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; }
.cta-band-line {
  margin: 0; max-width: 24ch; font-size: clamp(1.5rem, 0.9rem + 2vw, 2.75rem); font-stretch: 112%; font-weight: 500;
  letter-spacing: -0.035em; line-height: 1.08; color: #fff;
}
@media (max-width: 899px) {
  .cta-band-line { font-size: clamp(1.25rem, 5vw, 1.625rem); max-width: none; }
}
@media (max-width: 599px) {
  .cta-band .sec-cta-btns { width: 100%; }
  .cta-band .sec-cta-btns .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- homepage hero on phones
   The title starts just under the menu instead of at the foot of a full-height screen, and the hero ends
   after the four facts. Tablets and desktop keep the full-screen hero. */
@media (max-width: 599px) {
  .is-home .hero { min-height: 0; }
  .is-home .hero-in { min-height: 0; padding-top: calc(var(--hdr) + 44px); }
}

/* ---------------------------------------------------------------- desktop sizing
   A bigger logo and menu, and the small and body text about 2px up, in two steps so the header
   always fits on one line. Phones and tablets are unchanged. */
@media (min-width: 1200px) {
  :root { --fs-sm: 1rem; --fs-body: 1.1875rem; }
  /* every CTA button matches the hero's (btn-lg); the header button and the cookie banner keep their own sizes */
  .btn:not(.hdr-quote):not(.cc-btn):not(.cc-save) { height: 60px; padding: 0 30px; font-size: 1.0625rem; }
  .hdr-logo img { width: 190px; }
  .hdr-nav a, .sub-toggle, .hdr-phone { font-size: 1.1875rem; }
  .hdr-quote { font-size: 1.125rem; height: 48px; padding: 0 24px; }
  .hero-facts span, .hero-caption, .proc-fig figcaption, .step-n, .card time, .field label, .ftr-col h3, .ftr-legal, .crumbs ol, .why-photo figcaption, .tag, .toc-h, .feat-post-label, .rcard figcaption span, .story-photo figcaption, .cblock h3, .cc-text { font-size: 0.9375rem; }
  .sub small, .field-help, .field-error, .cc-row small, .quote-legal { font-size: 0.875rem; }
}
@media (min-width: 1280px) {
  .hdr-logo img { width: 202px; }
  .hdr-nav a, .sub-toggle, .hdr-phone { font-size: 1.25rem; }
}
@media (min-width: 1440px) {
  :root { --fs-sm: 1.0625rem; --fs-body: 1.25rem; }
  .hdr-logo img { width: 214px; }
  .hdr-nav a, .sub-toggle, .hdr-phone { font-size: 1.3125rem; }
  .hdr-quote { font-size: 1.1875rem; height: 52px; padding: 0 28px; }
  .hero-facts span, .hero-caption, .proc-fig figcaption, .step-n, .card time, .field label, .ftr-col h3, .ftr-legal, .crumbs ol, .why-photo figcaption, .tag, .toc-h, .feat-post-label, .rcard figcaption span, .story-photo figcaption, .cblock h3, .cc-text { font-size: 1rem; }
  .sub small, .field-help, .field-error, .cc-row small, .quote-legal { font-size: 0.9375rem; }
}

/* ---------------------------------------------------------------- phone tap targets
   Footer links, the legal row and breadcrumbs get a 44px-tall tap area on touch screens. */
@media (max-width: 899px) {
  .ftr-col ul, .ftr-col address { gap: 0; }
  .ftr-col a, .ftr-legal a, .ftr-cc, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr-legal p { gap: 0 22px; align-items: center; }
  .crumbs ol { align-items: center; margin-bottom: 14px; }
}
