/* =====================================================================
   VERDIGRIS — Family Plumbing & Rooter Services, Inc.
   Direction : "Verdigris"  ·  copper oxidising to patina
   Metaphor  : a mechanical drawing set for a coastal estate —
               title block, sheet numbers, dimension rules, revision stamp
   Tone      : precise / coastal / quiet
   Signature : section heads are drawing callouts (ticked dimension rule that
               draws itself), and a copper riser line runs the left margin of
               the whole page, filling with patina as you scroll.
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
    /* base world */
    --chalk:      #F1EDE4;
    --chalk-2:    #E5DFD2;
    --paper:      #FBF9F5;

    /* ink (harbour green-black) */
    --ink:        #11211E;
    --ink-2:      #1C302B;
    --ink-soft:   #4A5A54;

    /* accent family — logo blue, 3 steps (default accent) */
    --verd:       #1E51A4;   /* true — accent on light            6.49:1 on chalk */
    --verd-dp:    #102C5A;   /* deep — headings, fills            11.75:1 on chalk */
    --verd-lt:    #9AB1D6;   /* light tint — accent TEXT on dark  7.65:1 on ink   */

    /* metal — furniture only */
    --copper:     #8A4F2B;   /* text-safe on BOTH light grounds   5.56 chalk / 4.89 chalk-2 */
    --copper-lt:  #D9A06B;   /* text on dark                      7.29:1 on ink   */
    --copper-ln:  #A96B3E;   /* DECORATIVE rules/ticks only — never words */

    /* accent-swatch colors for the theme toggle button itself — always visible
       regardless of which accent is currently active */
    --swatch-verd: #1F6B57;
    --swatch-blue: #1E51A4;

    /* hairlines */
    --line:       rgba(17, 33, 30, .17);
    --line-soft:  rgba(17, 33, 30, .085);
    --line-dk:    rgba(241, 237, 228, .17);

    /* type */
    --f-ser:  'Newsreader', 'Iowan Old Style', Palatino, Georgia, serif;
    --f-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --f-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    /* one easing curve, everywhere */
    --ease:   cubic-bezier(.16, 1, .3, 1);
    --ease-x: cubic-bezier(.7, 0, .18, 1);

    --shell:  1320px;
    --gut:    clamp(20px, 5vw, 62px);
    --rail:   84px;
}

/* ---------- 1b. GREEN ACCENT THEME (toggle) ----------
   The original verdigris green, kept as the alternate accent (blue — the real logo
   color — is now the default set in :root above). Computed the same way as every
   other accent step in this system: --verd passes AA on chalk (5.45:1); --verd-dp
   for headings/fills on light (9.26:1 on chalk); --verd-lt for accent TEXT on dark
   ink (8.83:1). Toggled via [data-accent="green"] on <html>, set by the nav button
   and persisted in localStorage. `:root[data-accent="green"]` (0-2-0) reliably
   beats plain `:root` (0-1-0) regardless of source order. */
:root[data-accent="green"] {
    --verd:    #1F6B57;
    --verd-dp: #14453A;
    --verd-lt: #8CC9B4;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--chalk);
    color: var(--ink);
    font-family: var(--f-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* height:auto is required — the width/height HTML attributes land as presentational
   hints, and an explicit height stops any later aspect-ratio from taking effect. */
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p   { margin: 0 0 1.05em; text-wrap: pretty; }   /* pretty is widow-safe; balance is not */
ul  { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
address { font-style: normal; }   /* UA default is italic — would tilt the contact plate */

:focus-visible { outline: 2px solid var(--verd); outline-offset: 3px; }

/* skip link — off-screen until focused, then a proper plate */
.skip {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 400;
    transform: translateY(-160%);
    padding: 13px 20px;
    background: var(--ink);
    color: var(--chalk);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    border: 1px solid var(--copper-ln);
    transition: transform .35s var(--ease);
}

.skip:focus { transform: none; }
main:focus { outline: none; }
::selection { background: var(--verd); color: var(--paper); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--chalk-2); }
::-webkit-scrollbar-thumb { background: var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--verd); }

/* film grain — the paper of the drawing set */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 998;
    pointer-events: none;
    opacity: .42;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- 3. TYPE ROLES ---------- */
.grot {
    font-family: var(--f-sans);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.022em;
}

.ser {
    font-family: var(--f-ser);
    font-weight: 200;
    font-style: italic;
    letter-spacing: -.005em;
}

.mono {
    font-family: var(--f-mono);
    font-weight: 500;
    text-transform: uppercase;
}

.vd { color: var(--verd); }
.cu { color: var(--copper); }

.lede {
    font-size: clamp(16.5px, 1.32vw, 18.5px);
    line-height: 1.76;
    color: var(--ink-soft);
    max-width: 60ch;
}

.lede em { font-family: var(--f-ser); font-style: italic; color: var(--verd); font-size: 1.06em; }

/* section heading — grotesque × light italic serif collision, repeated everywhere */
.head2 {
    font-size: clamp(31px, 4.6vw, 64px);
    line-height: 1.03;
    letter-spacing: -.02em;
}

.head2 .grot { display: inline; }
.head2 .ser  { font-size: 1.1em; line-height: .9; }

/* give each voice its own line where the natural wrap orphans a fragment
   ("& Gas / Line Repair"). Controlled breaks, same principle as the masked H1. */
.h2-stack .ser { display: block; }

.head3 {
    font-family: var(--f-ser);
    font-weight: 300;
    font-size: clamp(21px, 2.1vw, 27px);
    line-height: 1.22;
    letter-spacing: -.01em;
}

/* ---------- 4. THE CALLOUT (signature: a drawn dimension rule) ---------- */
.callout {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--copper);
}

.callout .cal-n { flex: none; }

/* centred variant — used where a section needs a plain label and no index number.
   Furniture must read as English first and as the metaphor second. */
.callout.cal-mid { justify-content: center; }
.callout.cal-mid .cal-rule { max-width: 120px; }

.callout .cal-rule {
    position: relative;
    height: 1px;
    background: var(--copper-ln);
    flex: 1 1 auto;
    max-width: 190px;
    transform-origin: left center;
    transition: transform 1.5s var(--ease);
}

.js .callout .cal-rule { transform: scaleX(0); }

/* the tick ends of a dimension line */
.callout .cal-rule::before,
.callout .cal-rule::after {
    content: "";
    position: absolute;
    top: -4px;
    width: 1px;
    height: 9px;
    background: var(--copper-ln);
}

.callout .cal-rule::before { left: 0; }
.callout .cal-rule::after  { right: 0; }

.js .callout.in .cal-rule { transform: scaleX(1); }
.callout .cal-l { flex: none; color: var(--ink-soft); }

.invert .callout          { color: var(--copper-lt); }
.invert .callout .cal-l   { color: var(--verd-lt); }
.invert .callout .cal-rule,
.invert .callout .cal-rule::before,
.invert .callout .cal-rule::after { background: var(--copper-lt); }

/* ---------- 5. REVEAL PRIMITIVE ----------
   Progressive enhancement: the hidden state is scoped to .js (set by an inline
   script in <head>). With JS off — or if site.js never loads — every element is
   simply visible, instead of the page below the hero staying blank forever. */
