/* Self-hosted fonts (latin subset), font-display: swap */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'GW Syncopate Wide'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/gw-syncopate-wide-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Syncopate'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/syncopate-400.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/fraunces-latin-full-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('fonts/fraunces-latin-full-italic.woff2') format('woff2'); }

@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

:root {
  /* LIGHT THEME 2026-11-19 (Alisa): warm white page, espresso headings, black text, copper accents.
     Legacy names --black/--milk/--beige are remapped so nothing dark can leak back in. */
  --bg: #FBF8F4;  --bg-rgb: 251,248,244;
  --surface: #F3ECE3;  --surface-2: #FFFFFF;
  --ink: #111111;  --ink-rgb: 17,17,17;
  --heading: #3B2418;  --heading-rgb: 59,36,24;
  --muted: #5C534C;
  --line: rgba(59,36,24,0.18);
  --on-copper: #111111;
  --black: #FBF8F4;
  --milk: #111111;
  --beige: #111111;
  --copper: #B8734E;
  --copper-deep: #8A4F30;
  --graphite: #5C534C;

  --logo-copper-gradient: linear-gradient(90deg, #B8734E 0%, #D99F8C 26%, #F6C8B8 50%, #CF9582 74%, #A86C54 100%);
  --logo-bronze-banner-bg: linear-gradient(92deg, #6E4738 0%, #B27862 24%, #E8B19D 50%, #B57B65 76%, #6E4738 100%);

  --t-label: 0.8125rem;
  --t-small: 0.9375rem;
  --t-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --t-h3: 1.5rem;
  --t-h2: clamp(2rem, 1.5rem + 1.4vw, 2.5rem);
  --t-h1: clamp(2.75rem, 2rem + 2.5vw, 4.5rem);
  --t-display: clamp(4.5rem, 2.5rem + 5vw, 7.5rem);

  --plate-pad: 28px;
  --plate-gap: 16px;
  --fs-big:   22px;  /* 2026-11-12 STANDARD v4 (Alisa): main headings 22px on desktop, 20px on phone (mobile.css). Do not change without her request. */
  --fs-small: clamp(1.0625rem, 0.95rem + 0.55vw, 1.25rem);
  --fs-body:  0.875rem;
  --btn-h:   clamp(2.5rem, 2.3rem + 0.6vw, 2.75rem);
  --btn-px:  clamp(1.125rem, 0.9rem + 0.8vw, 1.5rem);
  --btn-fs:  0.875rem;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --s-1: var(--sp-2);
  --s-2: var(--sp-4);
  --s-3: var(--sp-5);
  --s-4: var(--sp-6);
  --s-5: var(--sp-8);
  --s-6: var(--sp-9);
  --s-7: var(--sp-10);
  --header-h: 3.75rem;

  --scale: calc(100vw / 39);
  --spacing: var(--sp-4);
  --vg: var(--sp-6);
  --portrait-h: calc(var(--scale) * 26.0);
  --portrait-w: calc(var(--scale) * 21.0);
  --portrait-top: calc(100% - var(--vg) - var(--portrait-h));
  --list-fs: var(--t-h2);
  --display-fs: var(--t-h2);
  --cta-fs: var(--t-small);
  --year-slot: var(--t-display);
  --name-fs: var(--t-display);

  --fs-xs: var(--t-label);
  --fs-sm: var(--t-small);
  --fs-base: var(--t-body);
  --fs-lg: var(--t-body);
  --fs-xl: var(--t-h3);

  --font-display: "GW Syncopate Wide", "Syncopate", "Arial Black", sans-serif;
  --font-hero: "Syncopate", "Arial", sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout Insets (Mobile default: 16px so 390px has 358px content width and 0 overflow) */
  --rail-w: var(--sp-8);
  --inset-left: var(--sp-4);
  --inset-right: var(--sp-4);

  /* Dynamic Header Theme Vars (§2.4) */
  --header-bg: #FBF8F4;
  --header-text: #111111;
  --header-border: rgba(59,36,24,0.28);
}

@media (max-width: 767px) {
  :root {
    --t-display: clamp(2.15rem, 9vw, 3rem);
    --t-h1: clamp(1.65rem, 6.8vw, 2.25rem);
    --t-h2: clamp(1.35rem, 5.2vw, 1.75rem);
    --t-h3: 1.2rem;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: var(--sp-8);
    --scale: calc(100vw / 144);
    --spacing: var(--sp-4);
    --vg: var(--sp-7);
    --portrait-h: calc(var(--scale) * 39.2);
    --portrait-w: calc(var(--scale) * 29.4);
    --portrait-top: calc(100% - var(--vg) - var(--portrait-h));
    --list-fs: var(--t-h2);
    --display-fs: var(--t-h2);
    --cta-fs: var(--t-small);
    --year-slot: var(--t-display);
    --name-fs: var(--t-display);
    --inset-left: var(--sp-9);
    --inset-right: var(--sp-7);
  }
}

/* Base Reset & Document Rules (390x844 overflow-proof: min-width: 0 & overflow-x: clip) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
html::-webkit-scrollbar {
  display: none;
}

html.is-scroll-locked,
html.is-scroll-locked body {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* B6: Body */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--ink);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

/* ==========================================================================
   Persistent Fixed Video Stage (#gw-video-stage — behind all sections)
   Focal area (boiler) moved to the right; left logo area kept dark & empty
   ========================================================================== */
#gw-video-stage,
.gw-video-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg) url("../media/hero-pipes-light.webp?v=light20261119") center center / cover no-repeat;
  view-transition-name: gw-video-stage;
}

/* 2026-11-10 Variant A: rail clips C5 -> C6 -> C7 stacked over the hero clip; app.js fades each in
   over its own part of the scroll (opacity) and hides the ones fully covered (visibility). */
.gw-stage-video.gw-stage-chain {
  opacity: 0;
  visibility: hidden;
  will-change: opacity;
}

.gw-stage-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  display: block;
}
@media (max-width: 767px) {
  #gw-video-stage,
  .gw-video-stage {
    background-position: 90% center; /* 2026-11-10: same as the !important rule below (was 82% 220px) */
  }
  .gw-stage-video {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 90% center;
  }
}

/* Top & bottom pipe rails inside persistent stage: run along TOP and BOTTOM edges in scroll direction */
.gw-pipe-rail {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: clamp(78px, 11.8vh, 136px);
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}
.gw-pipe-rail--top {
  top: 0;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.78) 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.78) 65%, transparent 100%);
}
.gw-pipe-rail--bottom {
  bottom: 0;
  mask-image: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.78) 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.78) 65%, transparent 100%);
}

.gw-pipe-band {
  display: none;
}

.gw-pipe-video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -9%;
  width: 118%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  display: block;
  will-change: transform;
}

main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: transparent;
}
@media (max-width: 767px) {
  main {
    padding-top: var(--header-h);
  }
}

/* Reading width, word wrapping & vertical rhythm */
p, li, dd, h1, h2, h3, h4, a, span, summary, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}
p, li, dd {
  max-width: 65ch;
}
p + p {
  margin-top: var(--sp-4);
}
figcaption {
  margin-top: var(--sp-2);
  font-size: var(--fs-body);
}
p, li, figcaption, summary {
  text-wrap: pretty;
}
h1, h2, h3, h4 {
  text-wrap: balance;
}
h1 + p,
h2 + p,
h3 + p,
.section-h2 + p,
.card-h3 + p {
  margin-top: var(--sp-4);
}

/* B6: Weight cap at 600 */
strong, b {
  font-weight: 600;
}

/* B6: Tabular numerals for phone numbers, dates, and ZIPs */
a[href^="tel:"],
.tabular-nums,
.zip-code,
.header-call-pill {
  font-variant-numeric: tabular-nums;
}

/* Page Theme Backgrounds (dark fallback while #gw-video-stage sits at z-index 0) */
body[data-page-theme="black"],
body[data-page-theme="light"],
body[data-page-theme="milk"],
body[data-page-theme="beige"] {
  background-color: var(--bg);
  color: var(--ink);
}

/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: var(--sp-9);
  z-index: 200;
  background-color: var(--copper);
  color: var(--on-copper);
  padding: var(--sp-3) var(--sp-5);
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--t-small);
  text-decoration: none;
  transition: top 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.skip-link:focus {
  top: var(--sp-4);
}

/* Typography Helpers (B6 & B13) — T1: GW Syncopate Wide 600, uppercase */
h1, h2, h3, h4, .display-serif, .uppercase-display, .footer-giant-heading {
  font-family: var(--font-display);
  font-variation-settings: normal;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-feature-settings: normal;
}
h2, h3, h4 {
  font-variation-settings: normal;
}

h1 {
  font-size: var(--fs-big);
  line-height: 1.05;
}
h2, .section-h2 {
  font-size: var(--fs-big);
  line-height: 1.12;
}
h3, .card-h3 {
  font-size: var(--fs-small);
  line-height: 1.2;
}

.uppercase-display {
  font-size: var(--t-display);
  text-transform: none;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* B5 & B6: Eyebrow / label (13px, uppercase, letter-spacing 0.06em, weight 600) */
.label,
.eyebrow-label,
.meta-label {
  font-family: var(--font-sans);
  font-size: var(--t-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}

.text-small,
.zip-code {
  font-size: var(--t-small);
}
.zip-code {
  font-weight: 600;
}

.rotate-notice-heading {
  font-size: var(--t-h2);
}

.translate-z-0 {
  transform: translateZ(0);
}

/* ==========================================================================
   G1: One Button Size Everywhere
   ========================================================================== */
button:not(.header-menu-btn),
.btn,
.btn-copper,
.btn-dark,
.btn-outline-light,
.btn-outline-dark,
.hero-cta,
.pill-btn,
a.pill-btn,
.brand-chip-btn,
a.btn.brand-chip-btn,
.header-call-pill,
button[type="submit"],
input[type="submit"],
input[type="button"],
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  font-family: var(--font-sans);
  font-size: var(--btn-fs);
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  box-sizing: border-box;
  white-space: nowrap;
  gap: var(--sp-2);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  max-width: 100%;
  transition: transform 0.22s cubic-bezier(0.23, 1, 0.32, 1),
              background-color 0.22s cubic-bezier(0.23, 1, 0.32, 1),
              color 0.22s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.22s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.22s ease;
}

.brand-chip-btn,
a.btn.brand-chip-btn {
  background-color: rgba(var(--bg-rgb),0.32) !important;
  color: var(--ink) !important;
  border-color: var(--graphite) !important;
  opacity: 0.52;
  box-shadow: none;
  transition: opacity 0.22s ease,
              background-color 0.22s ease,
              color 0.22s ease,
              border-color 0.22s ease,
              box-shadow 0.22s ease,
              transform 0.22s cubic-bezier(0.23, 1, 0.32, 1);
}
.brand-chip-btn:hover,
.brand-chip-btn:focus-visible,
.brand-chip-btn.is-selected,
a.btn.brand-chip-btn:hover,
a.btn.brand-chip-btn:focus-visible,
a.btn.brand-chip-btn.is-selected {
  opacity: 1;
  background-color: var(--heading) !important;
  color: var(--bg) !important;
  border-color: var(--copper) !important;
  box-shadow: 0 0 18px rgba(184, 115, 78, 0.55), 0 6px 16px rgba(59,36,24,0.189);
  transform: translateY(-2px);
}

.btn-copper,
a.btn.btn-copper,
.prose-content a.btn-copper {
  background-color: var(--heading);
  color: var(--bg);
  border-color: var(--copper);
}
.btn-copper:focus-visible,
a.btn.btn-copper:focus-visible,
.prose-content a.btn-copper:focus-visible {
  box-shadow: 0 0 18px rgba(184, 115, 78, 0.55), 0 6px 16px rgba(59,36,24,0.189);
}
@media (hover: hover) and (pointer: fine) {
  .btn-copper:hover,
  a.btn.btn-copper:hover,
  .prose-content a.btn-copper:hover {
    background-color: var(--heading);
    color: var(--bg);
    border-color: var(--copper);
    box-shadow: 0 0 18px rgba(184, 115, 78, 0.55), 0 6px 16px rgba(59,36,24,0.189);
    transform: translateY(-2px);
  }
}

.btn-dark,
a.btn.btn-dark,
.prose-content a.btn.btn-dark,
.prose-content a.btn-dark {
  background-color: var(--bg);
  color: var(--ink) !important;
  border-color: rgba(59,36,24,0.45);
}
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover,
  a.btn.btn-dark:hover,
  .prose-content a.btn-dark:hover {
    background-color: var(--bg);
    color: var(--ink) !important;
    border-color: var(--copper);
    transform: translateY(-2px);
  }
}

.btn-outline-light,
a.btn.btn-outline-light,
.prose-content a.btn-outline-light {
  background-color: rgba(var(--bg-rgb),0.78);
  color: var(--ink) !important;
  border-color: rgba(59,36,24,0.45);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline-light:hover,
  a.btn.btn-outline-light:hover,
  .prose-content a.btn-outline-light:hover {
    background-color: var(--heading);
    color: var(--bg) !important;
    transform: translateY(-2px);
  }
}

.btn-outline-dark,
a.btn.btn-outline-dark,
.prose-content a.btn.btn-outline-dark,
.prose-content a.btn-outline-dark {
  background-color: rgba(var(--bg-rgb),0.78);
  color: var(--ink) !important;
  border-color: rgba(59,36,24,0.45);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline-dark:hover,
  a.btn.btn-outline-dark:hover,
  .prose-content a.btn-outline-dark:hover {
    background-color: var(--heading);
    color: var(--bg) !important;
    transform: translateY(-2px);
  }
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* ==========================================================================
   Shared Primitive §2.2: Line Reveal Masking
   ========================================================================== */
.line-mask {
  display: block;
  overflow: hidden;
  width: 100%;
  contain: paint;
}
[data-line] {
  display: block;
  will-change: transform;
}

/* ==========================================================================
   Shared Primitive §2.3, A1, B7 & D1: Image Frame Fills 100% (Calmer & Muted)
   ========================================================================== */
[data-reveal-image-shell], .photo-frame {
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  border: 1px solid rgba(138,79,48,.5);
  border-radius: 0.75rem;
  box-shadow: var(--copper-halo-rest);
  max-height: 76dvh;
  max-width: 100%;
}
[data-reveal-image-overlay] {
  display: block;
  position: absolute;
  inset: 0;
  background-color: var(--copper);
  z-index: 12;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}
[data-reveal-image] {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform, clip-path, opacity;
}
[data-reveal-image] img {
  width: 100%;
  height: 100%;
  max-height: 76dvh;
  max-width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
[data-reveal-image-shell]:hover [data-reveal-image] img,
.photo-frame:hover img,
.hero-job-card:hover .work-item-media,
li[data-client-row]:hover .borough-photo,
.client-flap:hover .borough-photo {
  transform: scale(1.05);
}
.work-item-media,
.client-flap .borough-photo {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.vertical-hero-media {
  width: 100%;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  max-height: 64dvh;
}
.vertical-hero-media [data-reveal-image],
.vertical-hero-media [data-reveal-image] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo-shell {
  width: 100%;
  max-width: min(480px, 38vw);
  aspect-ratio: 4 / 3;
  max-height: 62dvh;
  justify-self: end;
}
@media (max-width: 767px) {
  [data-reveal-image-shell],
  .photo-frame,
  .vertical-hero-media,
  .about-photo-shell,
  .works-card-media,
  .contact-map-img,
  .prose-content img,
  .prose-inline-img,
  [data-detail-hero-img],
  [data-gallery-item],
  [data-gallery-item] img {
    max-width: 100%;
    max-height: 240px !important;
    justify-self: stretch;
  }
}

/* ==========================================================================
   Shared Primitive §2.7: Link Underlines (.to-link-underline / .from-link-underline)
   ========================================================================== */
.to-link-underline,
.from-link-underline {
  display: inline;
  position: relative;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  color: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.to-link-underline::after,
.from-link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  will-change: transform;
}
.to-link-underline::after {
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.21, 0, 0.32, 1);
}
.from-link-underline::after {
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.4s ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
  .to-link-underline:hover::after,
  .to-link-underline:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
  .from-link-underline:hover::after,
  .from-link-underline:focus-visible::after {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

/* ==========================================================================
   Shared Primitive §2.4: Fixed Header Rail (Mobile 390px fits 100%)
   ========================================================================== */
header[data-intro-header] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: var(--header-h);
  z-index: 110;
  background-color: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--header-border);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-3) 0 0;
  transition: background-color 0.5s ease-out, color 0.5s ease-out, border-color 0.5s ease-out;
  view-transition-name: site-header;
}

.header-menu-btn {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  border: 0;
  border-right: 1px solid var(--header-border);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-rail-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding-left: var(--sp-3);
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.header-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.vt-rl {
  display: none;
}

.header-call-pill {
  background-color: var(--copper);
  color: var(--on-copper);
  flex-shrink: 0;
}

[data-header-scroll-progress] {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--copper);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
  pointer-events: none;
}

@media (min-width: 768px) {
  header[data-intro-header] {
    width: var(--sp-8);
    max-width: var(--sp-8);
    right: auto;
    bottom: 0;
    height: 100dvh;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 var(--sp-3) 0;
    border-bottom: none;
    border-right: 1px solid var(--header-border);
  }
  .header-menu-btn {
    width: var(--sp-8);
    height: var(--sp-8);
    border-right: 0;
    border-bottom: 1px solid var(--header-border);
  }
  .header-rail-body {
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--sp-5);
    padding: var(--sp-5) 0;
  }
  .header-logo-img {
    width: 2.75rem;
    height: auto;
  }
  .vt-rl {
    display: block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-size: var(--t-label);
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
  }
  .header-call-pill {
    display: none;
  }
  [data-header-scroll-progress] {
    top: 0;
    bottom: auto;
    left: auto;
    right: 0;
    width: calc(var(--scale) * 0.3);
    min-width: 2px;
    height: 100dvh;
    transform-origin: top center;
    transform: scaleY(0);
  }
}

/* ==========================================================================
   Shared Primitive §2.5 & C10: Fullscreen Menu (<dialog id="fullscreen-menu">)
   ========================================================================== */
dialog#fullscreen-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: none;
  background: transparent;
  z-index: 115;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
dialog#fullscreen-menu::backdrop {
  background: rgba(var(--bg-rgb),0.45);
}

[data-menu-reveal] {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--ink);
  clip-path: inset(0 100% 0 0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-8) var(--sp-4) var(--sp-6) var(--inset-left);
  overflow-y: auto;
}
@media (min-width: 768px) {
  [data-menu-reveal] {
    padding: var(--vg) var(--inset-right) var(--vg) var(--inset-left);
  }
}

.menu-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--graphite);
  padding-bottom: var(--sp-4);
}

.menu-brand-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.menu-brand-wrap img {
  height: 40px;
  width: auto;
}

.menu-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  margin: auto 0;
  padding: var(--sp-5) 0;
}
@media (min-width: 1024px) {
  .menu-main-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
  }
}

.menu-primary-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

a[data-nav-item] {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-4);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  width: fit-content;
  text-decoration: underline transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.3s ease-out;
}
a[data-nav-item]:hover,
a[data-nav-item]:focus-visible {
  text-decoration-color: var(--copper-deep);
}
.nav-item[aria-current="page"],
a[data-nav-item][aria-current="page"],
a[data-nav-item][data-nav-active="true"] {
  color: var(--ink);
  text-decoration: underline 2px var(--copper);
  text-underline-offset: 6px;
}

.nav-item-num {
  font-family: var(--font-sans);
  font-size: var(--t-small);
  color: var(--ink);
  font-weight: 600;
}
.nav-item-word {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  text-transform: none;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: var(--t-h1);
}

[data-nav-active-line] {
  position: absolute;
  left: 2.5rem;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--copper);
  transform-origin: left center;
  transform: scaleX(0);
}

.menu-secondary-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: var(--sp-5);
  border-left: 1px solid var(--graphite);
  padding-left: var(--sp-5);
}
.menu-col-title {
  font-size: var(--t-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: var(--sp-2);
  font-weight: 600;
}
.menu-sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: var(--t-small);
}
.menu-sublist a {
  color: var(--ink);
  text-decoration: none;
}

.menu-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  border-top: 1px solid var(--graphite);
  padding-top: var(--sp-4);
  font-size: var(--t-small);
  color: var(--ink);
}

/* ==========================================================================
   Tablet Portrait Rotate Notice Removed (STEP B3 #7)
   ========================================================================== */
[data-tablet-rotate-notice] {
  display: none !important;
}

/* ==========================================================================
   Horizontal Story Engine (Mobile capped heights, Desktop 100vw panels)
   ========================================================================== */
[data-horizontal-story] {
  position: relative;
  width: 100%;
  max-width: 100%;
}
[data-horizontal-pin] {
  position: relative;
  width: 100%;
  max-width: 100%;
}
[data-horizontal-track] {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  position: relative;
}
/* Mobile sections size to content with zero blank 100dvh or pin-spacer blocks */
section[data-horizontal-panel] {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  padding-block: var(--sp-6);
  padding-inline: var(--inset-left) var(--inset-right);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--sp-5);
  overflow: hidden;
}

@media (max-width: 767px) {
  .pin-spacer {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
  }
  [data-horizontal-pin],
  [data-horizontal-track],
  section[data-horizontal-panel],
  [data-section="loading"],
  [data-more-work-section],
  .more-work-stage {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

@media (min-width: 768px) {
  [data-horizontal-pin] {
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
  }
  [data-horizontal-track] {
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: 100dvh;
    height: 100dvh;
    width: max-content;
    max-width: none;
    align-items: stretch;
    will-change: transform;
  }
  section[data-horizontal-panel],
  section[data-horizontal-panel].panel-wide,
  section[data-horizontal-panel].panel-extra-wide {
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    justify-content: center;
    align-content: center;
    padding: var(--sp-6) var(--inset-right) var(--sp-6) var(--inset-left);
    overflow: hidden;
  }
  section[data-horizontal-panel].panel-wide p,
  section[data-horizontal-panel].panel-wide li {
    max-width: 62ch;
  }
  [data-section="about-credentials"] > .chapter-one-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    width: 100%;
    gap: var(--sp-6);
    align-items: center;
  }
}

/* Corner Valve Thumbnails Hidden (STEP B3 #6) */
.gw-joint-fitting,
.gw-valve-wheel,
[data-gw-valve] {
  display: none !important;
}

/* Pressure Gauge (§7.3, A2 & A4: solid #0E0E0E, no copper glow at rest) */
.gw-pressure-gauge {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--copper);
  background-color: var(--bg);
  box-shadow: 0 4px 12px rgba(59,36,24,0.273);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.gw-gauge-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.gw-gauge-needle {
  position: absolute;
  width: 3px;
  height: 24px;
  background-color: var(--copper);
  border-radius: 999px;
  bottom: 50%;
  left: calc(50% - 1.5px);
  transform-origin: 50% 100%;
  transform: rotate(-120deg);
  will-change: transform;
  box-shadow: 0 0 4px rgba(59,36,24,0.336);
}
.gw-gauge-cap {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--heading);
  border: 2px solid var(--copper);
}

/* ==========================================================================
   Section 2.1: Home Hero — Full-Opacity Video & Giant Logo
   ========================================================================== */
[data-section="loading"] {
  background-color: transparent;
  color: var(--ink);
  position: relative;
  z-index: 30;
  padding-block: var(--sp-4) var(--sp-5);
}

[data-loading-base-overlay] {
  display: none;
}

.loading-stage {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  height: 100%;
  gap: var(--sp-3);
  overflow: visible;
}

.loading-counter-area {
  position: relative;
  overflow: visible !important;
  contain: none !important;
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: none;
  height: auto;
  line-height: 1.35;
}

[data-hero-name] {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 100%;
}

.name-logo-row {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: flex-start;
  width: clamp(56%, calc(795px + (100% - 1136px) * 0.458), 70%);
  max-width: min(70%, calc((100dvh - 250px) * 1.809));
}

/* Home Hero Logo: ~70% of hero width on desktop, 100% content width on 390px, drop-shadow for legibility */
.hero-giant-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  filter: drop-shadow(0 4px 18px rgba(59,36,24,0.399));
}

h1[data-name-heading],
.hero-brand-heading {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: var(--fs-big);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  text-shadow: 0 3px 16px rgba(var(--bg-rgb),0.95);
}

[data-contact-heading] {
  font-size: var(--fs-big);
}

.name-word-mask {
  display: inline-block;
  overflow: visible;
  max-width: 100%;
}
[data-name-line-text] {
  display: block;
  transform-origin: 50% 100%;
  will-change: transform;
  max-width: 100%;
}

.preloader-logo {
  height: clamp(54px, calc(var(--scale) * 7.5), 110px);
  width: auto;
  object-fit: contain;
}

.loading-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--sp-3);
  border-top: 0;
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-2);
  font-size: var(--t-small);
  color: var(--ink);
  overflow: visible;
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95), 0 1px 3px rgba(var(--bg-rgb),1);
}
[data-loading-tagline] {
  max-width: none !important;
  width: 100%;
  position: relative;
  z-index: 12;
  text-shadow: 0 2px 14px rgba(var(--bg-rgb),0.96), 0 1px 4px rgba(var(--bg-rgb),1);
}
[data-loading-tagline-line],
.hero-fit-line {
  font-family: var(--font-hero);
  color: var(--ink);
  font-size: var(--t-body);
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  width: max-content;
  max-width: none !important;
  margin: 0;
}
.hero-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  text-shadow: none;
}
.scroll-cue {
  justify-self: end;
  align-self: center;
  font-family: var(--font-hero);
  font-variation-settings: normal;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  color: var(--ink);
  padding: 0;
  margin: 0;
  overflow: visible !important;
  contain: none !important;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
}
@media (min-width: 768px) {
  .loading-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: var(--sp-3);
    align-content: space-between;
    align-items: start;
  }
  [data-hero-name] {
    display: contents;
  }
  .loading-counter-area {
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    align-self: start;
  }
  .name-logo-row {
    grid-area: 2 / 1 / 3 / 2;
    align-self: center;
  }
  [data-loading-tagline] {
    grid-area: 3 / 1 / 4 / 2;
    align-self: end;
  }
  .hero-brand-heading {
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 767px) {
  .name-logo-row {
    width: 100%;
    max-width: 100%;
  }
  .hero-giant-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }
  .hero-brand-heading {
    flex-direction: column;
    gap: 0;
    font-size: var(--fs-big);
  }
  .scroll-cue {
    justify-self: end;
  }
}

/* ==========================================================================
   Section 2.8 & STEP B3 (4): Section & Card Backgrounds
   ========================================================================== */
[data-section="home-about"] {
  background-color: transparent;
  color: var(--ink);
  position: relative;
  text-shadow: 0 2px 14px rgba(var(--bg-rgb),0.96), 0 1px 4px rgba(var(--bg-rgb),1);
}
[data-section="about-hero"],
[data-section="introduce-philosophy"],
[data-section="about-credentials"] {
  background-color: rgba(var(--bg-rgb),0.28);
  color: var(--ink);
  position: relative;
  text-shadow: 0 2px 14px rgba(var(--bg-rgb),0.96), 0 1px 4px rgba(var(--bg-rgb),1);
}

.chapter-one-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
  width: 100%;
  align-items: center;
}
@media (min-width: 768px) {
  .chapter-one-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: var(--sp-6);
  }
}

.hero-h1 {
  font-size: var(--fs-big);
  color: var(--ink);
  margin: var(--sp-2) 0 var(--sp-4);
  text-shadow: 0 3px 16px rgba(var(--bg-rgb),0.95), 0 1px 4px rgba(var(--bg-rgb),1);
}
body[data-page-theme="milk"] .hero-h1,
body[data-page-theme="beige"] .hero-h1,
[data-section="about-hero"] .hero-h1 {
  color: var(--ink);
}

.hero-lede {
  font-size: var(--fs-body);
  color: var(--ink);
  max-width: 58ch;
  margin-bottom: var(--sp-4);
  text-shadow: 0 2px 14px rgba(var(--bg-rgb),0.95), 0 1px 3px rgba(var(--bg-rgb),1);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  text-shadow: none;
}

/* B7: Photo frames on job cards & thumbs */
.work-item-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  max-height: 75dvh;
  object-fit: cover;
  display: block;
  border-radius: 0.4rem;
  border: 1px solid var(--copper);
  box-shadow: 0 18px 40px -12px rgba(59,36,24,0.147);
  margin-bottom: var(--sp-3);
}

.hero-job-card {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--graphite);
  border-radius: 0.75rem;
  background: var(--bg);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-job-card .work-item-media {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  max-height: 110px;
  margin-bottom: var(--sp-2);
}
.hero-job-title {
  font-size: var(--t-small);
  line-height: 1.3;
  display: block;
  font-weight: 600;
  margin-top: var(--sp-1);
}

/* C4: In-stock counter balanced */
.in-stock-strip {
  background-color: var(--bg);
  border: 1px solid var(--copper);
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 60rem;
  width: 100%;
  margin-inline: auto;
  min-width: 0;
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
}

.stock-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  align-items: stretch;
}
.stock-pill-item {
  border: 1px solid var(--graphite);
  border-radius: 0.85rem;
  padding: var(--sp-3) var(--sp-4);
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-width: 0;
}
.stock-pill-item strong {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 36;
  font-size: var(--t-h3);
  color: var(--copper-deep);
  font-weight: 400;
}
.stock-pill-item span {
  font-size: var(--t-small);
  color: var(--ink);
}

/* ==========================================================================
   Section 2.9 & C5: "More Projects" Cinematic Expander (alpha <= 0.35)
   ========================================================================== */
[data-more-work-section] {
  background-color: rgba(var(--bg-rgb),0.25);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-work-stage {
  position: relative;
  width: 100%;
  height: 220px;
  min-height: 0;
  max-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .more-work-stage {
    height: 100%;
    min-height: 75dvh;
    max-height: none;
  }
}

[data-more-work-rect] {
  width: clamp(260px, 46vw, 660px);
  height: 200px;
  min-height: 0;
  max-height: 200px;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--bg);
  border: 1px solid var(--copper);
  box-shadow: 0 18px 40px -12px rgba(59,36,24,0.147);
  position: relative;
  z-index: 10;
  will-change: transform;
}
@media (min-width: 768px) {
  [data-more-work-rect] {
    height: 42vh;
    min-height: 240px;
    max-height: none;
  }
}
[data-more-work-rect] video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.more-work-words-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.0;
  gap: 0.1em;
  pointer-events: none;
  text-shadow: 0 3px 16px rgba(var(--bg-rgb),0.95);
}
@media (max-width: 767px) {
  .more-work-words-layer {
    flex-direction: column;
    gap: 0.1em;
  }
}

[data-more-work-more],
[data-more-work-work] {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: var(--t-display);
  text-transform: none;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  will-change: transform;
}

.more-work-cta-overlay {
  position: absolute;
  bottom: var(--vg);
  z-index: 25;
}

/* ==========================================================================
   Section 2.11 & Task C1b (20): Chapter II Services Hover List
   ========================================================================== */
[data-section="home-work"] {
  background-color: rgba(var(--bg-rgb),0.28);
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
}
[data-section="home-work"] .section-h2 {
  line-height: 1.15;
  margin: 0 0 var(--sp-3) 0 !important;
}
[data-section="home-work"] p,
[data-section="home-work"] .legend-list {
  line-height: 1.42;
  margin-top: 0 !important;
  margin-bottom: var(--sp-2) !important;
}
[data-section="home-work"] p + p,
[data-section="home-work"] p + .legend-list {
  margin-top: var(--sp-2) !important;
}

.chapter-two-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
  width: 100%;
  align-items: start;
}
@media (min-width: 768px) {
  .chapter-two-layout {
    grid-template-columns: 265px minmax(0, 1fr);
    gap: var(--sp-4);
    align-items: center;
  }
}

.chapter-two-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--sp-2);
  min-width: 0;
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
}

[data-work-preview] {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 148px;
  background-color: var(--bg);
  border: 1px solid var(--copper);
  box-shadow: 0 18px 40px -12px rgba(59,36,24,0.147);
  border-radius: 0.75rem;
  overflow: hidden;
  isolation: isolate;
}
[data-work-placeholder] {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  color: var(--ink);
  font-size: var(--t-small);
  text-align: center;
  transition: opacity 0.3s ease;
}
img[data-work-image] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.92);
  transform-origin: center center;
  will-change: transform, opacity;
}
img[data-work-image="0"] {
  opacity: 1;
  transform: scale(1);
}

