/* ============================================================================
   Zebra Demolition — design system v2
   Rebuilt 2026-08-24 after the v1 UI was rejected. See REDESIGN.md for the audit.

   What changed and why:
   - The ellipse "arc" divider is GONE. It was 1694px wide and 74px tall, so all
     its curvature sat outside the viewport and it read as a tilt, not a curve.
     Bands now meet on hard edges, with a bridging panel used sparingly instead.
   - One card shape became three, each with a distinct job.
   - Section headers stopped being a single repeated template.
   - Anton max dropped 104px -> 72px; headlines get internal contrast instead of
     three equal slabs.
   - The phone number never disappears from the header at any width.
   ========================================================================== */

/* ---------- Fonts (self-hosted — no third-party request) ---------- */
@font-face {
  font-family: 'Anton';
  src: url('fonts/anton-400-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Epilogue';
  src: url('fonts/epilogue-400-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink:        #0B0B0B;
  --ink-2:      #151515;   /* raised surface on dark */
  --ink-3:      #1F1F1F;   /* hover / border on dark */
  --bone:       #D9D9D9;   /* light band — from the live site */
  --bone-2:     #EDEDEB;
  --paper:      #FFFFFF;
  --steel:      #6E6E6E;   /* body grey on light — AA on #FFF */
  --steel-d:    #A6A6A6;   /* body grey on dark */
  --moss:       #35562B;   /* accent — from the live site */
  --moss-2:     #48713A;

  --line-d: rgba(255,255,255,.13);
  --line-l: rgba(11,11,11,.15);

  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Epilogue', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --wide: 1200px;   /* == --wrap below 1600px so every band shares one edge; widens with the tier at the end of this file */
  --gut: clamp(20px, 5vw, 56px);
  --y: clamp(56px, 6vw, 92px);          /* band padding */
  --y-lg: clamp(72px, 8vw, 124px);      /* statement band padding */
  --hdr: 72px;
  --r: 4px;                             /* tight corners — industrial, not soft */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4, h5 { text-wrap: balance; margin: 0; }
p, li, blockquote, figcaption { text-wrap: pretty; }

/* ---------- Display type ----------
   Max is 72px, not 104px. Three stacked lines of 104px condensed caps is a wall
   with no hierarchy inside it. */
.d1, .d2, .d3, .d4 {
  font-family: var(--display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .004em; line-height: .94;
}
.d1 { font-size: clamp(38px, 5.2vw, 72px); }
/* Long titles (blog posts) — 72px condensed caps across five lines is a wall.
   gen-blog.mjs applies this above 48 characters. */
.d1--long { font-size: clamp(31px, 3.6vw, 50px); }
.d2 { font-size: clamp(30px, 3.9vw, 52px); }
.d3 { font-size: clamp(23px, 2.5vw, 34px); }
.d4 { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.08; }

/* Headline internal contrast: a quiet line above the loud one. */
.d-quiet {
  display: block; font-family: var(--body); font-weight: 700;
  font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .16em;
  text-transform: uppercase; line-height: 1.4; margin-bottom: 14px;
  color: var(--steel-d);
}
.band--bone .d-quiet, .band--paper .d-quiet { color: var(--steel); }

.lede { font-size: clamp(16.5px, 1.2vw, 19px); line-height: 1.62; max-width: 60ch; }
.small { font-size: 14.5px; line-height: 1.6; }
.muted { color: var(--steel); }
.band--ink .muted, .band--ink2 .muted, .hero .muted, .plate .muted, .ftr .muted { color: var(--steel-d); }

/* Eyebrow */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; margin: 0 0 16px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; flex: none; }
.eyebrow--c { justify-content: center; }
.eyebrow--c::after { content: ''; width: 26px; height: 2px; background: currentColor; flex: none; }

/* Brush stroke — ONE per page, hero only. A single solid stroke, not the v1
   double hairline that read as an underline artifact. */
.swash { display: block; width: min(240px, 44%); height: auto; margin: 14px 0 0; }
.band--bone .swash, .band--paper .swash { color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto; }
.wrap--wide { width: min(var(--wide), 100% - (var(--gut) * 2)); margin-inline: auto; }

.band { position: relative; padding: var(--y) 0; background: var(--band-bg, var(--ink)); }
.band--ink   { --band-bg: var(--ink);   color: var(--paper); }
.band--ink2  { --band-bg: var(--ink-2); color: var(--paper); }
.band--bone  { --band-bg: var(--bone);  color: var(--ink); }
.band--paper { --band-bg: var(--paper); color: var(--ink); }
.band--moss  { --band-bg: var(--moss);  color: var(--paper); }
.band--tall  { padding: var(--y-lg) 0; }

/* Hairline seam where two dark bands meet, so the join reads as deliberate. */
.band--ink + .band--ink2, .band--ink2 + .band--ink { border-top: 1px solid var(--line-d); }

/* ---------- SECTION TYPE 1: split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: center; }
/* Desktop: DOM order decides the side. Flip sections put the image first in
   the markup, so it lands left — no override needed. */
.split--wide { grid-template-columns: 1.05fr .95fr; }
.split-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .split, .split--wide { grid-template-columns: 1fr; }
  /* Mobile: always text before photo, so a heading introduces every image. */
  .split--flip > :first-child { order: 2; }
  .split-img { aspect-ratio: 4 / 3; }
}

/* ---------- SECTION TYPE 2: centred statement ---------- */
.statement { max-width: 880px; margin-inline: auto; text-align: center; }
.statement .d2 { margin-bottom: 18px; }
.statement .lede { margin-inline: auto; }

/* ---------- SECTION TYPE 3: numbered rows (no boxes) ---------- */
.rows { border-top: 1px solid var(--line-d); }
.band--bone .rows, .band--paper .rows { border-color: var(--line-l); }
.row {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(14px, 2.4vw, 40px); align-items: start;
  padding: clamp(20px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line-d);
}
.band--bone .row, .band--paper .row { border-color: var(--line-l); }
.row-n {
  font-family: var(--display); font-size: clamp(28px, 2.8vw, 42px); line-height: .9;
  color: var(--steel-d); font-variant-numeric: tabular-nums;
}
.band--bone .row-n, .band--paper .row-n { color: var(--steel); }
/* Some numbered rows carry an icon instead of a numeral. */
.row-n .ico { color: currentColor; }
.row h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.row h3, .row p { margin: 0; }
.row p { font-size: 15.5px; }
@media (max-width: 760px) {
  .row { grid-template-columns: 50px 1fr; gap: 12px; }
  .row > :last-child { grid-column: 2; margin-top: 8px; }
  .row-n { font-size: 26px; }
}

/* ---------- SECTION TYPE 4: full-bleed photo statement ---------- */
/* min-height alone is not spacing: once the copy grew (dated outlook line) the
   block filled the plate edge to edge on desktop. Real padding, scaled with
   the viewport, so the copy always sits inside air. */
.plate { position: relative; min-height: clamp(340px, 46vh, 470px); padding: clamp(56px, 7.5vw, 120px) 0; display: grid; align-items: center; overflow: hidden; }
.plate-bg { position: absolute; inset: 0; }
.plate-bg img { width: 100%; height: 100%; object-fit: cover; }
.plate-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,6,.93) 0%, rgba(6,6,6,.74) 50%, rgba(6,6,6,.34) 100%); }
.plate .wrap { position: relative; z-index: 1; }
@media (max-width: 700px) { .plate-bg::after { background: linear-gradient(0deg, rgba(6,6,6,.93) 20%, rgba(6,6,6,.62) 100%); } }

