/* ==========================================================================
   RUBI Contractors — design system
   Signature: "the RUBI cut" — the ~50° diagonal of the R-mark's leg, used for
   the hero split, image chamfers, slash markers and compare sliders.
   ========================================================================== */

/* Self-hosted fonts (latin subset from Google Fonts, SIL Open Font License). */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* color */
  --white: #fff;
  --paper: #f6f4f0;
  --paper-2: #ece8e1;
  --mist: #e7ebf1;
  --line: #dde2e9;
  --line-strong: #bfc8d4;
  --navy: #082b5c;
  --navy-700: #1a4481;
  --navy-900: #061f43;
  --navy-950: #04152e;
  --navy-100: #e6edf7;
  --red: #d71920;
  --red-700: #b3141a;
  --red-50: #fdeced;
  --ink: #0b1a30;
  --text: #2b394d;
  --muted: #56657a;
  --on-dark: rgba(255, 255, 255, 0.74);

  /* type */
  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --fs-hero: clamp(2.6rem, 0.9rem + 4.3vw, 5.1rem);
  --fs-h1: clamp(2.5rem, 1.2rem + 4.2vw, 5rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 2.8vw, 3.9rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* layout */
  --wrap: 1320px;
  --narrow: 960px;
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --section: clamp(4.5rem, 2.5rem + 7vw, 9.5rem);
  --header-h: 80px;
  --radius: 2px;

  /* the RUBI cut: leg slope dx/dy = 0.846 (~50°) */
  --cut: clamp(18px, 2.4vw, 36px);
  --cut-x: calc(var(--cut) * 0.846);

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.18s;
  --t: 0.35s;
  --t-slow: 0.9s;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; }
h1 em, h2 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--navy); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.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; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: #fff; padding: 0.8rem 1.2rem; font-weight: 600; transition: top var(--t-fast); }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

/* ---------- 3. Type primitives ---------- */
.slash {
  display: inline-block; flex: none;
  width: 0.62em; height: 0.78em; margin-right: 0.6em;
  background: var(--red);
  clip-path: polygon(0 0, 42% 0, 100% 100%, 58% 100%);
  vertical-align: -0.06em;
}
.eyebrow {
  display: flex; align-items: center;
  font-size: var(--fs-xs); font-weight: 650; font-stretch: 112%;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 1.25rem;
}
.eyebrow--light { color: #fff; }
.sec-title { font-size: var(--fs-h2); font-stretch: 104%; }
.sec-title--light { color: #fff; }
.sec-title--sm { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.sec-intro { font-size: var(--fs-lead); color: var(--muted); max-width: 38ch; line-height: 1.5; }
.sec-head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); display: grid; gap: 1.25rem; }
.sec-head .eyebrow { margin-bottom: 0; }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.sec-head--row .eyebrow { margin-bottom: 1.25rem; }
.note { margin-top: 2.5rem; font-size: var(--fs-sm); color: var(--muted); max-width: 70ch; padding-left: 1rem; border-left: 2px solid var(--line-strong); }
.tag {
  display: inline-block; margin-left: 0.6em; padding: 0.18em 0.5em 0.14em;
  font-size: 0.62rem; font-weight: 700; font-stretch: 110%; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2;
  color: var(--red-700); border: 1px solid currentColor; vertical-align: 0.25em;
}
.inline-link { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }

/* ---------- 4. Buttons & links ---------- */
.btn {
  --notch: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.8rem 1.45rem;
  font-size: 1rem; font-weight: 620; font-stretch: 104%; letter-spacing: 0.005em; line-height: 1.1; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch) * 0.846) 100%, 0 100%);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  position: relative;
}
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: -6px; }
.btn .i { width: 1.2em; height: 1.2em; flex: none; transition: transform var(--t) var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-700); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--line { --notch: 0px; border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.btn--lg { min-height: 3.6rem; padding: 0.9rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 620; color: var(--navy);
  padding-bottom: 0.25rem; border-bottom: 2px solid var(--red);
}
.textlink .i { width: 1.1em; height: 1.1em; transition: transform var(--t) var(--ease); }
.textlink:hover .i, a:hover > .textlink .i { transform: translateX(4px); }
.textlink--light { color: #fff; }

.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); color: var(--navy); }
.icon-btn .i { width: 24px; height: 24px; }
.icon-btn--red { background: var(--red); color: #fff; }
.icon-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }

/* ---------- 5. Brand ---------- */
.mark { height: 100%; width: auto; }
.mark__stem, .mark__leg { fill: var(--red); }
.mark__bowl { fill: currentColor; }
/* Logo: the client's artwork as an image (aspect 1394:401). */
.brand { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.brand__logo { height: 42px; width: auto; }
.brand--footer .brand__logo { height: 62px; }
.logo-icon .logo__red { fill: var(--red); }
.logo-icon .logo__navy { fill: currentColor; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(8, 43, 92, 0.35); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.nav { margin-left: auto; display: none; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__item { display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: var(--header-h);
  padding-inline: 0.8rem; font-size: 0.97rem; font-weight: 550; color: var(--ink);
}
.nav__link::after {
  content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 22px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__item--mega .nav__link { padding-right: 0.2rem; }
.nav__caret { display: grid; place-items: center; width: 28px; height: 28px; margin-right: 0.4rem; color: var(--ink); }
.nav__caret .i { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.nav__item--mega.is-open .nav__caret .i { transform: rotate(180deg); }
.site-header__cta { display: none; }
.site-header__mobile { margin-left: auto; display: flex; gap: 0.5rem; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(8, 43, 92, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 2.25rem var(--gutter) 1.75rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
a.mega__head:hover { color: var(--navy); }
.mega__foot { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 1.1rem var(--gutter) 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.mega__foot strong { color: var(--ink); }
.mega__head { display: flex; align-items: center; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.75rem; transition: color var(--t-fast); }
.mega__col a { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-weight: 520; color: var(--ink); transition: color var(--t-fast), padding var(--t) var(--ease); }
.mega__col a:hover { color: var(--navy); padding-left: 0.4rem; }
.mega__col a.is-core { font-weight: 700; }
.mega__feature { position: relative; display: block; overflow: hidden; background: var(--navy); color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 22px) 100%, 0 100%); }
.mega__feature img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; opacity: 0.55; transition: transform 1s var(--ease), opacity var(--t); }
.mega__feature:hover img { transform: scale(1.05); opacity: 0.45; }
.mega__feature-text { position: absolute; left: 1.4rem; bottom: 1.2rem; display: grid; gap: 0.2rem; }
.mega__feature-text small { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.mega__feature-text strong { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.4rem; font-stretch: 108%; }
.mega__feature-text .i { width: 1.1em; height: 1.1em; }

@media (min-width: 1100px) {
  .nav, .site-header__cta { display: flex; }
  .site-header__mobile { display: none; }
  .site-header__inner { gap: 1.5rem; }
  .brand__logo { height: 58px; }
}
@media (hover: hover) and (min-width: 1100px) {
  .nav__item--mega:hover .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__item--mega:hover .nav__caret .i { transform: rotate(180deg); }
}

/* Drawer (mobile menu) */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: var(--navy-950); color: #fff;
  padding: 0 var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer[hidden] { display: none; }
.drawer.is-open { animation: drawerIn 0.35s var(--ease) both; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.drawer__nav { display: grid; margin-top: 1rem; }
.drawer__link, .drawer__group summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.95rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.75rem; font-weight: 650; font-stretch: 108%; letter-spacing: -0.02em; color: #fff;
}
.drawer__group summary { list-style: none; cursor: pointer; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary .i { width: 26px; height: 26px; transition: transform var(--t) var(--ease); }
.drawer__group[open] summary .i { transform: rotate(45deg); }
.drawer__svc { padding: 1rem 0 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.drawer__svc p { display: flex; align-items: center; font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin: 0.75rem 0 0.25rem; }
.drawer__svc a { display: flex; align-items: center; padding: 0.55rem 0; font-size: 1.1rem; color: #fff; }
.drawer__svc a.drawer__cat { margin-top: 1rem; padding: 0.4rem 0; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); }
.drawer__svc a.drawer__cat:first-child { margin-top: 0; }
.drawer__svc .tag { color: #ff8a8e; }
.drawer__all { margin-top: 0.75rem; gap: 0.5rem; font-weight: 600; }
.drawer__all .i { width: 1.1em; }
.drawer__call { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.6rem; }
.drawer__call p { font-size: var(--fs-sm); color: var(--on-dark); }
.drawer__phone { display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3.5rem; background: var(--red); color: #fff; font-size: 1.2rem; font-weight: 650; }
.drawer__phone + .drawer__phone { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); }
.drawer__phone .i { width: 22px; height: 22px; }
.drawer__book { display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3.5rem; background: #fff; color: var(--navy); font-size: 1.1rem; font-weight: 650; }
.drawer__book .i { width: 22px; height: 22px; }
body.menu-open { overflow: hidden; }

/* ---------- 7. The cut (chamfer) ---------- */
.cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut-x)) 100%, 0 100%); }
.cut img, .ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 8. Placeholder frames (real project photos go here) ---------- */
.ph {
  position: relative; width: 100%; aspect-ratio: var(--ratio, 4/3);
  display: grid; place-items: center;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(130deg, transparent 0 13px, rgba(8, 43, 92, 0.055) 13px 14px);
  color: var(--navy); overflow: hidden;
}
.ph__mark { width: clamp(40px, 12%, 72px); height: auto; opacity: 0.16; }
.ph__mark .mark__stem, .ph__mark .mark__leg { fill: var(--navy); }
.ph__label { position: absolute; left: 1rem; bottom: 0.9rem; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- 9. Hero ---------- */
.hero { padding-top: clamp(0.5rem, 2vw, 2rem); }
.hero__grid { display: grid; gap: 2rem; }
.hero__copy { padding-inline: var(--gutter); padding-top: 1.5rem; }
.hero__title { font-size: var(--fs-hero); font-weight: 760; font-stretch: 96%; line-height: 0.96; letter-spacing: -0.04em; margin-bottom: 1.6rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--red); letter-spacing: -0.02em; font-size: 1.08em; line-height: 0.9; }
/* Longer two-sentence headline: smaller so each sentence keeps to about two lines. */
.hero__title--long { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.6rem); line-height: 1; }
.hero__title--long .line + .line { margin-top: 0.12em; }
.hero__title--long em { font-size: 1.1em; line-height: 0.95; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text); max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__alt { margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--muted); }
.hero__alt a { color: var(--navy); font-weight: 650; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.hero__visual { position: relative; min-height: 0; }

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    min-height: min(calc(100svh - var(--header-h) - 8.5rem), 760px);
    padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
  .hero__copy { padding: 2rem 0 2.5rem; align-self: center; }
  .hero__visual .split { height: 100%; min-height: 520px; }
}

/* Split: inside / outside, divided by the RUBI cut */
.split {
  position: relative; overflow: hidden; background: var(--navy);
  aspect-ratio: 4 / 3.4; user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
@media (min-width: 1024px) { .split { aspect-ratio: auto; cursor: ew-resize; } }
.split__layer { position: absolute; inset: 0; }
.split__layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.split__layer--out { clip-path: polygon(40% 0, 100% 0, 100% 100%, 72% 100%); }
.split__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.split__line line { stroke: var(--red); stroke-width: 4; }
.split__tag {
  position: absolute; z-index: 2; padding: 0.45rem 0.75rem 0.4rem;
  background: #fff; color: var(--navy);
  font-size: 0.72rem; font-weight: 700; font-stretch: 115%; letter-spacing: 0.18em; text-transform: uppercase;
}
.split__tag--in { top: 1rem; left: 1rem; }
.split__tag--out { right: 1rem; bottom: 1rem; }
.split__handle {
  position: absolute; z-index: 3; left: var(--hx, 56%); top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center;
  background: #fff; color: var(--navy); border-radius: 50%;
  box-shadow: 0 10px 30px -10px rgba(4, 21, 46, 0.6);
  cursor: grab; touch-action: none;
  transition: transform var(--t) var(--ease);
}
.split__handle svg { width: 24px; height: 24px; }
.split:hover .split__handle, .compare:hover .split__handle { transform: scale(1.06); }
.is-dragging .split__handle { cursor: grabbing; transform: scale(0.95); }
.split__range, .compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.split:has(:focus-visible), .compare:has(:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }

/* Ledger: truthful credentials, set like an architect's title block */
.ledger {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2rem, 3vw, 2.75rem); border-top: 1px solid var(--ink);
}
.ledger li { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.15rem; align-content: start; }
.ledger li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
.ledger strong { font-size: 1.02rem; line-height: 1.2; font-weight: 700; font-stretch: 110%; color: var(--navy); letter-spacing: -0.01em; }
.ledger span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }
@media (min-width: 900px) {
  .ledger { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ledger li, .ledger li:nth-child(even) { grid-column: auto; padding: 1.3rem 1.25rem; border-left: 1px solid var(--line); border-bottom: 0; }
  .ledger li:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- 10. Statement ---------- */
/* "One estimate. One schedule. One point of contact." band right under the hero */
.promise { background: var(--navy); color: #fff; padding-block: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.promise__text { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.6rem; margin: 0; font-size: clamp(1.35rem, 1rem + 1.6vw, 2.3rem); font-weight: 720; font-stretch: 104%; letter-spacing: -0.02em; line-height: 1.15; text-align: center; }
.promise__text span { display: inline-flex; align-items: center; gap: 1.6rem; }
.promise__text span + span::before { content: ''; width: 0.5em; height: 0.12em; background: var(--red); transform: rotate(-50deg); flex: none; }
@media (max-width: 639px) { .promise__text { flex-direction: column; align-items: center; gap: 0.2rem; } .promise__text span + span::before { display: none; } }
.statement { padding-block: var(--section); }
.statement__text {
  font-size: clamp(1.55rem, 0.95rem + 2.5vw, 3.1rem); line-height: 1.2; font-weight: 520; font-stretch: 100%;
  letter-spacing: -0.025em; color: var(--navy);
}
.statement__text em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.statement__text .hl { background: linear-gradient(var(--red), var(--red)) no-repeat 0 92% / 100% 0.09em; padding-bottom: 0.04em; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement__text {
      background: linear-gradient(90deg, var(--navy) 50%, #b9c3d1 50%) 100% 0 / 200% 100% no-repeat;
      -webkit-background-clip: text; background-clip: text; color: transparent;
      display: inline; box-decoration-break: slice;
      animation: fillText linear both; animation-timeline: view(); animation-range: entry 30% cover 58%;
    }
    .statement__text .hl { background: none; text-decoration: underline 0.09em var(--red); text-underline-offset: 0.16em; }
    @keyframes fillText { to { background-position: 0 0; } }
  }
}

/* ---------- 11. Two sides (services) ---------- */
.sides { padding-bottom: var(--section); }
.sides__grid { display: grid; gap: 4.5rem; }
@media (min-width: 1024px) { .sides__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 6rem); } .side--out { margin-top: 7rem; } }
.side__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--mist); margin-bottom: 2rem; }
.side__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s var(--ease), transform 1.2s var(--ease); }
.side__media img.is-swapping { opacity: 0; }
.side__label {
  position: absolute; left: 0; top: 0; padding: 0.55rem 0.95rem 0.5rem; background: var(--navy); color: #fff;
  font-size: 0.72rem; font-weight: 700; font-stretch: 115%; letter-spacing: 0.2em; text-transform: uppercase;
}
.side__title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); font-stretch: 104%; margin-bottom: 0.75rem; }
.side__text { color: var(--muted); max-width: 44ch; margin-bottom: 1.75rem; }