.services-scroll-columns {
  display: block;
  min-width: 0;
  width: 100%;
}

ul[data-work-list] {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-height: 460px;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  padding-right: 6px;
  overscroll-behavior: contain;
}

li[data-work-item-index] {
  position: relative;
  border-radius: 0.65rem;
  border: 1px solid rgba(119, 113, 108, 0.48);
  background-color: var(--bg);
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
  min-width: 0;
  transition: transform 0.22s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.22s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.22s ease;
}
li[data-work-item-index].is-active {
  background-color: var(--bg);
  border-color: var(--copper);
  box-shadow: 0 10px 24px -8px rgba(59,36,24,0.21);
}
@media (hover: hover) and (pointer: fine) {
  li[data-work-item-index]:hover {
    background-color: var(--bg);
    border-color: var(--copper);
    box-shadow: 0 6px 16px -6px rgba(59,36,24,0.189);
  }
}
li[data-work-item-index] > a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2);
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
[data-work-item-text-wrap] {
  opacity: 1 !important;
  color: var(--ink);
  min-width: 0;
}
.work-item-title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 36;
  font-size: 1.02rem;
  line-height: 1.18;
  margin-bottom: var(--sp-2);
  color: var(--ink);
  display: block;
}
.work-item-desc {
  font-size: var(--fs-body);
  line-height: 1.38;
  color: var(--ink);
  display: block;
}
[data-work-item-arrow] {
  color: var(--ink);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
li[data-work-item-index]:hover [data-work-item-arrow],
li[data-work-item-index].is-active [data-work-item-arrow] {
  transform: translateX(4px);
}
[data-work-line],
[data-work-hover-line] {
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 0;
  height: 1px;
  transform-origin: left center;
}
[data-work-line] {
  background-color: var(--graphite);
}
[data-work-hover-line] {
  background-color: var(--copper);
  transform: scaleX(0);
}

/* ==========================================================================
   Section 2.12 & Task C1b (21): Chapter III NYC Heat and Hot Water Rules
   ========================================================================== */
[data-services-section] {
  background-color: rgba(var(--bg-rgb),0.28);
  color: var(--ink);
}
[data-services-section] .section-h2 {
  line-height: 1.15;
  margin: 0 0 var(--sp-3) 0 !important;
}
[data-services-section] .card-h3 {
  line-height: 1.2;
  margin: 0 0 var(--sp-3) 0 !important;
}
[data-services-section] p,
[data-services-section] li {
  line-height: 1.42;
  margin-top: 0 !important;
  margin-bottom: var(--sp-2) !important;
}
[data-services-section] p:last-child,
[data-services-section] li:last-child {
  margin-bottom: 0 !important;
}
[data-services-section] p + p,
[data-services-section] p + ul,
[data-services-section] ul + a.btn {
  margin-top: var(--sp-2) !important;
}
[data-services-section] a.btn + .card-h3 {
  margin-top: var(--sp-3) !important;
}
[data-services-section] .rules-plate {
  margin-bottom: var(--sp-2);
}
[data-services-section] .rules-plate:last-child {
  margin-bottom: 0;
}

.chapter-three-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: var(--sp-3);
  width: 100%;
  height: auto;
  max-height: none;
}
@media (min-width: 768px) {
  .chapter-three-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-3);
    width: 100%;
    align-items: stretch;
  }
}

.chapter-three-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
}

article[data-service-item] {
  position: relative;
  border: 1px solid var(--copper);
  border-radius: 1rem;
  background-color: var(--bg);
  box-shadow: 0 8px 22px -6px rgba(255,255,255,0.12), 0 4px 12px rgba(59,36,24,0.189);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--sp-2);
  height: auto;
  max-height: none;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}

.service-step-num {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: var(--t-h1);
  color: var(--copper-deep);
  line-height: 1;
}

.guide-link-row {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-body);
  border-bottom: 1px solid var(--graphite);
  padding-bottom: var(--sp-1);
}

[data-service-bg-reveal] {
  display: none !important;
}

/* ==========================================================================
   Section 2.13 & Task C1b (22) & (23): Plumbers in Boroughs + Licensing & Brands
   ========================================================================== */
[data-section="home-clients"],
[data-section="home-faq"] {
  background-color: rgba(var(--bg-rgb),0.28);
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
}

.chapter-four-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
  width: 100%;
  align-items: start;
}
@media (min-width: 768px) {
  .chapter-four-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--sp-5);
    align-items: center;
  }
}

ul[data-clients-list] {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

li[data-client-row] {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: center;
  border-bottom: 1px solid var(--graphite);
  background-color: var(--bg);
  border-radius: 0.65rem;
  min-width: 0;
}
@media (min-width: 1024px) {
  li[data-client-row] {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: var(--sp-3);
  }
}
ul[data-clients-list] li[data-client-row]:hover {
  border-bottom-color: var(--copper);
}

.client-row-text {
  min-width: 0;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.borough-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: var(--sp-3);
  row-gap: var(--sp-1);
  width: 100%;
}

.borough-title-link {
  color: var(--ink);
  text-decoration: none;
  font-variation-settings: "SOFT" 50, "opsz" 36;
  flex-shrink: 0;
}

[data-section="home-clients"] .zip-code {
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.borough-all-link {
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  width: fit-content;
}

.client-flap {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--bg);
  border: 1px solid var(--copper);
  border-radius: 0.5rem;
  box-shadow: 0 22px 48px -6px rgba(59,36,24,0.403), 0 10px 24px -4px rgba(59,36,24,0.378), 0 0 14px rgba(184, 115, 78, 0.25);
  overflow: hidden;
  flex-shrink: 0;
}
.client-flap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Task C1b (23): NY Licensing and Insurance copper frame */
.licensing-card {
  background-color: var(--bg);
  color: var(--ink);
  border: 1px solid var(--copper);
  border-radius: 0.75rem;
  box-shadow: 0 12px 30px -6px rgba(255,255,255,0.16), 0 4px 14px rgba(184, 115, 78, 0.24);
}
.licensing-card p,
.licensing-card li {
  line-height: 1.42;
}

/* C6: Legend colour swatches (muted red #B0423A, blue #3F6B9C, grey #8E9399 — same on cards .gw-tone) */
.legend-swatch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.legend-swatch::before {
  content: "";
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  flex-shrink: 0;
  border: 1px solid rgba(59,36,24,0.45);
}
.legend-swatch--red::before {
  background-color: #B0423A;
}
.legend-swatch--blue::before {
  background-color: #3F6B9C;
}
.legend-swatch--grey::before {
  background-color: #8E9399;
}

/* ==========================================================================
   Home FAQ Accordion & B11 Footer
   ========================================================================== */
.faq-accordion-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-3);
}
@media (min-width: 1024px) {
  .faq-accordion-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

details.faq-item {
  border: 1px solid var(--graphite);
  border-radius: 0.85rem;
  background-color: var(--bg);
  color: var(--ink);
  font-size: var(--fs-body);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
  min-width: 0;
}
details.faq-item summary {
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-plus-icon {
  color: currentColor;
  font-weight: 600;
  flex-shrink: 0;
  font-size: 0;
}
.faq-plus-icon::before {
  content: "+";
  font-size: var(--t-small);
  line-height: 1;
}
details.faq-item[open] .faq-plus-icon::before {
  content: "-";
}
details.faq-item .faq-answer {
  margin-top: var(--sp-2);
  border-top: 1px solid var(--graphite);
  font-size: var(--fs-body);
  line-height: 1.5;
  max-width: 65ch;
}

/* Footer */
[data-section="home-footer"],
footer.site-footer {
  background-color: transparent;
  color: var(--ink);
  border-top: 0;
  padding-block: clamp(5.5rem, 12.2vh, 7.5rem);
  padding-inline: var(--inset-left) var(--inset-right);
  width: 100%;
  max-width: 100%;
  font-family: var(--font-sans);
}

.footer-plate {
  border-radius: 1rem;
  width: 100%;
}

.footer-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.footer-giant-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-big);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  align-items: stretch;
}
@media (min-width: 640px) {
  .footer-columns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .footer-columns-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-5);
  }
}

.footer-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: var(--fs-body);
}
.footer-col h3 {
  font-family: var(--font-display);
  text-transform: none;
  font-size: var(--fs-small);
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--copper-deep);
  margin-bottom: var(--sp-3);
}
.footer-col p,
.footer-tagline {
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 var(--sp-4) 0 !important;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: var(--fs-body);
}
.footer-col ul.footer-contact-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-contact-item {
  font-size: var(--fs-body);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
}
.footer-contact-address {
  margin-bottom: var(--sp-7);
}
.footer-license-block {
  margin-top: auto;
  padding-top: var(--sp-6);
  margin-bottom: 0;
  color: var(--ink);
  font-size: var(--fs-body);
}
.footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: inherit;
}

.footer-legal-bar {
  padding-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--fs-body);
  color: var(--ink);
}
.footer-legal-bar p {
  font-size: var(--fs-body);
}
.footer-legal-bar > * {
  /* FIXER 2026-11-10: один рядок на десктопі, щоб футер вміщався в екран 900 px (R214) */
  max-width: none;
  min-width: 0;
}

/* ==========================================================================
   Section 2.17, 2.18, A2, C7 & D1: Works / Projects Page (/jobs/)
   ========================================================================== */
[data-section="works-all"] {
  min-height: auto;
  background-color: rgba(var(--bg-rgb),0.28);
  color: var(--ink);
  padding-block: var(--sp-8);
  padding-inline: var(--inset-left) var(--inset-right);
  position: relative;
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
}
@media (min-width: 768px) {
  [data-section="works-all"] {
    overflow: hidden;
  }
}

[data-works-track] {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  [data-works-track] {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--sp-7);
    width: max-content;
    max-width: none;
    will-change: transform;
    padding: var(--sp-5) 15vw var(--sp-5) 0;
  }
}

article[data-works-card] {
  width: 100%;
  max-width: 100%;
  perspective: 1000px;
  background-color: var(--bg);
  border: 1px solid var(--graphite);
  border-radius: 1rem;
  color: var(--ink);
}
@media (min-width: 768px) {
  article[data-works-card] {
    width: clamp(320px, 28vw, 440px);
    flex-shrink: 0;
  }
}

[data-works-card-transform] {
  transform-origin: 50% 42%;
  will-change: transform;
}

.works-card-media {
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(138,79,48,.5);
  box-shadow: var(--copper-halo-rest);
  margin-bottom: var(--sp-4);
}

.works-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  font-size: var(--t-label);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--ink);
}

/* Work Detail Overlay Panel (§2.17 & §2.18, alpha 0.35) */
[data-work-detail-panel] {
  position: fixed;
  inset: 0;
  z-index: 80;
  background-color: rgba(var(--bg-rgb),0.35);
  color: var(--ink);
  padding-block: var(--sp-8);
  padding-inline: var(--inset-left) var(--inset-right);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
}
[data-work-detail-panel].is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (min-width: 768px) {
  [data-work-detail-panel] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: var(--sp-7);
    overflow: hidden;
  }
}

[data-work-detail-gallery] {
  position: relative;
  height: 100%;
  overflow-y: auto;
}
canvas[data-gallery-webgl-canvas] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

/* ==========================================================================
   Contact Page (§7.5, §9.3, C8): Forms Over Persistent Video Stage
   ========================================================================== */
.contact-page-wrap {
  padding-block: var(--sp-8);
  padding-inline: var(--inset-left) var(--inset-right);
  max-width: 100%;
}

.pipe-framed-block {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid var(--graphite);
  background-color: var(--bg);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
  color: var(--ink);
  margin-bottom: var(--sp-6);
  overflow: hidden;
}

.form-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
}
@media (min-width: 768px) {
  .form-grid-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 0;
}
.form-field label,
label.form-field > span {
  font-weight: 600;
  font-size: var(--t-small);
  color: var(--ink);
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field input[type="date"],
.form-field input[type="file"],
.form-field input.form-control,
.form-field select,
.form-field textarea {
  background-color: var(--bg);
  color: var(--ink);
  border: 1px solid var(--graphite);
  border-radius: 0.75rem;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  width: 100%;
  max-width: 100%;
}
.light-surface-form .form-field label {
  color: var(--bg);
}
.light-surface-form .form-field input,
.light-surface-form .form-field select,
.light-surface-form .form-field textarea {
  background-color: var(--heading);
  color: var(--bg);
}

.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ==========================================================================
   Vertical Content Pages (Hubs & SEO Templates — Breadcrumb Wrap & Video Stage)
   ========================================================================== */
.vertical-page-main {
  padding-block: var(--sp-8);
  padding-inline: var(--inset-left) var(--inset-right);
  max-width: 1440px;
}

.breadcrumb-nav {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-body);
  width: 100%;
  max-width: 100%;
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-1) var(--sp-2);
  width: 100%;
  max-width: 100%;
}
.breadcrumb-list li {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.breadcrumb-list li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  color: currentColor;
}

.contact-stage {
  position: relative;
  background-color: transparent;
  color: var(--ink);
  isolation: isolate;
}
.contact-stage .contact-page-wrap {
  position: relative;
  z-index: 2;
}
.contact-intro {
  max-width: 60rem;
  margin-bottom: var(--sp-7);
  text-shadow: 0 2px 14px rgba(var(--bg-rgb),0.95), 0 1px 4px rgba(var(--bg-rgb),1);
}
.contact-intro .lede {
  color: var(--ink);
  font-size: var(--fs-body);
  margin-top: var(--sp-4);
  max-width: 56ch;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-7);
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}
.contact-col {
  min-width: 0;
}
.contact-stage .pipe-framed-block p,
.contact-stage .contact-list {
  margin-bottom: var(--sp-5);
}
.contact-h2 {
  font-size: var(--fs-small);
  color: var(--copper-deep);
  margin-bottom: var(--sp-5);
}
.contact-list {
  list-style: none;
  display: grid;
  gap: var(--sp-3);
  padding: 0;
}
.contact-map-img {
  width: 100%;
  height: auto;
  max-height: 70dvh;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
  border: 1px solid var(--copper);
  box-shadow: 0 18px 40px -12px rgba(59,36,24,0.147);
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 10;
}
.pipe-framed-block > * {
  position: relative;
  z-index: 10;
}
.form-status-banner,
.form-status {
  color: var(--ink);
  border: 1px solid rgba(59,36,24,0.45);
  border-radius: 0.75rem;
  padding: var(--sp-3) var(--sp-4);
}
.form-status-banner[hidden],
.form-status[hidden] {
  display: none;
}
.issue-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.issue-fieldset legend {
  font-weight: 600;
  font-size: var(--t-small);
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.form-field label.radio-row,
.radio-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: 400;
  padding: var(--sp-1) 0;
}
.radio-row input {
  accent-color: var(--copper);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}
.contact-stage .pipe-framed-block p.field-help,
.field-help {
  font-size: var(--fs-body);
  color: var(--ink);
  margin: 0;
}
.form-grid .btn {
  justify-self: start;
}

/* Vertical Hero Over Persistent Fixed Video Stage */
.vertical-hero {
  background-color: transparent;
  color: var(--ink);
  padding-block: var(--sp-7);
  padding-inline: var(--inset-left) var(--inset-right);
  width: 100%;
  max-width: 100%;
  text-shadow: 0 2px 14px rgba(var(--bg-rgb),0.95), 0 1px 4px rgba(var(--bg-rgb),1);
}
.vertical-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}
.vertical-hero-inner > * {
  min-width: 0;
}
@media (min-width: 768px) {
  .vertical-hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--sp-6);
  }
}
.vertical-hero h1 {
  font-size: var(--fs-big);
  margin: var(--sp-2) 0 var(--sp-4);
}

.vertical-content-wrap {
  background-color: rgba(var(--bg-rgb),0.28);
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
  padding-block: var(--sp-7);
  padding-inline: var(--inset-left) var(--inset-right);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--sp-7);
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  .vertical-content-wrap {
    grid-template-columns: minmax(0, 68ch) minmax(16rem, 1fr);
    column-gap: var(--sp-8);
    align-items: start;
  }
}
.vertical-content-wrap .prose-content {
  max-width: 68ch;
  min-width: 0;
  width: 100%;
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
}
.vertical-aside {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
  align-self: start;
  border-left: 1px solid var(--graphite);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  min-width: 0;
  color: var(--ink);
}
@media (max-width: 767px) {
  .vertical-aside {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--graphite);
  }
}
.aside-jump-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: var(--fs-body);
}
.aside-jump-list a {
  color: var(--ink);
  text-decoration: none;
}
.aside-jump-list a:hover {
  color: var(--copper-deep);
  text-decoration: underline;
}

.hero-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
@media (max-width: 480px) {
  .hero-jobs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A1: All images bounded and never overflowing */
img, video, svg {
  max-width: 100%;
}
.prose-content img {
  height: auto;
  max-height: 75dvh;
  max-width: 100%;
  object-fit: cover;
}

/* B5, B6, B7, B12, B13: SEO page prose rhythm */
.prose-content > * + * {
  margin-top: var(--sp-4);
}
.prose-content h2 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 36;
  font-weight: 400;
  font-size: var(--fs-small);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--copper-deep);
  margin-top: var(--sp-8);
  margin-bottom: 0;
}
.prose-content h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 50, "opsz" 36;
  font-weight: 400;
  font-size: var(--fs-small);
  line-height: 1.2;
  color: var(--copper-deep);
  margin-top: var(--sp-6);
  margin-bottom: 0;
}
.prose-content h2 + *,
.prose-content h3 + * {
  margin-top: var(--sp-4);
}
.prose-content .cta-row {
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.prose-content ul,
.prose-content ol {
  padding-left: var(--sp-5);
  margin-top: var(--sp-4);
}
.prose-content li {
  color: var(--ink);
}
.prose-content li + li {
  margin-top: var(--sp-2);
}
.prose-content li::marker {
  color: var(--copper-deep);
}
.prose-content strong {
  font-weight: 600;
  color: var(--ink);
}
.prose-content a:not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
.prose-content a.btn {
  text-decoration: none;
}
.prose-content > :first-child {
  margin-top: 0;
}
.prose-inline-img {
  border-radius: 0.75rem;
  margin: var(--sp-6) 0;
  border: 1px solid var(--copper);
  box-shadow: 0 18px 40px -12px rgba(59,36,24,0.147);
}
.prose-inline-img + figcaption {
  margin-top: var(--sp-2);
}

/* B12: Service category cards on /services/ and hub pages */
.prose-card-item {
  border: 1px solid var(--graphite);
  border-radius: 0.85rem;
  margin-top: var(--sp-4);
  background-color: var(--bg);
  text-shadow: 0 2px 12px rgba(var(--bg-rgb),0.95);
  color: var(--ink);
  transition: transform 0.22s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.22s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.22s ease;
}
.prose-card-item + .prose-card-item {
  margin-top: var(--sp-4);
}
.prose-card-item > a {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.prose-card-item h3 {
  margin-top: 0;
  color: var(--copper-deep);
}
.prose-card-item p {
  color: var(--ink);
}
.prose-card-item a > p:last-child {
  display: inline-block;
  margin-top: var(--sp-2);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .prose-card-item:hover {
    border-color: var(--copper);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(59,36,24,0.21);
  }
}

/* ==========================================================================
   Task C2 (B) & (C) + Round 3 Section A, D1, G3:
   - A1: --copper-rim-gradient-rest (twice dimmer at rest) and --copper-rim-gradient (hover)
   - A2: Every plate is solid #0E0E0E, always
   - A3: Equal padding var(--plate-pad) on every text plate
   - D1: Image frames calmer & muted (border rgba(138,79,48,.5), ::before opacity .4 at rest)
   - G3: Nested plates do not light up or lift on hover/focus
   ========================================================================== */
:root {
  --copper-rim-gradient:
    radial-gradient(65% 55% at 8% 0%, #F4EEE6 0%, #E8D9CA 26%, rgba(184, 115, 78, 0) 70%),
    radial-gradient(65% 55% at 92% 0%, #F4EEE6 0%, #E8D9CA 26%, rgba(184, 115, 78, 0) 70%),
    linear-gradient(180deg, #B8734E 0%, #8A4F30 56%, rgba(138, 79, 48, 0.36) 100%);
  --copper-rim-gradient-rest:
    radial-gradient(65% 55% at 8% 0%, rgba(244,238,230,.5) 0%, rgba(232,217,202,.5) 26%, rgba(184,115,78,0) 70%),
    radial-gradient(65% 55% at 92% 0%, rgba(244,238,230,.5) 0%, rgba(232,217,202,.5) 26%, rgba(184,115,78,0) 70%),
    linear-gradient(180deg, #B8734E 0%, #8A4F30 56%, rgba(138,79,48,0.36) 100%);
  --copper-halo-rest: 0 8px 22px -8px rgba(59,36,24,0.302), 0 2px 6px -2px rgba(59,36,24,0.252);
  --copper-halo-hover:
    0 0 32px 2px rgba(184, 115, 78, 0.54),
    0 0 14px 0 rgba(244, 238, 230, 0.24),
    0 12px 28px -6px rgba(59,36,24,0.344),
    inset 0 1px 0 0 rgba(244, 238, 230, 0.38);
}

/* Outer sections stay transparent so pipe-top.mp4 and pipe-bottom.mp4 show clearly above and below every block */
section[data-horizontal-panel],
[data-section="loading"],
[data-section="home-about"],
[data-more-work-section],
[data-section="home-work"],
[data-services-section],
[data-section="home-clients"],
[data-section="home-faq"],
[data-section="about-hero"],
[data-section="introduce-philosophy"],
[data-section="about-credentials"],
[data-section="works-all"],
.vertical-hero,
.vertical-content-wrap,
[data-section="home-footer"],
footer.site-footer {
  background-color: transparent !important;
}

@media (min-width: 768px) {
  section[data-horizontal-panel],
  section[data-horizontal-panel].panel-wide,
  section[data-horizontal-panel].panel-extra-wide {
    padding-top: clamp(86px, 12.2vh, 138px) !important;
    padding-bottom: clamp(86px, 12.2vh, 138px) !important;
  }
  .loading-stage,
  .chapter-one-grid,
  .chapter-two-layout,
  .chapter-three-track,
  .chapter-four-grid,
  [data-section="home-faq"] > div {
    max-height: 75.5dvh;
  }
  .hero-h1 {
    margin: var(--sp-1) 0 var(--sp-2);
  }
  .hero-lede {
    margin-bottom: var(--sp-3);
  }
  .hero-job-card .work-item-media {
    max-height: 78px;
    margin-bottom: var(--sp-1);
  }
  .in-stock-strip {
    gap: var(--sp-3);
  }
  .stock-pill-item {
    padding: var(--sp-2) var(--sp-3);
  }
  .chapter-two-sidebar {
    gap: var(--sp-2);
  }
  [data-work-preview] {
    max-height: 126px;
  }
  .vertical-hero,
  .vertical-content-wrap,
  [data-section="works-all"],
  .contact-page-wrap,
  [data-section="home-footer"],
  footer.site-footer {
    padding-top: clamp(86px, 12.2vh, 138px);
    padding-bottom: clamp(86px, 12.2vh, 138px);
  }
}

/* Task C2 (C) & Round 3 A2: Solid #0E0E0E plate base rule */
.gw-plate,
.in-stock-strip,
.stock-pill-item,
.hero-job-card,
[data-more-work-rect],
.chapter-two-sidebar,
[data-work-preview],
li[data-work-item-index],
.rules-plate,
article[data-service-item],
li[data-client-row],
.client-flap,
.licensing-card,
details.faq-item,
article[data-works-card],
.pipe-framed-block,
.prose-card-item,
.footer-plate,
[data-reveal-image-shell],
.photo-frame,
.vertical-content-wrap .prose-content,
.vertical-aside {
  position: relative;
  border-radius: 0.85rem;
  border: 1px solid transparent !important;
  background: var(--bg);
  box-shadow: var(--copper-halo-rest);
  transition:
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Round 3 A3: Equal, larger padding on every text plate */
.gw-plate,
.in-stock-strip,
.hero-job-card,
.chapter-two-sidebar,
[data-work-preview],
li[data-work-item-index],
.rules-plate,
article[data-service-item],
li[data-client-row],
.licensing-card,
details.faq-item,
article[data-works-card],
.pipe-framed-block,
.prose-card-item,
.footer-plate,
.vertical-content-wrap .prose-content,
.vertical-aside {
  padding: var(--plate-pad);
}

/* Round 3 D1: Image frames calmer border */
[data-reveal-image-shell],
.photo-frame,
.works-card-media {
  border: 1px solid rgba(138,79,48,.5) !important;
  box-shadow: var(--copper-halo-rest);
}

.gw-plate::before,
.in-stock-strip::before,
.stock-pill-item::before,
.hero-job-card::before,
[data-more-work-rect]::before,
.chapter-two-sidebar::before,
[data-work-preview]::before,
li[data-work-item-index]::before,
.rules-plate::before,
article[data-service-item]::before,
li[data-client-row]::before,
.client-flap::before,
.licensing-card::before,
details.faq-item::before,
article[data-works-card]::before,
.pipe-framed-block::before,
.prose-card-item::before,
.footer-plate::before,
[data-reveal-image-shell]::before,
.photo-frame::before,
.works-card-media::before,
.vertical-content-wrap .prose-content::before,
.vertical-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--copper-rim-gradient-rest);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) padding-box;
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) padding-box;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  opacity: 0.22;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Round 3 D1 & Round 7 §2.4: Image frames ::before rim at rest opacity <= .25 */
[data-reveal-image-shell]::before,
.photo-frame::before,
.works-card-media::before {
  opacity: 0.22;
  background: var(--copper-rim-gradient-rest);
}

/* Round 3 G3.1, A1 & Round 7 §1.1/1.2/1.11: Top-level plates hover / focus-within / active */
.gw-plate:hover,
.gw-plate:focus-within,
.in-stock-strip:hover,
.in-stock-strip:focus-within,
[data-more-work-rect]:hover,
[data-more-work-rect]:focus-visible,
.chapter-two-sidebar:hover,
.chapter-two-sidebar:focus-within,
[data-work-preview]:hover,
li[data-work-item-index]:hover,
li[data-work-item-index]:focus-within,
li[data-work-item-index].is-active,
.rules-plate:hover,
.rules-plate:focus-within,
article[data-service-item]:hover,
article[data-service-item]:focus-within,
li[data-client-row]:hover,
li[data-client-row]:focus-within,
.client-flap:hover,
.licensing-card:hover,
.licensing-card:focus-within,
article[data-works-card]:hover,
article[data-works-card]:focus-within,
.pipe-framed-block:hover,
.pipe-framed-block:focus-within,
.prose-card-item:hover,
.prose-card-item:focus-within,
.footer-plate:hover,
.footer-plate:focus-within,
[data-reveal-image-shell]:hover,
.photo-frame:hover,
.vertical-content-wrap .prose-content:hover,
.vertical-content-wrap .prose-content:focus-within,
.vertical-aside:hover,
.vertical-aside:focus-within {
  translate: 0 -6px;
  box-shadow: var(--copper-halo-hover);
}

.gw-plate:hover::before,
.gw-plate:focus-within::before,
.in-stock-strip:hover::before,
.in-stock-strip:focus-within::before,
[data-more-work-rect]:hover::before,
[data-more-work-rect]:focus-visible::before,
.chapter-two-sidebar:hover::before,
.chapter-two-sidebar:focus-within::before,
[data-work-preview]:hover::before,
li[data-work-item-index]:hover::before,
li[data-work-item-index]:focus-within::before,
li[data-work-item-index].is-active::before,
.rules-plate:hover::before,
.rules-plate:focus-within::before,
article[data-service-item]:hover::before,
article[data-service-item]:focus-within::before,
li[data-client-row]:hover::before,
li[data-client-row]:focus-within::before,
.client-flap:hover::before,
.licensing-card:hover::before,
.licensing-card:focus-within::before,
article[data-works-card]:hover::before,
article[data-works-card]:focus-within::before,
.pipe-framed-block:hover::before,
.pipe-framed-block:focus-within::before,
.prose-card-item:hover::before,
.prose-card-item:focus-within::before,
.footer-plate:hover::before,
.footer-plate:focus-within::before,
[data-reveal-image-shell]:hover::before,
.photo-frame:hover::before,
.vertical-content-wrap .prose-content:hover::before,
.vertical-content-wrap .prose-content:focus-within::before,
.vertical-aside:hover::before,
.vertical-aside:focus-within::before {
  opacity: 1;
  background: var(--copper-rim-gradient);
}

/* Round 3 G3.2: Generic nested plate hover/focus suppression */
:is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside) :is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside):is(:hover, :focus-within, :focus-visible) {
  box-shadow: var(--copper-halo-rest) !important;
  transform: none !important;
  translate: none !important;
}

:is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside) :is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside):is(:hover, :focus-within, :focus-visible)::before {
  opacity: 0.22 !important;
  background: var(--copper-rim-gradient-rest) !important;
}

:is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside) :is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside):is([data-reveal-image-shell], .photo-frame, .works-card-media):is(:hover, :focus-within, :focus-visible)::before {
  opacity: 0.22 !important;
  background: var(--copper-rim-gradient-rest) !important;
}

/* Round 5: photo inside a plate has no contour */
:is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside) :is(img, [data-reveal-image-shell], .photo-frame, .works-card-media):not(#gw-none) {
  border: 0 !important; outline: 0 !important; box-shadow: none !important;
}
:is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside) :is([data-reveal-image-shell], .photo-frame, .works-card-media):not(#gw-none)::before,
:is(.gw-plate, .in-stock-strip, .stock-pill-item, .hero-job-card, [data-more-work-rect], .chapter-two-sidebar, [data-work-preview], li[data-work-item-index], .rules-plate, article[data-service-item], li[data-client-row], .client-flap, .licensing-card, details.faq-item, article[data-works-card], .pipe-framed-block, .prose-card-item, .footer-plate, [data-reveal-image-shell], .photo-frame, .works-card-media, .vertical-content-wrap .prose-content, .vertical-aside) :is([data-reveal-image-shell], .photo-frame, .works-card-media):not(#gw-none)::after {
  display: none !important;
}

/* Round 7 §1.11: FAQ items have a simple subtle hover/focus highlight (not big outer-plate glow) */
.faq-item:hover,
.faq-item:focus-within {
  border-color: var(--copper) !important;
  background: rgba(184, 115, 78, 0.08) !important;
  box-shadow: var(--copper-halo-rest) !important;
  transform: none !important;
  translate: none !important;
}

/* ==========================================================================
   Task C3 (30), (16) & (26) Whole-Site Audit Fixes:
   - (30) Pipe-video layer orientation
   - (16) Nothing active or interactive behind the home hero logo (`.name-logo-row`)
   - (26) Audit fixes for descender clipping, panel overflow, contrast over video, and rounded corners
   ========================================================================== */
#gw-video-stage[data-pipe-orientation="vertical"] .gw-pipe-rail--top {
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: clamp(64px, 9.5vw, 128px);
  height: 100dvh;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.75) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.75) 60%, transparent 100%);
}
#gw-video-stage[data-pipe-orientation="vertical"] .gw-pipe-rail--bottom {
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: clamp(64px, 9.5vw, 128px);
  height: 100dvh;
  mask-image: linear-gradient(270deg, #000 0%, rgba(0,0,0,0.75) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0,0,0,0.75) 60%, transparent 100%);
}
#gw-video-stage[data-pipe-orientation="vertical"] .gw-pipe-video {
  top: 50%;
  left: 50%;
  bottom: auto;
  width: 118dvh;
  height: clamp(64px, 9.5vw, 128px);
  margin-top: calc(clamp(64px, 9.5vw, 128px) * -0.5);
  margin-left: -59dvh;
  transform-origin: center center;
}

/* Task C3 (16): Nothing active or interactive behind the home hero logo (logo size & position untouched) */
@media (min-width: 768px) {
  /* hero-pipes.mp4 v2 (2026-11-10): anchored RIGHT so the boiler is always fully visible at the right edge */
  .gw-stage-video {
    object-position: right center;
  }
  #gw-video-stage,
  .gw-video-stage {
    background-position: right center;
  }
}
[data-section="loading"] .name-logo-row,
[data-section="loading"] .hero-giant-logo {
  pointer-events: none;
  user-select: none;
}
/* 2026-11-12 (Alisa): dark halo behind the hero logo REMOVED — it read as an unwanted shadow on the left of the Hero. */