.ro { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .ro { opacity: 0; transform: translateY(30px); }
.js .ro.in { opacity: 1; transform: none; }
.ro.d1 { transition-delay: .09s; }
.ro.d2 { transition-delay: .18s; }
.ro.d3 { transition-delay: .27s; }
.ro.d4 { transition-delay: .36s; }

/* ---------- 6. BUTTONS ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 17px 30px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .19em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--chalk);
    overflow: hidden;
    cursor: pointer;
    transition: color .35s var(--ease), border-color .35s var(--ease);
}

/* lacquer sweep — accent slides in from the left */
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--verd);
    transform: translateX(-101%);
    transition: transform .55s var(--ease);
    z-index: 0;
}

.btn > * { position: relative; z-index: 1; }
.btn .ar { transition: transform .45s var(--ease); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-light {
    background: transparent;
    color: var(--chalk);
    border-color: var(--line-dk);
}

.btn-light::before { background: var(--verd-lt); }

@media (hover: hover) {
    .btn:hover::before { transform: translateX(0); }
    .btn:hover { border-color: var(--verd); color: var(--paper); }
    .btn:hover .ar { transform: translateX(5px); }
    .btn-light:hover { border-color: var(--verd-lt); color: var(--ink); }
}

.btn:focus-visible::before { transform: translateX(0); }
.btn:focus-visible { color: var(--paper); }
.btn-light:focus-visible { color: var(--ink); }

/* ---------- 7. FOLIO STRIP ---------- */
.folio {
    background: var(--ink);
    color: var(--copper-lt);
    border-bottom: 1px solid var(--line-dk);
}

.folio-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    height: 36px;
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 400;
    letter-spacing: .28em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

.folio-in a { color: var(--verd-lt); }
.folio-in a:hover { color: var(--chalk); }

/* ---------- 8. NAV (smart bar) ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(241, 237, 228, .93);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
    transition: transform .5s var(--ease);
}

.nav.hide { transform: translateY(-101%); }

.nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    height: 78px;
}

.nav-brand { display: flex; align-items: center; gap: 13px; flex: none; }

.nav-mark {
    width: 42px;
    height: 42px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--copper-ln);
    font-family: var(--f-ser);
    font-size: 19px;
    font-style: italic;
    color: var(--copper);
}

.nav-brand .nm { display: block; }

.nav-brand b {
    display: block;
    font-family: var(--f-ser);
    font-weight: 400;
    font-size: 19px;
    line-height: 1.06;
    letter-spacing: -.01em;
}

/* the real brand mark — never recoloured; the system frames it, not the reverse */
.nav-logo {
    height: clamp(30px, 2.6vw, 38px);
    width: auto;
    flex: none;
}

.tb-logo {
    height: 46px;
    width: auto;
    margin-bottom: 18px;
    /* the mark is navy on a dark footer — a light plate keeps it legible */
    background: var(--chalk);
    padding: 9px 13px;
    border: 1px solid var(--line-dk);
}

.nav-brand .nm > span {
    display: block;
    margin-top: 3px;
    font-family: var(--f-mono);
    font-size: 8.5px;
    font-weight: 400;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.nav-links { display: flex; align-items: center; gap: 22px; }

.nav-links > a {
    position: relative;
    padding: 9px 0;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .17em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 0;
    height: 1px;
    background: var(--verd);
    transition: width .4s var(--ease);
}

@media (hover: hover) {
    .nav-links > a:hover::after { width: 100%; }
    .nav-links > a:hover { color: var(--verd); }
}

/* scroll-spy: the sheet you are currently reading */
.nav-links > a.cur { color: var(--verd); }
.nav-links > a.cur::after { width: 100%; }

.nav-call {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: none;
    padding: 13px 22px;
    background: var(--verd);
    color: var(--paper);
    font-family: var(--f-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .1em;
    transition: background .35s var(--ease);
}

.nav-call:hover { background: var(--verd-dp); }

/* ---------- 8b. ACCENT TOGGLE (green / logo blue) ---------- */
.accent-toggle {
    position: relative;
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: none;
    cursor: pointer;
    padding: 0;
}

.accent-toggle:hover { border-color: var(--copper-ln); }

.accent-toggle .at-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--swatch-blue);
    border: 1px solid rgba(17, 33, 30, .18);
    transition: background .35s var(--ease), transform .35s var(--ease);
}

[data-accent="green"] .accent-toggle .at-dot {
    background: var(--swatch-verd);
    transform: rotate(180deg);
}

.mnav-in .accent-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.mnav-in .accent-toggle-row .accent-toggle { width: 30px; height: 30px; }
.mnav-in .accent-toggle-row .at-dot { width: 13px; height: 13px; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 11px;
    background: none;
    border: 0;
    cursor: pointer;
}

.burger i { display: block; width: 23px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s var(--ease); }
.burger.on i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.on i:nth-child(2) { opacity: 0; }
.burger.on i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mnav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--chalk);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease);
}

.mnav.open { max-height: 480px; }

.mnav-in { display: flex; flex-direction: column; padding: 8px var(--gut) 26px; }

.mnav-in a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.mnav-call {
    margin-top: 20px;
    border-bottom: 0 !important;
    background: var(--verd);
    color: var(--paper);
    text-align: center;
    padding: 16px !important;
}

/* ---------- 9. LEFT RAIL + RISER (signature) ---------- */
.riser {
    position: fixed;
    left: 33px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--copper-ln);
    opacity: .5;
    z-index: 120;
    pointer-events: none;
}

.riser-fill {
    position: absolute;
    inset: 0;
    background: var(--verd);
    transform: scaleY(0);
    transform-origin: top center;
}

/* the collar where the riser meets the fill */
.riser-bead {
    position: absolute;
    left: -2px;
    top: 0;
    width: 5px;
    height: 5px;
    background: var(--verd);
    border-radius: 50%;
}

@media (max-width: 1180px) { .riser { display: none; } }

.rail {
    position: relative;
    width: var(--rail);
    flex: none;
    border-right: 1px solid var(--line);
    /* the rotated label is longer than the rail is tall at some viewports —
       clip it here rather than let it bleed up into the nav */
    overflow: hidden;
}

.rail-tx {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    /* writing-mode, not rotate(): a rotated box is centred on its origin so half the
       string overflows upward and gets clipped. This flows downward from the top. */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 400;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.rail-seal {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--copper-ln);
    border-radius: 50%;
    font-family: var(--f-ser);
    font-style: italic;
    font-size: 15px;
    color: var(--copper);
}

/* ---------- 10. HERO ----------
   Asymmetric full-bleed split: the type column stays aligned to the page grid
   while the image runs off the right edge of the viewport. The bleed is what
   separates this from a boxed, document-like hero. */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr clamp(300px, 41vw, 680px);
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    min-height: min(88vh, 900px);
}

.hero-left {
    display: flex;
    align-items: stretch;
    min-width: 0;
    /* align the left edge with .shell, but let the column run full-bleed right */
    padding-left: max(var(--gut), calc((100% - var(--shell)) / 2 + var(--gut)));
    padding-right: clamp(26px, 3.4vw, 58px);
}

.hero-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(26px, 3.2vw, 44px);
    padding: clamp(46px, 6vh, 76px) 0 clamp(50px, 7vh, 86px) clamp(26px, 3.4vw, 54px);
}

.hero-lead  { max-width: 660px; }
.hero-aside { max-width: 520px; }