/* ---------- SECTION TYPE 5: dense grid ---------- */
.grid { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) and (min-width: 621px) { .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g-3 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ---------- Section head ---------- */
.head { margin-bottom: clamp(26px, 3.2vw, 44px); max-width: 62ch; }
.head--c { margin-inline: auto; text-align: center; }
/* Title left, intro right on one baseline. Used at most twice per page — it
   fills the dead right half a narrow head leaves on a wide band. */
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(20px,4vw,64px); align-items: end; }
.head--split p { margin: 0 0 4px; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; align-items: start; } .head--split p { margin-top: 14px; } }
.head p { margin: 14px 0 0; }

/* ---------- CARD TYPE 1: photo-led service card ---------- */
.pcard {
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .3s ease;
}
.band--bone .pcard, .band--paper .pcard { background: var(--paper); border-color: var(--line-l); box-shadow: 0 1px 0 rgba(11,11,11,.06); }
.pcard:hover { transform: translateY(-4px); border-color: var(--ink-3); }
.band--bone .pcard:hover, .band--paper .pcard:hover { border-color: rgba(11,11,11,.3); box-shadow: 0 14px 34px rgba(11,11,11,.13); }
.pcard-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-body { padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pcard-body p { margin: 0; font-size: 15.5px; }
.pcard-link { margin-top: auto; padding-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.pcard-link svg { width: 14px; height: 14px; fill: currentColor; transition: transform .25s ease; }
.pcard:hover .pcard-link svg { transform: translateX(4px); }

/* ---------- CARD TYPE 2: fact block (no box, ruled) ---------- */
.fact { padding-top: 16px; border-top: 2px solid currentColor; display: flex; flex-direction: column; gap: 8px; }
.fact h3, .fact p { margin: 0; }
.fact p { font-size: 15.5px; }

/* ---------- CARD TYPE 3: link list ----------
   Replaces v1's 20 boxed cards that each carried the identical map pin. */
.linklist { columns: 3; column-gap: clamp(20px, 3vw, 48px); }
@media (max-width: 900px) { .linklist { columns: 2; } }
@media (max-width: 560px) { .linklist { columns: 1; } }
.linklist a {
  display: block; break-inside: avoid; text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--line-d);
  font-size: 16px; font-weight: 600; transition: color .2s ease, padding-left .2s ease;
}
.band--bone .linklist a, .band--paper .linklist a { border-color: var(--line-l); }
.linklist a:hover, .linklist a:focus-visible { padding-left: 8px; }
.linklist a span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 13px; font-weight: 400; margin-top: 3px; line-height: 1.45;
}