/* Task C3 (26): Whole-site audit fixes (descender clearance, compact panels, rounded corners) */
.line-mask,
.name-word-mask {
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

@media (min-width: 768px) {
  [data-section="home-about"] .hero-h1 {
    margin: 0 0 var(--sp-2) 0;
  }
  [data-section="home-about"] .hero-lede {
    line-height: 1.45;
    margin-bottom: var(--sp-2);
  }
  [data-section="home-about"] .hero-job-card .work-item-media {
    max-height: 64px;
  }
  [data-section="home-about"] .hero-jobs-grid {
    gap: var(--sp-2);
  }
  .header-menu-btn {
    border-radius: 0.5rem;
  }
}

[data-work-detail-panel],
dialog#fullscreen-menu [data-menu-reveal] {
  border-radius: 1rem;
}

/* ==========================================================================
   Round 3 Section B + Loop F2 + Round 8: Unified Typography Rules
   Every plate's main title matches "In stock on our trucks today"
   (font-family: var(--font-display), font-size: var(--fs-small), color: #B8734E,
    font-weight: 600, letter-spacing: 0.02em)
   ========================================================================== */
:root {
  --hot: #C42B1C;
  --hot-dk: #9E2116;
  --hot-bg: #FBE3DF;
  --hot-bg2: #F3BDB5;
  --cold: #1F5E9E;
  --cold-bg: rgb(220, 233, 246);
  --cold-bg2: #B7CFE8;
  --steel: #55636F;
  --air-bg: rgb(230, 235, 239);
  --air-bg2: #C9D3DB;
}

/* T1: Display font only on true headings; body text stays Plus Jakarta Sans, var(--fs-body), #E8D9CA */
.display-serif,
.uppercase-display,
.nav-item-word,
.hero-brand-heading,
[data-more-work-work],
[data-more-work-more],
.service-step-num,
.borough-title-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-variation-settings: normal;
  font-feature-settings: normal;
}
.stock-pill-item strong { display: block; }

p:not(.hero-fit-line),
li,
dd,
dt,
td,
figcaption,
blockquote,
details.faq-item > summary {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  color: var(--ink) !important;
  text-transform: none;
}

/* ==========================================================================
   Reduced Motion (§0, §7.7, Round 8 §1.3 & §4)
   ========================================================================== */
@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;
  }
  [data-reveal-line],
  [data-line],
  [data-reveal-image] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  [data-reveal-image-overlay] {
    display: none !important;
  }
}

/* Round 5: boiler pressure gauge (replaced by .gw-pressure-gauge inside plates) */
.gw-boiler-gauge { display: none !important; }

/* Round 5 & Round 11 T2: Contact Us popover (equal 4-sided padding: 40px desktop, 32px mobile) */
.contact-popover { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 28px; border: 0; border-radius: 18px; background: var(--bg); color: var(--ink); box-shadow: var(--copper-halo-hover); position: fixed; box-sizing: border-box; }
@media (max-width: 767px) { .contact-popover { padding: 32px; } }
.contact-popover::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--copper-rim-gradient); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.contact-popover::backdrop { background: rgba(var(--bg-rgb),0.7); }
.contact-popover h2 { margin: 0 0 12px; width: fit-content; max-width: calc(100% - 44px); font-size: var(--fs-small) !important; color: var(--copper-deep) !important; }
/* 2026-11-20 (Alisa, points 7-8): the phone is a copper CTA button (same copper as the mobile bottom Call button); the form is compact so Send is always reachable */
.contact-popover__phone { margin: 0 0 16px; font-size: 14px; }
.contact-popover .contact-popover__phone a.gw-pop-call { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0 16px; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--copper-deep); background: var(--copper-deep); background-image: none; color: var(--bg); -webkit-text-fill-color: var(--bg); font: 700 16px/1.15 var(--font-sans); text-decoration: none; text-shadow: none; box-shadow: none; }
@media (min-width: 768px) {
  .contact-popover .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .contact-popover .form-grid > :nth-child(4), .contact-popover .form-grid > :nth-child(n+7) { grid-column: 1 / -1; }
  .contact-popover .form-field { gap: 4px; }
  .contact-popover .form-field input, .contact-popover .form-field select, .contact-popover .form-field textarea { padding: 9px 14px; }
  .contact-popover .form-field textarea { height: 76px; min-height: 76px; resize: none; }
}
.contact-popover__close { position: absolute; top: 6px; right: 6px; width: 44px !important; height: 44px !important; min-height: 44px !important; padding: 0 !important; /* COPY A1/D1: 44x44 hit area, same glyph centre (was 32px at 12px) */ border: 0; background: transparent; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.contact-popover .btn { width: 100%; justify-content: center; }

/* ==========================================================================
   ROUND-8 §2: Full Header Navigation (Desktop >= 1024px & Mobile < 1024px)
   ========================================================================== */
header[data-intro-header].gw-site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 60px !important;
  z-index: 140 !important;
  background-color: rgba(var(--bg-rgb),0.96) !important;
  border-bottom: 1px solid rgba(184, 115, 78, 0.42) !important;
  border-right: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.gw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 1920px;
  height: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
header[data-intro-header] .header-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
header[data-intro-header] .header-logo-img {
  height: 32px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}
.gw-desktop-nav {
  display: none;
}
.gw-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.gw-header-phone {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--copper-deep);
  text-decoration: none;
  white-space: nowrap;
}
.gw-header-phone-label,
.gw-header-phone-number {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: inherit;
}
.gw-header-phone:hover {
  color: var(--copper-deep);
}
/* Tablet 768-1023px: no phone was shown in the header at these widths (the phone-only layer covers <=767px, desktop >=1024px). Show the existing text link. */
@media (min-width: 768px) and (max-width: 1023px) {
  .gw-header-phone {
    display: inline-flex;
    min-height: 44px;
  }
}
.gw-header-cta.btn {
  padding: 7px 14px !important;
  font-size: 12.5px !important;
  min-height: 34px !important;
  white-space: nowrap;
}
/* D1: touch target >= 44px without a visual change. The header CTA is var(--btn-h) = 40-44px tall
   (44px only from ~1200px wide) and the tablet burger is 40x40, so an invisible ::after
   centred on each widens the tap area to at least 44x44. Nothing is painted. */
.gw-header-cta.btn,
header[data-intro-header] .header-menu-btn { position: relative; }
.gw-header-cta.btn::after,
header[data-intro-header] .header-menu-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, 44px);
  height: max(100%, 44px);
  transform: translate(-50%, -50%);
}
header[data-intro-header] .header-menu-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(184, 115, 78, 0.45);
  border-radius: 8px;
  background: rgba(var(--bg-rgb),0.9);
  color: var(--ink);
  cursor: pointer;
}
header[data-intro-header] [data-header-scroll-progress] {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
  height: 2px !important;
  transform-origin: left center !important;
}

@media (min-width: 1024px) {
  .gw-header-inner {
    --header-item-gap: 18px;
    gap: var(--header-item-gap);
  }
  .gw-desktop-nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: flex-end;
    min-width: 0;
  }
  .gw-nav-list {
    display: flex;
    align-items: center;
    gap: var(--header-item-gap);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .gw-nav-item {
    position: relative;
  }
  .gw-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 0;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 6px;
    transition: color 0.18s ease, background-color 0.18s ease;
  }
  .gw-nav-link:hover,
  .gw-nav-link:focus-visible,
  .gw-nav-item.is-open > .gw-nav-link {
    color: var(--copper-deep);
    background-color: rgba(184, 115, 78, 0.12);
  }
  .gw-nav-caret {
    font-size: 10px;
    line-height: 1;
    transition: transform 200ms cubic-bezier(.2,.7,.2,1);
  }
  .gw-nav-item.is-open > .gw-nav-link .gw-nav-caret {
    transform: rotate(180deg);
  }
  .gw-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 260px;
    background-color: var(--bg);
    border: 1.5px solid #B8734E;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 20px 44px rgba(59,36,24,0.378), var(--copper-halo);
    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 200ms cubic-bezier(.2,.7,.2,1),
      transform 200ms cubic-bezier(.2,.7,.2,1),
      visibility 200ms;
    z-index: 220;
  }
  .gw-dropdown-panel--services {
    min-width: 600px;
  }
  .gw-nav-item.is-open > .gw-dropdown-panel {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .gw-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
  }
  .gw-dropdown-list--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
  }
  .gw-dropdown-link {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  /* FIXER 2026-11-10 (R215): категорія, на якій стоїш (наведення або поточна сторінка),
     підсвічується «як плашка, що під'їжджає вверх» — легкий підйом і тінь по краях. */
  .gw-dropdown-link:hover,
  .gw-dropdown-link:focus-visible,
  .gw-dropdown-link[aria-current="page"] {
    color: var(--copper-deep);
    background-color: rgba(184, 115, 78, 0.14);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(59,36,24,0.189), inset 0 0 0 1px rgba(184, 115, 78, 0.35);
  }
  .gw-header-actions {
    gap: var(--header-item-gap);
  }
  .gw-header-phone {
    display: inline-flex;
    gap: var(--header-item-gap);
  }
  header[data-intro-header] .header-menu-btn {
    display: none !important;
  }
}

/* Mobile full-height burger menu (< 1024px) */
dialog#fullscreen-menu:not([open]) {
  display: none !important;
}
dialog#fullscreen-menu[open] {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 250 !important;
}
dialog#fullscreen-menu[open] [data-menu-reveal] {
  clip-path: none !important;
}
dialog#fullscreen-menu {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background-color: var(--bg) !important;
  color: var(--ink) !important;
}
dialog#fullscreen-menu .mobile-menu-shell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100dvh;
  padding: 16px 20px 24px;
  overflow-y: auto;
  box-sizing: border-box;
}
dialog#fullscreen-menu .menu-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184, 115, 78, 0.35);
}
dialog#fullscreen-menu .menu-brand-wrap img {
  height: 32px;
  width: auto;
  display: block;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  flex: 1 1 auto;
}
.mobile-nav-accordion {
  border-bottom: 1px solid rgba(119, 113, 108, 0.32);
}
.mobile-accordion-trigger {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-radius: 0 !important;
  padding: 12px 4px;
  background: transparent;
  border: 0;
  color: var(--copper-deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: left;
}
.mobile-accordion-icon {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--copper-deep);
  line-height: 1;
}
.mobile-accordion-body {
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.mobile-nav-accordion.is-open .mobile-accordion-body {
  height: auto;
  opacity: 1;
}
.mobile-accordion-list {
  list-style: none;
  margin: 0;
  padding: 0 0 12px 12px;
  display: grid;
  gap: 6px;
}
.mobile-accordion-list a {
  display: block;
  padding: 4px 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  text-decoration: none;
}
/* FIXER 2026-11-10 (R215): у мобільному меню поточна сторінка теж підсвічена, як у десктопному. */
.mobile-accordion-list a[aria-current="page"] {
  color: var(--copper-deep);
  font-weight: 700;
}
.mobile-nav-direct-link {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(119, 113, 108, 0.32);
  color: var(--copper-deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
}
dialog#fullscreen-menu .menu-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 115, 78, 0.35);
}
.mobile-menu-phone {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
/* Contact Us + phone moved from the bottom to right under the logo bar: same block, divider moved to its lower edge */
dialog#fullscreen-menu .menu-top-bar + .menu-bottom-bar {
  padding: 12px 0;
  border-top: 0;
  border-bottom: 1px solid rgba(119, 113, 108, 0.32);
}

/* ==========================================================================
   ROUND-8 §3: Landing Page Colour Key, Service Pills, Borders, Backgrounds & Icons
   ========================================================================== */
.legend.legend-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.legend.legend-list li {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  line-height: 1.35;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.legend.legend-list li::before {
  display: none !important;
}
.legend.legend-list i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  flex-shrink: 0;
}
.legend.legend-list i.lh { background-color: var(--hot); }
.legend.legend-list i.lc { background-color: var(--cold); }
.legend.legend-list i.la { background-color: var(--steel); }

/* Service rows (hot / cold / air) — T13: white text in badges, black #0E0E0E text on cards, smooth non-jumping expand */
.ic { flex-shrink: 0; color: var(--bg); }
.ic .h { stroke: var(--hot); }
.ic .c { stroke: var(--cold); }
.ic .fh { fill: var(--hot); stroke: none; }
.ic .fc { fill: var(--cold); stroke: none; }
.ic .thick { stroke-width: 5; }

ul[data-work-list].rows li[data-work-item-index] {
  padding: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(59,36,24,0.22) !important;
  background-color: var(--hot-bg) !important;
  color: var(--bg) !important;
  text-shadow: none !important;
  justify-content: flex-start !important;
  transform: none !important;
  translate: none !important;
}
ul[data-work-list].rows li[data-work-item-index][data-service-cat="hot"] {
  background-color: var(--hot-bg) !important;
}
ul[data-work-list].rows li[data-work-item-index][data-service-cat="cold"] {
  background-color: var(--cold-bg) !important;
}
ul[data-work-list].rows li[data-work-item-index][data-service-cat="air"] {
  background-color: var(--air-bg) !important;
}
ul[data-work-list].rows li[data-work-item-index]:is(:hover, :focus-within, .is-active) {
  transform: none !important;
  translate: none !important;
}
ul[data-work-list].rows li[data-work-item-index]::before {
  display: none !important;
}
ul[data-work-list].rows li[data-work-item-index] > a {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 56px !important;
  padding: 10px 12px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  border-left: 8px solid var(--hot) !important;
  background-color: var(--hot-bg) !important;
  color: var(--bg) !important;
  text-shadow: none !important;
}
ul[data-work-list].rows li[data-work-item-index] > a.hot {
  border-left-color: var(--hot) !important;
  background-color: var(--hot-bg) !important;
}
ul[data-work-list].rows li[data-work-item-index] > a.cold {
  border-left-color: var(--cold) !important;
  background-color: var(--cold-bg) !important;
}
ul[data-work-list].rows li[data-work-item-index] > a.air {
  border-left-color: var(--steel) !important;
  background-color: var(--air-bg) !important;
}
ul[data-work-list].rows li[data-work-item-index] > a .ico {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
ul[data-work-list].rows li[data-work-item-index] > a.hot .ico {
  box-shadow: 0 0 0 3px var(--hot-bg2);
}
ul[data-work-list].rows li[data-work-item-index] > a.cold .ico {
  box-shadow: 0 0 0 3px var(--cold-bg2);
}
ul[data-work-list].rows li[data-work-item-index] > a.air .ico {
  box-shadow: 0 0 0 3px var(--air-bg2);
}
ul[data-work-list].rows li[data-work-item-index] > a .ico svg.ic {
  width: 22px;
  height: 22px;
}
ul[data-work-list].rows li[data-work-item-index] [data-work-item-text-wrap] {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--bg) !important;
}
.work-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-height: 34px;
}
ul[data-work-list].rows li[data-work-item-index] h3.work-item-title {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: var(--bg) !important;
  -webkit-text-fill-color: var(--bg) !important;
  text-shadow: none !important;
}
ul[data-work-list].rows li[data-work-item-index] h3.work-item-title::before {
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px 2px 0;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-sans) !important;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* 2026-11-20 Alisa (R84): white text on the red / blue / grey badges; --ink turned black in the light theme */
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
ul[data-work-list].rows li[data-work-item-index] > a.hot h3.work-item-title::before {
  content: "Heat";
  background-color: var(--hot);
}
ul[data-work-list].rows li[data-work-item-index] > a.cold h3.work-item-title::before {
  content: "Water";
  background-color: var(--cold);
}
ul[data-work-list].rows li[data-work-item-index] > a.air h3.work-item-title::before {
  content: "Air";
  background-color: var(--steel);
}
ul[data-work-list].rows li[data-work-item-index] .go {
  position: absolute;
  right: 28px;
  top: 20px;
  transform: none !important;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--bg) !important;
  -webkit-text-fill-color: var(--bg) !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.work-card-chevron {
  color: var(--bg) !important;
  -webkit-text-fill-color: var(--bg) !important;
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 52px;
  transition: transform 280ms cubic-bezier(.25,.1,.25,1);
}
li[data-work-item-index].is-expanded .work-card-chevron {
  transform: rotate(180deg);
}
ul[data-work-list].rows li[data-work-item-index] p.work-item-desc {
  margin: 6px 0 2px 0 !important;
  height: auto !important;
  opacity: 0;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  line-height: 1.4 !important;
  color: var(--bg) !important;
  -webkit-text-fill-color: var(--bg) !important;
  text-shadow: none !important;
  transition: opacity 260ms ease;
}
ul[data-work-list].rows li[data-work-item-index].is-expanded p.work-item-desc {
  opacity: 1 !important;
}

/* Recent jobs expandable body inside home-about */
.hero-job-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}
.hero-job-card-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}
.hero-job-card .job-kicker {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.hero-job-card h3.hero-job-title {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.hero-job-expand-body {
  height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: var(--fs-body);
  line-height: 1.4;
}
.hero-job-card.is-expanded .hero-job-expand-body {
  height: auto;
  opacity: 1;
  margin-top: 6px;
}
.hero-job-expand-body ul.job-done {
  padding-left: 14px;
  margin: 4px 0;
}
.hero-job-expand-body ul.job-done li,
.hero-job-expand-body p {
  font-size: var(--fs-body) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  line-height: 1.35 !important;
  margin: 2px 0 !important;
}

/* Boroughs list neighborhoods */
ul.hoods.borough-neighborhoods {
  list-style: none;
  padding: 0;
  margin: 4px 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
ul.hoods.borough-neighborhoods li {
  font-size: 11.5px !important;
  line-height: 1.2;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(119, 113, 108, 0.4);
  background: rgba(59,36,24,0.024);
}

/* ROUND-7 §1.11 & ROUND-8 §3.6: FAQ bottom plain text link (NOT a CTA button) */
.faq-see-all-link {
  display: inline;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(184, 115, 78, 0.55) !important;
  border-radius: 0 !important;
  padding: 0 0 2px 0 !important;
  box-shadow: none !important;
  color: var(--copper-deep) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.faq-see-all-link:hover,
.faq-see-all-link:focus-visible {
  color: var(--copper-deep) !important;
  border-bottom-color: rgba(59,36,24,0.45) !important;
}

/* ROUND-7 §1.7: Animated dashed copper arrows between step cards */
.chapter-three-track {
  position: relative;
}
.service-steps-arrows {
  display: none;
}
@media (min-width: 768px) {
  .service-steps-arrows {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 25;
    overflow: visible;
  }
}
article[data-service-step].is-lit,
article[data-service-step].is-step-glow {
  box-shadow: var(--copper-halo-hover) !important;
}
article[data-service-step].is-lit::before,
article[data-service-step].is-step-glow::before {
  opacity: 1 !important;
  background: var(--copper-rim-gradient) !important;
}

/* F5: Every top-level plate has exact equal padding on all 4 sides = var(--plate-pad) */
.gw-plate,
.in-stock-strip,
.chapter-two-sidebar,
article[data-service-item],
article[data-service-step],
article[data-service-fix],
.licensing-card,
article[data-works-card],
.pipe-framed-block,
.prose-card-item,
.footer-plate,
.vertical-content-wrap .prose-content,
.vertical-aside {
  padding: var(--plate-pad) !important;
}

/* F6 & ROUND-8 §3.7: Spacing inside Fix-it & Guides plate */
article[data-service-fix] > div {
  display: grid;
  row-gap: var(--sp-5);
  column-gap: var(--sp-6);
}
.fix-col,
.guides-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}
.fix-col > *,
.guides-col > * {
  margin: 0 !important;
}
.fix-problems-list {
  list-style: none;
  display: grid;
  gap: 10px !important;
  width: 100%;
  padding: 0;
}
.fix-problems-list li {
  padding: 6px 10px;
  border: 1px solid rgba(119, 113, 108, 0.42);
  border-radius: 0.5rem;
  background-color: rgba(59,36,24,0.012);
  max-width: none;
}
.fix-problems-list li h3 {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.guides-col .guides-grid-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 12px !important;
  column-gap: 18px !important;
  width: 100%;
}
.guide-link-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: none !important;
  padding: 6px 12px;
  border: 1px solid rgba(119, 113, 108, 0.42);
  border-radius: 0.5rem;
  background-color: rgba(59,36,24,0.012);
  color: var(--ink);
  box-sizing: border-box;
}
.guide-link-row h3 {
  margin: 0 0 2px 0 !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.guide-link-row h3 a {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.guide-link-row h3 a:hover {
  color: var(--copper-deep) !important;
  -webkit-text-fill-color: var(--copper-deep) !important;
}
.guide-link-row p {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  line-height: 1.35 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

/* F7 & ROUND-8 §3.6 & §4: Equal question block heights & smooth open/close */
details.faq-item {
  /* FIXER 2026-11-10 (R138): однаковий і більший відступ до границь на кожному блоці (було 6px 12px) */
  padding: 16px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}
details.faq-item[open] {
  justify-content: flex-start;
}
details.faq-item summary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  list-style: none;
  cursor: pointer;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary h3 {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.faq-bottom-cta-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}
.faq-bottom-cta-bar > .cta-row {
  margin-left: auto !important;
  margin-right: -1px !important;
}

/* ROUND-6, ROUND-7, LOOP F1–F7 & ROUND-8: Desktop Horizontal Panel Equal-Height System (H = var(--panel-h)) */
@media (min-width: 768px) {
  section[data-horizontal-panel] {
    --panel-h: calc(100dvh - 2 * clamp(86px, 12.2vh, 138px));
  }
  section[data-horizontal-panel].is-fit-wide {
    flex: 0 0 var(--panel-w, 100vw) !important;
    width: var(--panel-w, 100vw) !important;
    min-width: var(--panel-w, 100vw) !important;
    max-width: var(--panel-w, 100vw) !important;
  }
  section[data-horizontal-panel] > *,
  section[data-horizontal-panel].is-fit-wide > * {
    max-height: none !important;
  }

  /* 1.1 & 1.2: home-about — both plates exact height H; 48px padding all 4 sides */
  [data-section="home-about"] .chapter-one-grid {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h) !important;
    align-items: stretch;
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.82fr);
    gap: var(--sp-5);
  }
  [data-section="home-about"] .chapter-one-grid > .gw-plate {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
    padding: var(--plate-pad) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
  }
  [data-section="home-about"] .about-plate-head-row .gw-pressure-gauge {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  [data-section="home-about"] .chapter-one-grid > .gw-plate > p.hero-lede {
    margin: 0 !important;
    font-size: 13.5px;
    line-height: 1.32;
  }
  [data-section="home-about"] .chapter-one-grid > .gw-plate > .cta-row {
    margin: 0 !important;
  }
  [data-section="home-about"] .home-about-jobs-block {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 8px !important;
    gap: 6px;
  }
  [data-section="home-about"] .home-about-jobs-block p {
    font-size: 12.5px;
    line-height: 1.25;
  }
  [data-section="home-about"] .hero-jobs-grid {
    flex: 1 1 0;
    min-height: 0;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch;
  }
  [data-section="home-about"] .hero-job-card {
    height: 100%;
    min-height: 0;
    padding: 8px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    overflow: hidden;
  }
  [data-section="home-about"] .hero-job-card .work-item-media {
    width: 100%;
    height: clamp(58px, 10vh, 115px) !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    margin: 0 !important;
    flex-shrink: 0;
  }
  [data-section="home-about"] .hero-job-card .meta-label {
    font-size: 10px;
    line-height: 1.15;
    margin: 0;
  }
  [data-section="home-about"] .in-stock-strip {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
    padding: var(--plate-pad) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--sp-3);
    margin: 0;
  }
  [data-section="home-about"] .in-stock-strip > h2,
  [data-section="home-about"] .in-stock-strip > p {
    margin: 0 !important;
    font-size: 13.5px;
    line-height: 1.32;
  }
  [data-section="home-about"] .in-stock-strip > h2 {
    font-size: var(--fs-small) !important;
  }
  [data-section="home-about"] .stock-pills-grid {
    flex: 1 1 0;
    min-height: 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  [data-section="home-about"] .stock-pill-item {
    flex: 1 1 0;
    min-height: 0;
    height: auto !important;
    width: 100% !important;
    padding: 6px 14px !important;
  }
  [data-section="home-about"] .stock-pill-item strong {
    font-size: 18px;
    line-height: 1.1;
  }
  [data-section="home-about"] .stock-pill-item span {
    font-size: 12.5px;
    line-height: 1.2;
  }

  /* 1.3: More Projects — neutralised height H so scale: 1 = H */
  [data-more-work-section] .more-work-stage {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
  }
  [data-more-work-rect] {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
  }

  /* 1.4 & 1.5 + F4 + Round 8 §3: home-work — sidebar height H (48px pad), 3 columns of 9 cards (height = H) */
  section[data-section="home-work"] {
    overflow: visible !important;
    margin-right: -76px; /* 2026-11-13 round 7: service cards 76px narrower (Alisa) — next panel pulled left by the same 76px, gap to its first plate unchanged */
  }
  [data-section="home-work"] .chapter-two-layout {
    width: calc(100% - 76px); /* 2026-11-13 round 7: service cards 76px narrower (Alisa) */
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h) !important;
    grid-template-columns: 460px minmax(0, 1fr) !important;
    gap: var(--sp-4);
    align-items: stretch !important;
    overflow: visible !important;
  }
  [data-section="home-work"] .chapter-two-sidebar {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
    padding: var(--plate-pad) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px !important;
  }
  [data-section="home-work"] .sidebar-head-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: var(--sp-3) !important;
    width: 100% !important;
  }
  [data-section="home-work"] .sidebar-head-row .section-h2 {
    margin: 0 !important;
  }
  [data-section="home-work"] .sidebar-head-row .gw-pressure-gauge {
    width: 52px;
    height: 52px;
    margin-left: auto !important;
  }
  [data-section="home-work"] .chapter-two-sidebar > p,
  [data-section="home-work"] .chapter-two-sidebar > .legend-list {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.32;
    width: 100%;
  }
  [data-section="home-work"] [data-work-preview] {
    width: 100% !important;
    flex: 1 1 auto;
    min-height: 90px;
    max-height: 170px;
    aspect-ratio: auto;
    padding: 0 !important;
  }
  [data-section="home-work"] .sidebar-cta-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
  }
  [data-section="home-work"] .services-scroll-columns {
    width: 100% !important;
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
  }
  [data-section="home-work"] ul[data-work-list] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 10px !important;
    height: var(--panel-h) !important;
    min-height: var(--panel-h) !important;
    max-height: var(--panel-h) !important;
    width: 100% !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    scrollbar-gutter: stable !important;
    padding-right: 8px !important;
    overscroll-behavior: contain;
  }
  [data-section="home-work"] .work-list-col {
    display: flex;
    flex-direction: column;
    width: 350px;
    flex: 0 0 350px;
    gap: var(--work-row-gap, 10px);
    overflow: visible;
  }
  [data-section="home-work"] li[data-work-item-index] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  [data-section="home-work"] li[data-work-item-index].is-expanded {
    z-index: 20;
  }

  /* 1.6 & 1.7: services — intro (1-col) + steps 1..3 stacked (left col) + step 4 (right col), all 48px pad */
  [data-services-section] .chapter-three-track {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h) !important;
    display: grid !important;
    grid-template-columns: 500px 520px 380px !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    column-gap: var(--sp-4) !important;
    row-gap: var(--sp-4) !important;
    align-items: stretch !important;
    width: max-content !important;
  }
  [data-services-section] .chapter-three-intro {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
  }
  [data-services-section] .chapter-three-intro .gw-plate {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: var(--plate-pad) !important;
  }
  [data-services-section] .chapter-three-intro .gw-plate > * {
    margin: 0 !important;
  }
  [data-services-section] .service-intro-gauge-row .gw-pressure-gauge {
    width: 48px;
    height: 48px;
  }
  [data-services-section] .chapter-three-intro .rules-plate {
    padding: 12px 16px !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  [data-services-section] .chapter-three-intro .rules-plate p {
    font-size: 13px;
    line-height: 1.28;
    margin: 0 !important;
  }
  [data-services-section] article[data-service-step="1"],
  [data-services-section] article[data-service-step="2"],
  [data-services-section] article[data-service-step="3"] {
    grid-column: 2 !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: var(--plate-pad) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  [data-services-section] article[data-service-step="1"] {
    grid-row: 1 !important;
  }
  [data-services-section] article[data-service-step="2"] {
    grid-row: 2 !important;
  }
  [data-services-section] article[data-service-step="3"] {
    grid-row: 3 !important;
  }
  [data-services-section] article[data-service-step] h3.card-h3 {
    margin: 0 0 4px 0 !important;
  }
  [data-services-section] article[data-service-step] p {
    font-size: var(--fs-body) !important;
    line-height: 1.32 !important;
    margin: 0 !important;
  }
  [data-services-section] article[data-service-step="4"] {
    grid-column: 3 !important;
    grid-row: 1 / span 3 !important;
    height: var(--panel-h) !important;
    min-height: var(--panel-h) !important;
    max-height: var(--panel-h) !important;
    padding: var(--plate-pad) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  [data-services-section] article[data-service-step="4"] > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  /* 1.8 & F6: home-fix — directly before home-faq, 48px pad, real spacing between category blocks */
  [data-section="home-fix"] {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
  }
  [data-section="home-fix"] article[data-service-fix] {
    width: 100%;
    height: var(--panel-h) !important;
    min-height: var(--panel-h) !important;
    max-height: var(--panel-h) !important;
    padding: var(--plate-pad) !important;
  }
  [data-section="home-fix"] article[data-service-fix] > div {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 0.68fr) minmax(560px, 1.52fr);
    column-gap: var(--sp-6);
    align-items: stretch;
  }
  [data-section="home-fix"] .fix-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    height: 100%;
  }
  [data-section="home-fix"] .fix-col > p,
  [data-section="home-fix"] .guides-col > p {
    font-size: 13px;
    line-height: 1.28;
  }
  [data-section="home-fix"] .fix-col > a.btn {
    margin-top: auto !important;
  }
  [data-section="home-fix"] .guides-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    height: 100%;
  }
  [data-section="home-fix"] .guides-col .guides-grid-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px !important;
    row-gap: 10px !important;
    align-content: start;
  }

  /* 1.9 & 1.10: home-clients — left plate (4 borough columns in 1 row) & right licensing col both height H, 48px pad */
  [data-section="home-clients"] .chapter-four-grid {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h) !important;
    display: grid;
    grid-template-columns: 1220px 660px !important;
    gap: var(--sp-4) !important;
    align-items: stretch !important;
    width: max-content;
  }
  [data-section="home-clients"] .chapter-four-grid > .gw-plate {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
    padding: var(--plate-pad) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
  }
  [data-section="home-clients"] .chapter-four-grid > .gw-plate .section-h2 {
    margin: 0 !important;
  }
  [data-section="home-clients"] .chapter-four-grid > .gw-plate > p {
    margin: 0 !important;
    font-size: 13.5px;
    line-height: 1.3;
  }
  [data-section="home-clients"] ul[data-clients-list] {
    flex: 1 1 0;
    min-height: 0;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    column-gap: var(--sp-5) !important;
    row-gap: 0 !important;
    align-items: stretch;
  }
  [data-section="home-clients"] li[data-client-row] {
    height: 100% !important;
    min-height: 0;
    padding: var(--sp-3) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 6px !important;
  }
  [data-section="home-clients"] .client-flap {
    width: 100% !important;
    aspect-ratio: 16 / 10;
    max-height: 110px;
    flex-shrink: 0;
  }
  [data-section="home-clients"] .client-row-text {
    flex: 1 1 0;
    min-height: 0;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    width: 100%;
  }
  [data-section="home-clients"] .borough-row-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    width: 100%;
  }
  [data-section="home-clients"] .borough-row-head h3 {
    margin: 0 !important;
  }
  [data-section="home-clients"] .borough-title-link {
    color: var(--copper-deep) !important;
    font-size: var(--fs-small) !important;
    line-height: 1.15;
    text-decoration: none;
  }
  [data-section="home-clients"] .borough-all-link {
    color: var(--copper-deep) !important;
    font-size: 12.5px;
    margin-top: auto !important;
  }
  [data-section="home-clients"] .licensing-cards-col {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h);
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
    gap: var(--plate-gap) !important;
  }
  [data-section="home-clients"] .licensing-card,
  [data-section="home-clients"] .hero-promo-banner {
    width: 100% !important;
    min-height: 0;
    padding: 18px 28px !important;
    border-radius: 0.85rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    box-sizing: border-box;
  }
  [data-section="home-clients"] .licensing-card .gw-pressure-gauge {
    width: 42px;
    height: 42px;
  }
  [data-section="home-clients"] .licensing-card h3,
  [data-section="home-clients"] .licensing-card p,
  [data-section="home-clients"] .licensing-card ul {
    margin: 0 !important;
    font-size: 12.5px;
    line-height: 1.22;
  }
  [data-section="home-clients"] .licensing-card h3 {
    font-size: 14.5px !important;
  }
  [data-section="home-clients"] .brand-chips-wrap {
    gap: 5px !important;
  }

  /* 1.11 & F7: home-faq — single screen 100vw, height H, 48px pad, equal question heights, right-aligned CTA */
  [data-section="home-faq"] {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
  }
  [data-section="home-faq"] > .gw-plate {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h) !important;
    padding: var(--plate-pad) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
  }
  [data-section="home-faq"] .section-h2 {
    margin: 0 !important;
  }
  [data-section="home-faq"] .faq-accordion-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 14px;
    align-content: start;
  }
  [data-section="home-faq"] details.faq-item {
    padding: 4px 12px !important;
  }
  [data-section="home-faq"] details.faq-item[hidden] {
    display: none !important;
  }
  [data-section="home-faq"] details.faq-item .faq-answer {
    margin-top: 4px;
    font-size: var(--fs-body);
    line-height: 1.38;
  }
  [data-section="home-faq"] details.faq-item .faq-answer p {
    font-size: var(--fs-body) !important;
    line-height: 1.38 !important;
    margin: 0 !important;
  }

  /* About route panels */
  [data-section="about-hero"] > .chapter-one-grid,
  [data-section="introduce-philosophy"] > .chapter-one-grid,
  [data-section="about-credentials"] > .chapter-one-grid {
    height: var(--panel-h);
    min-height: var(--panel-h);
    max-height: var(--panel-h) !important;
    align-items: stretch;
  }
  [data-section="about-hero"] > .chapter-one-grid > *,
  [data-section="introduce-philosophy"] > .chapter-one-grid > *,
  [data-section="about-credentials"] > .chapter-one-grid > * {
    height: var(--panel-h);
    max-height: var(--panel-h) !important;
  }
  [data-section="about-hero"] p,
  [data-section="introduce-philosophy"] p,
  [data-section="introduce-philosophy"] li,
  [data-section="about-credentials"] p,
  [data-section="about-credentials"] li {
    font-size: 13px;
    line-height: 1.3;
  }
}