h1.d1 {
    /* max 58px, not 61 — "New Construction," (this headline's longest masked
       line) clips past 58px on wide+tall viewports where neither the squeeze-zone
       nor short-viewport override is active; verified with scrollWidth vs box. */
    font-size: clamp(34px, 4.55vw, 58px);
    line-height: 1.03;
    letter-spacing: -.025em;
    margin-bottom: 28px;
}

/* squeeze zone: the hero's left ("1fr") column is genuinely narrower here relative
   to the longest masked line ("New Construction,") than at wider or narrower
   viewports — unlike an auto-sized grid track, this column CAN structurally
   overflow its content, so the clamp needs a harder ceiling in this exact band. */
@media (min-width: 1150px) and (max-width: 1520px) {
    h1.d1 { font-size: clamp(34px, 3.5vw, 48px); }
}

h1.d1 .ln {
    display: block;
    overflow: hidden;
    padding: .05em 0;
}

h1.d1 .ln > span {
    display: block;
    white-space: nowrap;
    transform: translateY(106%);
    animation: rise 1.05s var(--ease) forwards;
}

h1.d1 .ln:nth-child(1) > span { animation-delay: .12s; }
h1.d1 .ln:nth-child(2) > span { animation-delay: .22s; }
h1.d1 .ln:nth-child(3) > span { animation-delay: .32s; }
h1.d1 .ln:nth-child(4) > span { animation-delay: .42s; }

@keyframes rise { to { transform: translateY(0); } }

h1.d1 .ser { font-size: 1.12em; }
h1.d1 .ln i { font-style: normal; }
h1.d1 .ln i.ser { font-style: italic; font-size: 1.12em; }

.hero-lede {
    opacity: 0;
    animation: fadeUp .9s var(--ease) .68s forwards;
}

.hero-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
    opacity: 0;
    animation: fadeUp .9s var(--ease) .84s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

/* hero image plate — full-bleed right, breaking the section boundary below */
.hero-plate {
    position: relative;
    align-self: stretch;
    overflow: hidden;
    /* no downward bleed: the trust bar now sits here and content must not be covered.
       The boundary-break move lives on the approval seal instead. */
    margin-bottom: 0;
    clip-path: inset(0 0 100% 0);
    animation: wipe 1.35s var(--ease) .25s forwards;
}

@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

.hero-plate picture { display: contents; }
.hero-plate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

.hero-plate figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 30px 16px 13px;
    background: linear-gradient(to top, rgba(17, 33, 30, .82), transparent);
    color: var(--chalk);
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

/* ---------- 11. PLATE (credential / contact — corner-ticked) ---------- */
.plate {
    position: relative;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 26px 26px 24px;
    box-shadow: 0 26px 54px -38px rgba(17, 33, 30, .42);
}

.plate::before, .plate::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-color: var(--copper-ln);
    border-style: solid;
}

.plate::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.plate::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.plate-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 13px;
    margin-bottom: 17px;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--copper);
}

.plate-fig {
    font-family: var(--f-ser);
    font-weight: 200;
    font-size: clamp(38px, 4.4vw, 54px);
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--verd-dp);
    margin-bottom: 4px;
}

.plate-fig-l {
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

/* dotted-leader rows: label ····· value */
.led { display: flex; align-items: baseline; gap: 7px; padding: 7px 0; }

.led-k {
    flex: none;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
}

.led-d {
    flex: 1 1 auto;
    border-bottom: 1px dotted var(--line);
    transform: translateY(-4px);
    min-width: 12px;
}

.led-v {
    flex: none;
    font-variant-numeric: tabular-nums;
    font-family: var(--f-ser);
    font-weight: 400;
    font-size: 15px;
    white-space: nowrap;
    color: var(--ink);
}

.led-v a:hover { color: var(--verd); }

/* A stamped plate reserves clear space at the foot, so the seal hangs over the
   plate's own margin instead of landing on the last dotted-leader row. */
.plate.has-stamp { padding-bottom: 62px; }

/* revision stamp — breaks a corner */
.stamp {
    position: absolute;
    right: -18px;
    bottom: -20px;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid var(--copper-ln);
    border-radius: 50%;
    background: var(--chalk);
    transform: rotate(-11deg);
    font-family: var(--f-mono);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--copper);
    line-height: 1.5;
}

/* ---------- 11b. TRUST BAR (directly under the hero) ---------- */
.trustbar {
    background: var(--chalk-2);
    border-bottom: 1px solid var(--line);
}

.trustbar-in {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.tb-i {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    padding: clamp(20px, 2.4vw, 30px) clamp(10px, 1.6vw, 22px);
    border-left: 1px solid var(--line);
}

.tb-i:last-child { border-right: 1px solid var(--line); }

.tb-i .tb-t {
    font-family: var(--f-mono);
    font-size: clamp(9px, .78vw, 10.5px);
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.6;
}

.tb-i .tb-t b { font-weight: 500; color: var(--copper); }

.tb-stars { display: flex; gap: 3px; }
.tb-stars svg { width: 13px; height: 13px; fill: var(--verd); }
.tb-stars .half { opacity: .42; }

.tb-mark { width: 20px; height: 20px; stroke: var(--copper-ln); fill: none; stroke-width: 1.3; }

@media (max-width: 860px) {
    .trustbar-in { grid-template-columns: repeat(2, 1fr); }
    .tb-i:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .tb-i:nth-child(2n) { border-right: 1px solid var(--line); }
}

@media (max-width: 480px) {
    .trustbar-in { grid-template-columns: 1fr; }
    .tb-i { flex-direction: row; gap: 12px; justify-content: flex-start; text-align: left; padding: 15px var(--gut); border-right: 1px solid var(--line); }
    .tb-i:last-child { border-bottom: 1px solid var(--line); }
}

/* ---------- 11c. TWO PATHS (Planning a Project? / Need Plumbing Service?) ---------- */
.paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 2.4vw, 30px);
}

.path {
    position: relative;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: clamp(28px, 3.4vw, 40px) clamp(26px, 3vw, 36px) clamp(30px, 3.4vw, 38px);
    box-shadow: 0 26px 54px -38px rgba(17, 33, 30, .42);
}

.path::before, .path::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--copper-ln);
    border-style: solid;
}

.path::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.path::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.path-mk {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border: 1px solid var(--copper-ln);
    border-radius: 50%;
}

.path-mk svg { width: 21px; height: 21px; stroke: var(--copper); fill: none; stroke-width: 1.4; }

.path h3 {
    font-family: var(--f-ser);
    font-weight: 300;
    font-size: clamp(22px, 2.3vw, 28px);
    letter-spacing: -.01em;
    margin-bottom: 6px;
}

.path h3 em { font-style: italic; color: var(--verd); }

.path-sub {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 22px;
}

.path ul { margin: 0 0 28px; }

.path li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
    color: var(--ink-soft);
}

.path li:first-child { border-top: 1px solid var(--line-soft); }

.path .btn { width: 100%; justify-content: center; }
.path.svc .btn { background: transparent; color: var(--ink); border-color: var(--line); }
.path.svc .btn::before { background: var(--verd); }

@media (hover: hover) {
    .path.svc .btn:hover { border-color: var(--verd); color: var(--paper); }
}

@media (max-width: 760px) {
    .paths { grid-template-columns: 1fr; }
}

/* ---------- 11d. NEW CONSTRUCTION / REMODEL — rough-in to finish ---------- */
.rough {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 2px solid var(--ink);
}