.svc-index { border-top: 1px solid var(--ink); }
.svc-index__row {
  display: grid; grid-template-columns: 2.4rem 1fr 1.5rem; column-gap: 0.75rem; row-gap: 0.15rem; align-items: baseline;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
  transition: background-color var(--t-fast);
}
.svc-index__num { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-index__name { font-size: 1.15rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; transition: transform var(--t) var(--ease), color var(--t-fast); }
.svc-index__desc { grid-column: 2; font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
.svc-index__go { grid-column: 3; grid-row: 1; align-self: center; color: var(--line-strong); transition: color var(--t-fast), transform var(--t) var(--ease); }
.svc-index__go .i { width: 20px; height: 20px; }
.svc-index__row:hover .svc-index__name, .svc-index__row:focus-visible .svc-index__name { transform: translateX(6px); color: var(--navy); }
.svc-index__row:hover .svc-index__go { color: var(--red); transform: translateX(4px); }
@media (min-width: 640px) { .svc-index__desc { font-size: 0.95rem; } }

/* ---------- 12. Painting ---------- */
.paint { background: var(--navy); color: var(--on-dark); padding-block: var(--section); position: relative; overflow: hidden; }
.paint::before {
  content: ''; position: absolute; top: 0; right: clamp(2rem, 14vw, 16rem); width: 7px; height: clamp(160px, 22vw, 320px); background: var(--red);
  transform: skewX(40deg); transform-origin: top;
}
.paint__head { position: relative; margin-bottom: clamp(2.5rem, 4vw, 4.5rem); }
.paint__head .sec-title { max-width: 13em; }
.paint__head em { color: #fff; opacity: 0.9; }
.paint__grid { position: relative; display: grid; gap: 4rem; }
@media (min-width: 900px) { .paint__grid { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 6rem); } .paint-card--offset { margin-top: 9rem; } }
.paint-card { display: block; color: var(--on-dark); }
.paint-card__media { aspect-ratio: 5/4; overflow: hidden; background: var(--navy-900); margin-bottom: 1.75rem; }
.paint-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.paint-card:hover .paint-card__media img { transform: scale(1.04); }
.paint-card__kicker { font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase; color: #ff8a8e; margin-bottom: 0.6rem; }
.paint-card__title { color: #fff; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); font-stretch: 104%; margin-bottom: 0.9rem; }
.paint-card__body > p:not(.paint-card__kicker) { max-width: 40ch; margin-bottom: 1.5rem; }
.ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.55rem 1.5rem; margin-bottom: 2rem; }
.ticks li { display: flex; align-items: center; gap: 0.6rem; color: #fff; font-size: var(--fs-sm); }
.ticks .i { width: 18px; height: 18px; color: #ff6a6f; flex: none; }

/* ---------- 13. Work / compare ---------- */
.work { padding-block: var(--section); }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.work__compare { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .work__grid { grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.25rem; }
  .work__compare { grid-column: auto; grid-row: span 2; }
  .work__item .ph { aspect-ratio: auto; height: 100%; }
  .work__item { min-height: 0; }
}
.compare { position: relative; overflow: hidden; aspect-ratio: 4/3; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: var(--paper-2); }
.compare--wide { aspect-ratio: 16/9; margin-bottom: 3rem; }
@media (max-width: 639px) { .compare--wide { aspect-ratio: 4/3.4; } }
@media (pointer: fine) { .compare { cursor: ew-resize; } }
.compare__layer { position: absolute; inset: 0; }
.compare__layer .ph { height: 100%; aspect-ratio: auto; }
.compare__layer--before .ph { background-color: var(--paper-2); }
.compare__layer--after { clip-path: inset(0 0 0 var(--pos)); }
.compare__layer--after .ph { background-color: var(--mist); }
.compare__layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--red); z-index: 2; }
.compare__bar .split__handle { left: 50%; top: 50%; }
.compare__tag { position: absolute; z-index: 2; top: 1rem; padding: 0.4rem 0.7rem 0.35rem; background: var(--navy); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.compare__tag--before { left: 1rem; }
.compare__tag--after { right: 1rem; background: #fff; color: var(--navy); }
.work__item figcaption, .gallery__item figcaption { margin-top: 0.6rem; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 14. Expectations ---------- */
.expect { padding-block: var(--section); border-top: 1px solid var(--line); }
.expect__grid { display: grid; gap: 3rem; }
.expect__media figure { aspect-ratio: 4/5; overflow: hidden; background: var(--mist); }
.expect__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .expect__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .expect__media { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.expect__body .sec-title { margin-bottom: 2.5rem; }
.expect__list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.expect__list li:last-child { border-bottom: 1px solid var(--line); }
.expect__n { font-family: var(--serif); font-style: italic; font-size: 1.8rem; line-height: 1; color: var(--red); }
.expect__list h3 { font-size: var(--fs-h3); margin-bottom: 0.4rem; letter-spacing: -0.015em; }
.expect__list p { color: var(--muted); max-width: 52ch; }

/* ---------- 15. Process ---------- */
.process { background: var(--paper); padding-block: var(--section); }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; padding: 1.5rem 0 1.75rem 1.5rem; border-left: 2px solid var(--line-strong); }
.step::before { content: ''; position: absolute; left: -7px; top: 1.9rem; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--navy); transform: rotate(45deg); }
.step:first-child::before { background: var(--red); border-color: var(--red); }
.step__n { display: block; font-size: 2.6rem; font-weight: 300; font-stretch: 125%; line-height: 1; color: var(--navy); margin-bottom: 0.9rem; letter-spacing: -0.02em; }
.step__t { font-size: 1.2rem; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: var(--fs-sm); max-width: 36ch; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { border-left: 0; border-top: 2px solid var(--line-strong); padding: 2.25rem 1.5rem 0 0; }
  .step::before { left: 0; top: -7px; }
  .step__n { font-size: clamp(2.6rem, 1.5rem + 2vw, 3.6rem); }
}

/* ---------- 16. Story ---------- */
.story { padding-block: var(--section); overflow: hidden; }
.story__grid { display: grid; gap: 2.5rem; align-items: center; }
.story__year { display: flex; font-size: clamp(5.5rem, 3rem + 13vw, 15rem); font-weight: 800; font-stretch: 125%; line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.story__year span:last-child { -webkit-text-stroke-color: var(--red); }
.story__body .sec-title { margin-bottom: 1.5rem; }
.story__lead { font-size: var(--fs-lead); color: var(--ink); font-weight: 520; line-height: 1.45; margin-bottom: 1rem; max-width: 36ch; }
.story__body > p:not(.eyebrow):not(.story__lead) { color: var(--muted); max-width: 52ch; margin-bottom: 2rem; }
.story__media { max-width: 420px; }
@media (min-width: 1024px) {
  .story__grid { grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.75fr); gap: clamp(2.5rem, 4vw, 5rem); }
  .story__year { flex-direction: column; }
}

/* ---------- 17. Areas ---------- */
.areas { padding-block: var(--section); background: var(--navy-100); }
.areas__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .areas__grid { grid-template-columns: 5fr 6fr; gap: 5rem; } }
.areas__body .sec-title { margin-bottom: 1.25rem; }
.areas__body > p:not(.eyebrow) { color: var(--muted); max-width: 44ch; }
.areas__list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0; }
.areas__list a { display: inline-flex; padding: 0.65rem 1rem; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); transition: background-color var(--t-fast), color var(--t-fast); }
.areas__list a span { color: var(--muted); font-weight: 400; }
.areas__list a:hover { background: var(--navy); color: #fff; }
.areas__list a:hover span { color: var(--on-dark); }
.areamap { margin: 0; }
.areamap__frame { position: relative; aspect-ratio: 1; overflow: hidden; background: #c9d6c4; box-shadow: 0 30px 60px -30px rgba(4, 21, 46, 0.45); container-type: inline-size; }
.areamap__sat, .areamap__roads, .areamap__overlay { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.areamap__roads { pointer-events: none; }
.areamap__veil { fill: #fff; fill-opacity: 0.55; }
.areamap__ring { fill: none; stroke: #fff; stroke-width: 7; stroke-opacity: 0.9; }
.areamap__ring-in { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-dasharray: 10 9; }
.areamap__shield rect { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.areamap__shield.is-i rect { fill: #1f4e9c; stroke: #fff; }
.areamap__shield text { font: 800 15px var(--font); text-anchor: middle; fill: var(--ink); }
.areamap__shield.is-i text { fill: #fff; }
.areamap__pulse { fill: var(--red); fill-opacity: 0.25; transform-box: fill-box; transform-origin: center; }
.areamap__pins { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.areamap__pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.areamap__pin > a, .areamap__pin > .areamap__dot { color: inherit; }
.areamap__dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--navy); border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(4, 21, 46, 0.5); transition: transform var(--t-fast); }
.areamap__label { position: absolute; left: 0; top: 0; white-space: nowrap; font: 700 clamp(0.72rem, 0.55rem + 1.6cqi, 1.05rem)/1 var(--font); letter-spacing: -0.01em; color: var(--navy-950); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff, 0 0 10px rgba(255, 255, 255, 0.9); }
.side-r .areamap__label { transform: translate(12px, -50%); }
.side-l .areamap__label { transform: translate(calc(-100% - 12px), -50%); }
.side-t .areamap__label { transform: translate(-50%, calc(-100% - 11px)); }
.side-b .areamap__label { transform: translate(-50%, 11px); }
.areamap__pin.is-nearby .areamap__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; border: 2px solid var(--navy); }
.areamap__pin.is-nearby .areamap__label { font-weight: 560; font-size: clamp(0.66rem, 0.5rem + 1.3cqi, 0.9rem); color: var(--ink); opacity: 0.85; }
.areamap__pin.is-primary .areamap__dot { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--red); border-width: 3.5px; }
.areamap__pin.is-primary .areamap__label { font-size: clamp(1rem, 0.7rem + 3cqi, 1.6rem); font-weight: 800; transform: translate(17px, -50%); }
.areamap__pin a:hover .areamap__dot, .areamap__pin a:focus-visible .areamap__dot { transform: scale(1.3); }
.areamap__pin a:hover .areamap__label { color: var(--red-700); }
.areamap__pin a:focus-visible { outline: none; }
.areamap__pin a:focus-visible .areamap__label { text-decoration: underline; text-underline-offset: 3px; }
.areamap__legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 560; color: var(--ink); }
.areamap__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.areamap__legend i { display: inline-block; flex: none; }
.lg-ring { width: 18px; height: 18px; border-radius: 50%; border: 2px dashed var(--navy); background: rgba(8, 43, 92, 0.06); }
.lg-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--navy); }
.lg-dot.is-nearby { width: 9px; height: 9px; background: #fff; box-shadow: 0 0 0 2px var(--navy); }
.areamap__credit { flex-basis: 100%; font-size: 0.7rem; font-weight: 400; color: var(--muted); line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  .areamap__pulse { animation: map-pulse 2.6s var(--ease) infinite; }
  @keyframes map-pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
}

/* ---------- 18. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); padding-block: var(--section); }
.cta-band__mark { position: absolute; right: -6%; bottom: -18%; height: 130%; width: auto; color: rgba(255, 255, 255, 0.05); pointer-events: none; }
.cta-band__mark .mark__stem, .cta-band__mark .mark__leg { fill: rgba(255, 255, 255, 0.07); }
.cta-band__grid { position: relative; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .cta-band__grid { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: end; } }
.cta-band__title { color: #fff; font-size: var(--fs-h1); font-stretch: 102%; margin-bottom: 1.5rem; }
.cta-band__text { font-size: var(--fs-lead); max-width: 36ch; line-height: 1.5; }
.cta-band__label { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.bigphone { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.bigphone__num { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); font-weight: 700; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; transition: transform var(--t) var(--ease); }
.bigphone__go { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; flex: none; background: var(--red); border-radius: 50%; transition: transform var(--t) var(--ease), background-color var(--t-fast); }
.bigphone__go .i { width: 22px; height: 22px; }
.bigphone + .bigphone .bigphone__go { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.bigphone:hover .bigphone__num { transform: translateX(6px); }
.bigphone:hover .bigphone__go { transform: rotate(-12deg) scale(1.06); }
.bookbtn { display: flex; align-items: center; gap: 0.8rem; margin: 1.5rem 0 1.25rem; padding: 1.05rem 1.25rem; background: #fff; color: var(--navy); font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); font-weight: 700; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 14px) 100%, 0 100%); transition: background-color var(--t-fast), color var(--t-fast); }
.bookbtn .i { width: 22px; height: 22px; flex: none; }
.bookbtn span { flex: 1; }
.bookbtn .i:last-child { transition: transform var(--t) var(--ease); }
.bookbtn:hover { background: var(--red); color: #fff; }
.bookbtn:hover .i:last-child { transform: translateX(4px); }
.cta-band .textlink { margin-top: 2rem; }

/* ---------- 19. Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark); padding-top: clamp(3.5rem, 6vw, 6rem); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
.site-footer__brand, .site-footer__call { grid-column: 1 / -1; }
.site-footer__brand p { margin: 1.25rem 0; max-width: 34ch; }
.site-footer__head { font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul a { display: inline-block; padding: 0.3rem 0; transition: color var(--t-fast); }
.site-footer ul a:hover { color: #fff; }
.site-footer .tag { color: #ff8a8e; }
.site-footer__phone { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; font-stretch: 106%; color: #fff; letter-spacing: -0.02em; padding: 0.2rem 0; }
.site-footer__phone:hover { color: #ff8a8e; }
.site-footer__areas { display: flex; gap: 0.6rem; margin-top: 1.25rem; line-height: 1.7; }
.site-footer__areas .i { width: 18px; height: 18px; flex: none; margin-top: 0.25rem; color: #ff6a6f; }
.site-footer__areas a:hover { color: #fff; text-decoration: underline; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: 3.5rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--fs-xs); }
.site-footer__base p:last-child { display: flex; gap: 1.5rem; }
.site-footer__base a:hover { color: #fff; }
.site-footer__word {
  font-size: clamp(6rem, 29vw, 30rem); font-weight: 800; font-stretch: 125%; line-height: 0.74; letter-spacing: -0.04em;
  text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  margin-bottom: -0.06em; user-select: none; pointer-events: none;
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 0.8fr 1.3fr; gap: 3rem; }
  .site-footer__brand, .site-footer__call { grid-column: auto; }
}
.creds { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.creds li { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--navy); }
.creds .i { width: 18px; height: 18px; color: var(--red); }
.creds--light li { color: #fff; }
.creds--light .i { color: #ff6a6f; }

/* Mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom); background: var(--navy);
  transform: translateY(110%); transition: transform var(--t) var(--ease);
  box-shadow: 0 -10px 30px -12px rgba(4, 21, 46, 0.35);
}
.callbar.is-visible { transform: none; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.6rem; font-weight: 650; color: #fff; }
.callbar .i { width: 20px; height: 20px; }
.callbar__call { background: var(--red); }
@media (min-width: 1100px) { .callbar { display: none; } }
/* Chatbase bubble sits above the mobile call bar while the bar is showing. */
@media (max-width: 1099px) {
  #chatbase-bubble-button { transition: bottom var(--t) var(--ease) !important; }
  html.callbar-on #chatbase-bubble-button { bottom: calc(3.6rem + 1rem + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 1099px) { body { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); } }

/* ---------- 20. Inner page hero ---------- */
.crumbs { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); font-size: var(--fs-xs); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; color: var(--line-strong); }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.phero { padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section); }
.phero--simple { padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); border-bottom: 1px solid var(--line); }
.phero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .phero__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 6rem); } }
.phero__title { font-size: var(--fs-h1); font-stretch: 100%; font-weight: 740; letter-spacing: -0.035em; margin-bottom: 1.5rem; }
.phero__title em { color: var(--navy-700); }
.phero__title--xl { font-size: clamp(2.8rem, 1.2rem + 5.5vw, 6.4rem); max-width: 14em; }
.phero__lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 38rem; margin-bottom: 2rem; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.phero__area { display: flex; gap: 0.5rem; margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--muted); }
.phero__area .i { width: 18px; height: 18px; flex: none; margin-top: 0.2rem; color: var(--red); }
.phero__media { aspect-ratio: 4/3.2; overflow: hidden; background: var(--mist); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 21. Service page sections ---------- */
.incl { padding-block: var(--section); padding-top: 0; }
.incl__grid { display: grid; gap: 0 2.5rem; border-top: 1px solid var(--ink); }
@media (min-width: 640px) { .incl__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .incl__grid { grid-template-columns: repeat(3, 1fr); } }
.incl__item { position: relative; display: block; height: 100%; padding: 1.6rem 2.5rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.incl__n { display: block; font-size: var(--fs-xs); font-weight: 650; color: var(--red); margin-bottom: 0.8rem; letter-spacing: 0.08em; }
.incl__item h3 { font-size: var(--fs-h3); margin-bottom: 0.45rem; letter-spacing: -0.015em; }
.incl__item p { color: var(--muted); font-size: var(--fs-sm); }
.incl__go { position: absolute; top: 1.4rem; right: 0.25rem; color: var(--line-strong); transition: color var(--t-fast), transform var(--t) var(--ease); }
.incl__go .i { width: 22px; height: 22px; }
.incl__item.is-link:hover h3 { color: var(--navy); }
.incl__item.is-link:hover .incl__go { color: var(--red); transform: translate(3px, -3px); }

.feature { padding-block: var(--section); background: var(--paper); }
.feature__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .feature__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); } }
.feature__media { aspect-ratio: 4/4.4; overflow: hidden; background: var(--mist); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body .sec-title { margin-bottom: 1.75rem; }
.feature__body p { font-size: 1.1rem; max-width: 46ch; margin-bottom: 1rem; }

.signs { padding-block: var(--section); }
.signs__grid { display: grid; gap: 2.5rem 5rem; }
@media (min-width: 1024px) { .signs__grid { grid-template-columns: 5fr 7fr; } }
.signs__list li { display: flex; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 550; color: var(--ink); letter-spacing: -0.01em; }
.signs__list li:first-child { border-top: 1px solid var(--ink); }
.mini-steps { grid-column: 1 / -1; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1.5rem; }
@media (min-width: 768px) { .mini-steps { grid-template-columns: repeat(3, 1fr); } }
.mini-steps li { background: #fff; padding: 1.4rem 1.5rem; display: grid; gap: 0.2rem; }
.mini-steps span { font-size: var(--fs-xs); font-weight: 700; color: var(--red); letter-spacing: 0.1em; }
.mini-steps strong { color: var(--ink); font-size: 1.05rem; }
.mini-steps small { color: var(--muted); font-size: var(--fs-sm); }

.faq { padding-block: var(--section); border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: 2.5rem 5rem; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 5fr 7fr; } }
.faq .sec-title { margin-bottom: 1.25rem; }
.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 620; color: var(--ink); letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { width: 22px; height: 22px; flex: none; color: var(--red); transition: transform var(--t) var(--ease); }
.faq__item[open] summary .i { transform: rotate(45deg); }
.faq__item p { padding: 0 3rem 1.5rem 0; color: var(--muted); max-width: 62ch; }

.related { padding-block: var(--section); background: var(--paper); }
.related__grid, .scard-grid { display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 640px) { .related__grid, .scard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related__grid, .scard-grid { grid-template-columns: repeat(3, 1fr); } }
.rcard, .scard { display: grid; gap: 0.4rem; }
.rcard__media, .scard__media { aspect-ratio: 4/3; overflow: hidden; background: var(--mist); margin-bottom: 0.8rem; }
.rcard__media img, .scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.rcard:hover img, .scard:hover img { transform: scale(1.045); }
.rcard__name, .scard__name { display: flex; align-items: center; gap: 0.5rem; font-size: 1.3rem; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
.rcard__name .i { width: 20px; height: 20px; color: var(--red); transition: transform var(--t) var(--ease); }
.rcard:hover .rcard__name .i { transform: translateX(4px); }
.rcard__desc, .scard__desc { color: var(--muted); font-size: var(--fs-sm); }
.scard__go { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; font-weight: 620; font-size: var(--fs-sm); color: var(--navy); }
.scard__go .i { width: 18px; transition: transform var(--t) var(--ease); }
.scard:hover .scard__go .i { transform: translateX(4px); }

/* Services index */
.svc-group { padding-top: var(--section); }
.svc-group + .svc-group { padding-bottom: var(--section); }
.svc-group__head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0.25rem 1.25rem; margin-bottom: 2.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink); }
.svc-group__head p { grid-column: 2; color: var(--muted); }
.svc-group__n { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--red); }