/* ---------- Bridging panel — replaces the arc divider ----------
   A block that straddles the seam between two bands. Depth without ornament,
   and it cannot render wrong at any viewport width because it is a normal box
   with a negative margin. Twice per page, maximum. */
.bridge { margin-bottom: calc(var(--y) * -1); position: relative; z-index: 2; }
.bridge-inner {
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r);
  padding: clamp(22px, 2.6vw, 36px); box-shadow: 0 22px 54px rgba(0,0,0,.42);
}
.band--bone .bridge-inner, .band--paper .bridge-inner { background: var(--ink); box-shadow: 0 22px 54px rgba(0,0,0,.26); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 13.5px; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .18s cubic-bezier(.16,1,.3,1);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: var(--bone); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #262626; }
.btn--moss { background: var(--moss); color: var(--paper); }
.btn--moss:hover { background: var(--moss-2); }
.btn--ghost { border-color: currentColor; }
.band--ink .btn--ghost:hover, .band--ink2 .btn--ghost:hover, .hero .btn--ghost:hover, .plate .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band--bone .btn--ghost:hover, .band--paper .btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--c { justify-content: center; }

/* ---------- Icons — only where they differentiate ---------- */
.ico { width: 30px; height: 30px; fill: currentColor; flex: none; }
.ico--lg { width: 40px; height: 40px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 90; background: var(--ink); border-bottom: 1px solid var(--line-d); height: var(--hdr); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: clamp(10px, 2.2vw, 32px); }
.hdr-logo { flex: none; }
.hdr-logo img { height: 34px; width: auto; mix-blend-mode: screen; }
.hdr-nav { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 25px); margin-inline: auto; list-style: none; padding: 0; margin-block: 0; }
.hdr-nav > li { position: relative; }
.hdr-nav a { white-space: nowrap; text-decoration: none; font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #CFCFCF; padding: 8px 0; display: inline-block; transition: color .2s ease; }
.hdr-nav a:hover, .hdr-nav a.active { color: var(--paper); }
.hdr-nav > li > a::after { content: ''; display: block; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .26s cubic-bezier(.16,1,.3,1); }
.hdr-nav > li > a:hover::after, .hdr-nav > li > a.active::after { transform: scaleX(1); transform-origin: left; }
.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* The phone NEVER disappears — it is the primary conversion on a trades site.
   Below 560px it becomes an icon button; it does not vanish. */
.hdr-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 19px; letter-spacing: .02em; text-decoration: none; color: var(--paper); white-space: nowrap; }
.hdr-tel .ico { width: 17px; height: 17px; }
.hdr .btn { padding: 11px 20px; font-size: 12px; }