.rough-i {
    padding: clamp(26px, 2.6vw, 34px) clamp(18px, 1.8vw, 26px);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.rough-i:last-child { border-right: 0; }

.rough-n {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .18em;
    color: var(--copper);
    margin-bottom: 14px;
}

.rough-i h3 {
    font-family: var(--f-ser);
    font-weight: 300;
    font-size: clamp(19px, 1.9vw, 23px);
    line-height: 1.2;
    letter-spacing: -.01em;
    margin-bottom: 10px;
}

.rough-i p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

@media (max-width: 900px) {
    .rough { grid-template-columns: repeat(2, 1fr); }
    .rough-i:nth-child(2) { border-right: 0; }
}

@media (max-width: 520px) {
    .rough { grid-template-columns: 1fr; }
    .rough-i { border-right: 0 !important; }
}

/* ---------- 12. TICKER ---------- */
.ticker {
    background: var(--ink);
    color: var(--chalk);
    border-top: 2px solid var(--verd);
    border-bottom: 2px solid var(--verd);
    overflow: hidden;
    padding: 17px 0;
}

/* The skew lives on a WRAPPER, never on .tick-track — the track already owns a
   transform via the marquee animation and the two would clobber each other. */
.tick-skew {
    transform: skewX(var(--tskew, 0deg));
    will-change: transform;
}

.tick-track {
    display: flex;
    width: max-content;
    animation: march 34s linear infinite;
}

.tick-track > span {
    display: flex;
    align-items: center;
    flex: none;
}

@keyframes march { to { transform: translateX(-50%); } }

.ticker:hover .tick-track { animation-play-state: paused; }

.tick-i {
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .11em;
    text-transform: uppercase;
    padding: 0 26px;
    white-space: nowrap;
}

.tick-s { color: var(--verd-lt); font-size: 13px; }

/* ---------- 12b. TWO-COLUMN SECTION GRIDS ----------
   These live in CSS (not inline styles) so the breakpoints can actually
   collapse them — an inline grid-template-columns beats any media query. */
.duo {
    display: grid;
    gap: clamp(30px, 4.4vw, 66px);
    align-items: start;
}

.duo-svc     { grid-template-columns: 1.05fr .95fr; align-items: end; margin-bottom: 52px; }
.duo-promise { grid-template-columns: 1.08fr .92fr; align-items: center; }
.duo-area    { grid-template-columns: 1fr .78fr; }
.duo-contact { grid-template-columns: 1.1fr .9fr; }
.duo-quote   { grid-template-columns: 1fr minmax(0, 640px); align-items: end; margin-bottom: 44px; }
/* minmax(0,640px), not `auto` — an auto track sizes itself from its content's
   max-content contribution. The video swaps its poster <img> for an absolutely
   positioned <iframe> on play, which contributes NOTHING to that computation, so an
   auto track collapses to ~0 the instant the content changes. A fixed-ceiling track
   is immune: its size never depends on what's inside it. */

/* Promise rows span the full shell. They previously sat in a half-width column beside
   a 293px video inside a 920px row — 627px of dead space. The video is proof-by-voice
   and now lives with the testimonials; these rows get the width they deserve. */
.promise-full .prow { grid-template-columns: .42fr 1.58fr; }
@media (max-width: 860px) { .duo-quote { grid-template-columns: 1fr; } }

/* ---------- 13. BANDS ---------- */
.band { padding: clamp(78px, 11.5vh, 152px) 0; position: relative; }
.band-line { border-top: 1px solid var(--line); }
.band-2 { background: var(--chalk-2); }

.band.invert {
    background: var(--ink);
    color: var(--chalk);
}

.band.invert::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(-45deg, rgba(241, 237, 228, .028) 0 1px, transparent 1px 11px);
}

.band.invert .shell { position: relative; z-index: 1; }
.band.invert .lede { color: rgba(241, 237, 228, .74); }
.band.invert .head2 { color: var(--chalk); }

/* ---------- 13b. FULL-BLEED IMAGE BAND ----------
   The page was ~85% one beige; these bands are what give it tonal rhythm.
   The scrim is deliberately heavy so text contrast never depends on the photo. */
.imgband {
    position: relative;
    isolation: isolate;
    color: var(--chalk);
    overflow: hidden;
}

.imgband-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--ink);
}

.imgband-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
    will-change: transform;
}

.imgband::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(100deg, rgba(17, 33, 30, .95) 0%, rgba(17, 33, 30, .93) 52%, rgba(17, 33, 30, .90) 100%),
        repeating-linear-gradient(-45deg, rgba(241, 237, 228, .028) 0 1px, transparent 1px 11px);
}

.imgband .callout        { color: var(--copper-lt); }
.imgband .callout .cal-l { color: var(--verd-lt); }
.imgband .callout .cal-rule,
.imgband .callout .cal-rule::before,
.imgband .callout .cal-rule::after { background: var(--copper-lt); }
.imgband .head2 { color: var(--chalk); }
.imgband .lede  { color: rgba(241, 237, 228, .82); }
.imgband .lede a { color: var(--verd-lt); }
.imgband .mani  { color: var(--chalk); }
.imgband .mani em { color: var(--verd-lt); }
.imgband .mani-side { border-left-color: var(--line-dk); }

/* full-bleed interlude — a breath between two dense sections */
.bleed {
    position: relative;
    height: clamp(300px, 52vh, 580px);
    overflow: hidden;
    background: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.bleed img {
    width: 100%;
    height: 118%;
    object-fit: cover;
    object-position: center 55%;
    filter: grayscale(.14) sepia(.06);
    will-change: transform;
}

.bleed .imgband-cap { background: rgba(17, 33, 30, .86); color: var(--chalk); }

.bleed::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(17, 33, 30, .62), rgba(17, 33, 30, .06) 46%, rgba(17, 33, 30, .22));
}

/* the caption plate that names the view — drawing-set language on a photograph */
.imgband-cap {
    position: absolute;
    right: clamp(16px, 3vw, 44px);
    bottom: clamp(14px, 2vw, 26px);
    padding: 6px 11px;
    background: rgba(17, 33, 30, .82);
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--chalk);
    z-index: 1;
}

/* ---------- 14. MANIFESTO (word-fill) ---------- */
.mani {
    font-family: var(--f-ser);
    font-weight: 200;
    font-size: clamp(23px, 2.9vw, 40px);
    line-height: 1.32;
    letter-spacing: -.015em;
    max-width: 20ch;
}

.mani-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: clamp(30px, 5vw, 76px);
    align-items: start;
}

.mani .w { transition: opacity .6s var(--ease); }
.js .mani .w { opacity: .15; }
.js .mani.fill .w { opacity: 1; }
.mani em { font-style: italic; color: var(--verd); }

.mani-side { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 34px); }

/* ---------- 15. RULED ROWS (services) ---------- */
.rows { border-top: 2px solid var(--ink); }

/* Row 1 = index / title / description / arrow.
   Row 2 = the item index, spanning title+description so long lists flow wide
   instead of stacking into a narrow column beside an empty void. */
.row {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1.05fr) minmax(0, 1.35fr) 40px;
    grid-template-rows: auto auto;
    column-gap: 26px;
    row-gap: 0;
    align-items: start;
    padding: 30px 0 28px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    transition: padding-left .5s var(--ease);
}

.row-n  { grid-column: 1; grid-row: 1; }
.row-t  { grid-column: 2; grid-row: 1; }
.row-d  { grid-column: 3; grid-row: 1; }
.row-ar { grid-column: 4; grid-row: 1; }
.row .idx { grid-column: 2 / 4; grid-row: 2; }