/* ---------- 22. Projects ---------- */
.gallery { padding-block: clamp(3rem, 5vw, 5rem) var(--section); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip-btn { min-height: 2.75rem; padding: 0.5rem 1.15rem; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: var(--fs-sm); color: var(--ink); transition: all var(--t-fast); }
.chip-btn:hover { border-color: var(--navy); }
.chip-btn[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery__grid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .gallery__grid { columns: 2; } }
@media (min-width: 1024px) { .gallery__grid { columns: 3; } }
.gallery__item { break-inside: avoid; margin-bottom: 1.75rem; transition: opacity var(--t) var(--ease); }
.gallery__item[hidden] { display: none; }

/* ---------- 23. About ---------- */
.about-intro { padding-block: var(--section); }
.about-intro__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-intro__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 7rem); } }
.about-intro__lead { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; color: var(--navy); margin-bottom: 1.75rem; }
.about-intro__body > p:not(.about-intro__lead) { font-size: 1.1rem; margin-bottom: 1.1rem; max-width: 56ch; }
.about-intro .creds { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.timeline { background: var(--navy); color: var(--on-dark); padding-block: clamp(3.5rem, 6vw, 6rem); }
.timeline__list { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .timeline__list { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.timeline__list li { position: relative; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.timeline__list li::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--navy); border: 2px solid #fff; transform: rotate(45deg); }
.timeline__list li.is-now::before { background: var(--red); border-color: var(--red); }
.timeline__year { display: block; color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); font-weight: 700; font-stretch: 110%; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.8rem; }
.timeline__list p { max-width: 32ch; }
.principles { padding-block: var(--section); }
.principles__list { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .principles__list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.principles__list li { border-top: 2px solid var(--navy); padding-top: 1.5rem; }
.principles__list span { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--red); line-height: 1; }
.principles__list h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); margin: 0.75rem 0 0.6rem; }
.principles__list p { color: var(--muted); max-width: 38ch; }
.about-svc { padding-block: var(--section); background: var(--paper); }
.about-svc__grid { display: grid; gap: 2.5rem 5rem; align-items: start; }
@media (min-width: 1024px) { .about-svc__grid { grid-template-columns: 5fr 7fr; } }
.about-svc .sec-title { margin-bottom: 1.25rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-cloud a { display: inline-flex; padding: 0.85rem 1.2rem; background: #fff; border: 1px solid var(--line); font-weight: 620; font-size: 1.05rem; color: var(--navy); transition: all var(--t-fast); }
.tag-cloud a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 24. Service areas page ---------- */
.area-page { padding-block: clamp(3rem, 5vw, 5rem) var(--section); }
.area-page__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .area-page__grid { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; }
  .area-page__map { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.area-page__map { background: var(--navy-100); padding: clamp(1rem, 2.5vw, 2rem); }
.area-card { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.area-card:first-child { border-top-color: var(--ink); }
.area-card:target h2 { color: var(--red-700); }
.area-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 0.75rem; font-stretch: 104%; }
.area-card p { max-width: 56ch; }
.area-card__svc { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--muted); }
.area-card__svc a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
.area-card__svc a:hover { text-decoration-color: var(--red); }

/* ---------- 25. Contact ---------- */
.contact { padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section); }
.contact__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 5vw, 6rem); align-items: start; } .contact__side { position: sticky; top: calc(var(--header-h) + 2rem); } }
.callcard { background: var(--navy); color: #fff; padding: 1.5rem 1.5rem 1rem; margin-bottom: 2rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 24px) 100%, 0 100%); }
.callcard__label { display: flex; align-items: center; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 0.5rem; }
.callcard__phone { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); font-weight: 700; font-stretch: 106%; letter-spacing: -0.03em; line-height: 1; }
.callcard__phone .i { width: 26px; height: 26px; color: #ff6a6f; transition: transform var(--t) var(--ease); }
.callcard__phone:hover .i { transform: rotate(-12deg) scale(1.1); }
.bookcard { display: flex; align-items: center; gap: 1rem; margin: -1rem 0 2rem; padding: 1.1rem 1.25rem; border: 1.5px solid var(--navy); color: var(--navy); transition: background-color var(--t-fast), color var(--t-fast); }
.bookcard > span:nth-child(2) { flex: 1; display: grid; gap: 0.15rem; }
.bookcard strong { font-size: 1.05rem; }
.bookcard strong + span { font-size: var(--fs-sm); color: var(--muted); }
.bookcard__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; background: var(--navy-100); }
.bookcard .i { width: 22px; height: 22px; flex: none; }
.bookcard:hover { background: var(--navy); color: #fff; }
.bookcard:hover strong + span { color: var(--on-dark); }
.bookcard:hover .bookcard__icon { background: rgba(255, 255, 255, 0.12); }
.next { display: grid; gap: 0.1rem; margin-bottom: 2rem; }
.next li { display: flex; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.next span { font-size: var(--fs-xs); font-weight: 700; color: var(--red); letter-spacing: 0.08em; }
.contact__areas { display: flex; gap: 0.5rem; font-size: var(--fs-sm); color: var(--muted); }
.contact__areas .i { width: 18px; height: 18px; flex: none; margin-top: 0.2rem; color: var(--red); }
.contact__formwrap { background: var(--paper); padding: clamp(1.25rem, 3vw, 3rem); }

/* Form */
.form { display: grid; gap: 1.4rem; }
.form__head { display: grid; gap: 0.35rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line-strong); }
.form__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-stretch: 104%; }
.form__hint { font-size: var(--fs-sm); color: var(--muted); }
.form__row { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 0.45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; font-weight: 640; font-size: 0.97rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 0.6rem; }
.field legend small { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
.req-mark, .opt-mark { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.req-mark { color: var(--red-700); }
.opt-mark { color: var(--muted); }
.field input[type='text'], .field input[type='tel'], .field input[type='email'], .field textarea {
  width: 100%; min-height: 3.35rem; padding: 0.8rem 0.95rem;
  font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #8391a4; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(8, 43, 92, 0.16); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); background: #fffafa; }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.16); }
.field__err { display: none; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); font-weight: 560; color: var(--red-700); }
.field__err::before { content: '!'; display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; flex: none; border-radius: 50%; background: var(--red-700); color: #fff; font-size: 0.72rem; font-weight: 800; }
.field.is-invalid .field__err { display: flex; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0.55rem 0.95rem; background: #fff; border: 1.5px solid var(--line-strong); font-size: 0.93rem; font-weight: 560; color: var(--ink); cursor: pointer; transition: all var(--t-fast); user-select: none; }
.chip span .i { width: 0; height: 16px; opacity: 0; transition: width var(--t-fast), opacity var(--t-fast); }
.chip span:hover { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span .i { width: 16px; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.field--chips.is-invalid .chip span { border-color: rgba(215, 25, 32, 0.55); }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--line-strong); background: #fff; }
.seg label { position: relative; display: block; margin: 0; font-weight: 560; }
.seg label + label { border-left: 1.5px solid var(--line-strong); }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0.4rem; font-size: 0.95rem; cursor: pointer; transition: all var(--t-fast); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: -4px; }

.form__alert { display: flex; gap: 0.75rem; padding: 1rem 1.1rem; background: var(--red-50); border-left: 3px solid var(--red); color: var(--ink); font-size: var(--fs-sm); }
.form__alert[hidden] { display: none; }
.form__alert .i { width: 20px; height: 20px; flex: none; color: var(--red-700); margin-top: 0.1rem; }
.form__alert a { font-weight: 700; color: var(--navy); text-decoration: underline; }
.form__foot { display: grid; gap: 0.9rem; padding-top: 0.5rem; }
.form__legal { font-size: var(--fs-xs); color: var(--muted); }
.form__legal a { text-decoration: underline; }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: 0.92; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: grid; gap: 1rem; justify-items: start; padding: clamp(1rem, 3vw, 2rem) 0; outline: none; }
.form-success[hidden] { display: none; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 0.5rem; animation: pop 0.5s var(--ease) both; }
.form-success__icon .i { width: 30px; height: 30px; }
.form-success h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); max-width: 18em; }
.form-success p { color: var(--muted); max-width: 46ch; font-size: 1.05rem; }
.form-success__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 26. Legal / 404 ---------- */
.prose-sec { padding-block: clamp(3rem, 5vw, 5rem) var(--section); }
.prose h2 { font-size: 1.4rem; margin: 2.25rem 0 0.6rem; }
.prose p { margin-bottom: 1rem; max-width: 68ch; }
.nf { padding-block: clamp(3rem, 8vw, 8rem); position: relative; overflow: hidden; }
.nf__mark { position: absolute; right: -4%; top: 10%; height: 90%; width: auto; opacity: 0.07; color: var(--navy); }

/* ---------- 27. Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* hero entrance (CSS only, no JS dependency) */
  .hero [data-anim] { animation: fadeUp 0.9s var(--ease) both; }
  .hero__title .line[data-anim] { animation: none; }
  .hero__title .line > span { animation: rise 1s var(--ease) both; }
  .hero__title .line:nth-child(1) > span { animation-delay: 0.08s; }
  .hero__title .line:nth-child(2) > span { animation-delay: 0.18s; }
  .hero__title .line:nth-child(3) > span { animation-delay: 0.28s; }
  .hero__eyebrow { animation-delay: 0s !important; }
  .hero__lead { animation-delay: 0.4s !important; }
  .hero__actions { animation-delay: 0.5s !important; }
  .hero__alt { animation-delay: 0.58s !important; }
  .hero__visual { animation: wipeIn 1.3s var(--ease-io) 0.1s both; }
  .ledger li { animation: fadeUp 0.8s var(--ease) both; }
  .ledger li:nth-child(1) { animation-delay: 0.6s; } .ledger li:nth-child(2) { animation-delay: 0.66s; }
  .ledger li:nth-child(3) { animation-delay: 0.72s; } .ledger li:nth-child(4) { animation-delay: 0.78s; }
  .ledger li:nth-child(5) { animation-delay: 0.84s; }

  /* scroll reveals — only when JS is running */
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-img img { transform: scale(1.1); transition: transform 1.6s var(--ease); }
  .js .reveal-img.is-in img { transform: none; }
  .js .reveal-img { opacity: 0; transition: opacity 0.9s var(--ease); }
  .js .reveal-img.is-in { opacity: 1; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes wipeIn { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }

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

@media print {
  .site-header, .callbar, .drawer, .cta-band__mark, .site-footer__word { display: none !important; }
}

/* ---------- 28. Category architecture (home) ---------- */
.cats { padding-bottom: var(--section); }
.cat__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-stretch: 104%; margin-bottom: 0.6rem; }
.cat__title a { transition: color var(--t-fast); }
.cat__title a:hover { color: var(--navy); }
.cat__text { color: var(--muted); max-width: 46ch; margin-bottom: 1.5rem; }
.cat .svc-index { margin-bottom: 1.75rem; }
.cat .side__media { margin-bottom: 1.5rem; }
.cat--lead { display: grid; gap: 0 4rem; margin-bottom: clamp(4rem, 6vw, 6.5rem); }
.cat--lead .cat__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
@media (min-width: 1024px) {
  .cat--lead { grid-template-columns: 7fr 5fr; align-items: center; }
  .cat--lead .side__media { aspect-ratio: 16/11; margin-bottom: 0; }
}
.cats__grid { display: grid; gap: 4rem; }
@media (min-width: 768px) and (max-width: 1023px) { .cats__grid { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; } .cats__grid .cat:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .cats__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3vw, 3.5rem); } .cats__grid .svc-index__desc { display: none; } }