/* ==========================================================================
   ROUND-9 OVERRIDES (Items 1–13 & Header Rules)
   ========================================================================== */

/* Rule: Plate padding 48px desktop, 28px mobile; one standard plate gap everywhere */
:root {
  --plate-pad: 28px;
  --plate-gap: 16px;
}
@media (min-width: 768px) {
  :root {
    --plate-pad: 28px; /* 2026-11-20 (Alisa, point 6): ONE padding for every large plate = 2 x the "Plumbers in four boroughs" plate (14px) = 28px, desktop and mobile alike */
    --plate-gap: 24px;
    --inset-left: 48px;
    --inset-right: 48px;
  }
}

/* Rule: All buttons have the exact same size (height: var(--btn-h), padding: 0 var(--btn-px), font-size: var(--btn-fs)) */
.btn,
a.btn,
button.btn,
.btn-copper,
.btn-outline-light,
.btn-outline-dark,
.btn-dark,
.hero-cta,
.gw-header-cta.btn,
.brand-chip-btn,
a.btn.brand-chip-btn,
button[type="submit"] {
  height: var(--btn-h) !important;
  min-height: var(--btn-h) !important;
  max-height: var(--btn-h) !important;
  padding: 0 var(--btn-px) !important;
  font-size: var(--btn-fs) !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
}

/* ROUND-11 T1: Big headings (h1, h2.section-h2, .hero-h1, .footer-giant-heading) use GW Syncopate Wide 600 + copper gradient;
   Subheadings (h3.card-h3, .footer-col h3, .prose-content h2/h3/h4, .contact-h2, .borough-title-link) use flat #B8734E;
   Ordinary text (p, li, span, descriptions, FAQ items, guide/problem/job list items) stays Plus Jakarta Sans, var(--fs-body), #E8D9CA */
h1,
.hero-h1,
.hero-brand-heading,
h2.section-h2,
.section-h2,
.footer-giant-heading,
[data-more-work-more],
[data-more-work-work] {
  font-family: var(--font-display) !important;
  font-size: var(--fs-big) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  line-height: 1.12 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  font-variation-settings: normal !important;
  font-feature-settings: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
  background-image: var(--logo-copper-gradient) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
}
[data-more-work-more],
[data-more-work-work] {
  font-size: var(--t-display) !important;
  line-height: 1.0 !important;
}

h2:not(.section-h2):not(.footer-giant-heading),
h3.card-h3,
h2.card-h3,
.card-h3,
.contact-h2,
.footer-col h3,
.prose-content h2,
.prose-content h3,
.prose-content h4,
.borough-title-link,
.contact-popover h2,
.hero-promo-banner h2.hero-promo-title {
  font-family: var(--font-display) !important;
  font-size: var(--fs-small) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  line-height: 1.18 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  font-variation-settings: normal !important;
  font-feature-settings: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: var(--copper-deep) !important;
  color: var(--copper-deep) !important;
  text-shadow: none !important;
}

/* Item 2 & Item 5 & Item 13: Hero Compact Copper/Bronze In-Stock Promo Banner & Right-Aligned Contact Us */
[data-section="loading"] .loading-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
[data-section="loading"] [data-hero-name] {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100%;
  will-change: transform;
}
[data-section="loading"] .name-logo-row {
  margin: 0 !important;
}
[data-section="loading"] [data-loading-tagline] {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100%;
}
.hero-promo-banner {
  position: relative;
  z-index: 14;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--logo-bronze-banner-bg);
  border: 1px solid rgba(59,36,24,0.45);
  box-shadow: 0 10px 24px rgba(59,36,24,0.302), 0 0 18px rgba(184, 115, 78, 0.32);
  color: var(--on-copper);
  text-shadow: none !important;
  box-sizing: border-box;
}
.hero-promo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.hero-promo-banner h2.hero-promo-title {
  margin: 0 !important;
  font-family: var(--font-display) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: var(--bg) !important;
  color: var(--bg) !important;
  text-shadow: none !important;
}
.hero-promo-banner p.hero-promo-sub,
.hero-promo-banner p.hero-promo-foot {
  margin: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #1A120E !important;
  text-shadow: none !important;
}
.hero-promo-pills {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.hero-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background-color: rgba(var(--bg-rgb),0.88);
  border: 1px solid rgba(59,36,24,0.28);
  font-family: var(--font-sans) !important;
  font-size: 11.5px !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  white-space: nowrap;
}
.hero-promo-pill strong {
  color: var(--copper-deep) !important;
  font-weight: 700 !important;
}
.hero-promo-pill span {
  color: var(--ink) !important;
}

/* Item 5: Hero Contact Us on RIGHT side, Scroll on LEFT side, never colliding */
[data-section="loading"] .hero-bottom-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-top: 4px !important;
  width: 100%;
  box-sizing: border-box;
}
[data-section="loading"] .hero-bottom-row .scroll-cue {
  order: 1 !important;
  margin-right: auto !important;
}
[data-section="loading"] .hero-bottom-row .hero-cta {
  order: 2 !important;
  margin-left: auto !important;
}

/* Item 4: Work we have done recently — 2x2 grid on desktop, 1 column on mobile */
@media (max-width: 767px) {
  [data-section="home-about"] .about-plate-head-row {
    flex-wrap: wrap !important;
  }
  [data-section="home-clients"] .borough-row-head h3,
  [data-section="home-clients"] .borough-title-link {
    font-size: 14px !important;
  }
  [data-section="home-about"] .hero-jobs-grid,
  .hero-jobs-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
}
@media (min-width: 768px) {
  [data-section="home-about"] .chapter-one-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--plate-gap) !important;
  }
  [data-section="home-about"] .hero-jobs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 16px !important;
    align-items: stretch !important;
  }
  [data-section="home-about"] .hero-job-card {
    padding: 8px 12px !important;
  }
  [data-section="home-about"] .hero-job-card-top {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
  }
  [data-section="home-about"] .hero-job-card .work-item-media {
    width: 120px !important;
    height: 76px !important;
    max-height: 76px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    object-fit: cover !important;
  }
  [data-section="home-about"] .hero-job-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
}

/* Item 6: More Projects plate expands WIDER and to the full height of neighbouring plates */
@media (min-width: 768px) {
  [data-more-work-section] .more-work-stage {
    width: 100% !important;
    height: var(--panel-h) !important;
    min-height: var(--panel-h) !important;
    max-height: var(--panel-h) !important;
  }
  [data-more-work-rect] {
    width: calc(100vw - var(--inset-left) - var(--inset-right)) !important;
    max-width: calc(100vw - var(--inset-left) - var(--inset-right)) !important;
    height: var(--panel-h) !important;
    min-height: var(--panel-h) !important;
    max-height: var(--panel-h) !important;
    transition: box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
}

/* Item 7: Red / Blue / Grey categories — clear distinct Grey card & interactive legend filter */
.legend.legend-list li[data-legend-filter] {
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}
.legend.legend-list li[data-legend-filter]:hover,
.legend.legend-list li[data-legend-filter].is-filter-active {
  background-color: rgba(184, 115, 78, 0.22);
}
ul[data-work-list].rows li[data-work-item-index].is-filter-dimmed {
  opacity: 0.28;
}

/* Item 8: Plumbers in four NYC boroughs — 2x2 grid (left: Brooklyn + Queens; right: Staten Island + Manhattan)
   and small neighborhood chips matching ZIP code font size */
[data-section="home-clients"] .zip-code,
ul.hoods.borough-neighborhoods li {
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}
ul.hoods.borough-neighborhoods {
  gap: 3px !important;
  margin: 2px 0 !important;
}
ul.hoods.borough-neighborhoods li {
  padding: 1.5px 5px !important;
}
@media (min-width: 768px) {
  [data-section="home-clients"] .chapter-four-grid {
    width: 100% !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) !important;
    gap: var(--plate-gap) !important;
  }
  [data-section="home-clients"] ul[data-clients-list] {
    flex: 1 1 0;
    min-height: 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
    column-gap: 14px !important;
    row-gap: 10px !important;
    align-items: stretch !important;
  }
  [data-section="home-clients"] li[data-client-row] {
    height: 100% !important;
    min-height: 0 !important;
    padding: 8px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 4px !important;
    overflow: hidden;
  }
  [data-section="home-clients"] .client-flap {
    width: 100% !important;
    height: 46px !important;
    max-height: 46px !important;
    aspect-ratio: auto !important;
    flex-shrink: 0;
  }
  [data-section="home-clients"] .borough-row-head {
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }
  [data-section="home-clients"] .borough-title-link {
    font-size: 14px !important;
  }
  [data-section="home-clients"] .borough-all-link {
    font-size: 11.5px !important;
  }
  [data-section="home-clients"] .licensing-cards-col {
    gap: var(--plate-gap) !important;
  }
}

/* Item 9 & Item 11: Guides for owners and landlords (ONE column, scrolls inside plate) & Common Questions (scrolls inside plate) */
[data-scrollable-plate-list] {
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #B8734E rgba(59,36,24,0.3);
}
[data-scrollable-plate-list]::-webkit-scrollbar {
  width: 8px;
  display: block;
}
[data-scrollable-plate-list]::-webkit-scrollbar-track {
  background: rgba(59,36,24,0.064);
  border-radius: 999px;
}
[data-scrollable-plate-list]::-webkit-scrollbar-thumb {
  background: #B8734E;
  border-radius: 999px;
  border: 1px solid rgba(59,36,24,0.6);
}

.guides-col .guides-grid-list,
[data-section="home-fix"] .guides-col .guides-grid-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  row-gap: 8px !important;
  width: 100% !important;
  max-height: 440px;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
  padding-right: 6px !important;
  overscroll-behavior: contain;
}
@media (min-width: 768px) {
  [data-section="home-fix"] article[data-service-fix] > div {
    height: 100% !important;
    min-height: 0 !important;
    grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr) !important;
    column-gap: var(--plate-gap) !important;
  }
  [data-section="home-fix"] .fix-col,
  [data-section="home-fix"] .guides-col {
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  [data-section="home-fix"] .guides-col .guides-grid-list {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    scrollbar-gutter: stable !important;
    padding-right: 8px !important;
    overscroll-behavior: contain;
  }
  [data-section="home-faq"] > .gw-plate {
    overflow: hidden !important;
  }
  [data-section="home-faq"] .faq-accordion-list {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
    overscroll-behavior: contain;
  }
  [data-section="home-faq"] details.faq-item {
    padding: 8px 14px !important;
  }
}

/* Item 2 & Item 5 & Item 13: Mobile hero & stage positioning so top/bottom pipes never overlap hero text */
@media (max-width: 767px) {
  #gw-video-stage,
  .gw-video-stage {
    /* hero-pipes.mp4 v2 (2026-11-10): 90 % puts the boiler's right edge near the screen edge on phones,
       so the whole boiler is on screen at the right and the pipes grow into it from the left (was 75 %: half a boiler) */
    background-position: 90% center !important;
  }
  .gw-stage-video {
    object-position: 90% center !important;
  }
  [data-section="loading"] {
    padding-top: 82px !important;
    padding-bottom: 82px !important;
  }
  .hero-promo-banner {
    padding: var(--plate-pad) !important;
    border-radius: 0.85rem !important;
    gap: 8px 12px !important;
  }
}

/* Item 10 & ROUND-11 T6/T7: Unified 2-column grid & outer bounds for .vertical-hero-inner and .vertical-content-wrap */
:root {
  --inner-col-grid: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
}
.vertical-hero {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding-top: calc(var(--header-h) + var(--plate-gap)) !important;
  padding-bottom: 0 !important;
  padding-inline: var(--inset-left) var(--inset-right) !important;
  box-sizing: border-box !important;
}
.vertical-hero-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  column-gap: var(--plate-gap) !important;
  row-gap: var(--plate-gap) !important;
  align-items: stretch !important;
}
.vertical-hero-inner > .gw-plate {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.vertical-hero-media {
  width: 100% !important;
  max-height: 280px !important;
  aspect-ratio: 4 / 3 !important;
}
.vertical-content-wrap {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding-top: var(--plate-gap) !important;
  padding-bottom: var(--plate-gap) !important;
  padding-inline: var(--inset-left) var(--inset-right) !important;
  column-gap: var(--plate-gap) !important;
  row-gap: var(--plate-gap) !important;
  align-items: start !important;
  box-sizing: border-box !important;
}
.vertical-content-wrap .prose-content {
  max-width: none !important;
  width: 100% !important;
}
.vertical-aside {
  width: 100% !important;
  position: relative !important;
  top: 0 !important;
  margin-top: 0 !important;
}
@media (min-width: 768px) {
  .vertical-hero-inner,
  .vertical-content-wrap {
    grid-template-columns: var(--inner-col-grid) !important;
  }
  .vertical-hero-media {
    height: 280px !important;
    max-height: 280px !important;
    aspect-ratio: auto !important;
  }
}

/* Standardize gap between plates across all horizontal panels */
@media (min-width: 768px) {
  [data-section="home-work"] .chapter-two-layout,
  [data-services-section] .chapter-three-track {
    gap: var(--plate-gap) !important;
    column-gap: var(--plate-gap) !important;
    row-gap: var(--plate-gap) !important;
  }
}

/* ROUND-11 T8: Back button on all inner pages (all routes except /) */
.gw-back-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 30;
}
@media (min-width: 768px) {
  [data-section="about-hero"] > .gw-back-bar {
    position: absolute;
    top: 63px;
    left: var(--inset-left);
    width: auto;
    margin: 0;
  }
}
a.gw-back-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border-radius: 0.85rem !important;
  border: 1px solid rgba(184, 115, 78, 0.55) !important;
  background-color: var(--bg) !important;
  color: var(--copper-deep) !important;
  text-decoration: none !important;
  box-shadow: var(--copper-halo-hover) !important;
  box-sizing: border-box !important;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s ease,
    color 0.22s ease;
}
a.gw-back-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--copper-rim-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) padding-box;
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) padding-box;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}
.gw-back-chevrons {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.08em !important;
  color: var(--copper-deep) !important;
  filter: drop-shadow(0 0 8px rgba(184, 115, 78, 0.85)) drop-shadow(0 0 3px rgba(255,255,255,0.45));
  transform: translateX(-1px);
  pointer-events: none;
}
a.gw-back-btn:hover,
a.gw-back-btn:focus-visible {
  color: var(--copper-deep) !important;
  border-color: rgba(59,36,24,0.45) !important;
  box-shadow:
    0 0 38px 4px rgba(184, 115, 78, 0.78),
    0 0 18px 2px rgba(255,255,255,0.38),
    0 12px 28px -6px rgba(59,36,24,0.378) !important;
  transform: translateY(-2px);
}
a.gw-back-btn:hover .gw-back-chevrons,
a.gw-back-btn:focus-visible .gw-back-chevrons {
  color: var(--copper-deep) !important;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.9)) drop-shadow(0 0 6px rgba(184, 115, 78, 0.95));
}
@media (max-width: 767px) {
  a.gw-back-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
  .gw-back-chevrons {
    font-size: 18px !important;
  }
}


/* === FIXER 2026-11-09 ===
   1) Visible scrollbars in inner scroll lists: the standard scrollbar-color/-width makes Chrome use
      OVERLAY (invisible on macOS) scrollbars and overrides ::-webkit-scrollbar. Use the webkit pseudo
      (forces a classic always-visible bar) and keep the standard props only for Firefox.
   2) overscroll-behavior:auto - at the list end the wheel/touch passes to the page (see app.js edge handler). */
[data-scrollable-plate-list],
ul[data-work-list],
.guides-col .guides-grid-list,
.faq-accordion-list {
  scrollbar-width: auto;
  scrollbar-color: auto;
  overscroll-behavior: auto !important;
}
[data-scrollable-plate-list]::-webkit-scrollbar,
ul[data-work-list]::-webkit-scrollbar,
.guides-col .guides-grid-list::-webkit-scrollbar,
.faq-accordion-list::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  display: block;
  -webkit-appearance: none;
}
[data-scrollable-plate-list]::-webkit-scrollbar-track,
ul[data-work-list]::-webkit-scrollbar-track,
.guides-col .guides-grid-list::-webkit-scrollbar-track,
.faq-accordion-list::-webkit-scrollbar-track {
  background: rgba(59,36,24,0.08);
  border-radius: 999px;
}
[data-scrollable-plate-list]::-webkit-scrollbar-thumb,
ul[data-work-list]::-webkit-scrollbar-thumb,
.guides-col .guides-grid-list::-webkit-scrollbar-thumb,
.faq-accordion-list::-webkit-scrollbar-thumb {
  background: #B8734E;
  border-radius: 999px;
  border: 1px solid rgba(59,36,24,0.6);
  min-height: 40px;
}
@supports not selector(::-webkit-scrollbar) {
  [data-scrollable-plate-list], ul[data-work-list], .guides-col .guides-grid-list, .faq-accordion-list {
    scrollbar-color: #B8734E rgba(59,36,24,0.3);
  }
}
/* FIXER: overflow:hidden on the cards is a (non-user-scrollable) scroll container and swallows the wheel
   when the cursor is over a card -> the list could not be scrolled by wheel over cards and the page was stuck.
   overflow:clip clips identically (incl. border-radius) but is not a scroll container. */
ul[data-work-list].rows li[data-work-item-index] {
  overflow: clip !important;
}
/* FIXER: an expanded card (height:auto) was stretched by the grid back to the collapsed 56px row and its text clipped
   (opened ~320ms then collapsed). Rows size to content and the card keeps its own full height. */
ul[data-work-list].rows {
  grid-auto-rows: max-content;
}
ul[data-work-list].rows li[data-work-item-index] {
  align-self: start;
}
/* FIXER (touch): the chevron that opens a card is ~6x13px — impossible to tap. Invisible 44px hit-area, same behaviour. */
@media (hover: none), (pointer: coarse) {
  .work-card-chevron { position: relative; }
  .work-card-chevron::after { content: ""; position: absolute; inset: -16px -18px; }
}

/* FIXER E2: a real space between "More" and "Projects" (was 0.1em, words visually touched/overlapped). */
.more-work-words-layer { gap: 0.4em; }
@media (max-width: 767px) { .more-work-words-layer { gap: 0.1em; } }

/* === FIXER R2 E3: copper borders, radius, hover glow, image shadows (one token set) === */
:root {
  --e3-radius: 12px;
  --e3-border-grad: linear-gradient(135deg, #B8734E 0%, #D99F8C 26%, #F6C8B8 50%, #CF9582 74%, #A86C54 100%);
  --e3-border-alpha: 0.5;
  --e3-ring-rest: 0 0 0 1px rgba(217, 159, 140, 0.5);
  --e3-ring-hover: 0 0 0 1px rgba(246, 200, 184, 0.9);
  --e3-img-shadow: 0 6px 18px rgba(184, 115, 78, 0.18);
  --e3-glow: 0 0 24px rgba(184, 115, 78, 0.35);
}
/* replaced elements (no pseudo-elements): ring + shadow */
[data-work-image],
.work-item-media,
[data-more-work-rect] video,
.borough-photo {
  border-radius: var(--e3-radius);
  box-shadow: var(--e3-ring-rest), var(--e3-img-shadow);
}
[data-more-work-rect]:hover video,
.hero-job-card:hover .work-item-media,
li[data-client-row]:hover .borough-photo,
.client-flap:hover .borough-photo {
  box-shadow: var(--e3-ring-hover), var(--e3-glow);
}
/* boxes: gradient 1px border through a masked ::after, glow on hover */
li[data-work-item-index],
.job-done li,
.brand-chips-wrap,
li.guide-link-row,
.footer-contact-item,
li[data-legend-filter] {
  position: relative;
  border-radius: var(--e3-radius);
  transition: box-shadow 0.25s ease;
}
li[data-work-item-index]::after,
.job-done li::after,
.brand-chips-wrap::after,
li.guide-link-row::after,
.footer-contact-item::after,
li[data-legend-filter]::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--e3-border-grad);
  opacity: var(--e3-border-alpha);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
li[data-work-item-index]:hover,
.job-done li:hover,
.licensing-card li:hover,
.brand-chips-wrap:hover,
li.guide-link-row:hover,
.footer-contact-item:hover,
li[data-legend-filter]:hover {
  box-shadow: var(--e3-glow);
}
li[data-work-item-index]:hover::after,
.job-done li:hover::after,
.licensing-card li:hover::after,
.brand-chips-wrap:hover::after,
li.guide-link-row:hover::after,
.footer-contact-item:hover::after,
li[data-legend-filter]:hover::after {
  opacity: 1;
}
ul[data-work-list].rows li[data-work-item-index] { border-radius: var(--e3-radius) !important; }
[data-section="home-about"] .hero-job-card .work-item-media { border-radius: var(--e3-radius) !important; }

/* === Recent jobs: 2x2, thumbnail left (restored 2026-11-10 from the layout Alisa approved) === */
[data-section="home-about"] .hero-jobs-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: none !important;
  gap: 12px !important;
  align-items: stretch !important;
}
[data-section="home-about"] .hero-job-card { padding: 8px 12px !important; height: auto !important; }
[data-section="home-about"] .hero-job-card-top {
  display: grid !important;
  grid-template-columns: 120px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
}
[data-section="home-about"] .hero-job-card .work-item-media {
  width: 120px !important;
  height: 76px !important;
  max-height: 76px !important;
  aspect-ratio: auto !important;
  flex: none !important;
  margin: 0 !important;
  object-fit: cover !important;
}
[data-section="home-about"] .hero-job-card-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
@media (min-width: 768px) {
  [data-section="home-about"] .hero-jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 16px !important;
  }
}

/* === FIXER R2 Е7: borough photos (largest size that still leaves title, ZIP, chips and link visible) === */
@media (min-width: 768px) {
  [data-section="home-clients"] .client-flap {
    height: clamp(40px, calc(100vh - 816px), 100px) !important;
    max-height: 100px !important;
    aspect-ratio: auto !important;
  }
  [data-section="home-clients"] .client-flap .borough-photo {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
}
@media (max-width: 767px) {
  [data-section="home-clients"] li[data-client-row] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--sp-2) !important;
    padding: 12px !important;
  }
  [data-section="home-clients"] .client-flap {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
  }
  [data-section="home-clients"] .client-flap .borough-photo {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
}

/* === FIXER R2 Е5 === heat rules own panel; FAQ in home-fix right column; Guides + CTA in home-faq === */
[data-section="home-heat"] {
  flex: 0 0 100vw !important;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
}
[data-section="home-heat"] .rules-plate {
  width: min(960px, 100%);
  height: auto;
  margin: 0;
  padding: var(--plate-pad) !important;
  display: flex;
  flex-direction: column;
  gap: var(--plate-gap);
}
[data-section="home-heat"] .rules-plate > * { margin: 0 !important; }
@media (min-width: 768px) {
  [data-section="home-fix"] .faq-col { overflow: hidden !important; }
  [data-section="home-fix"] .faq-col > div:first-child {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    width: 100%; gap: var(--sp-3);
  }
  [data-section="home-fix"] .faq-col .faq-accordion-list {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    align-content: start;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    scrollbar-gutter: stable !important;
    padding-right: 8px !important;
    overscroll-behavior: contain;
  }
  /* FIXER 2026-11-10 (R138): відступ до границь однаковий з усіх боків і більший (було 8px 14px) */
  [data-section="home-fix"] details.faq-item { padding: 16px !important; }
  [data-section="home-fix"] details.faq-item[hidden] { display: none !important; }
  [data-section="home-fix"] details.faq-item .faq-answer { margin-top: 4px; font-size: var(--fs-body); line-height: 1.38; }
  [data-section="home-fix"] details.faq-item .faq-answer p { font-size: var(--fs-body) !important; line-height: 1.38 !important; margin: 0 !important; }
  [data-section="home-faq"] .guides-col {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
  }
  [data-section="home-faq"] .guides-col .guides-grid-list {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 10px !important;
    align-content: start;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    scrollbar-gutter: stable !important;
    padding-right: 8px !important;
    overscroll-behavior: contain;
  }
}
@media (min-width: 768px) {
  [data-section="home-faq"] > .gw-plate { gap: var(--plate-gap) !important; }
  [data-section="home-faq"] .faq-bottom-cta-bar { margin-top: 0 !important; flex: 0 0 auto; }
}
/* FIXER 2026-11-10 (R141/R192): на телефоні між списком Guides і «Need a plumber now?» той самий відступ, що на десктопі. */
@media (max-width: 767.98px) {
  [data-section="home-faq"] .faq-bottom-cta-bar { margin-top: var(--plate-gap) !important; }
}

/* === FIXER R2 Е6: equal heights (licensing/banner/brands) and equal steps 1-4 === */
.licensing-cards-col{display:grid!important;grid-template-rows:repeat(3,minmax(0,1fr));gap:var(--plate-gap)!important;align-content:stretch}
.licensing-cards-col>*{min-height:0!important;height:auto!important;margin:0!important;box-sizing:border-box}
@media (min-width:768px){
  [data-services-section] .chapter-three-track{grid-template-columns:500px 520px 520px!important}
  [data-services-section] article[data-service-step="4"]{grid-column:3!important;grid-row:3!important;height:100%!important;min-height:0!important;max-height:none!important;align-items:stretch!important;text-align:left!important;justify-content:center!important}
  [data-services-section] article[data-service-step="4"]>div{align-items:flex-start!important;text-align:left!important}
}
@media (min-width:768px){
  [data-section="home-clients"] .licensing-cards-col{grid-template-rows:repeat(3,minmax(0,1fr))!important}
  [data-section="home-clients"] .licensing-cards-col>*{min-height:0!important;height:100%!important;overflow:hidden}
}
@media (max-width:767.98px){
  [data-services-section] article[data-service-step]{min-height:172px}
  [data-section="home-clients"] .licensing-cards-col>*{min-height:340px}
}

/* === FIXER R2 Е9: footer brand title is a <p> (single GW MECHANICAL CORP heading) but looks like the other footer column titles === */
.footer-col p.footer-col-title{font-family:var(--font-display)!important;font-size:var(--fs-small)!important;font-weight:600!important;line-height:1.18!important;letter-spacing:0.02em!important;text-transform:uppercase!important;color:var(--copper-deep)!important;margin:0 0 var(--sp-3) 0!important}
@media (min-width:1024px){.footer-col ul:not(.footer-contact-list){gap:2px!important}}
@media (min-width:768px){footer.site-footer{padding-top:clamp(40px,8vh,86px)!important;padding-bottom:16px!important}}

/* === FIXER R2 Е11: Guides list items opaque === */
[data-section="home-faq"] .guides-grid-list>li,.guides-col .guides-grid-list>li{background-color:var(--bg)!important;background-image:none!important}

/* === FIXER R3 hero: Contact Us LEFT, Scroll RIGHT (HERO-CENTER-RED-BOX.png) === */
[data-section="loading"] .hero-bottom-row .hero-cta{order:1!important;margin-left:0!important;margin-right:auto!important}
[data-section="loading"] .hero-bottom-row .scroll-cue{order:2!important;margin-left:auto!important;margin-right:0!important;text-align:right}

/* === FIXER R3 малі заголовки: Plus Jakarta Sans, жирний, більший, #B8734E (§5а-1) === */
:root{--fs-small-h:clamp(0.9rem,0.82rem + 0.3vw,1.1rem)}
h2:not(.section-h2):not(.footer-giant-heading):not(.hero-promo-title),
h3.card-h3,h2.card-h3,.card-h3,.contact-h2,.footer-col h3,
.prose-content h2,.prose-content h3,.prose-content h4,
.borough-title-link,.contact-popover h2,
.footer-col p.footer-col-title{
  font-family:var(--font-display)!important;
  font-size:var(--fs-small-h)!important;
  font-weight:600!important;
  letter-spacing:0.04em!important;
  text-transform:uppercase!important;
  line-height:1.2!important;
  color:var(--copper-deep)!important;-webkit-text-fill-color:var(--copper-deep)!important;
  background:none!important;background-image:none!important;
}

/* === FIXER R3 Е8 лічильник років на перекладині G (x 27.0–43.8%, y 40.6% зображення 1234×682) === */
[data-section="loading"] .name-logo-row{container-type:inline-size}
.year-counter{position:absolute;left:27.2%;width:39.2%;top:29%;height:11cqw;transform:translate(-50%,-50%);overflow:hidden;z-index:13;pointer-events:none;display:flex;align-items:flex-start;justify-content:center;background:none}
.year-strip{display:flex;flex-direction:column;flex:0 0 auto;width:100%;height:auto;will-change:transform}
.year-strip-cell{display:flex;align-items:center;justify-content:center;height:11cqw;flex:0 0 11cqw;font-family:var(--font-sans);font-weight:800;font-size:10cqw;line-height:1;color:var(--copper-deep);font-variant-numeric:tabular-nums;background:none}

/* === BOT 2026-11-10 П.4: cards fill the list up to the copper scrollbar === */
/* cards were capped at 84% of the list (714 of 850px) -> a ~136px dead strip between the cards and the scrollbar */
ul[data-work-list].rows li[data-work-item-index] {
  max-width: none !important;
  width: 100% !important;
}
[data-section="home-work"] ul[data-work-list] {
  padding-right: 4px !important;
}

/* === BOT 2026-11-10 П.5: Recent jobs — no glow (dark text-shadow halo) on the Contact Us button text === */
[data-section="home-about"] a.btn.btn-copper,
[data-section="home-about"] a.btn.btn-copper:hover {
  text-shadow: none !important;
}