.row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 107, 87, .085), rgba(31, 107, 87, 0));
    transform: translateX(-101%);
    transition: transform .55s var(--ease);
    pointer-events: none;
}

.row > * { position: relative; z-index: 1; }

.row-n {
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .18em;
    color: var(--copper);
    padding-top: 6px;
}

.row-t {
    font-family: var(--f-ser);
    font-weight: 300;
    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.16;
    letter-spacing: -.015em;
}

.row-d { color: var(--ink-soft); font-size: 15px; line-height: 1.66; }

.row-ar {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    margin-top: 4px;
    transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), border-color .45s var(--ease);
}

@media (hover: hover) {
    .row:hover { padding-left: 20px; }
    .row:hover::before { transform: translateX(0); }
    .row:hover .row-t { color: var(--verd-dp); }
    .row:hover .row-ar { background: var(--verd); border-color: var(--verd); color: var(--paper); transform: rotate(-45deg); }
}

/* Service items read as a quiet caption line, not a tag cloud. Bordered pills are
   database metadata; an enumeration separated by hairline points is typography. */
.idx {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-top: 15px;
}

.idx li {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 2;
    transition: color .4s var(--ease);
}

.idx li:not(:last-child)::after {
    content: "•";
    margin: 0 11px;
    color: var(--copper-ln);
    opacity: .7;
}

.row:hover .idx li { color: var(--ink); }

/* ---------- 15a. BRAND STRIP (plumbing products) ----------
   Restrained: desaturated by default so six competing brand palettes cannot
   fight the page's own colour system; true colour on hover. */
.brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 62px);
}

.brands img {
    height: clamp(46px, 4.8vw, 58px);
    width: auto;
    max-width: 192px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .66;
    transition: filter .5s var(--ease), opacity .5s var(--ease);
}

@media (hover: hover) {
    .brands a:hover img { filter: none; opacity: 1; }
}

@media (max-width: 620px) { .brands { gap: 26px 34px; } }

/* ---------- 15b. SPECIMEN PLATES (the environments this work happens in) ----------
   Staircase offsets make a four-up read as composed rather than as a stock grid.
   Captions name the SERVICE, never a project — these illustrate scope, they are
   not a claim of authorship. */
.plates {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.5vw, 24px);
    align-items: start;
}

.pl { position: relative; }
.plates .pl:nth-child(2) { margin-top: clamp(20px, 3.4vw, 56px); }
.plates .pl:nth-child(3) { margin-top: clamp(10px, 1.7vw, 28px); }
.plates .pl:nth-child(4) { margin-top: clamp(30px, 5vw, 84px); }

.pl-img {
    position: relative;
    overflow: hidden;
    background: var(--chalk-2);
    box-shadow: 0 22px 44px -32px rgba(17, 33, 30, .5);
}

.pl-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    /* one grade recipe across every photograph on the page */
    filter: grayscale(.16) sepia(.07);
    transition: transform 1.1s var(--ease), filter .7s var(--ease);
}

@media (hover: hover) {
    .pl:hover .pl-img img { transform: scale(1.045); filter: none; }
    .pl:hover .pl-c::before { width: 100%; }
}

.pl-c {
    position: relative;
    padding-top: 13px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.pl-c::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--copper-ln);
    transition: width .6s var(--ease);
}

@media (max-width: 900px) {
    .plates { grid-template-columns: repeat(2, 1fr); }
    .plates .pl:nth-child(3) { margin-top: 0; }
    .plates .pl:nth-child(4) { margin-top: clamp(20px, 3.4vw, 56px); }
}

@media (max-width: 520px) {
    .plates { grid-template-columns: 1fr; }
    .plates .pl { margin-top: 0 !important; }
}

/* ---------- 16. FIGURE PLATE (the trenchless cutaway drawing) ---------- */
.fig-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(30px, 4.4vw, 66px);
    align-items: center;
}

.fig-draw {
    position: relative;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 22px;
}

.fig-draw svg { width: 100%; height: auto; display: block; }

.fig-cap {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* the drawn parts of the diagram */
.dr-line { transition: stroke-dashoffset 1.8s var(--ease); }
.dr-fade { transition: opacity .9s var(--ease) .7s; }

/* theme-aware replacements for what were hardcoded green hex values in the
   Perma-Liner cutaway SVG, so the diagram follows the accent toggle too */
.dr-verd { stroke: var(--verd); }
.dr-verd-lt { stroke: var(--verd-lt); }
.dr-verd-fill { fill: var(--verd); }
.js .dr-line { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.js .fig-draw.in .dr-line { stroke-dashoffset: 0; }
.js .dr-fade { opacity: 0; }
.js .fig-draw.in .dr-fade { opacity: 1; }

.spec {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 34px;
}

.spec-i { background: var(--chalk); padding: 20px 18px; }

.spec-n {
    font-family: var(--f-ser);
    font-weight: 200;
    font-size: clamp(26px, 2.7vw, 35px);
    line-height: 1;
    color: var(--verd-dp);
    letter-spacing: -.02em;
}

.spec-l {
    margin-top: 7px;
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ---------- 17. LETTER (the family) ---------- */
.letter-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(30px, 4.6vw, 70px);
    align-items: start;
}

/* sticky side column against the scrolling text — scroll choreography, zero JS,
   and it stops the image column bottoming out into a void beside long copy */
.letter-img { position: sticky; top: 104px; }

.letter-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    object-position: center 26%;
    filter: grayscale(.16) sepia(.07);
    transition: filter .7s var(--ease);
}

.letter-img:hover img { filter: none; }

.sig {
    font-family: var(--f-ser);
    font-style: italic;
    font-weight: 300;
    font-size: 27px;
    color: var(--verd-dp);
    margin-top: 26px;
}

.sig-l {
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 7px;
}

/* ---------- 18. QUOTES ---------- */
.q-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.q {
    position: relative;
    background: var(--chalk);
    padding: 38px 34px 30px;
    transition: background .45s var(--ease);
}

.q::before {
    content: "\201C";
    position: absolute;
    left: 20px;
    top: 8px;
    font-family: var(--f-ser);
    font-style: italic;
    font-size: 74px;
    line-height: 1;
    color: var(--verd);
    opacity: .22;
    pointer-events: none;
}

.q:hover { background: var(--paper); }

.q p {
    position: relative;
    font-family: var(--f-ser);
    font-weight: 300;
    font-size: 17.5px;
    line-height: 1.6;
    letter-spacing: -.005em;
}

.q cite {
    display: block;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--f-mono);
    font-style: normal;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--copper);
}

/* ---------- 19. VIDEO (click-to-play, capped at native 640px) ---------- */
.vid {
    position: relative;
    /* WIDTH, not just max-width: before playing, the box's size came from the poster
       <img>'s intrinsic dimensions feeding an `auto`-sized grid column. The play
       handler swaps that <img> for an absolutely-positioned <iframe>, which
       contributes nothing to a parent's size — so the moment the image was gone the
       box collapsed to ~0. An explicit width makes .vid self-sizing regardless of
       what's inside it. (Percentages in `min()` resolve to `auto` for grid
       intrinsic-sizing purposes, so this still contributes a real 640px, not 0.) */
    width: 100%;   /* safe now — the grid column itself is a fixed track, see .duo-quote */
    max-width: 640px;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line-dk);
    background: var(--ink-2);
    cursor: pointer;
    overflow: hidden;
}