.has-sub > .sub {
  position: absolute; top: calc(100% + 12px); left: -16px; min-width: 262px;
  background: #101010; border: 1px solid var(--line-d); border-radius: var(--r);
  padding: 7px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  box-shadow: 0 22px 56px rgba(0,0,0,.6);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 13px; letter-spacing: .05em; font-size: 12px; border-radius: 3px; }
.sub a:hover { background: var(--ink-3); }
.sub a::after { display: none; }

/* ---------- Hamburger ---------- */
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: 0; padding: 10px 6px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--paper); transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1189px) { .hdr-nav { display: none; } .burger { display: flex; } .hdr-in { justify-content: space-between; } .hdr-actions { margin-left: auto; } }
/* Tablet landscape (1000–1189px): the real nav fits if it is set compact and
   the quote button steps aside — the phone number is the conversion anyway.
   Before this, an iPad in landscape got the phone-style hamburger. */
@media (max-width: 1189px) and (min-width: 1000px) {
  .hdr-nav { display: flex; gap: 11px; margin-inline: auto; }
  .hdr-nav a { font-size: 11px; letter-spacing: .06em; }
  .burger { display: none; }
  .hdr .btn { display: none; }
  .hdr-in { gap: 14px; }
  .hdr-actions { margin-left: 0; }
}
@media (max-width: 560px) {
  .hdr .btn { display: none; }                  /* the drawer carries the CTA */
  .hdr-tel { font-size: 0; gap: 0; padding: 9px; border: 1px solid var(--line-d); border-radius: 999px; }
  .hdr-tel .ico { width: 19px; height: 19px; }  /* phone survives as an icon */
}

/* ---------- Mobile drawer — rebuilt ----------
   v1 reflowed the service links as running text, clipped "Selective Demolition"
   off the right edge, and gave HOME, BLOG and the phone identical weight.
   Now: three weight tiers, one item per row, and a pinned action block. */
.drawer { position: fixed; inset: var(--hdr) 0 0 0; background: var(--ink); z-index: 80; display: none; grid-template-rows: 1fr auto; }
.drawer.open { display: grid; }
.drawer-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px var(--gut) 18px; }
.drawer-scroll > a {
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; font-family: var(--display); font-size: 24px;
  text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line-d);
}
.drawer-scroll > a[aria-current="page"], .drawer-group > a[aria-current="page"] { color: var(--paper); }
.drawer-scroll > a[aria-current="page"]::after,
.drawer-group > a[aria-current="page"]::after {
  content: 'You are here'; font-family: var(--body); font-size: 10px; font-weight: 800;
  letter-spacing: .12em; padding: 5px 10px; border-radius: 999px;
  background: var(--paper); color: var(--ink); flex: none;
}
.drawer-group { border-bottom: 1px solid var(--line-d); padding-bottom: 10px; }
.drawer-group > a { display: flex; align-items: center; justify-content: space-between; text-decoration: none; font-family: var(--display); font-size: 24px; text-transform: uppercase; padding: 14px 0 6px; }
/* One item per row. Never inline — inline flow is what mangled v1. */
.drawer-sub { display: flex; flex-direction: column; }
.drawer-sub a {
  display: block; text-decoration: none; font-size: 15px; font-weight: 600;
  color: #B7B7B7; padding: 9px 0 9px 16px; border-left: 2px solid var(--line-d);
  transition: color .2s ease, border-color .2s ease;
}
.drawer-sub a:hover, .drawer-sub a:focus-visible { color: var(--paper); border-color: var(--paper); }
.drawer-foot {
  padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-d); background: var(--ink-2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.drawer-foot a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 16px 10px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }
.drawer-foot .df-call { background: var(--paper); color: var(--ink); }
.drawer-foot .df-quote { border: 2px solid var(--paper); color: var(--paper); }
/* Current page: fill the CTA rather than injecting a pill inside the button. */
.drawer-foot a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.drawer-foot .ico { width: 17px; height: 17px; }
body.locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(520px, 72vh, 700px); display: grid; align-items: center; padding: clamp(48px,6vw,84px) 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,6,6,.93) 0%, rgba(6,6,6,.8) 42%, rgba(6,6,6,.3) 78%, rgba(6,6,6,.5) 100%),
    linear-gradient(0deg, rgba(6,6,6,.72) 0%, rgba(6,6,6,0) 46%);
}
.hero .wrap { position: relative; z-index: 1; }
/* Inner pages. Was an inline style, which the wide-screen tier could not reach. */
.hero--short { min-height: clamp(400px, 52vh, 520px); }
@media (min-width: 1600px) { .hero--short { min-height: clamp(520px, 56vh, 640px); } }
.hero-copy { max-width: 640px; }
.hero .lede { margin: 20px 0 28px; max-width: 44ch; }
@media (max-width: 700px) { .hero-bg::after { background: linear-gradient(0deg, rgba(6,6,6,.94) 14%, rgba(6,6,6,.6) 100%); } }