/* === BOT 2026-11-10 П.7: boroughs — tall photos, neighbourhood tags collapsed, expand over everything on hover === */
@media (min-width: 768px) and (hover: hover) {
  [data-section="home-clients"] .chapter-four-grid > .gw-plate:first-child,
  [data-section="home-clients"] .gw-plate:has(> ul[data-clients-list]) { padding-top: 32px !important; padding-bottom: 28px !important; }
  [data-section="home-clients"] ul[data-clients-list] { row-gap: 8px !important; }
  [data-section="home-clients"] li[data-client-row] { overflow: visible !important; justify-content: flex-start !important; padding: 16px !important; gap: 2px !important; } /* 2026-11-20 Alisa: borough plates use the standard small-plate padding, same as "No Hot Water" (li.guide-link-row = 16px); was 5px 10px from BOT 2026-11-10 P.7 */
  [data-section="home-clients"] li[data-client-row]:hover { z-index: 40; }
  [data-section="home-clients"] .client-flap {
    flex: 1 1 auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: 70px !important;
  }
  [data-section="home-clients"] .client-flap .borough-photo { height: 100% !important; }
  [data-section="home-clients"] .client-row-text { position: static; flex: 0 0 auto; }
  [data-section="home-clients"] ul.hoods.borough-neighborhoods {
    position: absolute;
    left: 6px; right: 6px; bottom: 6px;
    z-index: 41;
    margin: 0 !important;
    padding: 8px !important;
    background: var(--bg);
    border: 1px solid #B8734E;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(59,36,24,0.315);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  [data-section="home-clients"] li[data-client-row]:hover ul.hoods.borough-neighborhoods,
  [data-section="home-clients"] li[data-client-row]:focus-within ul.hoods.borough-neighborhoods {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }
}

/* === BOT 2026-11-10 П.8: copper "In stock" shorter (content height), brands card takes the freed height === */
@media (min-width: 768px) {
  [data-section="home-clients"] .licensing-cards-col { grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr) !important; }
  [data-section="home-clients"] .licensing-cards-col > * { height: auto !important; }
  [data-section="home-clients"] .licensing-cards-col .hero-promo-banner {
    flex: 0 0 auto !important;
    height: auto !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
  [data-section="home-clients"] .licensing-cards-col .licensing-card:last-child {
    flex: 1 1 0 !important;
    min-height: 0;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  [data-section="home-clients"] .licensing-cards-col .licensing-card:last-child .brand-chips-wrap {
    padding: 8px 10px !important;
    align-content: flex-start;
  }
  [data-section="home-clients"] .licensing-cards-col .licensing-card:last-child .brand-chips-wrap > * { flex: 0 0 auto !important; }
}
@media (min-width: 768px) and (max-height: 849px) {
  [data-section="home-clients"] .licensing-cards-col { grid-template-rows: auto auto minmax(0, 1fr) !important; gap: 14px !important; }
  [data-section="home-clients"] .licensing-cards-col .licensing-card { padding: 12px 22px !important; }
  [data-section="home-clients"] .licensing-cards-col .hero-promo-banner { padding-top: 10px !important; padding-bottom: 10px !important; }
  [data-section="home-clients"] .licensing-cards-col .licensing-card:last-child .brand-chips-wrap { gap: 4px !important; padding: 6px 8px !important; }
  [data-section="home-clients"] .licensing-cards-col .licensing-card:last-child .brand-chips-wrap > * { padding-top: 5px !important; padding-bottom: 5px !important; min-height: 0 !important; height: auto !important; font-size: 14px !important; }
}

/* === BOT 2026-11-10 П.9: plate 4 full column height, same card look as the others === */
@media (min-width:768px){
  [data-services-section] article[data-service-step="4"]{grid-row:1 / span 3!important;height:100%!important;margin-left:34px!important}
}

/* === BOT 2026-11-10 П.10: Common questions — narrower cards, questions wrap to 2 lines, equal height === */
@media (min-width: 768px) {
  [data-section="home-fix"] .faq-col .faq-accordion-list {
    width: 470px !important;
    max-width: 100% !important;
    align-self: flex-start;
  }
  [data-section="home-fix"] details.faq-item > summary h3 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.3 !important;
  }
}
/* === BOT 2026-11-10 П.11: Guides — one narrower column with its own scroll === */
@media (min-width: 768px) {
  [data-section="home-faq"] .guides-col .guides-grid-list {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 620px !important;
    max-width: 100% !important;
    align-self: flex-start;
  }
}
@media (min-width: 768px) {
  [data-section="home-fix"] .faq-col .faq-accordion-list,
  [data-section="home-faq"] .guides-col .guides-grid-list { padding-right: 4px !important; }
}

/* REDO 2026-11-10 R162: banner + Licensing + Brands одна висота, однакові проміжки */
[data-section="home-clients"] .licensing-cards-col { grid-template-rows: repeat(3, minmax(0, 1fr)) !important; }
[data-section="home-clients"] .licensing-cards-col > * { height: 100% !important; min-height: 0 !important; align-self: stretch !important; }

/* REDO 2026-11-10 R162: вміст третьої плашки (бренди) вміщається в рівну висоту */
[data-section="home-clients"] .licensing-cards-col > .licensing-card:last-child { padding-top: 10px !important; padding-bottom: 10px !important; }
[data-section="home-clients"] .licensing-cards-col > .licensing-card:last-child h3.card-h3 { font-size: 0.8rem !important; letter-spacing: 0.02em !important; margin-bottom: 4px !important; }
[data-section="home-clients"] .licensing-cards-col > .licensing-card:last-child p { font-size: 14px !important; line-height: 1.3 !important; margin-bottom: 6px !important; }
[data-section="home-clients"] .licensing-cards-col > .licensing-card:last-child .brand-chips-wrap { gap: 6px !important; padding: 0 !important; }
[data-section="home-clients"] .licensing-cards-col > .licensing-card:last-child .brand-chips-wrap::after { display: none !important; }

/* === REDO 2026-11-10 R84/R125: FAQ accordion — an opened item was stretched back to the collapsed 55px grid row and its answer clipped.
   Rows size to content; the item keeps its own height (same fix as the Recent-jobs list). Colours untouched. === */
.faq-accordion-list { grid-auto-rows: max-content !important; }
.faq-accordion-list > details.faq-item { align-self: start; }

/* === REDO 2026-11-10 R3: усі заголовки шрифтом логотипу (картки, питання, гіди). Кольори не чіпаємо. === */
ul[data-work-list].rows li[data-work-item-index] h3.work-item-title,
.hero-job-card h3.hero-job-title,
details.faq-item summary h3,
.guide-link-row h3,
.guide-link-row h3 a {
  font-family: var(--font-display) !important;
  font-size: clamp(0.78rem, 0.72rem + 0.22vw, 0.95rem) !important;
  letter-spacing: 0.03em !important;
  font-weight: 600 !important;
}

/* REDO 2026-11-10 R3 (критик №2): h3 у списку проблем Fix it — шрифт логотипу; колір не чіпаємо */
[data-section="home-fix"] li > h3, [data-section="home-fix"] li h3 a, li > h3 > a[style] {
  font-family: var(--font-display) !important;
}
/* Brands: 2px запасу */
[data-section="home-clients"] .licensing-cards-col > .licensing-card:last-child { padding-bottom: 6px !important; }

/* CRITIC-FULL 2026-11-10 R65/R67/R75: усі заголовки плашок — один розмір і колір */
:root { --plate-h-size: var(--fixer-h3); }
h3.card-h3, .borough-row-head h3, .footer-col h3, .hero-promo-title {
  font-family: var(--font-display) !important;
  font-size: var(--plate-h-size) !important;
  letter-spacing: 0.03em !important; font-weight: 600 !important; line-height: 1.25 !important; }
h3.card-h3, .borough-row-head h3, .footer-col h3 { color: var(--copper-deep) !important; }

/* CRITIC-FULL 2026-11-10 R139/R140/R141/R142: однакові відступи і висоти плашок */
[data-section="home-clients"] > .chapter-four-grid > .gw-plate,
[data-section="home-clients"] .gw-plate { padding: var(--plate-pad) !important; }
[data-section="home-heat"] .rules-plate {
  height: 680px !important; min-height: 680px !important; box-sizing: border-box !important;
  display: flex !important; flex-direction: column !important; justify-content: center !important; }
.licensing-cards-col > .licensing-card { padding: var(--plate-pad) !important; box-sizing: border-box !important; }

/* CRITIC-FULL 2026-11-10 R139: стек із трьох карток — однакові відступи 24 з усіх боків, текст трохи менший (R140), плашка районів 48 */
[data-section="home-clients"] .gw-plate:first-child { padding: var(--plate-pad) !important; }
[data-section="home-clients"] .licensing-cards-col > .licensing-card,
[data-section="home-clients"] .licensing-cards-col > .licensing-card:last-child,
[data-section="home-clients"] .licensing-cards-col > .hero-promo-banner {
  padding: 24px !important; box-sizing: border-box !important; }
[data-section="home-clients"] .licensing-card p, [data-section="home-clients"] .licensing-card li { font-size: 0.9rem !important; line-height: 1.35 !important; }
[data-section="home-clients"] .licensing-card h3.card-h3 { margin-bottom: 6px !important; }
[data-section="home-clients"] .brand-chips-wrap { gap: 8px !important; }
[data-section="home-clients"] .licensing-cards-col > .licensing-card,
[data-section="home-clients"] .licensing-cards-col > .licensing-card:last-child,
[data-section="home-clients"] .licensing-cards-col > .hero-promo-banner { padding: 20px !important; }
[data-section="home-clients"] .licensing-card p { margin: 0 0 6px !important; font-size: 0.82rem !important; line-height: 1.3 !important; }
[data-section="home-clients"] .licensing-card h3.card-h3 { margin: 0 0 4px !important; line-height: 1.15 !important; }
[data-section="home-clients"] .brand-chips-wrap { gap: 6px !important; }
[data-section="home-clients"] .gw-plate:has(> ul[data-clients-list]) { padding: var(--plate-pad) !important; }
[data-section="home-clients"] .licensing-cards-col > .licensing-card { gap: 4px !important; justify-content: center !important; }
[data-section="home-clients"] .licensing-card p { font-size: 0.8rem !important; }
/* підвищена специфічність (перебиває старі блоки) */
[data-section="home-clients"][data-section] .chapter-four-grid > .gw-plate.gw-plate:first-child { padding: var(--plate-pad) !important; }
[data-section="home-clients"][data-section] .licensing-cards-col > .licensing-card.licensing-card { gap: 4px !important; justify-content: center !important; padding: 20px !important; }
[data-section="home-clients"][data-section] .licensing-cards-col > .licensing-card.licensing-card p { font-size: 0.8rem !important; line-height: 1.3 !important; margin: 0 !important; }
[data-section="home-clients"][data-section] .licensing-cards-col > .licensing-card.licensing-card h3.card-h3 { margin: 0 !important; }

/* CRITIC-FULL R39/R49/R52: слоган шрифтом логотипу з розрядкою й більшими відступами; лічильник по центру порожнини G, на її горизонтальній лінії */
.year-counter{left:33.5% !important;}
.hero-fit-line{margin-top:18px !important;}
.hero-bottom-row{margin-top:36px !important;}
/* FIXER 2026-11-10 (R39): правило вище перебивалося старим [data-section="loading"] .hero-bottom-row{margin-top:4px} — слоган↔кнопка було 14 px. Тепер той самий відступ, що лого↔слоган (~32/40/44 px на 390/1440/1920). */
[data-section="loading"][data-section] .hero-bottom-row{margin-top:clamp(22px, 2.1vw, 34px) !important;}
/* R65/R67/R75: заголовки плашок у блоці Licensing/банер — той самий розмір, що в усіх */
[data-section][data-section] .licensing-card.licensing-card h3.card-h3.card-h3,
[data-section][data-section] .hero-promo-banner .hero-promo-title.hero-promo-title{font-size:var(--plate-h-size) !important;letter-spacing:0.03em !important;line-height:1.25 !important;}
[data-section="home-clients"][data-section] .licensing-card.licensing-card{padding:16px 20px !important;}
[data-section="home-clients"][data-section] .brand-chips-wrap{gap:4px !important;}
[data-section="home-clients"][data-section] .licensing-cards-col > .licensing-card.licensing-card:last-child{padding:10px 20px !important;gap:2px !important;}
[data-section="home-clients"][data-section] .licensing-cards-col > .licensing-card.licensing-card:last-child p{line-height:1.2 !important;}
/* R65/R67/R75 (критик v3): усі заголовки плашок і карток — один розмір; на темному фоні #B8734E, на мідному банері #0E0E0E */
[data-section] h3.hero-job-title, [data-section] .work-item-title, [data-section] article h3:not(.card-h3){font-size:var(--plate-h-size) !important;letter-spacing:0.03em !important;line-height:1.25 !important;}
[data-section] h3.hero-job-title, [data-section] article h3:not(.card-h3):not(.work-item-title){color:var(--copper-deep) !important;}
[data-section][data-section] .work-card-head .work-item-title.work-item-title,
[data-section][data-section] .guide-link-row.guide-link-row h3{font-size:var(--plate-h-size) !important;letter-spacing:0.03em !important;line-height:1.25 !important;}
[data-section][data-section] .guide-link-row.guide-link-row h3{color:var(--copper-deep) !important;}

/* === FIXER 2026-11-10 §5а (виправлено за правилом Аліси 2026-11-08, gw-site-typography-rules):
   УСІ заголовки h1–h4 — один шрифт «GW Syncopate Wide» 600 CAPS (як великі заголовки). Малі заголовки на плашках — мідні #B8734E,
   22px на комп'ютері (пропорційно менше на телефоні), великі — світлі. Заголовки на кольорових плашках Red/Blue/Grey (.work-item-title) — чорні (R84). === */
:root { --fixer-h3: 16px; } /* 2026-11-12 STANDARD v4 (Alisa): secondary headings 16px on desktop, 18px on phone (mobile.css). Do not change without her request. */
:root:root:root h3.card-h3,
:root:root:root h2:not(.section-h2):not(.footer-giant-heading):not(.hero-promo-title),
:root:root:root .borough-row-head h3,
:root:root:root .footer-col h3,
:root:root:root .footer-col p.footer-col-title,
:root:root:root [data-section] article h3:not(.card-h3):not(.work-item-title):not(.hero-job-title),
:root:root:root .hero-job-card h3.hero-job-title,
:root:root:root [data-section="home-fix"] li > h3,
:root:root:root [data-section="home-fix"] li h3 a,
:root:root:root details.faq-item summary h3,
:root:root:root .guide-link-row h3,
:root:root:root .guide-link-row h3 a,
:root:root:root [data-section] h3 a.to-link-underline,
:root:root:root h4,
:root:root:root .prose-content h3,
:root:root:root .prose-content h4,
:root:root:root [data-section][data-section] .licensing-card.licensing-card h3.card-h3.card-h3 {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  font-size: var(--fixer-h3) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.25 !important;
  color: var(--copper-deep) !important;
  -webkit-text-fill-color: var(--copper-deep) !important;
}
/* назви на кольорових плашках — той самий шрифт, колір чорний (R84) */
:root:root:root h3.work-item-title {
  font-family: var(--font-display) !important; font-weight: 600 !important; text-transform: uppercase !important;
  font-size: var(--fixer-h3) !important; letter-spacing: 0.02em !important; line-height: 1.25 !important;
}

/* === FIXER 2026-11-10: номер телефону не ламається на два рядки (було «646-980-/2411» у плашці Guides).
   Guides лишаються однією колонкою зі скролом — так просила Аліса (R190). === */
:root:root:root a[href^="tel:"] { white-space: nowrap !important; }

/* FIXER 2026-11-10 (R166/R168): назва роботи в картці — заголовок пункту 22px, щоб довгі слова не обрізались краєм картки */
[data-works-card] .section-h2 { font-size: var(--fixer-h3) !important; line-height: 1.25; overflow-wrap: normal; }

/* FIXER 2026-11-10 (R139/R141/R194): однаковий відступ тексту до границь з усіх боків — як у FAQ-пунктах (16px).
   Було: картки Guides 6px 12px, контакти у футері 0 (текст впритул до рамки). */
[data-section][data-section] li.guide-link-row.guide-link-row { padding: 16px !important; }
.footer-contact-item.footer-contact-item { padding: 12px 16px !important; box-sizing: border-box; }

/* FIXER 2026-11-10 (R139/R141): у плашці районів 48px були прописані жорстко (рядки вище) — замінено на var(--plate-pad): 48 на комп'ютері, 28 на телефоні */

/* === BODY TEXT, ONE STYLE (2026-11-10): everything that is not a heading = the reference paragraph. Colours are left alone. Size: 14px on desktop and tablet (Alisa 2026-11-11: «Головний, основний текст – 14»); phone is 14px too (Alisa 2026-11-11: «Теж 14», mobile.css), only typed-in fields stay 16px there. === */
:root:root:root body :where(a, span, strong, b, em, label, legend, button, li, p, small, dt, dd, td, th, summary, figcaption, input, textarea, select, div.text-small):not(:is(h1, h2, h3, h4, h5, h6, .footer-giant-heading, .hero-fit-line, .hero-promo-title, .borough-title-link, .scroll-cue, .gw-back-chevrons, .year-strip-cell) *):not(h1, h2, h3, h4, h5, h6, .why-gw-list strong, .why-gw-note, .footer-giant-heading, .hero-fit-line, .hero-promo-title, .borough-title-link, .scroll-cue, .gw-back-chevrons, .year-strip-cell, .section-h2, .card-h3, .to-link-underline.card-link-heading) {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 1.45 !important;
}
:root:root:root a:not([class]) { color: var(--ink) !important; text-decoration: underline; }
:root:root:root .scroll-cue { font-family: var(--font-display) !important; font-weight: 600 !important; }
@media (max-width: 767px) {
  :root:root:root body :where(a, span, strong, b, em, label, legend, button, li, p, small, dt, dd, td, th, summary, figcaption, input, textarea, select, div.text-small):not(:is(h1, h2, h3, h4, h5, h6, .footer-giant-heading, .hero-fit-line, .hero-promo-title, .borough-title-link, .scroll-cue, .gw-back-chevrons, .year-strip-cell) *):not(h1, h2, h3, h4, h5, h6, .why-gw-list strong, .why-gw-note, .footer-giant-heading, .hero-fit-line, .hero-promo-title, .borough-title-link, .scroll-cue, .gw-back-chevrons, .year-strip-cell, .section-h2, .card-h3) { font-size: var(--fs-body) !important; }
}

/* titles on coloured plates: same heading font, caps, black (R84) */
:root:root:root ul[data-work-list].rows li[data-work-item-index] h3.work-item-title.work-item-title,
:root:root:root [data-section][data-section] .work-card-head .work-item-title.work-item-title {
  text-transform: uppercase !important;
  font-size: var(--fixer-h3) !important;
  letter-spacing: 0.02em !important;
}

/* === FIXER 2026-11-10 (Fix it / Guides): plates narrower, same height, no empty space; rows in text font === */
@media (min-width: 768px) {
  [data-section="home-fix"], [data-section="home-faq"] {
    flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; max-width: none !important;
  }
  [data-section="home-fix"] article[data-service-fix] {
    width: calc(var(--plate-pad) * 2 + 440px + var(--plate-gap) + 470px + 4px) !important;
    max-width: calc(100vw - 2 * var(--plate-gap)) !important;
  }
  [data-section="home-fix"] article[data-service-fix] > div {
    grid-template-columns: 440px 474px !important;
  }
  [data-section="home-faq"] > .gw-plate {
    width: min(calc(var(--plate-pad) * 2 + 620px + 12px), calc(100vw - 2 * var(--plate-gap))) !important;
  }
  :root:root:root:root [data-section="home-fix"] .fix-col li > h3,
  :root:root:root:root [data-section="home-fix"] .fix-col li h3 a {
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.35 !important;
  }
  [data-section="home-fix"] .fix-col li { min-height: 64px; display: flex; align-items: center; }
  [data-section="home-fix"] .fix-col li > h3 { margin: 0; }
}

/* FIXER 2026-11-10: Fix it rows — text font on every width (mobile too) */
:root:root:root:root:root [data-section="home-fix"] .fix-col li > h3,
:root:root:root:root:root [data-section="home-fix"] .fix-col li h3 a {
  font-family: var(--font-sans) !important; font-size: 14px !important; font-weight: 400 !important;
  text-transform: none !important; letter-spacing: normal !important; line-height: 1.35 !important;
}
[data-section="home-fix"] .fix-col li > h3 { max-width: none !important; width: 100% !important; }

/* FIXER 2026-11-10: Recent jobs on phones — smaller photo so long words in titles do not break */
@media (max-width: 767px) {
  :root:root:root [data-section="home-about"] .hero-job-card-top { grid-template-columns: 72px minmax(0,1fr) !important; gap: 10px !important; }
  :root:root:root [data-section="home-about"] .hero-job-card .work-item-media { width: 72px !important; height: 56px !important; }
  :root:root:root [data-section="home-about"] .hero-job-card .work-item-title { overflow-wrap: normal !important; word-break: normal !important; hyphens: none !important; }
}

/* HERO-VIDEO 2026-11-10 (Аліса): лічильник років кольором лого з градієнтом і не більший за горизонтальну риску G.
   Риска G у gw-logo-hero.png: x 332..540 з 1234 (16.9% ширини лого), колір 142,102,89 -> 165,119,104 -> 213,156,139.
   Ширина "2026" = ширина риски; висота клітинки = висота рядка, бо JS гортає стрічку у відсотках. */
.name-logo-row .year-counter{width:16.9cqw !important;height:var(--gw-year-h) !important;transform:translate(calc(-50% + 1.8cqw),-50%) !important}
.name-logo-row{--gw-year-fs:6.2cqw;--gw-year-h:7cqw}
.name-logo-row .year-strip-cell{height:var(--gw-year-h) !important;flex:0 0 var(--gw-year-h) !important;font-size:var(--gw-year-fs) !important;color:transparent !important;background:linear-gradient(90deg,#8E6659 0%,#A57768 48%,#D59C8B 100%) !important;-webkit-background-clip:text !important;background-clip:text !important}

/* === 2026-11-10 Fix it: no empty gap above the button; plate shrinks to its content (rows keep their height) === */
@media (min-width: 768px) {
  :root:root:root [data-section="home-fix"] .fix-col > a.btn { margin-top: 10px !important; }
  :root:root:root [data-section="home-fix"] article[data-service-fix] { height: auto !important; min-height: 0 !important; max-height: none !important; align-self: center; }
  :root:root:root [data-section="home-fix"] article[data-service-fix] > div { height: auto !important; align-items: start; }
  :root:root:root [data-section="home-fix"] .fix-col { height: auto !important; }
}

/* === 2026-11-10 Recent jobs (Alisa, final): 2x2, photo LEFT as large as the card allows (whole 4:3), text to the RIGHT of the photo === */
@media (min-width: 768px) {
  :root:root:root [data-section="home-about"] .hero-job-card { display: flex !important; flex-direction: column !important; height: 100% !important; min-height: 0 !important; padding: 8px 12px !important; }
  :root:root:root [data-section="home-about"] .hero-job-card-top {
    display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; grid-template-rows: minmax(0, 1fr) !important;
    gap: 14px !important; align-items: center !important; height: 100% !important; min-height: 0 !important;
  }
  :root:root:root [data-section="home-about"] .hero-job-card .work-item-media {
    width: auto !important; max-width: none !important; height: 100% !important; max-height: none !important; min-height: 0 !important;
    aspect-ratio: 4 / 3 !important; object-fit: cover !important; justify-self: start !important; align-self: stretch !important;
  }
  /* header row: Contact Us + gauge start at the top edge of the heading text */
  :root:root:root [data-section="home-about"] .about-plate-head-row { align-items: flex-start !important; }
  :root:root:root [data-section="home-about"] .about-plate-head-row > div:last-child { align-items: flex-start !important; }
}
/* narrow desktops (<1440): plate is shorter, so the photo is limited by text height instead of filling the card */
@media (min-width: 768px) and (max-width: 1439px) {
  :root:root:root [data-section="home-about"] .hero-job-card-top { gap: 12px !important; }
  :root:root:root [data-section="home-about"] .hero-job-card .work-item-media { width: 84px !important; height: auto !important; align-self: center !important; }
}

/* 2026-11-10 mobile hero (Alisa: «щоб труби пішли вниз по боках»): phones play the portrait clips
   *-mobile.mp4 (714x1546, layout.mjs <source media>), so the stage is centred, not anchored at 90 %. */
@media (max-width: 767px) {
  #gw-video-stage,
  .gw-video-stage {
    background-image: url("../media/hero-pipes-mobile-light.webp?v=light20261119") !important;
    background-position: center center !important;
  }
  .gw-stage-video {
    object-position: center center !important;
  }
}
/* === 2026-11-10 Recent jobs, tweak (coordinator/Alisa): smaller titles, one spacing value (12px) on all sides, phone = photo on top === */
@media (min-width: 768px) {
  :root:root:root [data-section="home-about"] .hero-job-card { padding: 12px !important; }
  :root:root:root [data-section="home-about"] .hero-job-card-top { gap: 12px !important; }
  :root:root:root [data-section="home-about"] .hero-job-card .hero-job-title { font-size: var(--fixer-h3) !important; line-height: 1.25 !important; }
  :root:root:root [data-section="home-about"] .hero-job-card .meta-label { font-size: 14px !important; }
}
@media (min-width: 768px) and (max-width: 1439px) {
  :root:root:root [data-section="home-about"] .hero-job-card .work-item-media { width: auto !important; height: 100% !important; align-self: stretch !important; }
}
@media (max-width: 767px) {
  :root:root:root [data-section="home-about"] .hero-job-card { padding: 12px !important; }
  :root:root:root [data-section="home-about"] .hero-job-card-top { grid-template-columns: minmax(0,1fr) !important; gap: 12px !important; align-items: start !important; }
  :root:root:root [data-section="home-about"] .hero-job-card .work-item-media { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 4 / 3 !important; }
}
:root:root:root [data-section="home-about"] .hero-job-card { gap: 0 !important; }

/* === 2026-11-10 Recent jobs: roles swapped — place line = small heading (h3), job name = body text (p) === */
:root:root:root [data-section="home-about"] .hero-job-card .hero-job-name {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important; font-size: 14px !important; font-weight: 400 !important;
  line-height: 1.45 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; margin: 0 !important;
}
:root:root:root [data-section="home-about"] .hero-job-card .hero-job-title { margin: 0 !important; }

/* === 2026-11-10 Fix it: the 4 rows are full cards identical to the Guides cards (same li.guide-link-row), scrollable list like Guides === */
@media (min-width: 768px) {
  [data-section="home-fix"] .fix-col .guides-grid-list {
    list-style: none; padding: 0 4px 0 0 !important; margin: 0; display: grid;
    grid-template-columns: minmax(0, 1fr) !important; row-gap: 12px !important; width: 100% !important;
  }
  :root:root:root [data-section="home-fix"] article[data-service-fix] { width: calc(var(--plate-pad) * 2 + 606px + var(--plate-gap) + 470px + 4px) !important; }
  :root:root:root [data-section="home-fix"] article[data-service-fix] > div { grid-template-columns: 606px 474px !important; }
}
@media (min-width: 768px) {
  :root:root:root [data-section="home-fix"] .fix-col .guides-grid-list { flex: 1 1 0 !important; height: 0; min-height: 0; overflow-y: auto; align-content: start; }
}
:root:root:root:root:root:root [data-section="home-fix"] .fix-col li.guide-link-row { background-color: var(--bg) !important; min-height: 0 !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: center !important; }
:root:root:root:root:root:root [data-section="home-fix"] .fix-col li.guide-link-row > h3,
:root:root:root:root:root:root [data-section="home-fix"] .fix-col li.guide-link-row > h3 a {
  font-family: var(--font-display) !important; font-size: var(--fixer-h3) !important; font-weight: 600 !important; text-transform: uppercase !important;
  line-height: 27.5px !important; letter-spacing: normal !important; color: var(--copper-deep) !important; -webkit-text-fill-color: var(--copper-deep) !important;
}
:root:root:root:root:root:root [data-section="home-fix"] .fix-col li.guide-link-row > h3 { margin: 0 0 2px 0 !important; width: auto !important; }
@media (min-width: 768px) {
  /* list keeps exactly the height of the old 4 rows (4 x 64px + 3 gaps), so the Fix it plate height is unchanged */
  :root:root:root [data-section="home-fix"] .fix-col .guides-grid-list { flex: 0 0 auto !important; height: calc(4 * 64px + 3 * var(--sp-2)) !important; overflow-y: auto; }
  :root:root:root [data-section="home-fix"] .fix-col li.guide-link-row { flex: none; }
}
@media (min-width: 768px) {
  :root:root:root [data-section="home-fix"] article[data-service-fix] { width: calc(var(--plate-pad) * 2 + 620px + var(--plate-gap) + 470px + 4px) !important; }
  :root:root:root [data-section="home-fix"] article[data-service-fix] > div { grid-template-columns: 620px 474px !important; }
  :root:root:root [data-section="home-fix"] .fix-col .guides-grid-list { width: 620px !important; max-width: none !important; row-gap: 10px !important; overflow-y: scroll; }
}
@media (max-width: 767px) {
  :root:root:root:root:root:root:root [data-section="home-fix"] .fix-col li.guide-link-row > h3,
  :root:root:root:root:root:root:root [data-section="home-fix"] .fix-col li.guide-link-row > h3 a { font-size: var(--fixer-h3) !important; line-height: 25px !important; } /* phone secondary headings 20px (Alisa 2026-11-11); was 17.345px */
  :root:root:root:root:root:root:root [data-section="home-fix"] .fix-col li.guide-link-row { min-height: 0 !important; }
  [data-section="home-fix"] .fix-col .guides-grid-list { padding-right: 6px; }
}

/* Logic review 2026-11-10: "Why New York calls GW" trust block (home-why) */
.why-gw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-1);
  text-align: center;
}
/* 2026-11-20 (Alisa): no outlined pills / bullets; centred bold heading with a colon, the explanation on its own line, smaller and grey */
.why-gw-list li {
  position: relative;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: none;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.why-gw-list strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.why-gw-list .why-gw-note {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
  color: #6B6B6B;
}
[data-placeholder="needs-data-from-alex"] {
  outline: 1px dashed #B8734E;
  outline-offset: -8px;
}
/* Hidden by default (also without JavaScript); shown only when config sets showDataPlaceholders: true. */
html:not(.gw-show-placeholders) [data-placeholder] { display: none !important; }

/* === 2026-11-10 no empty space in cards: Fix it + Guides cards and the Common-questions cards follow their content (app.js sets equal inline heights; !important here wins), content starts at the top, equal 16px padding === */
:root:root:root:root:root:root:root:root li.guide-link-row {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
  justify-content: flex-start !important;
}
:root:root:root:root:root:root:root:root ul.guides-grid-list { grid-template-rows: none !important; grid-auto-rows: max-content !important; align-content: start !important; }
@media (min-width: 768px) {
  :root:root:root:root:root:root:root:root [data-section="home-fix"] details.faq-item {
    height: auto !important;
    min-height: 0 !important;
  }
}

/* === PASS 2 (2026-11-11) T1: markdown tables in guides and brand pages (md.mjs renderTable) ===
   Wrapper scrolls sideways on narrow screens; the page itself never does. No outer contour line.
   Cells = body text (Plus Jakarta Sans, 14px, beige); header cells = body font 600, copper #B8734E (not a heading font). */
.prose-content .md-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin-top: var(--sp-4);
}
.prose-content .md-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  border: 0;
  text-align: left;
}
.prose-content .md-table th,
.prose-content .md-table td {
  padding: 12px 16px 12px 0;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid rgba(184, 115, 78, .25);
  max-width: none;
}
.prose-content .md-table tr > :last-child { padding-right: 0; }
.prose-content .md-table tbody tr:last-child > * { border-bottom: 0; }
:root:root:root:root:root:root:root:root .prose-content .md-table td {
  font-family: var(--font-sans) !important;
  color: var(--ink) !important;
}
:root:root:root:root:root:root:root:root .prose-content .md-table th {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  color: var(--copper-deep) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* === PASS 2 (2026-11-11) T3: home order, 8 service cards, facts strip, licensing in "Why New York calls GW" ===
   No new fonts or colours: body = var(--font-sans) / var(--fs-body) / #E8D9CA, dot = copper #B8734E. */
[data-section="home-about"] .home-facts-strip {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
[data-section="home-about"] .home-facts-strip .home-facts-dot { color: var(--copper-deep); }
[data-section="home-work"] .home-work-after {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  flex: 0 0 auto;
}
[data-section="home-work"] .home-work-after p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--ink);
}
@media (min-width: 768px) {
  /* the list no longer takes the whole panel height: the text links sit under the 8 cards inside the panel */
  :root [data-section="home-work"] ul[data-work-list] {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 1 1 0 !important;
  }
}
[data-section="home-why"] .home-why-side {
  display: flex;
  flex-direction: column;
  gap: var(--plate-gap);
  min-width: 0;
}
[data-section="home-why"] .home-why-side > .licensing-card { box-sizing: border-box; }
/* home-clients keeps two cards (truck stock + brands): two rows, no empty third row */
:root [data-section="home-clients"] .licensing-cards-col { grid-template-rows: repeat(2, minmax(0, 1fr)) !important; }
/* K8 2026-11-11 — rhythm: heading→text 24, heading→image 30, nested plates 16 (Alisa) */
@layer gw-rhythm {
  /* ===== A. heading → text = 24 (all widths) ===== */
  .prose-content :is(h2, h3) + :is(p, ul, ol, .md-table-wrap, .rules-plate, .prose-card-item) { margin-top: 24px !important; } /* was 16 */
  .prose-card-item > a > h3 + p { margin-top: 24px !important; } /* was 16 (/brands/), 8 (/services/) */
  [data-section="about-hero"] .gw-plate > div:first-child { margin-bottom: 24px !important; } /* was 8 */
  [data-section="about-hero"] .gw-plate > p.lede { margin-top: 0 !important; }
  .contact-intro h1 + p.lede { margin-top: 24px !important; } /* was 16 */
  [data-section="works-all"] a[data-works-card-link] > h2.section-h2 { margin-bottom: 24px !important; } /* was 12 */
  [data-section="home-work"] .chapter-two-sidebar { justify-content: flex-start !important; } /* was space-between */
  [data-section="home-work"] .sidebar-head-row { margin-bottom: 14px !important; } /* +gap 10 */
  [data-section="home-work"] [data-work-preview] { margin-top: auto !important; }
  [data-section="home-work"] ul[data-work-list].rows p.work-item-desc { margin-top: 20.7px !important; } /* was 6 (head→desc measured 9.3) */
  [data-services-section] .chapter-three-intro .gw-plate { justify-content: flex-start !important; }
  [data-services-section] .service-intro-gauge-row .section-h2 { margin-bottom: 0 !important; } /* was 12 */
  [data-services-section] .service-intro-gauge-row { margin-bottom: 14px !important; } /* gap 10 + 14 */
  [data-services-section] .chapter-three-intro .rules-plate { margin-top: auto !important; }
  /* K11 2026-11-12 (Аліса: «вирівняй по центру плашки»): on desktop the bottom pin comes from the two auto margins in the K11 block (gauge row margin-top, intro p margin-bottom); a third auto here would split the space in three. Must live in this layer: !important in an earlier layer beats gw-display. */
  @media (min-width: 768px) { [data-services-section] .chapter-three-intro .rules-plate { margin-top: 0 !important; } }
  [data-services-section] article[data-service-step] h3.card-h3 { margin-bottom: 24px !important; } /* was 4 / 12 */
  [data-section="home-why"] .gw-plate > h2.section-h2 { margin-bottom: 24px !important; } /* was 8 */
  [data-section="home-why"] .licensing-card > div:first-child { margin-bottom: 24px !important; } /* heading taller than the gauge */
  [data-section="home-faq"] .guides-col > h2.section-h2 { margin-bottom: 16px !important; } /* gap 8 / 10 phone */
  .guide-link-row > h3 { margin-bottom: 24px !important; } /* was 2 */
  .guide-link-row > p { margin-top: 0 !important; }
  [data-section="home-fix"] details.faq-item .faq-answer { margin-top: 24px !important; } /* was 4 / 8 */
  [data-section="home-faq"] .faq-bottom-cta-bar h2.section-h2 + p { margin-top: 24px !important; } /* was 0 */
  @media (min-width: 1140px) {
    [data-section="home-why"] .licensing-card > div:first-child { margin-bottom: 19.5px !important; } /* gauge 64 taller than a two-line heading by 4.5 */
  }
  /* ===== B. nested plates inside a big plate: gap 16 both directions ===== */
  ul.guides-grid-list,
  ul.fix-problems-list.guides-grid-list { row-gap: 16px !important; column-gap: 16px !important; }
  .faq-accordion-list.faq { row-gap: 16px !important; column-gap: 16px !important; }
  .hero-jobs-grid { row-gap: 16px !important; column-gap: 16px !important; }
  /* ===== D. fixed-height panels (home, /about/): rules that add height apply only where the panel has room ===== */
  /* D1: phone flow, or desktop panel at viewport height 800+ (below that the home panels clip) */
  @media (max-width: 767px), (min-width: 1280px) and (min-height: 800px) {
    [data-section="home-about"] h3.hero-job-title { margin-bottom: 22px !important; } /* gap 2 */
    [data-section="home-clients"] .borough-row-head > p.zip-code { margin-top: 18px !important; } /* gap 6 */
    [data-section="home-fix"] .fix-col > h2.section-h2 { margin-bottom: 14px !important; } /* gap 10 */
    [data-section="home-clients"] .chapter-four-grid > .gw-plate > div > h2.section-h2 { margin-bottom: 12px !important; } /* gap 12 */
    ul[data-clients-list] { row-gap: 16px !important; column-gap: 16px !important; } /* nested plates 16 */
  }
  /* D2: phone flow or desktop 1280+; tablet widths 768–1279 already overflow in the original */
  @media (max-width: 767px), (min-width: 1280px) {
    [data-section="home-about"] h1.hero-h1.lede { margin-bottom: 20px !important; } /* gap 4 */
    [data-section="home-about"] .home-about-jobs-block > div:first-child > h2.section-h2 { margin-bottom: 16px !important; } /* gap 8 */
    [data-section="home-clients"] h2.hero-promo-title { margin-bottom: 20px !important; } /* gap 4 */
    [data-section="home-clients"] .licensing-card > h3.card-h3 { margin-bottom: 22px !important; } /* gap 2 */
    [data-section="introduce-philosophy"] .gw-plate > h2.section-h2 { margin-bottom: 24px !important; } /* was 8 */
    [data-section="introduce-philosophy"] .gw-plate > h2.section-h2 + p { margin-top: 0 !important; } /* was 16 on top of the heading margin */
    [data-section="introduce-philosophy"] .gw-plate h3.card-h3 { margin-bottom: 24px !important; } /* was 4 */
  }
  /* D3: /about/ credentials plate (+48 px in a fixed-height panel) */
  @media (max-width: 767px), (min-width: 1440px) and (min-height: 840px), (min-width: 1280px) and (min-height: 940px) {
    [data-section="about-credentials"] .gw-plate > h2.section-h2 { margin-bottom: 24px !important; } /* was 8 */
    [data-section="about-credentials"] h3.card-h3 + p { margin-top: 24px !important; } /* was 16 */
  }
  /* ===== C. phone only (max-width 767) ===== */
  @media (max-width: 767px) {
    [data-section="home-work"] .sidebar-head-row .section-h2 { margin-bottom: 30px !important; } /* heading → gauge graphic; was 12 */
    [data-section="home-work"] .sidebar-head-row { margin-bottom: 0 !important; }
    [data-section="home-work"] ul[data-work-list].rows p.work-item-desc { margin-top: 24px !important; } /* was 6 */
    [data-services-section] .service-intro-gauge-row .section-h2 { margin-bottom: 24px !important; }
    [data-services-section] .service-intro-gauge-row { margin-bottom: 0 !important; }
    [data-section="home-clients"] .borough-row-head > p.zip-code { margin-top: 20px !important; } /* gap 4 */
    [data-section="home-clients"] .licensing-card > h3.card-h3 { margin-bottom: 24px !important; }
    [data-section="home-faq"] .guides-col > h2.section-h2 { margin-bottom: 14px !important; } /* gap 10 */
    [data-section="home-heat"] .rules-plate { gap: 24px !important; } /* was 16 on phone */
    [data-section="works-all"] .gw-plate > div:first-child { margin-bottom: 8px !important; } /* gap 16 + 8 */
    .gw-m-urgent .faq-bottom-cta-bar h2.section-h2 + p { margin-top: 22px !important; } /* gap 2 */
  }
}
/* K9 2026-11-11 — two buttons on one line: equal width and height; gauge next to a button = button height (Alisa) */
@layer gw-buttons {
  /* desktop (1024+): both buttons take the width of the wider one */
  @media (min-width: 1024px) {
    .cta-row:has(> .btn:first-child:nth-last-child(2) + .btn) { display: grid !important; grid-template-columns: 1fr 1fr !important; width: fit-content !important; max-width: 100% !important; align-items: stretch !important; justify-content: start !important; }
    .cta-row > .btn:first-child:nth-last-child(2),
    .cta-row > .btn:first-child:nth-last-child(2) + .btn { justify-content: center !important; text-align: center !important; }
  }
  /* tablet and phone: equal halves on one line when both labels fit, otherwise one under another at full width */
  @media (max-width: 1023px) {
    .cta-row > .btn:first-child:nth-last-child(2),
    .cta-row > .btn:first-child:nth-last-child(2) + .btn { flex: 1 1 calc(50% - 6px) !important; min-width: max-content !important; justify-content: center !important; text-align: center !important; }
  }
  @media (max-width: 767px) {
    .cta-row > .btn:first-child:nth-last-child(2),
    .cta-row > .btn:first-child:nth-last-child(2) + .btn { padding-inline: 12px !important; } /* was 18: keeps three of four pairs on one line at 375 */
    /* bottom call bar: was 148.5 / 184.5 (flex-basis 0 plus unequal padding) */
    .gw-m-bar > a:first-child:nth-last-child(2),
    .gw-m-bar > a:first-child:nth-last-child(2) + a { flex: 0 0 calc(50% - 5px) !important; }
  }
  /* home hero: gauge beside the Contact Us button — same height as the button (was 48 desktop / 64 phone) */
  [data-section="home-about"] .about-plate-head-row .gw-pressure-gauge { width: var(--btn-h) !important; height: var(--btn-h) !important; }
  @media (max-width: 767px) {
    [data-section="home-about"] .about-plate-head-row .gw-pressure-gauge { width: 48px !important; height: 48px !important; }
  }
}