.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s var(--ease); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vid-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--verd);
    color: var(--paper);
    transition: transform .45s var(--ease), background .35s var(--ease);
    pointer-events: none;
}

.vid:hover img { transform: scale(1.035); filter: brightness(.86); }
.vid:hover .vid-play { transform: translate(-50%, -50%) scale(1.07); background: var(--verd-dp); }

.vid-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 16px 12px;
    background: linear-gradient(to top, rgba(17, 33, 30, .86), transparent);
    color: var(--chalk);
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    pointer-events: none;
}

/* ---------- 20. PROMISE ROWS (inverted band) ---------- */
.prow {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 26px;
    align-items: baseline;
    padding: 26px 0;
    border-bottom: 1px solid var(--line-dk);
}

.prow:first-of-type { border-top: 1px solid var(--line-dk); }

.prow-k {
    font-family: var(--f-sans);
    font-weight: 800;
    font-size: clamp(17px, 1.9vw, 25px);
    text-transform: uppercase;
    letter-spacing: -.02em;
    color: var(--chalk);
}

.prow-v {
    font-family: var(--f-ser);
    font-weight: 200;
    font-style: italic;
    font-size: clamp(17px, 1.9vw, 25px);
    line-height: 1.34;
    color: var(--verd-lt);
}

.prow.out .prow-k {
    -webkit-text-stroke: 1px var(--chalk);
    -webkit-text-fill-color: transparent;
}

/* ---------- 20b. FEATURED SERVICE AREAS + collapsible full gazetteer ---------- */
.area-featured {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 30px;
}

.area-featured span {
    font-family: var(--f-ser);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(18px, 1.8vw, 22px);
    color: var(--ink);
    letter-spacing: -.005em;
    line-height: 1.9;
}

.area-featured span:not(:last-child)::after {
    content: "•";
    margin: 0 15px;
    font-family: var(--f-mono);
    font-style: normal;
    font-size: 13px;
    color: var(--copper-ln);
}

.area-more { border-top: 1px solid var(--line); }

.area-more summary {
    cursor: pointer;
    list-style: none;
    padding: 13px 0;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--copper);
}

.area-more summary::-webkit-details-marker { display: none; }

.area-more summary::after {
    content: "→";
    display: inline-block;
    margin-left: 9px;
    transition: transform .35s var(--ease);
}

.area-more[open] summary::after { transform: rotate(90deg); }
.area-more .gaz { margin-top: 16px; }

/* ---------- 21. AREAS ----------
   A drawing set ends with an index; so does this. Ruled rows in columns read as a
   gazetteer — 38 bordered chips read as a tag cloud. */
.gaz {
    columns: 4;
    column-gap: clamp(22px, 2.6vw, 46px);
}

.gaz li {
    break-inside: avoid;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
    color: var(--ink-soft);
    transition: color .35s var(--ease), padding-left .45s var(--ease);
}

.gaz li:first-child { border-top: 1px solid var(--line-soft); }

@media (hover: hover) {
    .gaz li:hover { color: var(--verd-dp); padding-left: 8px; }
}

.gaz li.more {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--copper);
}

@media (max-width: 1100px) { .gaz { columns: 3; } }
@media (max-width: 760px)  { .gaz { columns: 2; } }
@media (max-width: 460px)  { .gaz { columns: 1; } }

.map-frame { border: 1px solid var(--line); overflow: hidden; }

.map-frame iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
    filter: grayscale(1) sepia(.16);
    transition: filter .8s var(--ease);
}

.map-frame:hover iframe { filter: none; }

/* ---------- 22. CTA MARQUEE ---------- */
.cta-band {
    display: block;
    background: var(--verd-dp);
    color: var(--chalk);
    padding: 26px 0;
    overflow: hidden;
    border-top: 1px solid var(--verd);
    border-bottom: 1px solid var(--verd);
    transition: background .45s var(--ease), color .45s var(--ease);
}

.cta-band:hover { background: var(--chalk); color: var(--verd-dp); }

.cta-track { display: flex; width: max-content; animation: march 26s linear infinite; }
.cta-track > span { display: flex; align-items: center; flex: none; }

.cta-i {
    font-family: var(--f-sans);
    font-weight: 800;
    font-size: clamp(21px, 2.6vw, 34px);
    text-transform: uppercase;
    letter-spacing: -.02em;
    padding: 0 22px;
    white-space: nowrap;
}

.cta-i em { font-family: var(--f-ser); font-weight: 200; font-style: italic; text-transform: none; letter-spacing: -.01em; }

/* ---------- 23. TITLE BLOCK FOOTER ---------- */
.tblock { background: var(--ink); color: var(--chalk); border-top: 2px solid var(--verd); }

.tb-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 34px;
    padding: clamp(48px, 7vh, 78px) 0 44px;
}

.tb-h {
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--copper-lt);
    margin-bottom: 18px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line-dk);
}

.tb-col a, .tb-col p, .tb-col li { color: rgba(241, 237, 228, .78); font-size: 14.5px; }
.tb-col li { padding: 5px 0; }
.tb-col a:hover { color: var(--verd-lt); }

.tb-word {
    font-family: var(--f-ser);
    font-weight: 200;
    font-size: clamp(29px, 3.3vw, 43px);
    line-height: 1.06;
    letter-spacing: -.02em;
    color: var(--chalk);
    margin-bottom: 18px;
}

.tb-word em { font-style: italic; color: var(--verd-lt); }

/* the actual title-block grid — the metaphor's sign-off */
.tb-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line-dk);
    border-left: 1px solid var(--line-dk);
}

.tb-cell {
    border-right: 1px solid var(--line-dk);
    border-bottom: 1px solid var(--line-dk);
    padding: 14px 16px;
}

.tb-k {
    font-family: var(--f-mono);
    font-size: 8px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--copper-lt);
    margin-bottom: 5px;
}

.tb-v {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--chalk);
    text-transform: uppercase;
}

.tb-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 0 30px;
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(241, 237, 228, .5);
}

/* ---------- 22b. QUOTE SHEET (the form, as a drawing-set request form) ---------- */
.qsheet {
    position: relative;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 30px 30px 28px;
    box-shadow: 0 30px 64px -42px rgba(17, 33, 30, .46);
}

.qsheet::before, .qsheet::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--copper-ln);
    border-style: solid;
}

.qsheet::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.qsheet::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.qf-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--copper);
}

.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.qf-f    { display: flex; flex-direction: column; margin-bottom: 14px; }
.qf-f--full { grid-column: 1 / -1; }

.qf-l {
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 7px;
    transition: color .25s var(--ease);
}

.qf-f:focus-within .qf-l { color: var(--verd); }
.qf-l .req { color: var(--copper); }

/* underline inputs — a form on a drawing, not a box on a page */
.qf-i {
    font-family: var(--f-sans);
    font-size: 15px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 2px;
    width: 100%;
    transition: border-color .3s var(--ease);
}

.qf-i::placeholder { color: rgba(74, 90, 84, .55); }
.qf-i:focus { outline: none; border-bottom-color: var(--verd); }
textarea.qf-i { resize: vertical; min-height: 82px; line-height: 1.6; }

/* service selector — radio chips */
.qf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qf-chips input { position: absolute; opacity: 0; pointer-events: none; }

.qf-chips label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 7px 12px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