.paint-card__scope { font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 0.9rem; }
.paint__note { position: relative; margin-top: clamp(3rem, 5vw, 5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); font-weight: 600; color: #fff; letter-spacing: -0.015em; }
.paint__note span { display: block; margin-top: 0.5rem; font-size: var(--fs-xs); font-weight: 400; letter-spacing: 0; color: var(--on-dark); }

.eyebrow__link { display: inline-flex; align-items: center; transition: color var(--t-fast); }
.eyebrow__link:hover { color: var(--red-700); }
.part-of { margin-top: 1.75rem; font-size: var(--fs-sm); color: var(--muted); }
.part-of a, .phero__area a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
.part-of a:hover, .phero__area a:hover { text-decoration-color: var(--red); }
.svc-group__head h2 a:hover { color: var(--navy-700); }
.svc-foot { padding-bottom: var(--section); }
.cat-list { display: grid; gap: 1.75rem; }
.cat-list__head { display: flex; align-items: center; margin-bottom: 0.75rem; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }

/* Email in contact info */
.site-footer__email { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.6rem; color: #fff; font-weight: 550; word-break: break-all; }
.site-footer__email .i { width: 18px; height: 18px; flex: none; color: #ff6a6f; }
.site-footer__email:hover span { text-decoration: underline; }
.callcard__email { display: grid; gap: 0.15rem; padding: 0.9rem 0 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem); font-weight: 600; word-break: break-all; }
.callcard__email .callcard__label { margin-bottom: 0; }
.callcard__email:hover span:last-child { text-decoration: underline; }
.mega__col a.mega__head { justify-content: flex-start; padding: 0 0 0.8rem; font-weight: 650; }
.mega__col a.mega__head:hover { padding-left: 0; }

/* ---------- 29. Real project photos ---------- */
.pair { margin: 0; }
.pair__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pair__item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.pair__item img { width: 100%; height: 100%; object-fit: cover; }
.pair__item .compare__tag { z-index: 1; }
.pair figcaption, .work__item figcaption { margin-top: 0.6rem; font-size: var(--fs-sm); color: var(--muted); }
.pair--wide { margin-bottom: 3rem; }
@media (min-width: 900px) { .pair__grid { gap: 1.25rem; } }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 0.75rem; }
.work__grid .work__pair { grid-column: 1 / -1; grid-row: auto; }
.work__item { margin: 0; }
.work__item img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; background: var(--mist); }
@media (min-width: 900px) { .work__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 2rem 1.25rem; } }
.gallery__item figure { margin: 0; }
.gallery__item img { width: 100%; height: auto; background: var(--mist); }
.gallery__item figcaption { margin-top: 0.6rem; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Schedule (Google Calendar booking) ---------- */
.booking { padding-block: clamp(2.5rem, 4vw, 4rem) var(--section); }
.booking__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .booking__grid { grid-template-columns: 4fr 9fr; gap: 3.5rem; align-items: start; } .booking__side { position: sticky; top: calc(var(--header-h) + 2rem); } }
.booking__title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-bottom: 1.25rem; }
.booking__list { display: grid; gap: 0; margin-bottom: 2rem; }
.booking__list li { display: flex; gap: 0.9rem; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.booking__list li:first-child { border-top-color: var(--ink); }
.booking__list strong { display: block; color: var(--ink); margin-bottom: 0.15rem; }
.booking__list .i { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 0.1rem; }
.booking__call { background: var(--navy); color: #fff; padding: 1.25rem 1.25rem 0.5rem; }
.booking__call p { font-size: var(--fs-sm); color: var(--on-dark); margin-bottom: 0.25rem; }
.booking__phone { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; }
.booking__phone .i { order: 2; width: 22px; height: 22px; color: #ff6a6f; }
.booking__frame { background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(4, 21, 46, 0.35); }
.booking__frame iframe { display: block; width: 100%; height: 880px; border: 0; }
@media (max-width: 767px) { .booking__frame iframe { height: 1100px; } }
.booking__fallback { padding: 0.9rem 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.booking__fallback a { color: var(--navy); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 0.3rem; }
.booking__fallback .i { width: 16px; height: 16px; }