/* === K10 2026-11-11 (Аліса) ===
   1) «more і projects повинно бути великим шрифтом заголовковим. Воно чомусь змінено на маленький текст.»
   2) «зроби шрифт в цих плашках де окремі види, що ми фіксаємо … Давай 18.»
   3) «all 23 services не треба так робити. В правому куті нижньому напиши show all і зроби це мідним, з підсвіченням.» */
@layer gw-display {
  [data-more-work-more], [data-more-work-work] { font-family: var(--font-display) !important; font-weight: 600 !important; font-size: var(--t-display) !important; line-height: 1 !important; text-transform: uppercase !important; }
  @media (min-width: 768px) {
    [data-section="home-work"] h3.work-item-title { font-size: var(--fixer-h3) !important; } /* K11 2026-11-12 (Аліса): «зроби на 2 пункти меншим» — was 18 */
  }
  [data-section="home-work"] .home-work-after { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: baseline !important; gap: 6px 16px !important; }
  [data-section="home-work"] .home-work-after > p:first-child { order: 2 !important; margin-left: auto !important; }
  [data-section="home-work"] .home-work-after a.home-show-all { color: var(--copper-deep) !important; text-shadow: 0 0 10px rgba(184, 115, 78, 0.65), 0 0 22px rgba(184, 115, 78, 0.35) !important; }
}

/* === K11 2026-11-12 (Аліса) ===
   1) «HOW A SERVICE CALL WORKS / The same process whether it is 2pm or 2am. Оцей блок вирівняй по центру плашки.»
      The heading row (h2 + gauge) and the sentence sit centred in the plate, both axes; the gas rules stay pinned to the bottom.
   2) «show all під ними зроби трохи вище, щоб було його добре видно, і підсвіти свіченням.» */
@layer gw-display {
  @media (min-width: 768px) {
    [data-services-section] .chapter-three-intro .gw-plate .service-intro-gauge-row { justify-content: center !important; margin-top: auto !important; }
    [data-services-section] .chapter-three-intro .gw-plate .service-intro-gauge-row .section-h2 { flex: 0 1 auto !important; text-align: center !important; }
    [data-services-section] .chapter-three-intro .gw-plate > p[data-reveal-line] { text-align: center !important; margin-bottom: auto !important; }
    [data-section="home-work"] .home-work-after > p:first-child { position: relative !important; top: -22px !important; }
  }
  [data-section="home-work"] .home-work-after a.home-show-all { text-shadow: 0 0 4px rgba(212, 137, 94, 0.95), 0 0 12px rgba(184, 115, 78, 0.85), 0 0 28px rgba(184, 115, 78, 0.55) !important; }
}

/* PIPES-6 2026-11-12 (Alisa: «vsi 6 trub mae buty vydno»; unlock «Так, відкрити»). Desktop only.
   The stage starts under the 60px header and is never wider than the six pipe rows need
   (1190 / 666 = 1.7868 of its height), so all six rows of the 1190x714 clips stay on screen at any
   window shape. Videos keep cover + right anchor, nothing is stretched. Media files are untouched. */
@media (min-width: 768px) {
  html body #gw-video-stage,
  html body .gw-video-stage {
    inset: auto !important;
    top: var(--header-h) !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    height: calc(100dvh - var(--header-h)) !important;
    width: min(100%, calc((100dvh - var(--header-h)) * 1.7868)) !important;
    max-width: 100% !important;
  }
  /* v8 2026-11-12: the gradient shade on the left edge is removed (Alisa: «takozh zyavylas yakas tin yaku ya ne prosyla zliva»). */
}

/* 2026-11-12 (Alisa): wide windows — the empty black strip left of the hero video is filled with the poster's left edge mirrored (seamless: pipe rows are horizontal). No gradient, no shade. Video box and six pipe rows unchanged. */
@media (min-width:768px){
  html body #gw-video-stage{width:100%!important}
  /* v9 2026-11-12 (Alisa chose «Розтягнути відео на всю ширину»): the mirrored poster and the live mirror are removed — mid-scroll they doubled the boiler. The videos now fill the full stage width; height keeps the six pipe rows. */
  html body #gw-video-stage video.gw-stage-video,
  html body #gw-video-stage video[data-stage-chain]{left:0!important;right:0!important;width:100%!important;height:100%!important;object-fit:fill!important}
}

/* 2026-11-12: the hero video is scroll-scrubbed, so a static poster does not match its frame. Wide windows: mirror the LIVE video into the empty left strip (seamless at every frame). Chrome/Safari; elsewhere the poster filler above stays as fallback. */
/* v9 2026-11-12: the live mirror rule (-webkit-box-reflect) is removed, see above. Do not bring it back. */

/* 2026-11-12 (Alisa): contact popover h3 joins the single secondary-heading size; font-size only */
:root:root:root h3.contact-h2 { font-size: var(--fixer-h3) !important; }

/* 2026-11-12 (Alisa): the "Licensing and insurance" card is removed from the home-why block. Its side column held only that card
   (the placeholder plate is hidden), so the facts plate takes the whole row: one column, same gap and paddings as every other panel. */
@media (min-width: 768px) {
  html:not(.gw-show-placeholders) [data-section="home-why"] .chapter-one-grid { grid-template-columns: minmax(0, 1fr); }
  html:not(.gw-show-placeholders) [data-section="home-why"] .home-why-side { display: none; }
}

/* 2026-11-12 (Alisa: «зроби плашку вужчою по ширині тексту і високою по висоті сусідніх плашок»): the "Why New York calls GW Mechanical"
   card is as wide as its text (widest line + the normal card padding) and exactly as tall as the neighbouring cards (--panel-h);
   the facts are spread over that height like the rows of the other cards. The panel shrinks to the card (same as Fix it / Guides),
   so there is no empty strip. Desktop only: on a phone the block is stacked and is left as it was. */
@media (min-width: 768px) {
  html:not(.gw-show-placeholders) [data-section="home-why"] {
    flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; max-width: none !important;
  }
  html:not(.gw-show-placeholders) [data-section="home-why"] .chapter-one-grid {
    height: var(--panel-h); min-height: var(--panel-h); max-height: var(--panel-h) !important;
    align-items: stretch; grid-template-columns: max-content;
  }
  html:not(.gw-show-placeholders) [data-section="home-why"] .chapter-one-grid > .gw-plate {
    width: max-content !important; max-width: calc(100vw - 2 * var(--plate-gap)) !important;
    height: var(--panel-h); min-height: var(--panel-h); max-height: var(--panel-h);
    padding: var(--plate-pad) !important;
    display: flex; flex-direction: column; box-sizing: border-box;
  }
  html:not(.gw-show-placeholders) [data-section="home-why"] .why-gw-list {
    flex: 1 1 auto; align-content: space-between;
  }
}

/* 2026-11-12 (Alisa): the four "Work we have done recently" photos as large as the card allows. Card padding (12), column gap (12),
   grid gap (16) and the row height stay as they are; the box gets wider (16:9 instead of 4:3, same height, same object-fit), the text column
   gives up that width. 16:9 is the widest box at which all four titles still fit their card at 1440 and 1512 wide; below 1440 the text column is
   already full (titles clip at 1280 and 1024 even with 4:3), so there the box stays 4:3. */
@media (min-width: 1440px) {
  :root:root:root [data-section="home-about"] .hero-job-card .work-item-media { aspect-ratio: 16 / 9 !important; }
}

/* 2026-11-12 (Alisa): licence + insurance line under "Licensed 24/7 ..." in the Hero name block.
   The line is an ordinary paragraph (body font, 14px, default paragraph colour); app.js sets its size and
   stretches each line with letter-spacing to the width of the Licensed line.
   --hk is ONE common factor for the whole name block (set by app.js on [data-hero-name], 1 = old size).
   Logo, year counter and Licensed line scale with the logo width in app.js; here the fixed pixel gaps,
   the button and the Scroll cue are multiplied by the same factor, so proportions do not move. */
:root:root:root [data-section="loading"] .hero-license-line { margin: 0; text-transform: none; white-space: nowrap; line-height: 1.45; text-align: left; }
:root:root:root [data-section="loading"] [data-hero-name] { gap: calc(10px * var(--hk, 1)) !important; }
:root:root:root [data-section="loading"] [data-loading-tagline] { gap: calc(10px * var(--hk, 1)) !important; }
:root:root:root [data-section="loading"] .hero-fit-line { margin-top: calc(18px * var(--hk, 1)) !important; }
:root:root:root [data-section="loading"][data-section] .hero-bottom-row { margin-top: calc(clamp(22px, 2.1vw, 34px) * var(--hk, 1)) !important; }
@media (min-width: 768px) {
  :root:root:root:root [data-section="loading"] .hero-bottom-row .hero-cta { height: calc(var(--btn-h) * var(--hk, 1)) !important; min-height: calc(var(--btn-h) * var(--hk, 1)) !important; max-height: calc(var(--btn-h) * var(--hk, 1)) !important; padding-inline: calc(var(--btn-px) * var(--hk, 1)) !important; font-size: calc(var(--btn-fs) * var(--hk, 1)) !important; }
  /* v4 2026-11-12 (Alisa): SCROLL = outline button like Contact Us (same height/radius), label in the secondary-heading style, two blinking chevrons */
  :root:root:root:root [data-section="loading"] .hero-bottom-row .scroll-cue { display: inline-flex !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; gap: calc(8px * var(--hk, 1)) !important; background: transparent !important; border: 1px solid var(--copper) !important; border-radius: 999px !important; color: var(--copper-deep) !important; opacity: 1 !important; text-shadow: none !important; text-transform: uppercase !important; letter-spacing: 0.02em !important; line-height: 1 !important; margin-bottom: 0 !important; height: calc(var(--btn-h) * var(--hk, 1)) !important; min-height: calc(var(--btn-h) * var(--hk, 1)) !important; padding-inline: calc(var(--btn-px) * var(--hk, 1)) !important; font-size: calc(var(--fixer-h3) * var(--hk, 1)) !important; }
}
/* v4: two down chevrons (the same mark as the back button on inner pages, which is the glyph pair ‹‹ in .gw-back-chevrons; here ›› turned down by writing-mode), blinking; no blink under reduced motion */
.gw-scroll-chevrons { display: inline-block; writing-mode: vertical-rl; text-orientation: sideways; font-family: var(--font-display); font-weight: 600; font-size: 1.6em; line-height: 1; letter-spacing: -0.1em; flex: 0 0 auto; white-space: nowrap; color: var(--copper-deep); filter: drop-shadow(0 0 6px rgba(184, 115, 78, 0.85)); pointer-events: none; }
.gw-scroll-chevrons > span { display: inline; animation: gw-scroll-blink 1.4s ease-in-out infinite; }
.gw-scroll-chevrons > span:nth-child(2) { animation-delay: 0.35s; }
@keyframes gw-scroll-blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gw-scroll-chevrons > span { animation: none; opacity: 1; } }
/* v5 2026-11-12 (Alisa): chevrons point RIGHT on desktop (horizontal writing mode), DOWN on phone (vertical, above).
   Group "label + chevrons" centred in the button: width stays as before (desktop 11.25em = the old natural width), the right edge stays where app.js puts it.
   margin-right on the chevrons compensates the negative trailing letter-spacing / glyph side bearing; padding-top lifts the group by the label's ink offset (Syncopate caps sit high in the line box). */
@media (min-width: 768px) {
  .gw-scroll-chevrons { writing-mode: horizontal-tb; text-orientation: mixed; margin-right: 0.156em; position: relative; top: 0.033em; }
  :root:root:root:root [data-section="loading"] .hero-bottom-row .scroll-cue { width: 11.25em !important; flex: 0 0 auto !important; padding-top: 0.18em !important; }
}
@media (max-width: 767.98px) {
  .gw-scroll-chevrons { line-height: 0.45; margin-right: 0.09em; position: relative; top: -0.11em; }
  :root:root:root:root [data-section="loading"] .hero-bottom-row .scroll-cue { width: 8.4em !important; flex: 0 0 auto !important; padding-inline: calc(10px * var(--hk, 1)) !important; gap: calc(5px * var(--hk, 1)) !important; padding-top: 0.09em !important; }
}
@media (max-width: 767.98px) {
  :root:root:root:root [data-section="loading"] .hero-bottom-row .hero-cta { height: calc(48px * var(--hk, 1)) !important; min-height: calc(48px * var(--hk, 1)) !important; max-height: calc(48px * var(--hk, 1)) !important; padding-inline: calc(22px * var(--hk, 1)) !important; font-size: calc(14px * var(--hk, 1)) !important; }
  :root:root:root:root [data-section="loading"] .hero-bottom-row .scroll-cue { display: inline-flex !important; align-items: center !important; justify-content: center !important; box-sizing: border-box !important; gap: calc(8px * var(--hk, 1)) !important; background: transparent !important; border: 1px solid var(--copper) !important; border-radius: 999px !important; color: var(--copper-deep) !important; opacity: 1 !important; text-shadow: none !important; text-transform: uppercase !important; letter-spacing: 0.02em !important; line-height: 1 !important; margin-bottom: 0 !important; height: calc(48px * var(--hk, 1)) !important; min-height: calc(48px * var(--hk, 1)) !important; padding-inline: calc(14px * var(--hk, 1)) !important; font-size: calc(var(--fixer-h3) * var(--hk, 1)) !important; }
}

/* round6: home FAQ questions as body text — plain text like a paragraph; copper on hover / focus / open. Scoped to the home page only. */
:root:root:root:root:root:root [data-section="home-fix"] .faq-accordion-list details.faq-item > summary h3 {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  line-height: 1.38 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  transition: color 0.2s ease, -webkit-text-fill-color 0.2s ease;
}
:root:root:root:root:root:root [data-section="home-fix"] .faq-accordion-list details.faq-item > summary:hover h3,
:root:root:root:root:root:root [data-section="home-fix"] .faq-accordion-list details.faq-item > summary:focus-visible h3,
:root:root:root:root:root:root [data-section="home-fix"] .faq-accordion-list details.faq-item[open] > summary h3 {
  color: var(--copper-deep) !important;
  -webkit-text-fill-color: var(--copper-deep) !important;
}

/* round6: home-fix height — "Fix it" plate takes the same panel height as the previous panels (var(--panel-h), set on the section); list scrolls inside, button sits at the bottom */
@media (min-width: 768px) {
  :root:root:root:root [data-section="home-fix"] article[data-service-fix] { height: var(--panel-h) !important; min-height: var(--panel-h) !important; max-height: var(--panel-h) !important; align-self: stretch; }
  :root:root:root:root [data-section="home-fix"] article[data-service-fix] > div { height: 100% !important; align-items: stretch; }
  :root:root:root:root [data-section="home-fix"] .fix-col,
  :root:root:root:root [data-section="home-fix"] .guides-col { height: 100% !important; }
  :root:root:root:root [data-section="home-fix"] .fix-col .fix-problems-list { flex: 1 1 0 !important; min-height: 0 !important; max-height: none !important; }
  :root:root:root:root [data-section="home-fix"] .fix-col > a.btn { margin-top: auto !important; }
}

/* round6: service steps auto glow */
[data-services-section] article[data-service-step] {
  transition:
    box-shadow 0.5s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-services-section] article[data-service-step].is-step-glow {
  box-shadow:
    0 0 46px 6px rgba(184, 115, 78, 0.78),
    0 0 18px 0 rgba(232, 160, 116, 0.7),
    inset 0 0 26px 0 rgba(184, 115, 78, 0.3),
    inset 0 1px 0 0 rgba(255,255,255,0.38) !important;
}
[data-services-section] article[data-service-step].is-step-glow.is-step-final {
  box-shadow:
    0 0 64px 10px rgba(184, 115, 78, 0.85),
    0 0 26px 2px rgba(255,255,255,0.5),
    inset 0 0 46px 0 rgba(232, 160, 116, 0.5),
    inset 0 1px 0 0 rgba(255,255,255,0.6) !important;
}
[data-service-steps-svg] [data-step-arrow-glow] {
  filter: drop-shadow(0 0 8px rgba(255, 192, 138, 1)) drop-shadow(0 0 18px rgba(232, 160, 116, 0.95)) drop-shadow(0 0 30px rgba(184, 115, 78, 0.8));
  pointer-events: none;
}
[data-service-steps-svg] [data-step-arrow-head].is-arrow-glow {
  fill: #E8A074;
  filter: drop-shadow(0 0 6px rgba(232, 160, 116, 0.95)) drop-shadow(0 0 14px rgba(184, 115, 78, 0.8));
}
@media (prefers-reduced-motion: reduce) {
  [data-services-section] article[data-service-step] {
    transition: none;
  }
}

/* round6: truck + brands cards */
/* Alisa 2026-11-13: the two cards in the home-clients right column use the standard plate padding (var(--plate-pad)) and the standard inner rhythm. Old blocks forced 20px padding, margin:0 on every <p>/<h3>, chip gaps 4-6px and a horizontal pill row. Same layer as gw-rhythm so these important rules beat the older ones. Scoped to .licensing-cards-col, so no other .licensing-card / .hero-promo-banner changes. */
@layer gw-rhythm {
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner,
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > div.licensing-card {
    padding: var(--plate-pad) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    text-align: left !important;
  }
  /* promo: heading -> text 24, then the four lines one under another (gap 8, 12 around the block), foot pinned to the bottom edge of the plate (inside the padding) */
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner .hero-promo-head {
    display: flex !important; flex-direction: column !important; align-items: flex-start !important;
    gap: var(--sp-5) !important; margin: 0 0 var(--sp-3) !important;
  }
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner .hero-promo-title { margin: 0 !important; }
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner .hero-promo-sub { margin: 0 !important; }
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner .hero-promo-pills {
    display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important;
    align-items: flex-start !important; gap: var(--sp-2) !important; margin: 0 0 var(--sp-3) !important; padding: 0 !important;
  }
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner .hero-promo-foot {
    margin: auto 0 0 !important; text-align: left !important; align-self: flex-start !important;
  }
  /* brands: heading -> text 24, text -> buttons 12, buttons 8 apart both ways */
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > div.licensing-card > h3.card-h3 { margin: 0 0 var(--sp-5) !important; }
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > div.licensing-card > p { margin: 0 0 var(--sp-3) !important; }
  :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > div.licensing-card > .brand-chips-wrap {
    display: flex !important; flex-wrap: wrap !important; gap: var(--sp-2) !important; padding: 0 !important; margin: 0 !important; align-content: flex-start !important; width: 100% !important;
  }
  @media (min-width: 768px) {
    :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col {
      grid-template-rows: minmax(auto, 1fr) auto !important; gap: var(--plate-gap) !important;
    }
  }
  @media (max-width: 767px) {
    :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col {
      height: auto !important; min-height: 0 !important; max-height: none !important;
      grid-template-rows: auto auto !important; gap: var(--plate-gap) !important;
    }
  }
}

/* round6: truck + brands cards, short screens */
/* 2026-11-13: with the standard 48px plate padding the two cards need ~658px, the column is 597px on a 790px-high screen, so the foot line of the truck card was cut off. On short desktop screens only the INNER steps tighten (heading->text 12, lines 4 apart, slimmer pills and brand buttons). Plate padding, plate gap and column height stay standard. */
@layer gw-rhythm {
  @media (min-width: 768px) and (max-height: 870px) {
    :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner .hero-promo-head { gap: var(--sp-3) !important; }
    :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner .hero-promo-pills { gap: 4px !important; }
    :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > aside.hero-promo-banner .hero-promo-pill { padding-top: 1px !important; padding-bottom: 1px !important; }
    :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > div.licensing-card > h3.card-h3 { margin-bottom: var(--sp-3) !important; }
    :root:root:root:root [data-section="home-clients"][data-section] .licensing-cards-col > div.licensing-card > .brand-chips-wrap > a { padding-top: 3px !important; padding-bottom: 3px !important; min-height: 0 !important; height: auto !important; }
  }
}

/* 2026-11-13 round 7: All questions bottom right (Alisa) */
[data-section="home-fix"] .faq-col > .faq-see-all-link {
  align-self: flex-end;
  flex: 0 0 auto;
}
@media (min-width: 768px) {
  /* column flex-gap is 8px and .guides-col > * forces margin:0 !important, so add the rest of the 24px plate gap */
  [data-section="home-fix"] .faq-col > .faq-see-all-link { margin-top: calc(var(--plate-gap) - 8px) !important; }
}

/* 2026-11-13 round 7: heat rules plate narrower (Alisa: "shorter, standard paddings from the text"). Same approach as home-why:
   the panel is only as wide as the plate (so plate-to-plate gaps stay 96), plate 480 wide (text column 384), as tall as the neighbours (--panel-h). Desktop only. */
@media (min-width: 768px) {
  [data-section="home-heat"] {
    flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; max-width: none !important;
  }
  [data-section="home-heat"] .rules-plate {
    width: 480px !important; max-width: calc(100vw - 2 * var(--plate-gap)) !important;
    height: var(--panel-h) !important; min-height: var(--panel-h) !important; max-height: var(--panel-h) !important;
    box-sizing: border-box !important; justify-content: center !important;
  }
}

@media (min-width:768px) {
  /* 2026-11-13 round 7: guides plate spacing (Alisa) */
  [data-section="home-faq"] .guides-col > h2.section-h2 + p { margin-bottom: 16px !important; } /* col gap 8 + 16 = plate-gap 24 */
  [data-section="home-faq"] .guides-col .guides-grid-list { width: 100% !important; max-width: 100% !important; align-self: stretch !important; }
  [data-section="home-faq"] .faq-bottom-cta-bar { row-gap: var(--plate-gap) !important; }
}


/* ==========================================================================
   LIGHT THEME OVERRIDES (2026-11-19, Alisa): headings dark-brown espresso, body text black.
   ========================================================================== */
html, body { background-color: var(--bg); color: var(--ink); }
html body :is(h1, h2, h3, h4, h5, h6) { color: var(--heading) !important; text-shadow: none !important; -webkit-text-fill-color: currentColor; }

/* LIGHT THEME 2026-11-19 — gradient/copper headings forced to solid espresso (Alisa: "text zagolovky temno korychnevi").
   Excludes headings that sit on the espresso promo banner or on photo overlays (they stay cream). */