@media (hover: hover) { .qf-chips label:hover { border-color: var(--verd); color: var(--verd); } }
.qf-chips input:checked + label { background: var(--verd); border-color: var(--verd); color: var(--paper); }
.qf-chips input:focus-visible + label { outline: 2px solid var(--verd); outline-offset: 2px; }

.qf-cap { display: flex; align-items: flex-end; gap: 14px; }
.qf-cap .qf-f { flex: 1 1 auto; margin-bottom: 0; }

.qf-q {
    font-family: var(--f-ser);
    font-size: 20px;
    color: var(--verd-dp);
    white-space: nowrap;
    padding-bottom: 6px;
}

.qf-foot { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }

.qf-note {
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.qf-msg { margin-top: 16px; font-size: 14.5px; line-height: 1.6; }
.qf-msg .error   { color: #8A2B22; margin: 0; }
.qf-msg .success { color: var(--verd-dp); margin: 0; }

.qf-i[aria-invalid="true"] { border-bottom-color: #8A2B22; }

/* stamped success state replaces the form */
.qf-done {
    text-align: center;
    padding: 42px 24px 46px;
}

.qf-done .qd-seal {
    width: 104px;
    height: 104px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    border: 1px solid var(--copper-ln);
    border-radius: 50%;
    transform: rotate(-8deg);
    font-family: var(--f-mono);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--copper);
    line-height: 1.6;
}

.qf-done h3 {
    font-family: var(--f-ser);
    font-weight: 300;
    font-size: 26px;
    letter-spacing: -.01em;
    margin-bottom: 10px;
}

.qf-done p { color: var(--ink-soft); max-width: 34ch; margin: 0 auto; }

/* the honeypots must never be visible or focusable */
.qf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 620px) {
    .qf-grid { grid-template-columns: 1fr; }
    .qsheet { padding: 24px 20px 22px; }
    .qf-cap { flex-wrap: wrap; }
}

/* ---------- 23b. SHEET INDICATOR (reads the current drawing sheet) ---------- */
.sheetind {
    position: fixed;
    left: 26px;
    bottom: 24px;
    z-index: 130;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: rgba(241, 237, 228, .93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.sheetind.on { opacity: 1; transform: none; }
.sheetind .si-n { color: var(--copper); }
.sheetind .si-b { width: 1px; height: 11px; background: var(--line); }
.sheetind .si-l { color: var(--ink-soft); }

/* corner ticks — same plate language as everything else */
.sheetind::before, .sheetind::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-color: var(--copper-ln);
    border-style: solid;
}

.sheetind::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.sheetind::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* Must live AFTER the display:flex above — a media query adds no specificity, so
   an earlier hide rule would simply lose to the later declaration. */
@media (max-width: 1180px), (pointer: coarse) { .sheetind { display: none; } }

/* ---------- 23c. ROTATING APPROVAL SEAL ---------- */
.seal {
    position: absolute;
    right: clamp(16px, 4vw, 70px);
    bottom: -62px;
    z-index: 6;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--chalk);
    border: 1px solid var(--copper-ln);
    color: var(--verd-dp);
}

.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal .seal-rot { transform-origin: 50% 50%; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.seal .seal-ar {
    position: relative;
    font-size: 20px;
    line-height: 1;
    color: var(--verd);
    transition: transform .5s var(--ease);
}

@media (hover: hover) {
    .seal:hover .seal-ar { transform: rotate(-45deg); }
}

@media (max-width: 860px) { .seal { display: none; } }

/* ---------- 23d. PEEK PLATE (cursor-chasing specimen on service rows) ---------- */
.peek {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 140;
    width: 224px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s var(--ease);
    will-change: transform;
    background: var(--paper);
    border: 1px solid var(--ink);
    padding: 7px 7px 0;
}

.peek.on { opacity: 1; }
.peek img { width: 100%; height: 132px; object-fit: cover; }

.peek .pk-l {
    display: block;
    padding: 9px 3px 10px;
    font-family: var(--f-mono);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--copper);
}

@media (pointer: coarse) { .peek { display: none; } }

/* ---------- 23e. WIPE REVEAL (the hero's gesture, repeated as a system) ----------
   The clip is applied to the CHILDREN, never to .wipe itself. An element clipped to
   inset(... 100% ...) has a zero-area intersection rect, so IntersectionObserver
   reports ratio 0 and the reveal that is supposed to un-clip it never fires — a
   deadlock that leaves the element invisible forever. Observing the unclipped
   parent and clipping its contents keeps the observer honest. */
.js .wipe > * { clip-path: inset(0 0 100% 0); }
.js .wipe.in > * { clip-path: inset(0 0 0 0); transition: clip-path 1.25s var(--ease); }

/* ---------- 24. MOBILE CALL FAB ---------- */
.mobile-call-fab { display: none; }

/* ---------- 25. RESPONSIVE ----------
   Height matters as much as width here: on a 768px-tall laptop the folio + nav +
   an airy hero pushed the CTAs onto the fold line. Tighten vertical rhythm on short
   screens so the buttons — and a slice of the credential plate — stay in view. */
@media (min-width: 981px) and (max-height: 880px) {
    .folio-in { height: 30px; }
    .nav-in { height: 68px; }
    .hero { min-height: 0; }

    .hero-body {
        padding-top: clamp(26px, 3.6vh, 44px);
        padding-bottom: clamp(28px, 4vh, 48px);
        gap: clamp(20px, 2.6vh, 32px) clamp(30px, 4vw, 62px);
    }

    /* This short-viewport rule fires on most real laptops (innerHeight commonly
       <880 at 1150-1520px width) and sits AFTER the width-only squeeze-zone rule
       above in source order, so it silently wins the cascade whenever both match —
       it must independently satisfy the same "New Construction," fit constraint,
       verified with scrollWidth-vs-box (Range-on-a-transformed-span gave false
       negatives here — see project notes). */
    h1.d1 { font-size: clamp(34px, 3.5vw, 48px); margin-bottom: 20px; }
    .hero-lede { font-size: 16px; line-height: 1.68; }
    .hero-acts { margin-top: 24px; }
    .btn { padding: 15px 26px; }
    .plate { padding: 22px 24px 20px; }
    .plate.has-stamp { padding-bottom: 54px; }
    .plate-fig { font-size: clamp(32px, 3.4vw, 44px); }
    .led { padding: 5px 0; }
}

/* ---------- 25b. WIDTH BREAKPOINTS ---------- */
@media (max-width: 1180px) {
    .hero-body { padding-left: 0; }
    .rail { display: none; }
    .hero { grid-template-columns: 1fr clamp(280px, 38vw, 520px); }
}

/* Split from the 1080px query below: with 6 nav items (was 5), the desktop nav
   genuinely overflows between ~1081-1170px even after tightening the gap and
   shortening the longest label — verified via scrollWidth vs box width. The
   footer rules in the next query don't have that constraint, so they keep the
   original 1080px threshold; only the nav toggle needs the wider one. */
@media (max-width: 1180px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .mnav { display: block; }
}

@media (max-width: 1080px) {
    .tb-top { grid-template-columns: 1fr 1fr; gap: 30px 34px; }
    .tb-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
    .folio { display: none; }

    /* MOBILE HERO — the photograph becomes the GROUND, not a stacked block above the
       headline. Previously the image occupied the first screen and pushed the H1 and
       the phone number below the fold, which is the wrong order on a phone. The <img>
       stays in the DOM (keeps its alt text) and is simply positioned behind. */
    .hero {
        grid-template-columns: 1fr;
        min-height: min(88vh, 720px);
        position: relative;
        isolation: isolate;
    }

    .hero-plate {
        position: absolute;
        inset: 0;
        z-index: -2;
        margin: 0;
        min-height: 0;
        aspect-ratio: auto;
        clip-path: none !important;
        animation: none !important;
    }

    .hero-plate img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
    .hero-plate figcaption { display: none; }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(17, 33, 30, .90) 0%, rgba(17, 33, 30, .84) 46%, rgba(17, 33, 30, .95) 100%);
    }

    /* type inverts over the photograph */
    .hero h1.d1, .hero h1.d1 .grot { color: var(--chalk); }
    .hero h1.d1 .ser.vd { color: var(--verd-lt); }
    .hero .hero-lede { color: rgba(241, 237, 228, .88); }
    .hero .hero-lede em { color: var(--verd-lt); }
    .hero .btn-ghost { color: var(--chalk); border-color: var(--line-dk); }
    .hero .rail-tx { color: rgba(241, 237, 228, .6); }
    .hero .rail { border-right-color: var(--line-dk); }

    .hero-left { padding-left: var(--gut); padding-right: var(--gut); }
    .hero-body { padding: clamp(38px, 6vh, 60px) 0 clamp(40px, 6vh, 64px); }
    .hero-lead, .hero-aside { max-width: none; }
    .mani-grid, .fig-grid, .letter-grid, .duo { grid-template-columns: 1fr; }
    .duo-svc { align-items: start; margin-bottom: 40px; }
    .letter-img { position: static; }
    .hero-plate figcaption { display: none; }
    .mani-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 26px; }
    .mani { max-width: none; }
    .prow { grid-template-columns: 1fr; gap: 8px; }

    .mobile-call-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 18px;
        bottom: 18px;
        z-index: 190;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: var(--verd);
        color: var(--paper);
        box-shadow: 0 14px 30px -10px rgba(17, 33, 30, .55);
        transition: transform .3s var(--ease), background .3s var(--ease);
    }

    .mobile-call-fab:active { transform: scale(.92); background: var(--verd-dp); }
    .mobile-call-fab svg { width: 23px; height: 23px; }
}