/* ---------- Trust strip — 4 items, never orphans ---------- */
.trust { background: var(--ink-2); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); padding: 15px 0; }
.trust-in { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 10px clamp(18px, 3.4vw, 48px); }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.trust-item .ico { width: 17px; height: 17px; color: var(--bone); }
@media (max-width: 860px) { .trust-in { grid-template-columns: repeat(2, auto); } }

/* ---------- Checks ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 15.5px; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; fill: currentColor; }

/* ---------- Gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, .9vw, 13px); }
.gal figure { margin: 0; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--ink-3); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.gal figure:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .gal { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Before / after ---------- */
.ba { display: grid; gap: clamp(13px, 1.5vw, 20px); grid-template-columns: repeat(2, 1fr); }
.ba--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ba--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }
.ba figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-d); background: var(--ink-2); display: flex; flex-direction: column; }
.band--bone .ba figure, .band--paper .ba figure { border-color: var(--line-l); background: var(--paper); }
.ba img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; }
.ba figcaption { padding: 14px 17px; font-size: 14px; display: flex; align-items: center; gap: 11px; margin-top: auto; }
.ba-tag { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--moss); color: #fff; flex: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 9px; max-width: 880px; }
.faq--c { margin-inline: auto; }
.faq details { border: 1px solid var(--line-d); border-radius: var(--r); background: var(--ink-2); overflow: hidden; }
.band--bone .faq details, .band--paper .faq details { border-color: var(--line-l); background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; padding: 18px clamp(16px,1.8vw,24px); font-family: var(--display); font-size: clamp(15.5px, 1.3vw, 19px); text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--body); font-weight: 400; font-size: 24px; line-height: 1; flex: none; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 clamp(16px,1.8vw,24px) 20px; margin: 0; font-size: 15.5px; max-width: 76ch; }

/* ---------- Forms ---------- */
.ldform { display: grid; gap: 3px; margin-top: 10px; }
.ldform label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-top: 12px; color: #C2C2C2; }
.band--bone .ldform label, .band--paper .ldform label { color: #4A4A4A; }
.ldform input, .ldform textarea, .ldform select {
  font: inherit; font-size: 16px; width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.06); color: var(--paper);
  border: 1px solid rgba(255,255,255,.24); border-radius: var(--r);
  transition: border-color .2s ease, background .2s ease;
}
.band--bone .ldform input, .band--paper .ldform input,
.band--bone .ldform textarea, .band--paper .ldform textarea { background: var(--paper); color: var(--ink); border-color: rgba(11,11,11,.24); }
/* Keep the site's focus ring — v1 set outline:none here, which out-specified
   the global :focus-visible rule and killed the ring on every form. */
.ldform input:focus, .ldform textarea:focus { border-color: var(--bone); background: rgba(255,255,255,.1); }
.ldform input:focus:not(:focus-visible), .ldform textarea:focus:not(:focus-visible) { outline: none; }
.ldform textarea { resize: vertical; min-height: 88px; }
.ldform button { border: 0; }