html body :is(h1,h2,h3,h4,h5,h6,.section-h2,.card-h3,.hero-h1,.contact-h2,.borough-title-link,[data-more-work-more],[data-more-work-work]):not(.hero-promo-title):not(.work-item-title) {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--heading) !important;
  -webkit-text-fill-color: var(--heading) !important;
  text-shadow: none !important;
}
html body :is(h1,h2,h3,h4,h5,h6) a { -webkit-text-fill-color: currentColor; }
/* LIGHT 2026-11-19: specificity bump so every heading (card/job/borough/FAQ/contact/footer) is espresso */
:root:root:root:root:root body :is(h1,h2,h3,h4,h5,h6):not(.hero-promo-title):not(.work-item-title):not(.footer-giant-heading) {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--heading) !important;
  -webkit-text-fill-color: var(--heading) !important;
  text-shadow: none !important;
}
/* LIGHT 2026-11-19: last stragglers (home-fix guide rows, plates, FAQ questions) -> espresso */
:root:root:root:root:root:root:root:root:root body [data-section] :is(h1,h2,h3,h4,h5,h6):not(.hero-promo-title):not(.work-item-title):not(.footer-giant-heading),
:root:root:root:root:root:root:root:root:root body [data-section] :is(h1,h2,h3,h4,h5,h6):not(.hero-promo-title):not(.work-item-title) a,
:root:root:root:root:root:root:root:root:root body .faq-item :is(h3,.q),
:root:root:root:root:root:root:root:root:root body .guide-link-row h3,
:root:root:root:root:root:root:root:root:root body .guide-link-row h3 a {
  color: var(--heading) !important;
  -webkit-text-fill-color: var(--heading) !important;
  background-image: none !important;
  text-shadow: none !important;
}

/* light theme: promo banner title sits on copper gradient -> espresso (AA-large on copper) */
:root:root:root:root:root:root:root:root:root body .hero-promo-banner h2.hero-promo-title,
:root:root:root:root:root:root:root:root:root body [data-section] .hero-promo-banner .hero-promo-title {
  color: var(--heading) !important; -webkit-text-fill-color: var(--heading) !important; background: none !important; text-shadow: none !important;
}

/* light theme: work-list plates are pastel (hot/cold/air) -> espresso title + details, not cream */
:root:root:root:root:root:root:root:root:root body ul[data-work-list].rows li[data-work-item-index] > a,
:root:root:root:root:root:root:root:root:root body ul[data-work-list].rows li[data-work-item-index] > a * {
  color: var(--heading) !important; -webkit-text-fill-color: var(--heading) !important;
}
:root:root:root:root:root:root:root:root:root body ul[data-work-list].rows li[data-work-item-index] > a svg [stroke]:not([stroke="none"]) { stroke: var(--heading); }

/* ===== GW light: plates, shadows, copper outlines, call buttons (Alisa 2026-11-19) =====
   page bg stays #FBF8F4; plates are #FBF8F4 and are separated by warm layered shadow; small plates get a 1px copper outline. */
@layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root aside.hero-promo-banner {
  background: #FBF8F4 !important; background-image: none !important;
  border: 1px solid rgba(184,115,78,.14) !important; border-radius: 20px !important;
  box-shadow: 0 1px 2px rgba(110,58,32,.07), 0 6px 14px -4px rgba(110,58,32,.11), 0 18px 36px -10px rgba(138,75,42,.17), 0 34px 64px -26px rgba(110,58,32,.15), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate { padding: var(--plate-pad) !important; margin-block: 8px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root aside.hero-promo-banner :is(h2,h3,p,li,strong,span,div,small,em,a):not(.btn) { color: #3B2418 !important; -webkit-text-fill-color: #3B2418 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root aside.hero-promo-banner :is(strong,h2,h3) { color: #2A1810 !important; -webkit-text-fill-color: #2A1810 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root aside.hero-promo-banner li.hero-promo-pill, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root aside.hero-promo-banner p.hero-promo-foot { border-color: rgba(184,115,78,.38) !important; }
/* small plates inside big blocks */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-plate, article.hero-job-card, .licensing-card, li.guide-link-row, .why-gw-list.gw-m-rv > li, .gw-m-areas > li, details.faq-item, .rules-plate, li.hero-promo-pill, .gw-m-faq-foot, .gw-m-proof-btn, .footer-col:not(.footer-col--brand)) {
  background: #FBF8F4 !important; background-image: none !important;
  border: 1px solid rgba(184,115,78,.40) !important; border-radius: 12px !important;
  box-shadow: inset 0 1px 3px rgba(110,58,32,.06), 0 1px 2px rgba(110,58,32,.05) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(li.guide-link-row, .why-gw-list.gw-m-rv > li, .gw-m-areas > li, details.faq-item, li.hero-promo-pill) { margin-bottom: 8px !important; }
/* call buttons: dark copper, white digits, no handset */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-bar .gw-m-call, body.is-home .gw-m-bar .gw-m-call, .gw-m-hero-call, .gw-m-why-call, .gw-header-actions .gw-header-phone, .gw-header-phone, a.mobile-menu-phone, body.is-home .gw-m-menu-bar > a.mobile-menu-phone, dialog#fullscreen-menu.gw-m-menu a.mobile-menu-phone) {
  background: linear-gradient(180deg, #8A4B2A 0%, #6E3A20 100%) !important; background-image: linear-gradient(180deg, #8A4B2A 0%, #6E3A20 100%) !important;
  border: 1px solid #6E3A20 !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
  box-shadow: 0 6px 14px -6px rgba(110,58,32,.55), inset 0 1px 0 rgba(255,255,255,.18) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-bar .gw-m-call, .gw-m-hero-call, .gw-m-why-call, .gw-header-phone, a.mobile-menu-phone) :is(span,small,strong,.gw-m-lbl) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-header-actions .gw-header-phone { padding: 0 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-ico, .gw-m-telico) { display: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-m-bar .gw-m-call, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-m-hero-call, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-m-why-call { gap: 0 !important; }

}

@layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .footer-col:not(.footer-col--brand){margin-bottom:8px !important;}
}

@layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .footer-col:not(.footer-col--brand):has(> h3 ~ h3){background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important;}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .footer-col:not(.footer-col--brand):has(> h3 ~ h3) > h3.gw-m-dis-h{background:#FBF8F4 !important;border:1px solid rgba(184,115,78,.40) !important;border-radius:12px !important;box-shadow:inset 0 1px 3px rgba(110,58,32,.06), 0 1px 2px rgba(110,58,32,.05) !important;padding-inline:0 !important;margin:0 0 8px !important;}
}

/* ===== GW light FIX 2026-11-19 (Alisa): spacing on phone only, espresso headings everywhere,
   pipe bands fade to transparent like the Hero, active plate, real footer ===== */
@layer gw-rhythm {
/* 1. every heading espresso #3B2418 (beats mobile.css var(--ink) rules) */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(h1,h2,h3,h4,h5,h6), :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(h1,h2,h3,h4,h5,h6) :is(a,span,strong,button),
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root details.faq-item > summary, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root details.faq-item > summary *, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-m-dis-t, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-m-why-h strong,
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .footer-col-title, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .footer-giant-heading, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ul.gw-m-areas h3 a {
  color: #3B2418 !important; -webkit-text-fill-color: #3B2418 !important; background-image: none !important; text-shadow: none !important;
}

/* 2. pipe bands over plates fade to transparent (same technique as the Hero) */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-m-gg {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 76%, transparent 100%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%) !important;
  mask-image: linear-gradient(180deg, transparent 0, #000 24%, #000 76%, transparent 100%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%) !important;
  -webkit-mask-composite: source-in !important; mask-composite: intersect !important;
}

/* 3. active plate: lifts, copper gradient edge, warm halo */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-plate, article.hero-job-card, .licensing-card, li.guide-link-row, .why-gw-list.gw-m-rv > li, .gw-m-areas > li, details.faq-item, .rules-plate, li.hero-promo-pill, .gw-m-faq-foot) {
  transition: translate .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease, background .3s ease !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate:is(.is-active, :hover, :focus-within) {
  translate: 0 -3px;
  background: linear-gradient(#FBF8F4, #FBF8F4) padding-box, linear-gradient(135deg, #F0B98F 0%, #C98557 30%, #8A4B2A 70%, #5E3019 100%) border-box !important;
  border-color: transparent !important;
  box-shadow: 0 0 0 1px rgba(184,115,78,.10), 0 0 34px 2px rgba(201,133,87,.30), 0 10px 22px -6px rgba(110,58,32,.20), 0 28px 54px -14px rgba(138,75,42,.26), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-plate, article.hero-job-card, .licensing-card, li.guide-link-row, .why-gw-list.gw-m-rv > li, .gw-m-areas > li, details.faq-item, .rules-plate, li.hero-promo-pill, .gw-m-faq-foot):is(.is-active, :hover, :focus-within, [open]) {
  translate: 0 -2px;
  background: linear-gradient(#FFFDFA, #FFFDFA) padding-box, linear-gradient(135deg, #F0B98F 0%, #C98557 35%, #8A4B2A 75%, #5E3019 100%) border-box !important;
  border-color: transparent !important;
  box-shadow: 0 0 22px 0 rgba(201,133,87,.32), 0 8px 16px -6px rgba(110,58,32,.24) !important;
}
@media (prefers-reduced-motion: reduce) { :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-plate, article.hero-job-card, li.guide-link-row, .why-gw-list.gw-m-rv > li, .gw-m-areas > li, details.faq-item) { translate: none !important; } }

/* 4. footer = a real footer, not a stack of cards */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-plate.gw-plate {
  background: #F4ECE3 !important; background-image: none !important; border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; translate: none !important; position: relative !important;
  margin-inline: calc(50% - 50vw) !important; width: 100vw !important; max-width: 100vw !important; box-sizing: border-box !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-plate.gw-plate::before {
  content: "" !important; position: absolute !important; left: 0; right: 0; top: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(184,115,78,0) 0%, #C98557 18%, #8A4B2A 50%, #C98557 82%, rgba(184,115,78,0) 100%) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col > h3.gw-m-dis-h, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-contact-item {
  background: transparent !important; background-image: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; translate: none !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-contact-item { padding: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-contact-item::after { display: none !important; }
}

/* footer column hairlines, desktop (spacing unchanged) */
@media (min-width: 768px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-plate.gw-plate { padding-inline: max(48px, calc(50vw - 672px + 16px)) !important; padding-block: 40px 24px !important; margin-block: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand) { border-left: 1px solid rgba(59,36,24,.14) !important; padding-left: 24px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-contact-list { gap: 12px !important; }
} }

/* ===== phone only (≤767): gold-standard spacing 28 / 24 / 16 ===== */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate { padding: 28px !important; margin-block: 24px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate :is(h1,h2,h3):not(.gw-m-dis-h) + :not(h1,h2,h3,h4,figure,img,picture) { margin-top: 24px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate :is(h1,h2,h3):not(.gw-m-dis-h) + :is(figure,img,picture) { margin-top: 30px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate :is(h1,h2) + :is(h3,h4) { margin-top: 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate :is(p,ul,ol) + :is(p,ul,ol) { margin-top: 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-plate :is(p,ul,ol,div) + :is(.btn,.cta-row,a.gw-m-why-call,a.gw-m-hero-call) { margin-top: 24px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-plate, article.hero-job-card, .licensing-card, li.guide-link-row, .why-gw-list > li, .gw-m-areas > li, .rules-plate, .gw-m-faq-foot) { padding: 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root details.faq-item > summary { padding: 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root details.faq-item[open] > :not(summary) { padding: 0 16px 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(li.guide-link-row, .why-gw-list > li, .gw-m-areas > li, details.faq-item, li.hero-promo-pill, .gw-m-plate, article.hero-job-card, .licensing-card, .rules-plate) { margin: 0 0 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(li.guide-link-row, .why-gw-list > li, .gw-m-areas > li, details.faq-item, li.hero-promo-pill, .gw-m-plate, article.hero-job-card, .licensing-card, .rules-plate):last-child { margin-bottom: 0 !important; }
/* footer, phone: rows with hairlines, license block last with the biggest gap */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-plate.gw-plate { padding: 32px 20px 24px !important; margin: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-columns-grid { display: flex !important; flex-direction: column !important; gap: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col--brand, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col--brand .footer-contact-list { display: contents !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col--brand > *, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-contact-item { order: 0; margin: 0 0 12px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-tagline { margin-bottom: 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand) { order: 1; margin: 0 !important; padding: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand) > h3.gw-m-dis-h { border-top: 1px solid rgba(59,36,24,.16) !important; margin: 0 !important; padding: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand):first-of-type > h3.gw-m-dis-h, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-contact-address + .footer-col > h3 { margin-top: 12px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand) .gw-m-dis { padding: 14px 0 !important; min-height: 48px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand) .gw-m-dis-panel ul { padding: 0 0 16px !important; display: grid !important; gap: 12px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:last-child { border-bottom: 1px solid rgba(59,36,24,.16) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer li.footer-license-block { order: 2; margin: 40px 0 0 !important; padding: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-legal-bar { margin-top: 24px !important; }
} }

/* 2026-11-19 window fades (Alisa: «плашки… не можуть бути просто обрізані… градієнтно на прозорий», як у Hero).
   Phone home: the 64px gaps between section groups show the pipe wall; a soft cream fade on both edges of each gap. */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on main section:is([data-section="home-work"], .panel-extra-wide:not([data-section]), [data-section="home-about"], [data-section="home-why"], [data-section="home-clients"], [data-section="home-fix"], [data-section="home-heat"])::before, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on main footer.site-footer::before { content:"" !important; position:absolute !important; left:0 !important; right:0 !important; top:-64px !important; height:64px !important; pointer-events:none !important; z-index:0 !important; background:linear-gradient(to bottom, #FBF8F4 0, rgba(251,248,244,.55) 10px, rgba(251,248,244,0) 26px, rgba(251,248,244,0) 38px, rgba(251,248,244,.55) 54px, #FBF8F4 100%) !important; }
} }

/* 2026-11-19 footer phone, corrections after the browser check: full width, order (accordions, then license last), Service areas / Help same rows */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer { padding-inline: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-plate.gw-plate { width: auto !important; max-width: none !important; margin: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col--brand > *, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-contact-item { order: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand) { order: 1 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer li.footer-license-block { order: 2 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand):has(> h3 ~ h3) > h3.gw-m-dis-h, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand) > h3.gw-m-dis-h { background: transparent !important; border: 0 !important; border-top: 1px solid rgba(59,36,24,.16) !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; translate: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer .footer-col:not(.footer-col--brand):has(> h3 ~ h3) { margin: 0 !important; }
} }

/* 2026-11-19 desktop: pipe band meets the footer plate through a gradient fade to transparent (like Hero), not a hard cut. Drawn by footer::before (the plate's own ::before is its decoration). Plate starts 72px below the footer top (footer padding-top). */
@media (min-width: 768px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer { position: relative !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root footer.site-footer::before { content: "" !important; position: absolute !important; left: 0 !important; right: 0 !important; top: 16px !important; height: 56px !important; pointer-events: none !important; z-index: 1 !important; background: linear-gradient(to bottom, rgba(244,236,227,0) 0, rgba(244,236,227,.6) 55%, #F4ECE3 100%) !important; }
} }


/* ===== 2026-11-19 mobile polish (Alisa, 9 points) — phone only ===== */
@media (max-width: 767px) { @layer gw-rhythm {
/* p1: Red/Blue/Grey plates — closed: one line + ellipsis; open: full text wraps */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home button.gw-m-plate-btn .gw-m-dis-t { flex:1 1 auto !important; min-width:0 !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home button.gw-m-plate-btn[aria-expanded="true"] .gw-m-dis-t { white-space:normal !important; overflow:visible !important; text-overflow:clip !important; }
/* p2: no dot; full-height colour stripe on the left edge of each plate */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-plate-dot { display:none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-plate { position:relative !important; overflow:hidden !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-plate::before { content:"" !important; position:absolute !important; left:0 !important; top:0 !important; bottom:0 !important; width:5px !important; background:var(--steel) !important; pointer-events:none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-plate--hot::before { background:var(--hot) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-plate--cold::before { background:var(--cold) !important; }
/* p3: All services = filled dark copper like the Call button; Maintenance = outline, no fill */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .sidebar-cta-row a.btn.btn-copper { background:linear-gradient(180deg, #8A4B2A 0%, #6E3A20 100%) !important; background-image:linear-gradient(180deg, #8A4B2A 0%, #6E3A20 100%) !important; border:1px solid #6E3A20 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; box-shadow:0 6px 14px -6px rgba(110,58,32,.55), inset 0 1px 0 rgba(255,255,255,.18) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .sidebar-cta-row a.btn.btn-outline-light { background:transparent !important; background-image:none !important; border:1px solid #8A4B2A !important; color:#6E3A20 !important; -webkit-text-fill-color:#6E3A20 !important; box-shadow:none !important; }
/* p7: inactive small plates — no outline, light shadow (active state keeps its copper edge + halo) */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root :is(.gw-m-plate, article.hero-job-card, .licensing-card, li.guide-link-row, .why-gw-list > li, .gw-m-areas > li, details.faq-item, .rules-plate, li.hero-promo-pill, .gw-m-faq-foot, .gw-m-proof-btn):not(.is-active, :hover, :focus-within, [open]) { border-color:transparent !important; box-shadow:0 1px 2px rgba(110,58,32,.08), 0 4px 12px -4px rgba(110,58,32,.14) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-svc-grid > li > a { border-color:transparent !important; background:#FFFDFA !important; box-shadow:0 1px 2px rgba(110,58,32,.08), 0 4px 12px -4px rgba(110,58,32,.14) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-timeline > article::before { transition:background-color .35s ease, color .35s ease, box-shadow .35s ease !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-timeline > article.gw-m-lit::before { background:#8A4B2A !important; border-color:#6E3A20 !important; color:#FFFFFF !important; box-shadow:0 0 0 4px rgba(184,115,78,.22), 0 0 14px 2px rgba(201,129,74,.55) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-tl-glow { position:absolute !important; left:15.5px !important; top:22px; width:10px !important; height:10px !important; margin:-5px 0 0 -5px !important; border-radius:50% !important; background:#F2B27E !important; box-shadow:0 0 8px 3px rgba(222,140,80,.75), 0 0 18px 6px rgba(201,129,74,.35) !important; opacity:0 !important; pointer-events:none !important; z-index:2 !important; transition:top .75s cubic-bezier(.45,0,.25,1), opacity .2s ease; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-tl-glow.is-on { opacity:1 !important; }

/* p.5 — pipe windows: the empty padding above/below the content of each gap section is transparent, so the pipes run
   from the bottom edge of the upper plate to the top edge of the lower one (10 px soft edge, no hard cut) */
/* 2026-11-19 Alisa: softer, longer fade where the pipes meet a chapter (eased over the whole empty padding) */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on main .gw-m-win { background:linear-gradient(to bottom, rgba(251,248,244,0) calc(var(--gw-win-t, 0px) * 0), rgba(251,248,244,0.25) calc(var(--gw-win-t, 0px) * 0.15), rgba(251,248,244,0.5) calc(var(--gw-win-t, 0px) * 0.35), rgba(251,248,244,0.75) calc(var(--gw-win-t, 0px) * 0.6), rgba(251,248,244,0.92) calc(var(--gw-win-t, 0px) * 0.85), rgba(251,248,244,1) calc(var(--gw-win-t, 0px) * 1), rgba(251,248,244,1) calc(100% - var(--gw-win-b, 0px) * 1), rgba(251,248,244,0.92) calc(100% - var(--gw-win-b, 0px) * 0.85), rgba(251,248,244,0.75) calc(100% - var(--gw-win-b, 0px) * 0.6), rgba(251,248,244,0.5) calc(100% - var(--gw-win-b, 0px) * 0.35), rgba(251,248,244,0.25) calc(100% - var(--gw-win-b, 0px) * 0.15), rgba(251,248,244,0) calc(100% - var(--gw-win-b, 0px) * 0)) !important; }
/* 2026-11-19 Alisa: "Plumbers in four NYC boroughs" + "In stock on our trucks today" - no section fill, side pipes visible to the end */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on main [data-section="home-clients"].gw-m-win { background:none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on main section:is([data-section="home-work"], .panel-extra-wide:not([data-section]), [data-section="home-about"], [data-section="home-why"], [data-section="home-clients"], [data-section="home-fix"], [data-section="home-heat"])::before, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on main footer.site-footer::before { background:none !important; }
/* p.6 — gauges pinned to the pipes in the fixed pipe layer */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-gg.gw-m-gg-pin { top:var(--gg-top, 0px) !important; z-index:2 !important; -webkit-mask-image:none !important; mask-image:none !important; transition:opacity .35s ease !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-gg.gw-m-gg-pin.gw-m-gg-off { opacity:0 !important; }
} }


/* ===== 2026-11-19 wave 2 (Alisa): brown headings, every phone section a separate rounded block, pipes visible at the sides, soft hero bottom ===== */
@layer gw-rhythm {
/* headings copper-brown (site --copper-deep), desktop + phone; espresso promo banner and photo titles keep their own colours */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body :is(h1,h2,h3,h4,h5,h6):not(.hero-promo-title):not(.work-item-title):not(aside.hero-promo-banner *),
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body :is(h1,h2,h3,h4,h5,h6):not(.hero-promo-title):not(.work-item-title):not(aside.hero-promo-banner *) :is(a,span,strong) {
  color: var(--copper-deep) !important; -webkit-text-fill-color: var(--copper-deep) !important;
}
}
@media (max-width: 767px) { @layer gw-rhythm {
/* no light band behind any section: only the blocks themselves are light, pipes show on both sides */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on main .gw-m-win:not(footer) { background: none !important; }
/* hero: solid cream fades out over the last 40px instead of a hard cut */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on.gw-m-crane-on.gw-m-on [data-section="loading"].gw-m-hero-sec { background: linear-gradient(180deg, rgba(var(--bg-rgb),0) calc(44px + 29.03vw), rgba(var(--bg-rgb),0.9) calc(84px + 29.03vw), rgba(var(--bg-rgb),1) calc(130px + 29.03vw), rgba(var(--bg-rgb),1) calc(100% - 40px), rgba(var(--bg-rgb),0) 100%) !important; }
/* sections that sat bare on the band get the same rounded block as "Plumbers in four NYC boroughs" (.gw-plate look) */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main [data-section="home-work"] .chapter-two-layout,
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main [data-section="home-fix"] .fix-col,
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main [data-section="home-fix"] .guides-col.faq-col {
  background: #FBF8F4 !important; border-radius: 20px !important; padding: 28px !important;
  box-shadow: 0 1px 2px rgba(110,58,32,0.07), 0 8px 24px -8px rgba(110,58,32,0.18) !important; box-sizing: border-box !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main [data-section="home-fix"] .guides-col.faq-col { margin-top: 24px !important; }
/* How a service call works: the step list becomes its own block; line, numbers and glow move in by the same 28px */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main .gw-m-timeline {
  background: #FBF8F4 !important; border-radius: 20px !important; padding: 28px 28px 28px 72px !important;
  box-shadow: 0 1px 2px rgba(110,58,32,0.07), 0 8px 24px -8px rgba(110,58,32,0.18) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main .gw-m-timeline::before { left: 43px !important; top: 50px !important; bottom: 50px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main .gw-m-tl-glow { left: 43.5px !important; }
/* 2026-11-20 (Alisa, point 1): the line lights up behind the running light, in colour (same eased tween as the light) */
 body.is-home .gw-m-tl-fill { position: absolute !important; left: 14px !important; top: 22px; width: 3px !important; height: 0; border-radius: 2px !important; background: linear-gradient(to bottom, #F2B27E, #C9814A 55%, #8A4B2A) !important; box-shadow: 0 0 8px 1px rgba(222,140,80,.55) !important; opacity: 0 !important; pointer-events: none !important; z-index: 1 !important; transition: opacity .45s ease; }
 body.is-home .gw-m-tl-fill.is-on { opacity: 1 !important; }
 body.is-home main .gw-m-tl-fill { left: 42px !important; }
/* "View more projects" bar: a small rounded card like the others */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main .more-work-stage > a {
  border-radius: 12px !important; border-bottom-color: transparent !important; padding: 10px 16px !important; box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(110,58,32,0.08), 0 4px 12px -4px rgba(110,58,32,0.14) !important;
}
} }


/* ===== 2026-11-19 wave 3 (Alisa, points 7-12) - phone only ===== */
@media (max-width: 767px) { @layer gw-rhythm {
/* p7: How a service call works - the block keeps one height (JS --gw-tl-h = room for the tallest open step), so the
   section below never moves; the steps open and close as before (fade in, no slide), so the ball animation is the original one */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main .gw-m-timeline.gw-m-tl-fix { box-sizing: border-box !important; min-height: var(--gw-tl-h, 0px) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main .gw-m-timeline.gw-m-tl-fix::before { top: 50px !important; bottom: auto !important; height: max(0px, calc(var(--gw-tl-end, 50px) - 50px)) !important; }
/* the step that closes leaves the flow at once (no 120 ms overlap of two open steps), so the block height never changes */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main .gw-m-tl-fix .gw-m-step-p.gw-m-closing { display: none !important; }
} }


/* ===== 2026-11-19 wave 3, point 9 - phone only ===== */
@media (max-width: 767px) { @layer gw-rhythm {
/* p9 (Alisa): gaps between sections on the phone halved - section margin 64->32, padding 32->16, plate margin 24->12 */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-win:is([data-section="home-work"], [data-section="home-about"], [data-section="home-why"], [data-section="home-clients"], [data-section="home-fix"], [data-section="home-heat"], [data-section="home-footer"], .panel-extra-wide) { margin-top: 32px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-win:is([data-section="home-work"], [data-section="home-about"], [data-section="home-why"], [data-section="home-clients"], [data-section="home-fix"], [data-section="home-faq"], .panel-extra-wide) { padding-top: 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-win:is([data-section="home-work"], [data-section="home-why"], [data-section="home-clients"], [data-section="home-fix"], [data-section="home-faq"], .panel-extra-wide) { padding-bottom: 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home main section#for-owners.gw-m-win { padding-top: 15px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-win:not([data-section]):not(.panel-extra-wide) { padding-top: 4px !important; padding-bottom: 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-win:not([data-section]):not(.panel-extra-wide) .more-work-stage { margin-top: 6px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-win .gw-plate { margin-top: 12px !important; margin-bottom: 12px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-win .rules-plate.gw-m-notice { margin-bottom: 8px !important; }
} }

/* ===== 2026-11-19 wave 3, point 10 - phone only ===== */
@media (max-width: 767px) { @layer gw-rhythm {
/* p10 (Alisa): inner padding in every small card - In stock pills (40/50/75 gal, Expansion tanks) */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .hero-promo-pills .hero-promo-pill { box-sizing: border-box !important; padding: 12px 16px !important; min-height: 48px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; }
} }

/* ===== 2026-11-19 wave 3, point 11 - phone only: pipe-copper buttons (Call button untouched) ===== */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body :is(.fix-col > a.btn.btn-copper, .sidebar-cta-row a.btn.btn-copper, .cta-row a.btn.btn-copper, .mobile-menu-cta, body.is-subpage main form button.btn.btn-copper) {
  background-color: #9C532E !important;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(112deg, transparent 0 19px, rgba(70,30,12,.16) 19px 20px, transparent 20px 47px, rgba(255,236,220,.025) 47px 48px, transparent 48px 71px),
    repeating-linear-gradient(64deg, transparent 0 33px, rgba(70,30,12,.10) 33px 34px, transparent 34px 89px),
    linear-gradient(180deg, #C98257 0%, #B0653C 12%, #A0562F 30%, #99512D 68%, #8A4727 100%) !important;
  background-size: auto !important;
  color: #FFFFFF !important;
  font-weight: 500 !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: 0 1px 1px rgba(60,25,10,.55) !important;
  border: 1px solid #8A4B2A !important;
  box-shadow: inset 0 1px 0 rgba(255,225,200,.35), inset 0 -1px 0 rgba(60,25,10,.25), 0 2px 6px rgba(110,58,32,.22) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body :is(.fix-col > a.btn.btn-copper, .sidebar-cta-row a.btn.btn-copper, .cta-row a.btn.btn-copper, .mobile-menu-cta, body.is-subpage main form button.btn.btn-copper) * {
  color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important;
}
} }
/* ===== 2026-11-19 wave 3, point 12 - phone only: hero text as the same rounded block as the other sections ===== */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-hero3 {
  margin: 0 16px !important; padding: 28px !important;
  background: #FBF8F4 !important; border-radius: 20px !important;
  box-shadow: 0 1px 2px rgba(110,58,32,0.07), 0 8px 24px -8px rgba(110,58,32,0.18) !important; box-sizing: border-box !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-hero3 .gw-m-h3-h1 { margin-top: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home.gw-m-bp-on.gw-m-crane-on.gw-m-on [data-section="loading"].gw-m-hero-sec { padding-bottom: 16px !important; background: none !important; }
} }

/* ===== 2026-11-19 wave 3, point 12 addendum - phone only: copper "Soon / 24/7" ribbon at the hero block's top-right corner ===== */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-hero3::before {
  content: "SOON" !important; position: absolute !important; top: -24px !important; right: 18px !important; z-index: 2 !important;
  box-sizing: border-box !important; width: 58px !important; height: 50px !important; padding: 7px 0 0 !important;
  display: block !important; text-align: center !important; pointer-events: none !important;
  font: 700 10px/12px var(--font-sans) !important; letter-spacing: .14em !important; text-indent: .14em !important;
  color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; text-shadow: 0 1px 1px rgba(60,25,10,.55) !important;
  background-color: #9C532E !important;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(112deg, transparent 0 19px, rgba(70,30,12,.16) 19px 20px, transparent 20px 47px, rgba(255,236,220,.025) 47px 48px, transparent 48px 71px),
    repeating-linear-gradient(64deg, transparent 0 33px, rgba(70,30,12,.10) 33px 34px, transparent 34px 89px),
    linear-gradient(180deg, #B0653C 0%, #A0562F 14%, #99512D 60%, #8A4727 100%) !important;
  border-radius: 6px 6px 0 0 !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-home .gw-m-hero3::after {
  content: "24/7" !important; position: absolute !important; top: -5px !important; right: 18px !important; z-index: 3 !important;
  width: 58px !important; display: block !important; text-align: center !important; pointer-events: none !important;
  font: 700 16px/18px var(--font-sans) !important; letter-spacing: 0 !important;
  color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; text-shadow: 0 1px 1px rgba(60,25,10,.55) !important;
  background: none !important;
}
} }

/* gw-boroughs-contact 2026-11-19: borough cards = same as "Work we have done" (photo on top, text under); Contact Us bar button white w/ copper border; In-stock heading copper */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ul.gw-m-areas > li { display: grid !important; grid-template-columns: minmax(0,1fr) 20px !important; grid-template-rows: auto auto auto !important; column-gap: 0 !important; align-items: center !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ul.gw-m-areas .client-flap { grid-column: 1 / -1 !important; grid-row: 1 !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; margin: 0 0 8px !important; border-radius: 12px !important; overflow: hidden !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ul.gw-m-areas .client-flap img, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ul.gw-m-areas .client-flap .borough-photo { width: 100% !important; height: 100% !important; aspect-ratio: 16 / 9 !important; object-fit: cover !important; border-radius: 12px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ul.gw-m-areas .borough-row-head { grid-column: 1 !important; grid-row: 2 !important; padding: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ul.gw-m-areas h3 { font: 600 16px/22px var(--font-sans) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-m-area-h { grid-column: 1 / -1 !important; grid-row: 2 !important; top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; height: auto !important; min-height: 44px !important; padding: 0 !important; align-items: center !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root .gw-m-area-p { grid-row: 3 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .hero-promo-title, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body aside.hero-promo-banner h2 { color: #8A4F30 !important; -webkit-text-fill-color: #8A4F30 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .gw-m-bar .gw-m-req { background: #FFFFFF !important; background-image: none !important; color: #8A4F30 !important; -webkit-text-fill-color: #8A4F30 !important; border: 1.5px solid #9C532E !important; text-shadow: none !important; box-shadow: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root ul.gw-m-areas .borough-row-head > p.zip-code { margin: 2px 0 0 !important; }
} }

/* === news-nav 19.11 (gw-news-nav): inner pages get the same mobile header, bottom bar and menu as the home page (copy of the body.is-home rules, scoped body.is-subpage) === */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root body.is-subpage header.gw-site-header { position:fixed !important; display:block !important; transform:none !important; top:0 !important; left:0 !important; right:0 !important; height:calc(48px + env(safe-area-inset-top)) !important; min-height:0 !important; padding:env(safe-area-inset-top) 0 0 !important; margin:0 !important; background:var(--bg) !important; border:0 !important; border-bottom:1px solid var(--m-rule) !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; box-shadow:none !important; box-sizing:border-box !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-header-inner { display:flex !important; align-items:center !important; justify-content:space-between !important; height:47px !important; min-height:0 !important; padding:0 4px 0 16px !important; margin:0 !important; max-width:none !important; width:100% !important; flex:none !important; gap:8px !important; box-sizing:border-box !important; }
:root:root:root:root:root:root:root:root body.is-subpage .header-logo-link { display:flex !important; align-items:center !important; height:44px !important; min-height:0 !important; min-width:0 !important; margin:0 !important; padding:0 !important; flex:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .header-logo-img { width:51px !important; height:28px !important; display:block !important; max-width:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-desktop-nav, :root:root:root:root:root:root:root:root body.is-subpage .gw-header-phone, :root:root:root:root:root:root:root:root body.is-subpage .gw-header-cta, :root:root:root:root:root:root:root:root body.is-subpage header.gw-site-header > div[aria-hidden="true"], :root:root:root:root:root:root:root:root body.is-subpage [data-header-scroll-progress] { display:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-header-actions { display:flex !important; align-items:center !important; gap:8px !important; margin:0 0 0 auto !important; padding:0 !important; min-width:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage .header-menu-btn { width:44px !important; height:44px !important; min-width:44px !important; min-height:44px !important; padding:0 !important; margin:0 !important; display:flex !important; align-items:center !important; justify-content:center !important; background:transparent !important; border:0 !important; border-radius:8px !important; color:var(--ink) !important; flex:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .header-menu-btn svg { width:20px !important; height:20px !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar { position:fixed !important; left:0 !important; right:0 !important; bottom:0 !important; display:flex !important; align-items:center !important; gap:8px !important; height:calc(56px + env(safe-area-inset-bottom)) !important; min-height:0 !important; padding:7px 16px calc(8px + env(safe-area-inset-bottom)) !important; margin:0 !important; box-sizing:border-box !important; background:var(--bg) !important; border:0 !important; border-top:1px solid var(--m-rule) !important; box-shadow:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar a { position:relative !important; display:flex !important; align-items:center !important; justify-content:center !important; gap:8px !important; height:40px !important; min-height:0 !important; min-width:0 !important; padding:0 6px !important; margin:0 !important; border-radius:8px !important; font:600 14px/20px var(--font-sans) !important; letter-spacing:0 !important; text-transform:none !important; text-decoration:none !important; white-space:nowrap !important; box-sizing:border-box !important; box-shadow:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar a::after { content:"" !important; position:absolute !important; inset:-2px 0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar .gw-m-call { flex:1 1 0 !important; background:var(--copper) !important; color:var(--on-copper) !important; border:1px solid var(--copper) !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar .gw-m-req { flex:1 1 0 !important; background:transparent !important; color:var(--ink) !important; border:1px solid var(--copper) !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar .gw-m-call span, :root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar .gw-m-call-verb { display:inline !important; font:inherit !important; color:inherit !important; letter-spacing:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar svg { width:16px !important; height:16px !important; flex:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage.gw-m-pop-open .gw-m-bar { visibility:hidden !important; }
:root:root:root:root:root:root:root:root body.is-subpage :where(a, button, summary):not(:where([data-section="loading"], #gw-video-stage) *):focus-visible { outline:2px solid rgba(59,36,24,0.45) !important; outline-offset:2px !important; }
:root:root:root:root:root:root:root:root body.is-subpage :where(.hero-promo-banner, .faq-bottom-cta-bar) :where(a, button):focus-visible { outline-color:var(--ink) !important; }
:root:root:root:root:root:root:root:root body.is-subpage :where(.btn, .gw-m-bar a, .gw-m-dis, .gw-m-jumpbtn, .gw-m-sheet-row, :is(#gw-m-svc-list, .gw-m-svc-grid) a, summary, .header-menu-btn):not(:where([data-section="loading"], #gw-video-stage) *) { transition:transform 120ms var(--m-ease-out), opacity 120ms linear !important; touch-action:manipulation !important; -webkit-tap-highlight-color:transparent !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-pressed:not(:where([data-section="loading"], #gw-video-stage) *) { transform:scale(0.97) !important; }
:root:root:root:root:root:root:root:root body.is-subpage.gw-m-menu-open .gw-m-bar { visibility:hidden !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu { position:fixed !important; inset:0 !important; width:100% !important; max-width:none !important; height:100dvh !important; max-height:none !important; margin:0 !important; padding:0 !important; border:0 !important; background:var(--bg) !important; color:var(--ink) !important; overflow:hidden !important; box-sizing:border-box !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open] { display:block !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-menu-shell { display:flex !important; flex-direction:column !important; height:100% !important; width:100% !important; max-width:none !important; padding:env(safe-area-inset-top) 0 0 !important; margin:0 !important; gap:0 !important; box-sizing:border-box !important; background:var(--bg) !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open] .mobile-menu-shell { opacity:1 !important; transform:none !important; transition:opacity 220ms var(--m-ease-out), transform 220ms var(--m-ease-out) !important; }
@starting-style { :root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open] .mobile-menu-shell { opacity:0 !important; transform:translateY(-8px) !important; } }
:root:root:root:root:root:root:root:root body.is-subpage .menu-top-bar { display:flex !important; align-items:center !important; justify-content:space-between !important; height:48px !important; min-height:48px !important; padding:0 4px 0 16px !important; margin:0 !important; border:0 !important; border-bottom:1px solid var(--m-rule) !important; flex:none !important; box-sizing:border-box !important; background:var(--bg) !important; position:static !important; }
:root:root:root:root:root:root:root:root body.is-subpage .menu-brand-wrap { display:flex !important; align-items:center !important; height:44px !important; padding:0 !important; margin:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage .menu-brand-wrap img { width:51px !important; height:28px !important; object-fit:contain !important; display:block !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu [data-menu-close] { display:flex !important; align-items:center !important; justify-content:center !important; width:44px !important; height:44px !important; min-width:44px !important; min-height:44px !important; padding:0 !important; margin:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; color:var(--ink) !important; box-shadow:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-menu-nav { flex:1 1 auto !important; display:block !important; overflow-y:auto !important; overflow-x:hidden !important; overscroll-behavior:contain !important; padding:0 16px !important; margin:0 !important; min-height:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-nav-accordion { display:block !important; margin:0 !important; padding:0 !important; border:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-nav-direct-link, :root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-trigger { display:flex !important; align-items:center !important; justify-content:space-between !important; width:100% !important; height:44px !important; min-height:44px !important; padding:0 !important; margin:0 !important; border:0 !important; border-bottom:1px solid var(--m-rule) !important; border-radius:0 !important; background:transparent !important; font:600 14px/20px var(--font-sans) !important; color:var(--ink) !important; text-transform:none !important; letter-spacing:0 !important; text-decoration:none !important; text-align:left !important; box-sizing:border-box !important; opacity:1 !important; transform:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-trigger::before, :root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-trigger::after, :root:root:root:root:root:root:root:root body.is-subpage .mobile-nav-direct-link::before, :root:root:root:root:root:root:root:root body.is-subpage .mobile-nav-direct-link::after { content:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-trigger > :not(.gw-m-chev) { font:inherit !important; color:inherit !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-trigger .gw-m-chev { width:16px !important; height:16px !important; flex:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-body { display:block !important; padding:0 0 8px 16px !important; margin:0 !important; height:auto !important; max-height:none !important; overflow:visible !important; opacity:1 !important; visibility:visible !important; border-bottom:1px solid var(--m-rule) !important; grid-template-rows:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-body[hidden] { display:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-list { display:block !important; list-style:none !important; margin:0 !important; padding:0 !important; columns:auto !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-list li { display:block !important; margin:0 !important; padding:0 !important; border:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-accordion-body a { display:flex !important; align-items:center !important; min-height:44px !important; padding:0 !important; margin:0 !important; border:0 !important; font:400 14px/20px var(--font-sans) !important; color:var(--ink) !important; text-decoration:none !important; text-transform:none !important; letter-spacing:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-menu-bar { display:flex !important; flex-direction:row !important; align-items:center !important; gap:8px !important; padding:8px 16px calc(8px + env(safe-area-inset-bottom)) !important; margin:0 !important; border:0 !important; border-top:1px solid var(--m-rule) !important; flex:none !important; background:var(--bg) !important; position:static !important; width:100% !important; box-sizing:border-box !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-menu-bar > a { flex:1 1 0 !important; display:flex !important; align-items:center !important; justify-content:center !important; height:40px !important; min-height:40px !important; width:auto !important; padding:0 12px !important; margin:0 !important; border-radius:8px !important; font:600 14px/20px var(--font-sans) !important; text-decoration:none !important; text-transform:none !important; letter-spacing:0 !important; box-sizing:border-box !important; white-space:nowrap !important; box-shadow:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-menu-bar > a.mobile-menu-phone { flex:1.35 1 0 !important; background:var(--copper) !important; color:var(--on-copper) !important; border:1px solid var(--copper) !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-menu-bar > a.mobile-menu-cta { background:transparent !important; color:var(--ink) !important; border:1px solid var(--copper) !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover { position:fixed !important; inset:auto 0 0 0 !important; width:100% !important; max-width:none !important; height:auto !important; max-height:calc(100svh - 24px) !important; margin:0 !important; padding:16px 16px calc(16px + env(safe-area-inset-bottom)) !important; border:0 !important; border-radius:16px 16px 0 0 !important; background:var(--bg) !important; color:var(--ink) !important; overflow-x:hidden !important; overflow-y:auto !important; overscroll-behavior:contain !important; box-sizing:border-box !important; transform:none !important; box-shadow:0 -1px 0 var(--m-rule) !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover h2 { font-family:var(--font-display) !important; font-size:18px !important; line-height:24px !important; letter-spacing:0 !important; margin:0 0 8px !important; padding:0 44px 0 0 !important; color:var(--ink) !important; text-transform:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .contact-popover__close { position:absolute !important; top:4px !important; right:4px !important; left:auto !important; display:flex !important; align-items:center !important; justify-content:center !important; width:44px !important; height:44px !important; padding:0 !important; margin:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; color:var(--ink) !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .contact-popover__phone { display:flex !important; align-items:center !important; gap:8px !important; margin:0 0 12px !important; padding:0 !important; font:400 14px/21px var(--font-sans) !important; color:var(--ink) !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .gw-m-telbtn { min-height:0 !important; max-height:40px !important; box-sizing:border-box !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; height:40px !important; padding:0 16px !important; width:100% !important; border:1px solid var(--m-action, #8A4F30) !important; border-radius:8px !important; background:var(--m-action, #8A4F30) !important; background-image:none !important; font:600 14px/20px var(--font-sans) !important; color:var(--bg) !important; -webkit-text-fill-color:var(--bg) !important; text-decoration:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .form-grid { display:grid !important; grid-template-columns:1fr !important; gap:12px !important; margin:0 !important; padding:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .form-field { display:flex !important; flex-direction:column !important; gap:4px !important; margin:0 !important; padding:0 !important; grid-column:auto !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .form-field > span { font:500 13px/18px var(--font-sans) !important; color:var(--ink) !important; text-transform:none !important; letter-spacing:0 !important; margin:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .form-control { width:100% !important; height:44px !important; min-height:44px !important; margin:0 !important; padding:0 12px !important; border:1px solid var(--m-rule) !important; border-radius:8px !important; background:var(--bg) !important; color:var(--ink) !important; font:400 16px/22px var(--font-sans) !important; box-sizing:border-box !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover textarea.form-control { height:88px !important; min-height:88px !important; padding:10px 12px !important; resize:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .form-control:focus { border-color:var(--copper) !important; outline:2px solid var(--copper) !important; outline-offset:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .form-status { font:400 13px/18px var(--font-sans) !important; color:var(--ink) !important; margin:0 !important; padding:0 !important; }
:root:root:root:root:root:root:root:root body.is-subpage #contact-popover .form-grid .btn, :root:root:root:root:root:root:root:root body.is-subpage #contact-popover button[type="submit"] { display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; height:40px !important; min-height:40px !important; margin:0 !important; padding:0 16px !important; border:1px solid var(--m-action, #8A4F30) !important; border-radius:8px !important; background:var(--m-action, #8A4F30) !important; background-image:none !important; color:var(--bg) !important; -webkit-text-fill-color:var(--bg) !important; font:600 14px/20px var(--font-sans) !important; text-transform:none !important; letter-spacing:0 !important; box-shadow:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu .gw-m-dup, :root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu .mobile-accordion-icon { display:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage :where(main section:not([data-section="loading"]), footer.site-footer, header.gw-site-header, #fullscreen-menu, #contact-popover, #gw-m-jump-sheet, .gw-m-bar) :where(a, button, summary, input, select, textarea, label, [role="button"]) { touch-action:manipulation !important; -webkit-tap-highlight-color:transparent !important; }
:root:root:root:root:root:root:root:root body.is-subpage .mobile-menu-shell { overscroll-behavior:contain !important; }
:root:root:root:root:root:root:root:root body.is-subpage .gw-m-menu-cap { margin:0 16px 12px !important; padding:12px 0 0 !important; font:400 13px/18px var(--font-sans) !important; letter-spacing:0 !important; color:var(--ink) !important; text-transform:none !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu { opacity:0 !important; pointer-events:none !important; transition:opacity 160ms var(--m-ease-out), display 160ms allow-discrete !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open] { opacity:1 !important; pointer-events:auto !important; transition:opacity 220ms var(--m-ease-out) !important; }
@starting-style { :root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open] { opacity:0 !important; } }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu:not([open]) a[href^="tel:"] { visibility:hidden !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open].gw-m-menu-out { opacity:0 !important; pointer-events:none !important; transition:opacity 180ms var(--m-ease-out) !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu.gw-m-menu-out:not([open]) { transition:none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu :is(a, summary, .gw-m-lbl) { font:600 14px/20px var(--font-sans) !important; letter-spacing:0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu .gw-m-menu-cap { margin-left:0 !important; margin-right:0 !important; padding-left:0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu:focus-visible, :root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu [data-menu-reveal]:focus-visible { outline:2px solid rgba(59,36,24,0.45) !important; outline-offset:-2px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu :is(a, button, summary):focus-visible { outline:2px solid rgba(59,36,24,0.45) !important; outline-offset:2px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu :is(button.mobile-accordion-trigger, a.mobile-nav-direct-link, .mobile-accordion-list a) { min-height:40px !important; height:auto !important; box-sizing:border-box !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu { height:100dvh !important; max-height:100dvh !important; background:rgba(var(--bg-rgb),0.78) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu .mobile-menu-shell { border-bottom:1px solid var(--m-rule) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu .mobile-menu-shell { height:auto !important; max-height:100dvh !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu nav.mobile-menu-nav { flex:0 1 auto !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu nav.mobile-menu-nav > :last-child { border-bottom-color:transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu .gw-m-menu-bar { padding-bottom:8px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage dialog#fullscreen-menu .gw-m-menu-bar > a.mobile-menu-phone .gw-m-lbl { display:inline-flex !important; align-items:center !important; gap:8px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage:has(dialog#fullscreen-menu[open]) .gw-m-bar { visibility:hidden !important; }
@media (prefers-reduced-motion: reduce) {
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu { transition:opacity 150ms linear, display 150ms allow-discrete !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open] { transition:opacity 150ms linear !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open].gw-m-menu-out { transition:opacity 150ms linear !important; }
:root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open] .mobile-menu-shell { transform:none !important; transition:opacity 150ms linear !important; }
@starting-style { :root:root:root:root:root:root:root:root body.is-subpage #fullscreen-menu[open] .mobile-menu-shell { opacity:0 !important; transform:none !important; } }
}
/* news/articles heading scale (Alisa 19.11); 20.11 set to the landing scale 18/24 (Alisa: "рівнятися на лендінг") */
:root:root:root:root:root:root:root:root :is(body.is-subpage[data-route^="/news/"], body.is-subpage[data-route^="/resources/"]) main h1 { font-size: 18px !important; line-height: 24px !important; letter-spacing: normal !important; overflow-wrap: anywhere; }
:root:root:root:root:root:root:root:root :is(body.is-subpage[data-route^="/news/"], body.is-subpage[data-route^="/resources/"]) main h2 { font-size: 18px !important; line-height: 24px !important; letter-spacing: normal !important; overflow-wrap: anywhere; }
/* breadcrumbs: invisible on mobile, kept in the DOM for Google */
:root:root:root:root:root:root:root:root body.is-subpage .breadcrumb-nav { position:absolute !important; width:1px !important; height:1px !important; margin:-1px !important; padding:0 !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; clip-path:inset(50%) !important; white-space:nowrap !important; border:0 !important; }
} }

@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root body.is-subpage { --m-gutter:16px !important; --m-pad:16px !important; --m-gap:8px !important; --m-sec:32px !important; --m-fs-body:14px !important; --m-lh-body:21px !important; --m-fs-small:13px !important; --m-lh-small:18px !important; --m-fs-h1:18px !important; --m-fs-h2:18px !important; --m-lh-h:24px !important; --m-fs-h3:16px !important; --m-lh-h3:22px !important; --m-btn-h:40px !important; --m-row-h:44px !important; --m-header-h:48px !important; --m-bar-h:56px !important; --m-ease-out:cubic-bezier(0.23, 1, 0.32, 1) !important; --m-ease-in-out:cubic-bezier(0.77, 0, 0.175, 1) !important; --m-ease-sheet:cubic-bezier(0.32, 0.72, 0, 1) !important; --m-rule:rgba(119, 113, 108, 0.4) !important; --fs-body:14px !important; --fs-small:13px !important; --fs-big:18px !important; --fixer-h3:16px !important; --plate-pad:16px !important; --header-h:48px !important; }
} }

/* gw-boroughs-contact 2026-11-19: Contact Us dialog title is copper like every heading */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body dialog#contact-popover h2#contact-popover-title, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body dialog#contact-popover h2#contact-popover-title .gw-m-lbl { color:#8A4F30 !important; -webkit-text-fill-color:#8A4F30 !important; }
} }

/* ===== gw-brands-m 2026-11-19: /brands/ index mobile = landing logic (plates per block, cards as plates, copper buttons). Scoped to body[data-route="/brands/"] only ===== */
@media (max-width: 767px) {
  @layer gw-rhythm {
    :root:root:root:root body.is-subpage[data-route="/brands/"] .vertical-content-wrap .prose-content { background: none !important; box-shadow: none !important; border-color: transparent !important; border-radius: 0 !important; padding: 0 !important; display: flex !important; flex-direction: column !important; gap: 16px !important; }
    :root:root:root:root body.is-subpage[data-route="/brands/"] .vertical-content-wrap .prose-content::before { display: none !important; }
    :root:root:root:root body.is-subpage[data-route="/brands/"] .prose-content > :is(p, h2, .gw-m-acc-b:not(:has(.gw-m-railbox))) { margin: 0 !important; padding: 16px !important; box-sizing: border-box !important; background: var(--bg) !important; border: 1px solid rgba(184,115,78,0.14) !important; border-radius: 16px !important; box-shadow: rgba(110,58,32,0.07) 0 1px 2px 0, rgba(110,58,32,0.11) 0 6px 14px -4px, rgba(138,75,42,0.17) 0 18px 36px -10px !important; }
    :root:root:root:root body.is-subpage[data-route="/brands/"] .prose-content > h2 { color: #8A4F30 !important; font-size: 21px !important; line-height: 1.2 !important; overflow-wrap: anywhere; }
    :root:root:root:root body.is-subpage[data-route="/brands/"] .prose-content > .gw-m-acc-b:has(.gw-m-railbox) { padding: 0 !important; margin: 0 !important; }
    :root:root:root:root body.is-subpage[data-route="/brands/"] .prose-card-item { padding: 16px !important; margin: 0 !important; border-radius: 16px !important; }
    :root:root:root:root body.is-subpage[data-route="/brands/"] .prose-card-item h3 { color: #8A4F30 !important; margin: 0 0 8px !important; }
    :root:root:root:root body.is-subpage[data-route="/brands/"] .prose-card-item a > p:last-child { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 40px !important; margin: 12px 0 0 !important; padding: 0 20px !important; border: 0 !important; border-radius: 999px !important; background: var(--copper) !important; color: #fff !important; font-weight: 600 !important; }
  }
}

/* === pages-m 19.11 (gw-pages-m): довгий підпис правої кнопки нижньої панелі переноситься на 2 рядки, не торкається країв (лише subpages) === */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar.is-mid .gw-m-req, :root:root:root:root:root:root:root:root:root:root body.is-subpage .gw-m-bar.is-long .gw-m-req { white-space: normal !important; text-align: center !important; font-size: 13px !important; line-height: 15px !important; padding: 0 8px !important; overflow: hidden !important; }
} }

/* === pages-m 19.11 фаза 2 (gw-pages-m): картки-посилання без underline + фото зверху на сервісних картках === */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root body.is-subpage :is(.prose-card-item a, h2 > a, h3 > a, h4 > a, li > a.gw-m-tap), :root:root:root:root:root:root:root:root:root:root body.is-subpage :is(.prose-card-item a, h2 > a, h3 > a, h4 > a, li > a.gw-m-tap):is(:hover, :focus-visible) { text-decoration: none !important; }
:root:root:root:root:root:root:root:root:root:root body.is-subpage .prose-card-item > a > img.gw-card-photo { display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: cover !important; border-radius: 12px !important; margin: 0 0 12px !important; }
} }

/* === pages-m 19.11 фаза 2б (gw-pages-m): лінія border-bottom під текстом картки = підкреслення, прибрано === */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root body.is-subpage .prose-card-item > a > p:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; display: block !important; }
} }

/* === pages-m 19.11 фаза 4 (gw-pages-m): кольорові позначки карток /services/ за легендою (червона=котли/водонагрівачі, сіра=опалення/кондиціонери, синя=сантехніка/ресторани/дренаж) === */
@media (max-width: 767px) { @layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root body.is-subpage .prose-card-item.gw-tone { position: relative !important; }
:root:root:root:root:root:root:root:root:root:root body.is-subpage .prose-card-item.gw-tone::before { content: "" !important; position: absolute !important; top: 10px !important; left: 10px !important; width: 14px !important; height: 14px !important; border-radius: 50% !important; border: 2px solid #FBF8F4 !important; box-shadow: 0 0 0 1px rgba(59,36,24,0.45) !important; z-index: 2 !important; pointer-events: none !important; }
:root:root:root:root:root:root:root:root:root:root body.is-subpage .prose-card-item.gw-tone--red::before { background: #B0423A !important; }
:root:root:root:root:root:root:root:root:root:root body.is-subpage .prose-card-item.gw-tone--grey::before { background: #8E9399 !important; }
:root:root:root:root:root:root:root:root:root:root body.is-subpage .prose-card-item.gw-tone--blue::before { background: #3F6B9C !important; }
} }

/* ===== brands-fix 2026-11-20 (gw-brands-fix): /brands/ + 15 subpages = landing pipes, landing type, plates, centred Details. Only body.gw-m-brands (set by mobile.js brandsCrane) ===== */
@media (max-width: 767px) {
  @layer gw-rhythm {
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on :is(#gw-m-none, .gw-m-stage) { position:fixed !important; top:var(--m-header-h) !important; bottom:0 !important; left:0 !important; width:100% !important; height:auto !important; transform:none !important; translate:none !important; opacity:1 !important; animation:none !important; background:radial-gradient(120% 60% at 50% 22%, rgba(59,36,24,0.056), rgba(var(--bg-rgb),0.5) 100%), url("../media/mobile-boiler-wall.jpg") 0 0 / 100% auto repeat-y #FBF8F4 !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on :is(#gw-m-none, .gw-m-stage) > video { visibility:hidden !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on :is(#gw-m-none, .gw-m-stage)::before, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on :is(#gw-m-none, .gw-m-stage)::after { content:none !important; display:none !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on.gw-m-crane-on :is(#gw-m-none, .gw-m-stage) { background:url("gw-m-crane-tail-v3.webp?v=light20261119d") 0 0 / 100% auto repeat-y, #FBF8F4 !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on.gw-m-crane-on .gw-m-cr { position:absolute !important; left:0 !important; top:12px !important; width:100% !important; aspect-ratio:1116 / 2000 !important; transform:translateY(-43.85%) !important; pointer-events:none !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on.gw-m-crane-on .gw-m-cr-base { display:block !important; width:100% !important; height:auto !important; max-width:none !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on.gw-m-crane-on .gw-m-cr-wheel { position:absolute !important; left:51.25% !important; top:52.90% !important; width:20.75% !important; height:auto !important; max-width:none !important; transform-origin:50% 50% !important; will-change:transform !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-bp-on.gw-m-crane-on .gw-m-cr-needles { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; overflow:visible !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on :is(h1, h2, .gw-m-acc-h) { font-family:"GW Syncopate Wide", "Syncopate", sans-serif !important; font-size:18px !important; line-height:24px !important; font-weight:600 !important; color:#8A4F30 !important; letter-spacing:normal !important; text-transform:uppercase !important; overflow-wrap:anywhere; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on :is(h3, h4, h5, h6) { font-family:"Plus Jakarta Sans", system-ui, sans-serif !important; font-size:14px !important; line-height:20px !important; font-weight:600 !important; letter-spacing:normal !important; text-transform:none !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-content :is(p, li, td, th, dd, dt, summary, button, a) { font-family:"Plus Jakarta Sans", system-ui, sans-serif !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-content :is(p, li, td, th, dd, dt) { font-size:14px !important; line-height:20px !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-content :is(h1, h2, .gw-m-acc-h) { font-family:"GW Syncopate Wide", "Syncopate", sans-serif !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .vertical-content-wrap .prose-content { background:none !important; box-shadow:none !important; border-color:transparent !important; border-radius:0 !important; padding:0 !important; display:flex !important; flex-direction:column !important; gap:16px !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .vertical-content-wrap .prose-content::before { display:none !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-content > :is(p, h2, .gw-m-acc-b:not(:has(.gw-m-railbox))) { margin:0 !important; padding:16px !important; box-sizing:border-box !important; background:var(--bg) !important; border:1px solid rgba(184,115,78,0.14) !important; border-radius:16px !important; box-shadow:rgba(110,58,32,0.07) 0 1px 2px 0, rgba(110,58,32,0.11) 0 6px 14px -4px, rgba(138,75,42,0.17) 0 18px 36px -10px !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-content > .gw-m-acc-b:has(.gw-m-railbox) { padding:0 !important; margin:0 !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-card-item { padding:16px !important; margin:0 0 12px !important; border-radius:16px !important; box-sizing:border-box !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-card-item:last-child { margin-bottom:0 !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-card-item h3 { color:#8A4F30 !important; margin:0 0 8px !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-card-item > a { display:block !important; padding:0 !important; margin:0 !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-card-item a > p:last-child { display:flex !important; align-items:center !important; justify-content:center !important; width:fit-content !important; min-height:40px !important; margin:12px auto 0 !important; padding:0 20px !important; border:0 !important; border-radius:999px !important; background:var(--copper) !important; color:#fff !important; font-weight:600 !important; font-size:14px !important; line-height:20px !important; text-align:center !important; text-decoration:none !important; }
  }
}

/* brands-fix 2026-11-20 b: inline links in text keep the text size */
@media (max-width: 767px) {
  @layer gw-rhythm {
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage.gw-m-brands.gw-m-on.gw-m-bp-on .prose-content :is(p, li, td) a:not(.btn):not([class*="btn"]) { font-size:inherit !important; line-height:inherit !important; font-weight:inherit !important; }
  }
}

/* remarks-all-pages 2026-11-20 (Alisa: "І всі решту сторінки, якщо там щось не так, рівнятися на лендінг пейдж.")
   1. phone: every subpage heading uses the landing scale - h1/h2 18/24 Syncopate 600 uppercase, h3 14/20 Plus Jakarta 600.
      Beats mobile.css section 1 (20px/18px), which is unlayered !important. */
@media (max-width: 767px) {
  @layer gw-rhythm {
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage main :is(h1, h2):not(.hero-promo-title) { font-family:"GW Syncopate Wide", "Syncopate", sans-serif !important; font-size:18px !important; line-height:24px !important; font-weight:600 !important; letter-spacing:normal !important; text-transform:uppercase !important; }
    :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.is-subpage main h3 { font-family:"Plus Jakarta Sans", system-ui, sans-serif !important; font-size:14px !important; line-height:20px !important; font-weight:600 !important; letter-spacing:normal !important; text-transform:none !important; }
  }
}
/* 2. breadcrumbs: invisible at every width (the landing shows none), still in the DOM and in the BreadcrumbList JSON-LD for Google */
@layer gw-rhythm {
  :root:root:root:root:root:root:root:root:root body.is-subpage .breadcrumb-nav { position:absolute !important; width:1px !important; height:1px !important; margin:-1px !important; padding:0 !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; clip-path:inset(50%) !important; white-space:nowrap !important; border:0 !important; }
}

/* ===== NEWS 2026-11-20 (Alisa): every news item in its own plate, same tokens as the landing .gw-plate =====
   scoped to /news/ only. The big article plate becomes a plain column; the 14 .news-plate blocks
   (intro, 12 items, closing CTA) are the plates. Desktop = landing .gw-plate (r20, pad 14, 4-layer halo);
   phone = landing .gw-plate on phone (r20, pad 28). */
:root:root:root body[data-route="/news/"] .vertical-content-wrap .prose-content.news-plates {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important;
  padding: 0 !important; translate: none !important; transform: none !important; overflow: visible !important;
}
:root:root:root body[data-route="/news/"] .vertical-content-wrap .prose-content.news-plates::before { display: none !important; }
:root:root:root body[data-route="/news/"] .news-plate {
  position: relative; display: block;
  background: var(--bg) !important;
  border: 1px solid rgba(184, 115, 78, 0.14) !important;
  border-radius: 20px !important;
  padding: 14px !important;
  margin: 0 0 8px !important;
  box-shadow: rgba(110,58,32,.07) 0 1px 2px 0, rgba(110,58,32,.11) 0 6px 14px -4px, rgba(138,75,42,.17) 0 18px 36px -10px, rgba(110,58,32,.15) 0 34px 64px -26px, rgba(255,255,255,.9) 0 1px 0 0 inset !important;
  transition: translate .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s, background .3s;
}
:root:root:root body[data-route="/news/"] .news-plate::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--copper-rim-gradient-rest);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) padding-box;
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) padding-box;
  mask-composite: exclude; pointer-events: none; z-index: 3; opacity: .22; transition: opacity .3s;
}
:root:root:root body[data-route="/news/"] .news-plate:hover,
:root:root:root body[data-route="/news/"] .news-plate:focus-within { translate: 0 -6px; box-shadow: var(--copper-halo-hover) !important; }
:root:root:root body[data-route="/news/"] .news-plate:hover::before,
:root:root:root body[data-route="/news/"] .news-plate:focus-within::before { opacity: 1; background: var(--copper-rim-gradient); }
:root:root:root body[data-route="/news/"] .news-plate > :first-child { margin-top: 0 !important; }
:root:root:root body[data-route="/news/"] .news-plate > :last-child { margin-bottom: 0 !important; }
@media (max-width: 767px) {
  :root:root:root body[data-route="/news/"] .news-plate { padding: 28px !important; margin: 0 0 12px !important; }
}

/* 2026-11-20 (Alisa, point 8): standalone phone numbers are the same copper Call button as the mobile bottom bar */
a.btn.btn-copper.gw-call-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--copper-deep); background: var(--copper-deep); background-image: none; color: var(--bg); -webkit-text-fill-color: var(--bg); font: 700 16px/1.15 var(--font-sans); text-decoration: none; text-shadow: none; box-shadow: none; }

/* ===== 2026-11-20 (Alisa: "kolir knopok contact us ne zbigaetsa z zatverdzhenym") - every Contact Us button, all widths: the approved pipe-copper of point 11 (Call buttons untouched) ===== */
@layer gw-rhythm {
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body a.btn.btn-copper[data-contact-open] {
  background-color: #9C532E !important;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(112deg, transparent 0 19px, rgba(70,30,12,.16) 19px 20px, transparent 20px 47px, rgba(255,236,220,.025) 47px 48px, transparent 48px 71px),
    repeating-linear-gradient(64deg, transparent 0 33px, rgba(70,30,12,.10) 33px 34px, transparent 34px 89px),
    linear-gradient(180deg, #C98257 0%, #B0653C 12%, #A0562F 30%, #99512D 68%, #8A4727 100%) !important;
  background-size: auto !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-shadow: 0 1px 1px rgba(60,25,10,.55) !important;
  border: 1px solid #8A4B2A !important;
  box-shadow: inset 0 1px 0 rgba(255,225,200,.35), inset 0 -1px 0 rgba(60,25,10,.25), 0 2px 6px rgba(110,58,32,.22) !important;
}
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body a.btn.btn-copper[data-contact-open] * { color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; }
}