@media (max-width: 860px) {
    .row { grid-template-columns: .3fr 1fr auto; }
    .row-d { display: none; }
    .q-grid { grid-template-columns: 1fr; }
    .spec { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    /* keep the call affordance, drop the width it costs */
    .nav-in { height: 68px; gap: 12px; }
    .nav-call { padding: 12px 14px; }
    .nav-call .pn { display: none; }
    .nav-brand { min-width: 0; }
    .nav-brand b { font-size: 16px; }
    .nav-brand .nm > span { font-size: 7.5px; letter-spacing: .22em; }
    .burger { padding: 10px 0 10px 6px; }
}

@media (max-width: 620px) {
    .tb-top { grid-template-columns: 1fr; }
    .tb-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-acts .btn { width: 100%; justify-content: center; }
    .stamp { right: -8px; bottom: -14px; width: 80px; height: 80px; }
    .folio-in { font-size: 8.5px; letter-spacing: .18em; }
}

/* ---------- 25c. PRINT — the drawing set, printed ----------
   People genuinely print a plumber's hours and address. Everything decorative or
   interactive drops away and the page prints as a clean sheet with a title block. */
@media print {
    @page { margin: 14mm; }

    body {
        background: #fff;
        color: #000;
        font-size: 11pt;
        line-height: 1.5;
    }

    body::before,
    .folio, .nav, .riser, .sheetind, .peek, .seal, .mobile-call-fab, .skip,
    .ticker, .cta-band, .vid, .map-frame, .hero-plate, .letter-img,
    .stamp, .rail, .burger, .mnav, .bleed, .plates, .imgband-bg,
    .imgband-cap { display: none !important; }

    .imgband { color: #000 !important; }
    .imgband::after { display: none !important; }
    .imgband .head2, .imgband .mani, .imgband .lede { color: #000 !important; }
    .plate, .qsheet, .pl-img { box-shadow: none !important; }

    .band { padding: 14pt 0; border-top: 1px solid #999; break-inside: avoid; }
    .band.invert, .band-2 { background: #fff !important; color: #000 !important; }
    .band.invert .head2, .band.invert .lede, .prow-k, .prow-v { color: #000 !important; }

    .shell { max-width: none; padding: 0; }
    .mani-grid, .fig-grid, .letter-grid, .duo, .q-grid { grid-template-columns: 1fr !important; }

    h1.d1 { font-size: 24pt; }
    .head2 { font-size: 15pt; }
    .mani  { font-size: 13pt; max-width: none; }
    .lede  { color: #222; max-width: none; }
    .callout { color: #000; margin-bottom: 8pt; }
    .callout .cal-rule { display: none; }

    .chips, .areas { gap: 3pt; }
    .chip, .area { border-color: #999; color: #222; font-size: 8pt; padding: 2pt 4pt; }
    .row { grid-template-columns: 60pt 1fr; padding: 8pt 0; }
    .row-d, .row-ar { display: none; }

    .plate { border: 1px solid #666; background: #fff; break-inside: avoid; }
    .tblock { background: #fff !important; color: #000 !important; border-top: 2px solid #000; }
    .tb-col a, .tb-col p, .tb-col li, .tb-word, .tb-v, .tb-legal { color: #000 !important; }
    .tb-h, .tb-k { color: #444 !important; }
    .tb-grid, .tb-cell { border-color: #999 !important; }

    /* buttons are ink-filled on screen — on paper that prints white-on-grey */
    .btn, .btn-ghost, .btn-light {
        background: none !important;
        color: #000 !important;
        border: 1px solid #666 !important;
        padding: 6pt 10pt;
    }

    .btn::before { display: none !important; }

    /* the manifesto's un-filled words sit at opacity .15 until the observer runs */
    .mani .w, .js .mani .w { opacity: 1 !important; }

    /* a printed page loses hrefs — restore only the ones the reader cannot infer.
       tel: links already print their own number as the link text. */
    a[href^="http"]:not([href*="familyplumbingoc.com"])::after {
        content: " (" attr(href) ")";
        font-size: 7.5pt;
        color: #555;
        word-break: break-all;
    }

    .fig-draw { break-inside: avoid; }
    .q, .prow, .plate { break-inside: avoid; }
}

/* ---------- 26. ACCESSIBILITY GATES ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001s !important;
        animation-delay: 0s !important;
        transition-duration: .001s !important;
    }

    html { scroll-behavior: auto; }

    .ro, .hero-lede, .hero-acts { opacity: 1 !important; transform: none !important; }
    h1.d1 .ln > span { transform: none !important; }
    .hero-plate { clip-path: none !important; }
    .callout .cal-rule { transform: scaleX(1) !important; }
    .mani .w { opacity: 1 !important; }
    .dr-line { stroke-dashoffset: 0 !important; }
    .dr-fade { opacity: 1 !important; }
    .tick-track, .cta-track { animation: none !important; }
    .seal .seal-rot { animation: none !important; }
    .js .wipe > * { clip-path: none !important; }
    .peek { display: none !important; }
    .sheetind { opacity: 1 !important; transform: none !important; }
    .tick-skew { transform: none !important; }
    [data-par] { transform: none !important; }
    .pl-img img { transform: none !important; }
}