/* ---------- Footer ---------- */
.ftr { background: #070707; border-top: 1px solid var(--line-d); padding: clamp(44px,5vw,68px) 0 24px; }
.ftr-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: clamp(22px,3vw,44px); }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ftr-grid { grid-template-columns: 1fr; } }
.ftr h3 { font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ftr a { text-decoration: none; color: #A8A8A8; font-size: 14.5px; transition: color .2s ease; }
.ftr a:hover { color: var(--paper); }
.ftr-logo img { height: 40px; width: auto; margin-bottom: 14px; mix-blend-mode: screen; }
.ftr-contact li { display: grid; grid-template-columns: 19px 1fr; gap: 10px; align-items: start; color: #A8A8A8; font-size: 14.5px; }
.ftr-contact svg { width: 16px; height: 16px; fill: currentColor; margin-top: 4px; }
.ftr-social { display: flex; gap: 9px; margin-top: 16px; }
.ftr-social a { width: 38px; height: 38px; border: 1px solid var(--line-d); border-radius: var(--r); display: grid; place-items: center; }
.ftr-social svg { width: 16px; height: 16px; fill: currentColor; }
.ftr-base { margin-top: clamp(28px,3.4vw,46px); padding-top: 20px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: var(--steel-d); }
.ftr-base a { font-size: 13px; }

/* ---------- Scroll reveal — fail-safe (see zd.js) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
html.js .reveal.in-view { opacity: 1; transform: none; }
.rd-1 { transition-delay: .06s; } .rd-2 { transition-delay: .12s; } .rd-3 { transition-delay: .18s; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mb-0 { margin-bottom: 0; } .mt-0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 18px; border-radius: var(--r); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
.band--ink :focus-visible, .band--ink2 :focus-visible, .hero :focus-visible, .plate :focus-visible, .hdr :focus-visible, .drawer :focus-visible { outline-color: var(--bone); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  .hdr, .drawer, .ftr-social, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Long-form article body ---------- */
.article { max-width: 72ch; }
.article h2 { font-family: var(--display); font-size: clamp(21px, 2.1vw, 30px); text-transform: uppercase; line-height: 1.02; margin: 40px 0 14px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-family: var(--display); font-size: clamp(18px, 1.5vw, 22px); text-transform: uppercase; margin: 28px 0 10px; }
.article p { margin: 0 0 17px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article a:hover { text-decoration-thickness: 2px; }
.article strong { font-weight: 700; }
.article blockquote { margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ink); font-size: 18px; }

/* ---------- Quick-answer block (blog) ----------
   The paragraph an answer engine lifts, and the summary a busy contractor
   reads instead of the full article. Deliberately visually distinct. */
.answer {
  max-width: 72ch; margin: 0 0 40px; padding: clamp(20px, 2.4vw, 30px);
  border-left: 4px solid var(--moss); background: var(--bone-2); border-radius: 0 var(--r) var(--r) 0;
}
.band--ink .answer, .band--ink2 .answer { background: var(--ink-2); border-left-color: var(--moss-2); }
.answer .eyebrow { margin-bottom: 10px; color: var(--moss); }
.band--ink .answer .eyebrow { color: var(--bone); }
.answer h2 { margin: 0 0 10px; }
.answer p { margin: 0; font-size: 16.5px; line-height: 1.62; }
/* Dated note (seasonal outlook). Same shape as .answer so it reads as a
   quotable block, but full-width inside its band and with a link. */
.answer.dated { margin: 0 0 clamp(28px, 4vw, 44px); }
.answer.dated a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- "Ask Zebra" chat widget (assets/chat.js) ----------
   Mounted only when /api/chat answers { ok: true }. Brand-native: ink panel,
   moss accent, Anton title. Never covers the header; sits above the CTA band
   on phones by giving the body no extra padding — the launcher is a pill. */
.zc { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 85; font-family: var(--body); }
.zc-launch { display: inline-flex; align-items: center; gap: 9px; background: var(--paper); color: var(--ink); border: 0; border-radius: 999px; padding: 13px 18px 13px 15px; font-family: var(--display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .2s ease, background .2s ease; }
.zc-launch:hover { transform: translateY(-2px); background: var(--bone); }
.zc.open .zc-launch { display: none; }
.zc-panel { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); width: min(400px, calc(100vw - 28px)); height: min(620px, calc(100vh - 100px)); background: var(--ink); color: var(--paper); border: 1px solid var(--line-d); border-radius: var(--r); box-shadow: 0 24px 64px rgba(0,0,0,.6); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; }
.zc-panel[hidden] { display: none; }   /* display:grid above would otherwise defeat the hidden attribute */
.zc-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line-d); background: var(--ink-2); }
.zc-eyebrow { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-d); }
.zc-head h2 { margin: 0; font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.zc-close { background: none; border: 0; color: var(--paper); font-size: 26px; line-height: 1; padding: 4px 8px; cursor: pointer; }
.zc-log { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.zc-msg { max-width: 88%; padding: 11px 14px; border-radius: 12px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.zc-assistant { background: var(--ink-3); color: var(--paper); align-self: flex-start; border-bottom-left-radius: 3px; }
.zc-user { background: var(--moss); color: var(--paper); align-self: flex-end; border-bottom-right-radius: 3px; }
.zc-note { background: transparent; color: var(--steel-d); font-size: 13px; padding: 0 4px; }
.zc-wait { color: var(--steel-d); letter-spacing: .2em; }
.zc-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line-d); background: var(--ink-2); }
.zc-form textarea { resize: none; background: var(--ink); color: var(--paper); border: 1px solid var(--line-d); border-radius: var(--r); padding: 10px 12px; font: inherit; font-size: 15px; line-height: 1.4; min-height: 42px; max-height: 120px; }
.zc-form textarea:focus { outline: 2px solid var(--moss-2); outline-offset: 1px; }
.zc-form button { background: var(--paper); color: var(--ink); border: 0; border-radius: var(--r); padding: 0 16px; font-family: var(--display); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.zc-form button:hover { background: var(--bone); }
.zc-foot { margin: 0; padding: 8px 14px 12px; font-size: 12px; color: var(--steel-d); background: var(--ink-2); }
.zc-foot a { color: var(--paper); font-weight: 700; text-decoration: none; }
.zc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) {
  .zc-panel { right: 0; bottom: 0; width: 100vw; height: calc(100vh - var(--hdr)); border-radius: 0; border-left: 0; border-right: 0; }
  .zc-launch span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .zc-launch { transition: none; } }

/* ---------- Wide screens ----------
   Measured 2026-09-22 on a 2560px monitor: every clamp() above tops out by
   1440px, so past that the site was a 1200px column with phone-scale type and
   92px bands — a mobile layout with big margins. This tier scales the frame,
   the type and the vertical rhythm TOGETHER, so proportions hold instead of
   one dimension stretching. Two steps: 1600 (laptop/desktop) and 2000 (large
   monitors). Tokens only where possible so components inherit it. */
@media (min-width: 1600px) {
  :root {
    --wrap: 1320px; --wide: 1560px;
    --y: clamp(88px, 5.4vw, 120px); --y-lg: clamp(110px, 7vw, 156px);
    --hdr: 80px;
  }
  body { font-size: 18px; }
  .d1 { font-size: clamp(72px, 4.6vw, 88px); }
  .d1--long { font-size: clamp(50px, 3vw, 58px); }
  .d2 { font-size: clamp(52px, 3.4vw, 62px); }
  .d3 { font-size: clamp(34px, 2.1vw, 40px); }
  .d4 { font-size: clamp(22px, 1.35vw, 25px); }
  .d-quiet { font-size: 15.5px; }
  .lede { font-size: clamp(19px, 1.15vw, 21px); }
  .small { font-size: 15.5px; }
  .answer p { font-size: 18px; }
  .eyebrow { font-size: 12.5px; }
  .hero { min-height: clamp(700px, 74vh, 860px); }
  .hero-copy { max-width: 760px; }
  .hero .lede { max-width: 48ch; }
  .plate { min-height: clamp(440px, 46vh, 560px); padding: clamp(120px, 8vw, 160px) 0; }
  .hdr-logo img { height: 38px; }
  .hdr-nav { gap: 28px; }
  .hdr-nav a { font-size: 13.5px; }
  .hdr-tel { font-size: 21px; }
  .hdr .btn { padding: 13px 24px; font-size: 13px; }
  .btn { padding: 16px 30px; font-size: 13.5px; }
  .split { gap: clamp(56px, 5vw, 96px); }
  .grid { gap: clamp(18px, 1.6vw, 28px); }
  .head { max-width: 66ch; }
  .rows .row { padding-block: 30px; }
  .trust { padding: 18px 0; }
  .trust-item { font-size: 13px; }
  .drawer-scroll > a { font-size: 26px; }
  .ftr a, .ftr-contact li { font-size: 15.5px; }
}
@media (min-width: 2000px) {
  :root { --wrap: 1440px; --wide: 1720px; --gut: 64px; }
  .hero-copy { max-width: 820px; }
  .hero { min-height: clamp(760px, 72vh, 900px); }
  .plate { min-height: clamp(480px, 46vh, 600px); padding: 176px 0; }
}
