/* FONTS: self-hosted by fetch-fonts.js, do not hand-edit */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/archivo-black-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/archivo-black-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   BARNES HOME IMPROVEMENT // design system v2
   Relocked 2026-08-13 after Chad rejected v1 as flat.
   The world: the shop at night, and the paperwork.
   Full black grounds with a faint shop-drawing grid. Paper
   sections ruled like the estimate pad, red margin line and all.
   The estimate sheet is an OBJECT: tilted, carbon copy behind,
   rubber stamp. One red. Nothing chalky.
   ============================================================ */
:root{
  /* color */
  --black: #000000;         /* the ground. full black, not chalk */
  --paper: #F7F7F5;
  --ink: #141414;
  --paper-dim: #62625E;     /* secondary text on paper */
  --dark-dim: #9A9A94;      /* secondary text on black */
  --accent: #C2262E;        /* barnes red, buttons + totals + margin line */
  --accent-dark: #E0393D;   /* barnes red on black (the pipe) */
  --accent-soft: #EA6A6E;   /* small red text on black */
  --accent-press: #6E1014;  /* the shadow under a pressed red button */
  --paper-press: #B9B9B2;   /* the shadow under a pressed paper button */
  --accent-ink: #F7F7F5;    /* text on red */
  --rule: #DCDCD6;          /* hairline on paper */
  --rule-dark: #232323;     /* hairline on black */
  --grid-line: rgba(247,247,245,.05);   /* shop-drawing grid, faint  */
  --grid-bold: rgba(247,247,245,.085);  /* every fifth line          */
  --pad-rule: rgba(30,80,160,.14);      /* the pad's blue ruling     */
  --pad-margin: rgba(194,38,46,.38);    /* the pad's red margin line */
  --carbon: #EFC9CB;        /* the pink carbon duplicate sheet */
  --sheet: #FFFFFF;         /* estimate/form sheets: true white so they lift off the F7F7F5 pad */
  --border: 1px solid var(--rule);

  /* type */
  --font-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --step-0: clamp(1rem, .95rem + .25vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.05rem + .5vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.3rem + .75vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.5rem, 1.9rem + 2.8vw, 4rem);
  --step-5: clamp(3rem, 2.2rem + 4vw, 5.2rem);
  --step-6: clamp(3.4rem, 2.1rem + 6vw, 6.8rem);   /* hero only */

  /* space */
  --s-1:.5rem; --s-2:1rem; --s-3:1.5rem; --s-4:2.5rem; --s-5:4rem; --s-6:6rem;
  --wrap: 72rem;
  --wrap-text: 46rem;
}

*{ box-sizing:border-box; }
/* stop Android Chrome's font boosting from inflating the type scale */
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
::selection{ background:var(--accent); color:var(--paper); }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--black); color:var(--paper);
  font-family:var(--font-body); font-size:var(--step-0); line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }

h1,h2,h3{ font-family:var(--font-display); font-weight:400; line-height:1.02; margin:0 0 var(--s-3); letter-spacing:-.005em; text-wrap:balance; text-transform:uppercase; }
h1{ font-size:var(--step-5); }
h2{ font-size:var(--step-4); }
h3{ font-size:var(--step-2); }
p{ margin:0 0 var(--s-2); max-width:var(--wrap-text); }
a{ color:inherit; }
:focus-visible{ outline:3px solid var(--accent-dark); outline-offset:2px; }

.skip-link{ position:absolute; left:-999px; top:0; background:var(--paper); color:var(--ink); padding:.6rem 1rem; z-index:100; font-weight:700; }
.skip-link:focus{ left:0; }

/* ============ THE TWO GROUNDS ============ */
/* black sections: the shop drawing. full black, faint grid. */
.dark{
  background-color:var(--black); color:var(--paper);
  background-image:
    linear-gradient(var(--grid-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-bold) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 180px 180px, 180px 180px, 36px 36px, 36px 36px;
}
.dark p{ color:var(--paper); }
.dark .dim, .dark .foot-note{ color:var(--dark-dim); }

/* paper sections: the estimate pad. ruled lines, red margin. */
.pad{
  background-color:var(--paper); color:var(--ink);
  background-image:
    linear-gradient(90deg, transparent 0, transparent 76px, var(--pad-margin) 76px, var(--pad-margin) 78px, transparent 78px),
    repeating-linear-gradient(180deg, transparent 0 35px, var(--pad-rule) 35px 36px);
}
.pad p{ color:var(--ink); }
/* The 76px margin line only clears the text when the centered column's gutter is wider
   than it (viewport ~84rem+). Below that, the line tucks to the edge like a pocket pad
   so it never runs through the copy. */
@media (max-width:84rem){
  .pad{
    background-image:
      linear-gradient(90deg, transparent 0, transparent 14px, var(--pad-margin) 14px, var(--pad-margin) 16px, transparent 16px),
      repeating-linear-gradient(180deg, transparent 0 35px, var(--pad-rule) 35px 36px);
  }
}
section.plain{ background:var(--paper); color:var(--ink); }
section.plain p{ color:var(--ink); }
.dim{ color:var(--paper-dim); }

/* ============ SECTION MACHINERY ============ */
section{ padding:var(--s-6) var(--s-3); }
/* phone: desktop-scale section padding doubled into ~190px seams; tighten */
@media (max-width:44rem){
  section{ padding:var(--s-5) var(--s-3); }
  .section-title{ margin-bottom:var(--s-3); }
}
.section-body{ max-width:var(--wrap); margin:0 auto; }
.section-title{ max-width:var(--wrap); margin:0 auto var(--s-4); }

/* form annotation: mono line UNDER a heading, never above. used sparingly. */
.formline{
  font-family:var(--font-mono); font-weight:700; font-size:.78rem; letter-spacing:.15em;
  text-transform:uppercase; color:var(--paper-dim);
  display:flex; align-items:center; gap:var(--s-2); margin:-.4rem 0 var(--s-3);
}
.formline::before{ content:''; width:3.5rem; height:2px; background:var(--accent); }
.dark .formline{ color:var(--dark-dim); }
.dark .formline::before{ background:var(--accent-dark); }

/* the pipe underline: a headline word underlined by a pipe run with a P-trap dip */
.h-pipe{ position:relative; white-space:nowrap; }
/* the trap dips below the baseline; give any headline that carries it room to drain */
h1:has(.h-pipe), .hero h1:has(.h-pipe), .section-title h1:has(.h-pipe){ margin-bottom:.72em; }
.h-pipe svg{ position:absolute; left:0; bottom:-.3em; width:100%; height:.55em; overflow:visible; }
.h-pipe svg path{ stroke:var(--accent-dark); stroke-width:6; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.h-pipe svg rect{ fill:var(--accent-dark); }
.h-pipe .draw{ transition:stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1) .5s; }
.h-pipe .setline{ opacity:0; transition:opacity .5s ease 1.6s; }
.h-pipe.drawn .setline{ opacity:1; }
@media (prefers-reduced-motion: reduce){
  .h-pipe .draw{ transition:none !important; stroke-dashoffset:0 !important; }
  .h-pipe .setline{ transition:none !important; opacity:1 !important; }
}

/* ============ HEADER ============ */
.site-head{
  background:rgba(0,0,0,.86); color:var(--paper);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  display:flex; align-items:center; justify-content:space-between; gap:var(--s-3);
  padding:.6rem var(--s-3); position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--rule-dark);
}
.site-head .brand img{ height:46px; width:auto; }
.site-head nav{ display:flex; align-items:center; gap:var(--s-3); flex-wrap:wrap; }
.site-head nav a{ color:var(--paper); text-decoration:none; font-weight:700; font-size:.9rem; text-transform:uppercase; letter-spacing:.05em; border-bottom:3px solid transparent; padding:.25rem 0; }
.site-head nav a:hover, .site-head nav a[aria-current="page"]{ border-bottom-color:var(--accent-dark); }
.site-head .call{
  background:var(--accent); color:var(--accent-ink); text-decoration:none;
  font-weight:700; padding:.55rem 1.1rem; border-radius:4px; white-space:nowrap;
  border-bottom:none; box-shadow:0 4px 0 var(--accent-press);
  position:relative; overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
}
.site-head .call:hover{ transform:translateY(-2px); box-shadow:0 6px 0 var(--accent-press); border-bottom:none; }

/* the text links live in .nav-links so mobile can break them onto their own row */
.site-head .nav-links{ display:flex; align-items:center; gap:var(--s-3); flex-wrap:wrap; }

/* mobile header: logo + call on row one, a slim scrollable link row underneath */
@media (max-width:56rem){
  .site-head{ padding:.5rem var(--s-2) 0; gap:.4rem var(--s-2); flex-wrap:wrap; }
  .site-head .brand img{ height:36px; }
  .site-head nav{ display:contents; }
  .site-head .call{ order:2; font-size:.9rem; padding:.5rem .9rem; }
  .site-head .brand{ margin-right:auto; }
  .site-head .nav-links{
    order:3; flex-basis:100%; flex-wrap:nowrap; gap:var(--s-3);
    overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none;
    padding:.15rem 0 .55rem;
  }
  .site-head .nav-links::-webkit-scrollbar{ display:none; }
  .site-head .nav-links a{
    font-size:.72rem; letter-spacing:.09em; white-space:nowrap;
    border-bottom-width:2px; padding:.15rem 0;
  }
  body{ padding-bottom:calc(4.6rem + env(safe-area-inset-bottom)); }
  .site-foot{ padding-top:var(--s-4); padding-bottom:.6rem; }
  .site-foot .legal{ margin-top:var(--s-3); padding-top:var(--s-2); }
  .tblock{ margin-top:var(--s-3); }
}

/* sticky mobile action bar: the two jobs of the whole site, always in thumb reach */
.mobile-bar{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:60;
  grid-template-columns:1fr 1fr; gap:var(--s-2);
  padding:.65rem var(--s-2) calc(.65rem + env(safe-area-inset-bottom));
  background:rgba(0,0,0,.92);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-top:1px solid var(--rule-dark);
}
.mobile-bar .btn{ padding:.95rem .3rem; font-size:.82rem; letter-spacing:.02em; white-space:nowrap; box-shadow:0 4px 0 var(--paper-press); }
.mobile-bar .btn.primary{ box-shadow:0 4px 0 var(--accent-press); }
/* the on-switch lives AFTER the base rule so the cascade can't re-hide the bar */
@media (max-width:56rem){ .mobile-bar{ display:grid; } }

/* ============ BUTTONS: pressed steel ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.03em;
  font-size:.95rem; text-decoration:none; cursor:pointer;
  padding:1rem 1.7rem; border-radius:4px;
  background:var(--paper); color:var(--ink); border:0;
  box-shadow:0 6px 0 var(--paper-press);
  transition:transform .18s ease, box-shadow .18s ease;
  position:relative; overflow:hidden;
}
.btn:hover{ transform:translateY(-3px); box-shadow:0 9px 0 var(--paper-press); }
.btn:active{ transform:translateY(2px); box-shadow:0 2px 0 var(--paper-press); }
.btn.primary{ background:var(--accent); color:var(--accent-ink); box-shadow:0 6px 0 var(--accent-press); }
.btn.primary:hover{ box-shadow:0 9px 0 var(--accent-press); }
.btn.primary:active{ box-shadow:0 2px 0 var(--accent-press); }
/* light catching the steel: one glint sweep per hover on the red buttons */
.btn.primary::after, .site-head .call::after{
  content:''; position:absolute; top:0; left:-80%; width:50%; height:100%;
  background:linear-gradient(105deg, transparent, rgba(247,247,245,.35), transparent);
  transform:skewX(-18deg); pointer-events:none;
}
.btn.primary:hover::after, .site-head .call:hover::after{ animation:glint .55s ease-out; }
@keyframes glint{ to{ left:130%; } }
@media (prefers-reduced-motion: reduce){
  .btn, .site-head .call{ transition:none; }
  .btn.primary:hover::after, .site-head .call:hover::after{ animation:none; }
}

/* ============ HERO: the shop at night ============ */
.hero{ padding:var(--s-5) var(--s-3) var(--s-6); }
/* one work lamp on in the shop: a faint warm glow over the grid */
.hero.dark{
  background-image:
    radial-gradient(55% 48% at 70% 36%, rgba(224,57,61,.10), transparent 72%),
    linear-gradient(var(--grid-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-bold) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 180px 180px, 180px 180px, 36px 36px, 36px 36px;
}
.hero-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:var(--s-5);
  align-items:center; max-width:84rem; margin:0 auto; min-height:62vh;
}
.hero h1{
  font-size:var(--step-6); color:var(--paper); margin-bottom:var(--s-3);
}
/* Archivo Black words like BATHROOM outrun a phone at step-6; step down, don't clip */
@media (max-width:44rem){ .hero h1{ font-size:var(--step-5); } }
.hero h1 .red{ color:var(--accent-dark); }
.hero .sub{ font-size:var(--step-1); color:var(--dark-dim); margin-bottom:var(--s-4); max-width:34rem; }
.hero .actions{ display:flex; gap:var(--s-2); flex-wrap:wrap; }

/* the Angi rating line: the count is verified; the review texts stay off-site */
.rating{ display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; }
.rating .stars{ color:var(--accent-dark); font-size:1.05rem; letter-spacing:.15em; }
.rating .txt{
  font-family:var(--font-mono); font-weight:700; font-size:.72rem;
  letter-spacing:.13em; text-transform:uppercase; color:var(--dark-dim);
}
.pad .rating .stars, .plain .rating .stars{ color:var(--accent); }
.pad .rating .txt, .plain .rating .txt{ color:var(--paper-dim); }

/* the tape-measure strip under the hero copy */
.ruler{
  margin-top:var(--s-5); height:26px; max-width:34rem; position:relative;
  background:
    repeating-linear-gradient(90deg, var(--dark-dim) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, var(--paper) 0 2px, transparent 2px 100px);
  background-size:100% 10px, 100% 18px;
  background-position:bottom left, bottom left;
  background-repeat:repeat-x;
  opacity:.5;
}

/* the badge draw: house + trap only, name is real type beside it.
   The badge and the hero estimate form share one grid cell: after the draw
   finishes, the badge crossfades into the form (the Precision move). */
.hero-badge{ max-width:40rem; width:100%; margin:0 auto; position:relative; display:grid; }
.hero-badge svg{ width:100%; height:auto; display:block; }
.hero-badge > svg, .hero-badge .hero-form{ grid-area:1/1; }
/* the badge stays badge-sized; the form gets the full, squarer cell */
.hero-badge > svg{ max-width:30rem; justify-self:center; align-self:center; }
.hero-badge > svg{ transition:opacity .6s ease, visibility 0s linear .6s; }
.hero-form{
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .6s ease, visibility 0s linear .6s;
  align-self:center; gap:.6rem; max-width:none;
}
/* the hero column is narrow: qualifiers stack, rows stay paired */
.hero-form .f-quals{ grid-template-columns:1fr; gap:.55rem; padding-top:.6rem; margin-top:.4rem; }
.hero-form .f-head{ margin-bottom:var(--s-2); }
.hero.formed .hero-badge > svg{ opacity:0; visibility:hidden; }
.hero.formed .hero-form{
  opacity:1; visibility:visible; pointer-events:auto;
  transition:opacity .6s ease .3s, visibility 0s linear .3s;
}
.hero-badge .draw{ transition:stroke-dashoffset 2.1s cubic-bezier(.4,0,.2,1); }
.hero-badge .setline{ opacity:0; transition:opacity .7s ease .9s; }
.hero-badge.drawn .setline{ opacity:1; }
@media (prefers-reduced-motion: reduce){
  .hero-badge .draw{ transition:none !important; stroke-dashoffset:0 !important; }
  .hero-badge .setline{ transition:none !important; opacity:1 !important; }
}
@media (max-width: 56rem){
  .hero-grid{ grid-template-columns:1fr; min-height:0; }
  .hero-badge{ max-width:17rem; }
  .ruler{ display:none; }
  /* mobile intro: the house fades in alone, then hands the cell to the hero text */
  .hero{ padding:var(--s-3) var(--s-3) var(--s-4); }
  .hero-form{ display:none; }
  .hero-grid{ align-items:start; }
  .hero-grid > div:first-child{
    grid-area:1/1; opacity:0; visibility:hidden;
    transition:opacity .7s ease .3s, visibility 0s linear .3s;
  }
  .hero-grid .hero-badge{
    grid-area:1/1; align-self:start; margin-top:var(--s-4);
    transition:opacity .6s ease, visibility 0s linear .6s;
  }
  .hero.intro-done .hero-grid > div:first-child{ opacity:1; visibility:visible; }
  .hero.intro-done .hero-grid .hero-badge{ opacity:0; visibility:hidden; pointer-events:none; }
}
@media (prefers-reduced-motion: reduce){
  .hero-badge > svg, .hero-form, .hero-grid > div:first-child, .hero-grid .hero-badge{ transition:none !important; }
}

/* ============ THE MARQUEE BAND: barrier tape ============ */
.band{
  background:var(--accent); color:var(--accent-ink);
  border-top:4px solid var(--black); border-bottom:4px solid var(--black);
  overflow:hidden; padding:.8rem 0;
}
.band-track{
  display:flex; gap:2.4rem; width:max-content;
  font-family:var(--font-display); text-transform:uppercase;
  font-size:var(--step-1); white-space:nowrap;
  animation:band 32s linear infinite;
}
.band-set{ display:flex; gap:2.4rem; align-items:center; }
.band:hover .band-track{ animation-play-state:paused; }
@keyframes band{ to{ transform:translateX(-50%); } }
@media (max-width:44rem){ .band-track, .band-set{ gap:1.2rem; } .band-track{ font-size:var(--step-0); } }
/* reduced motion: one set, wrapped small and centered; the loop duplicate disappears */
@media (prefers-reduced-motion: reduce){
  .band-track{ animation:none; width:auto; justify-content:center; }
  .band-set{ flex-wrap:wrap; justify-content:center; gap:.5rem 1.4rem; }
  .band-set + .band-set{ display:none; }
}

/* ============ THE ESTIMATE SHEET: a real object ============ */
/* The tilt transform makes .estimate a stacking context, so a z-index:-1
   child can never get behind its background. The paper is therefore its own
   ::after layer at -1 with the carbon at -2: correct in every reveal state. */
.estimate{
  background:transparent; color:var(--ink);
  border:var(--border); border-top:8px solid var(--accent);
  max-width:38rem; position:relative;
  transform:rotate(-1.1deg);
  box-shadow:0 14px 34px rgba(0,0,0,.45);
}
.estimate::after{
  content:''; position:absolute; inset:0; z-index:-1;
  background:var(--sheet);
}
/* the carbon duplicate peeking out underneath */
.estimate::before{
  content:''; position:absolute; inset:0; z-index:-2;
  background:var(--carbon);
  transform:rotate(2deg) translate(10px, 8px);
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}
/* keep the tilt through the reveal: .reveal.in's transform:none must not flatten it */
.estimate.reveal{ transform:rotate(-1.1deg) translateY(16px); }
.estimate.reveal.in{ transform:rotate(-1.1deg); }
.estimate p{ color:var(--ink); }
.estimate .e-head{
  display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:.2rem var(--s-3);
  padding:var(--s-2) var(--s-3); border-bottom:2px solid var(--ink);
}
.estimate .e-head strong{ font-family:var(--font-display); font-size:var(--step-1); text-transform:uppercase; }
.estimate .e-head span{ font-family:var(--font-mono); font-size:.75rem; color:var(--paper-dim); white-space:nowrap; }
.estimate ul{ list-style:none; margin:0; padding:0; }
.estimate li{
  display:flex; justify-content:space-between; gap:var(--s-3);
  padding:.8rem var(--s-3); border-bottom:1px solid var(--rule);
  font-variant-numeric:tabular-nums;
}
.estimate li .amt{ font-weight:700; white-space:nowrap; }
.estimate .total{
  display:flex; justify-content:space-between; padding:var(--s-2) var(--s-3);
  font-family:var(--font-display); text-transform:uppercase; font-size:var(--step-1); color:var(--accent);
}
.estimate .e-note{ padding:0 var(--s-3) var(--s-2); font-size:.85rem; color:var(--paper-dim); }
/* the rubber stamp */
.stamp{
  position:absolute; top:-1.1rem; right:-1.4rem; z-index:2;
  font-family:var(--font-mono); font-weight:700; font-size:.8rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--accent);
  border:3px double var(--accent); border-radius:6px;
  padding:.45rem .8rem; transform:rotate(7deg);
  background:var(--paper); opacity:.92;
}
@media (max-width:44rem){
  .stamp{ right:.4rem; }
  .estimate, .estimate.reveal.in{ transform:rotate(-.6deg); }
  .estimate.reveal{ transform:rotate(-.6deg) translateY(16px); }
  /* phone: each row stacks like a filled-in form line: small field name, bold entry */
  .estimate li{ flex-direction:column; align-items:flex-start; gap:.12rem; padding:.55rem var(--s-3); }
  .estimate li span:first-child{
    font-family:var(--font-mono); font-size:.68rem; font-weight:700;
    letter-spacing:.13em; text-transform:uppercase; color:var(--paper-dim);
  }
  .estimate li .amt{ white-space:normal; text-align:left; font-size:.98rem; }
  .estimate .total{ flex-direction:column; align-items:flex-start; gap:.1rem; font-size:1.1rem; }
  .estimate .e-head strong{ font-size:1.05rem; }
  .estimate .e-note{ font-size:.82rem; }
}

/* ============ WORK ORDER TICKET: the money page checks itself off ============ */
.ticket{
  display:none; position:fixed; top:110px; right:22px; z-index:40; width:230px;
  background:var(--paper); color:var(--ink);
  border:var(--border); border-top:6px solid var(--accent);
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.04em;
  transform:rotate(-1.2deg);
  box-shadow:4px 6px 0 rgba(0,0,0,.45);
  padding:.85rem 1rem .7rem;
}
.ticket::before{
  content:''; position:absolute; top:-9px; left:50%; transform:translateX(-50%) rotate(1.5deg);
  width:64px; height:18px; background:rgba(224,57,61,.28);
  border-left:1px dashed rgba(20,20,20,.25); border-right:1px dashed rgba(20,20,20,.25);
}
.ticket header{
  display:flex; justify-content:space-between; gap:.5rem; font-weight:700; text-transform:uppercase;
  border-bottom:1px dashed var(--rule); padding-bottom:.45rem; margin-bottom:.5rem;
}
.ticket header span{ color:var(--accent); }
.ticket ul{ list-style:none; margin:0; padding:0; display:grid; gap:.35rem; }
.ticket li{ display:flex; gap:.5rem; transition:color .3s ease; }
.ticket li .box{ color:var(--accent); font-weight:700; }
.ticket li.done{ color:var(--paper-dim); text-decoration:line-through; }
.ticket li.done .box{ color:var(--ink); text-decoration:none; }
.ticket footer{
  margin-top:.55rem; padding-top:.45rem; border-top:1px dashed var(--rule);
  font-weight:700; text-transform:uppercase; color:var(--paper-dim);
}
.ticket footer.clear{ color:var(--accent); }
@media (min-width:72rem){ .ticket{ display:block; } }
@media (prefers-reduced-motion: reduce){ .ticket li{ transition:none; } }

/* ============ PROOF STRIP ============ */
.proof{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s-4); max-width:var(--wrap); margin:0 auto; }
.proof.four{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.proof.four .n{ font-size:var(--step-3); }
/* bottom-align the cells so one-line headings (INSURED) line up with two-line ones */
.proof > div{ display:flex; flex-direction:column; justify-content:flex-end; min-width:0; }
/* phone: step-4 words like NOTHING are wider than a half-width cell and were
   stretching the whole layout viewport; smaller type + minmax(0) stops it */
@media (max-width:44rem){
  .proof.four{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--s-3); }
  .proof .n{ font-size:var(--step-3); }
}
.proof .n{ font-family:var(--font-display); font-size:var(--step-4); color:var(--accent-dark); font-variant-numeric:tabular-nums; text-transform:uppercase; line-height:1; }
.proof .l{ color:var(--dark-dim); font-weight:500; margin-top:.5rem; }
@media (max-width:44rem){ .proof{ grid-template-columns:1fr; } }

/* ============ SERVICE CARDS: shop tags ============ */
.grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(18rem,1fr)); gap:var(--s-3); max-width:var(--wrap); margin:0 auto; }
.card{
  border:2px solid var(--ink); background:var(--paper); color:var(--ink); padding:var(--s-3);
  display:flex; flex-direction:column; gap:var(--s-1); position:relative;
  box-shadow:0 5px 0 var(--paper-press);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform:translateY(-4px); border-color:var(--accent); box-shadow:0 9px 0 var(--paper-press); }
.card .tag{
  font-family:var(--font-mono); font-size:.7rem; font-weight:700; letter-spacing:.14em;
  color:var(--paper-dim); transition:color .18s ease;
}
.card:hover .tag{ color:var(--accent); }
.card h3{ margin:0; font-size:var(--step-1); }
.card p{ margin:0; color:var(--paper-dim); }
.card .more{ margin-top:auto; padding-top:var(--s-2); font-weight:700; color:var(--accent); text-decoration:none; }
.card .more:hover{ text-decoration:underline; }
.dark .card{ background:transparent; color:var(--paper); border-color:var(--rule-dark); box-shadow:none; }
.dark .card:hover{ border-color:var(--accent-dark); background:rgba(247,247,245,.03); box-shadow:none; }
.dark .card:hover .tag{ color:var(--accent-soft); }
.dark .card h3{ color:var(--paper); }
.dark .card p{ color:var(--dark-dim); }
@media (prefers-reduced-motion: reduce){ .card{ transition:none; } }

/* ============ FORMS: the estimate request is an estimate form ============ */
form{ display:grid; gap:var(--s-2); max-width:34rem; }
label{ font-weight:700; font-size:.95rem; }
input,textarea,select{
  font:inherit; padding:.75rem .85rem; border:2px solid var(--ink); border-radius:4px;
  background:var(--paper); color:var(--ink); width:100%;
}
input:focus,textarea:focus,select:focus{ outline:3px solid var(--accent); outline-offset:1px; }

/* the form as a sheet off the same pad as the estimate objects.
   Sets its own ink: the sheet is paper even inside a dark section. */
.form-sheet{
  max-width:44rem; position:relative; color:var(--ink);
  background:var(--sheet);
  border:2px solid var(--ink); border-top:8px solid var(--accent);
  box-shadow:0 6px 0 var(--paper-press);
  padding:var(--s-3) var(--s-3) var(--s-3);
}
.form-sheet .f-head{
  display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:.2rem var(--s-3);
  margin:0 0 var(--s-3); padding-bottom:var(--s-2); border-bottom:2px solid var(--ink);
}
.form-sheet .f-head strong{ font-family:var(--font-display); font-size:var(--step-1); text-transform:uppercase; }
.form-sheet .f-head span{ font-family:var(--font-mono); font-size:.75rem; color:var(--paper-dim); white-space:nowrap; }
.form-sheet label{
  font-family:var(--font-mono); font-weight:700; font-size:.72rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--paper-dim);
}
.form-sheet .f-row{ display:grid; grid-template-columns:1fr 1fr; gap:var(--s-2) var(--s-3); }
@media (max-width:44rem){ .form-sheet .f-row{ grid-template-columns:1fr; } }
.form-sheet .f-field{ display:grid; gap:.35rem; }
.form-sheet input, .form-sheet textarea{ border-width:2px; }
/* the yes/no qualifiers: three quick checkboxes off the work order */
.form-sheet .f-quals{
  display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s-2) var(--s-3);
  margin-top:var(--s-2); padding-top:var(--s-2); border-top:1px dashed var(--rule);
}
@media (max-width:44rem){ .form-sheet .f-quals{ grid-template-columns:1fr; } }
.form-sheet fieldset{ border:0; margin:0; padding:0; min-width:0; }
.form-sheet legend{
  font-family:var(--font-mono); font-weight:700; font-size:.72rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--paper-dim); padding:0; margin-bottom:.4rem;
}
.form-sheet .yn{ display:flex; gap:1.1rem; align-items:center; flex-wrap:wrap; }
.form-sheet .yn label{
  display:inline-flex; gap:.45rem; align-items:center; cursor:pointer;
  font-family:var(--font-body); font-weight:700; font-size:.95rem;
  letter-spacing:0; text-transform:none; color:var(--ink);
}
.form-sheet .yn input{ width:1.1rem; height:1.1rem; padding:0; border:0; accent-color:var(--accent); }
.form-sheet .f-actions{ display:flex; align-items:center; gap:var(--s-3); flex-wrap:wrap; margin-top:var(--s-1); }
.form-sheet .f-note{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--paper-dim); margin:0; }
.form-status{ margin:.5rem 0 0; font-weight:700; min-height:1.4em; }
.form-status.ok{ color:var(--ink); }
.form-status.err{ color:var(--accent); }

/* ---- Turnstile's 300px floor (SOP v7.9, FORMS STANDARD) ----------------------
   Cloudflare's widget will not render narrower than 300px. Starve it and it does
   not shrink: it inflates the track it sits in, and because `form` is a grid whose
   items default to min-width:auto, EVERY field is dragged out to 300px and bursts
   past the sheet's right border. Measured on this build at 2026-08-17:
   grid-template-columns resolved to 300px inside a 275px content box on a 390px
   phone, and 300px inside 245px at 360px. 23px and 53px of overflow.

   Two independent guards, because either alone is fragile:
   1. minmax(0,1fr) lets the track shrink below its widest item. This is the
      structural fix and it protects every future fixed-width child, not just
      Turnstile. Preferred over per-item min-width:0, which only guards the one
      element someone remembered to write a rule for.
   2. the phone block below reclaims the width the widget actually needs.
        360 viewport - 32 section - 32 card - 4 border + 32 bleed = 324  (>=300)
      If you change #contact or .form-sheet padding, redo that sum.

   Verify in PRODUCTION at 360px. The sitekey is domain-bound so the widget does
   not exist locally, which is exactly why this keeps shipping broken.

   NOTE: do NOT add max-width:100% to .cf-turnstile. It looks like a sensible
   belt-and-braces guard and it silently cancels the bleed, which is how the first
   attempt at this fix landed at 261px. The bleed IS the mechanism. */
form{ grid-template-columns:minmax(0,1fr); }
.cf-turnstile{ min-width:0; }
@media (max-width:35rem){
  /* section padding is part of the sum; #contact gives back 8px each side so the
     bleed lands exactly on the card border instead of proud of it. */
  #contact{ padding-left:var(--s-2); padding-right:var(--s-2); }
  .form-sheet{ padding:1.4rem 1rem; }
  .cf-turnstile{ min-width:0; margin:12px -1rem; }
}

/* ============ FOOTER ============ */
.site-foot{
  color:var(--dark-dim);
  padding:var(--s-5) var(--s-3); font-size:.95rem;
  border-top:1px solid var(--rule-dark);
}
.site-foot .cols{
  max-width:var(--wrap); margin:0 auto; display:grid;
  grid-template-columns:2fr 1fr 1fr; gap:var(--s-4); align-items:start;
}
.site-foot img{ max-width:14rem; }
.site-foot h3{ color:var(--paper); font-size:.95rem; letter-spacing:.06em; }
.site-foot a{ color:var(--paper); text-decoration:none; }
.site-foot a:hover{ color:var(--accent-soft); }
.site-foot ul{ list-style:none; margin:0; padding:0; display:grid; gap:.45rem; }
.site-foot .legal{
  max-width:var(--wrap); margin:var(--s-4) auto 0; padding-top:var(--s-3);
  border-top:1px solid var(--rule-dark); display:flex; justify-content:space-between;
  gap:var(--s-3); flex-wrap:wrap; font-size:.85rem;
}
/* footer credit (canonical component, unchanged per client; the underscore stays lime).
   The lime #BFFF00 is the one allowed hardcoded hex. */
.st-credit{
  font-family:var(--font-mono);
  font-size:.75rem; letter-spacing:.02em;
  color:inherit; opacity:.6; text-decoration:none;
  transition:color .2s ease, opacity .2s ease;
}
.st-credit:hover{ opacity:1; color:#BFFF00; }
.st-wm{ font-weight:700; }
.st-wm u{ color:#BFFF00; text-decoration:none; }
@media (max-width:44rem){ .site-foot .cols{ grid-template-columns:1fr; } }

/* ============ REVEAL ============ */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .65s ease, transform .65s ease; }
.reveal.in{ opacity:1; transform:none; }
/* stagger utilities: a row of cards deals itself out left to right */
.reveal.d1{ transition-delay:.08s; }
.reveal.d2{ transition-delay:.16s; }
.reveal.d3{ transition-delay:.24s; }
.reveal.d4{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ============ WORK ORDER: the process as numbered steps ============ */
.steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(15rem,1fr)); gap:var(--s-3); max-width:var(--wrap); margin:0 auto; counter-reset:step; }
.step{
  position:relative; padding:var(--s-3) var(--s-3) var(--s-3) var(--s-3);
  border:2px solid var(--ink); background:var(--paper);
  box-shadow:0 5px 0 var(--paper-press);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step:hover{ transform:translateY(-4px); border-color:var(--accent); box-shadow:0 9px 0 var(--paper-press); }
.dark .step:hover{ border-color:var(--accent-dark); background:rgba(247,247,245,.03); box-shadow:none; }
@media (prefers-reduced-motion: reduce){ .step{ transition:none; } }
.step .no{
  font-family:var(--font-mono); font-weight:700; font-size:2.2rem; line-height:1;
  color:var(--accent); letter-spacing:-.02em; display:block; margin-bottom:var(--s-2);
  font-variant-numeric:tabular-nums;
}
.step h3{ font-size:var(--step-1); margin-bottom:var(--s-1); }
.step p{ margin:0; color:var(--paper-dim); font-size:.95rem; }
.step .cost{
  margin-top:var(--s-2); padding-top:var(--s-1); border-top:1px dashed var(--rule);
  font-family:var(--font-mono); font-weight:700; font-size:.78rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--accent);
}
.dark .step{ background:transparent; color:var(--paper); border-color:var(--rule-dark); box-shadow:none; }
.dark .step h3{ color:var(--paper); }
.dark .step p{ color:var(--dark-dim); }
.dark .step .no, .dark .step .cost{ color:var(--accent-dark); }
.dark .step .cost{ border-top-color:var(--rule-dark); }

/* ============ SPEC SHEET: cost bands as a shop table ============ */
.spec{
  max-width:var(--wrap); margin:0 auto; width:100%;
  border-collapse:collapse; background:var(--paper); color:var(--ink);
  border:2px solid var(--ink); box-shadow:0 6px 0 var(--paper-press);
}
.spec caption{
  text-align:left; font-family:var(--font-mono); font-weight:700; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--paper-dim); padding:0 0 var(--s-1);
}
.spec th, .spec td{ padding:.85rem var(--s-2); border-bottom:1px solid var(--rule); text-align:left; vertical-align:top; }
.spec thead th{
  font-family:var(--font-mono); font-weight:700; font-size:.75rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--paper-dim); border-bottom:2px solid var(--ink);
}
.spec td.amt, .spec th.amt{ text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.spec td.amt{ font-weight:700; color:var(--accent); }
.spec tbody tr:last-child td{ border-bottom:none; }
.spec .note{ font-weight:400; color:var(--paper-dim); font-size:.9rem; display:block; }
.spec-wrap{ max-width:var(--wrap); margin:0 auto; overflow-x:auto; }
.dark .spec{ box-shadow:0 14px 34px rgba(0,0,0,.45); }
/* phone: the table stacks into spec cards instead of crushing into one-word columns */
@media (max-width:44rem){
  .spec, .spec tbody, .spec tr, .spec td{ display:block; width:100%; }
  .spec thead{ display:none; }
  .spec tr{ padding:var(--s-2) 0; border-bottom:1px solid var(--rule); }
  .spec tbody tr:last-child{ border-bottom:none; }
  .spec td{ border-bottom:none; padding:.2rem var(--s-2); font-size:.95rem; }
  .spec td.amt, .spec th.amt{ text-align:left; white-space:normal; }
  .spec td.amt{
    padding-top:.45rem; font-family:var(--font-mono); font-size:.78rem;
    letter-spacing:.12em; text-transform:uppercase;
  }
}

/* ============ ROUTE BOARD: the towns as stenciled destination tags ============ */
.routes{ display:grid; grid-template-columns:repeat(auto-fill,minmax(13rem,1fr)); gap:var(--s-2); max-width:var(--wrap); margin:0 auto; }
.route{
  border:1px solid var(--rule-dark); padding:var(--s-2) var(--s-2);
  display:flex; flex-direction:column; gap:.25rem; position:relative;
}
.route::before{
  content:''; position:absolute; top:.65rem; right:.65rem; width:.55rem; height:.55rem;
  border-radius:50%; border:2px solid var(--accent-dark);
}
.route.hq::before{ background:var(--accent-dark); }
.route .t{ font-family:var(--font-display); text-transform:uppercase; font-size:var(--step-1); line-height:1.05; color:var(--paper); }
.route .c{ font-family:var(--font-mono); font-weight:700; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--dark-dim); }
/* linked route card: towns with their own area page (added 2026-08-17) */
a.route{ text-decoration:none; transition:transform .12s ease, box-shadow .12s ease; }
a.route:hover,a.route:focus-visible{ transform:translateY(-2px); }
.plain a.route:hover,.plain a.route:focus-visible,.pad a.route:hover,.pad a.route:focus-visible{ box-shadow:0 6px 0 var(--paper-press); }
a.route .t{ text-decoration:none; }
a.route::after{ content:'\2192'; position:absolute; right:.7rem; bottom:.6rem; font-family:var(--font-mono); font-weight:700; opacity:.45; }
.routes-foot{ max-width:var(--wrap); margin:var(--s-3) auto 0; color:var(--dark-dim); }
/* paper-ground variant */
.plain .route, .pad .route{ border-color:var(--ink); border-width:2px; box-shadow:0 4px 0 var(--paper-press); }
.plain .route::before, .pad .route::before{ border-color:var(--accent); }
.plain .route.hq::before, .pad .route.hq::before{ background:var(--accent); }
.plain .route .t, .pad .route .t{ color:var(--ink); }
.plain .route .c, .pad .route .c{ color:var(--paper-dim); }
.plain .routes-foot, .pad .routes-foot{ color:var(--paper-dim); }

/* ============ COMPARE: three ways to buy the same bathroom ============ */
.compare{ display:grid; grid-template-columns:repeat(auto-fit,minmax(16rem,1fr)); gap:var(--s-3); max-width:var(--wrap); margin:0 auto; }
.buy{
  border:1px solid var(--rule-dark); padding:var(--s-3);
  display:flex; flex-direction:column; gap:var(--s-1);
}
.buy .who{ font-family:var(--font-display); text-transform:uppercase; font-size:var(--step-1); color:var(--paper); }
.buy ul{ list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.buy li{ color:var(--dark-dim); font-size:.95rem; padding-left:1.1rem; position:relative; }
.buy li::before{ content:''; position:absolute; left:0; top:.5em; width:.45rem; height:.45rem; background:var(--rule-dark); }
.buy.us{ border:2px solid var(--accent-dark); position:relative; }
.buy.us .who{ color:var(--accent-dark); }
.buy.us li{ color:var(--paper); }
.buy.us li::before{ background:var(--accent-dark); }
.buy .verdict{
  margin-top:auto; padding-top:var(--s-2); font-family:var(--font-mono); font-weight:700;
  font-size:.75rem; letter-spacing:.13em; text-transform:uppercase; color:var(--dark-dim);
  border-top:1px dashed var(--rule-dark);
}
.buy.us .verdict{ color:var(--accent-dark); }

/* ============ JOB LIST: the honey-do checklist ============ */
.jobs{ display:grid; grid-template-columns:repeat(auto-fill,minmax(14rem,1fr)); gap:.7rem var(--s-3); max-width:var(--wrap); margin:0 auto; list-style:none; padding:0; }
.jobs li{
  display:flex; align-items:baseline; gap:.7rem; padding:.45rem 0;
  border-bottom:1px solid var(--rule); color:var(--ink); font-weight:500;
}
.jobs li::before{
  content:''; flex:none; width:.85rem; height:.85rem; border:2px solid var(--ink);
  transform:translateY(.08rem); background:
    linear-gradient(45deg, transparent 44%, var(--accent) 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, var(--accent) 44% 56%, transparent 56%);
}
.jobs li small{ color:var(--paper-dim); font-weight:400; }
.dark .jobs li{ color:var(--paper); border-bottom-color:var(--rule-dark); }
.dark .jobs li::before{ border-color:var(--paper); background:
    linear-gradient(45deg, transparent 44%, var(--accent-dark) 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, var(--accent-dark) 44% 56%, transparent 56%); }

/* ============ GALLERY: job-photo grid (filled 2026-08-17 from Cody's camera roll) ============ */
.gallery{ display:grid; grid-template-columns:repeat(auto-fill,minmax(16rem,1fr)); gap:var(--s-3); max-width:var(--wrap); margin:0 auto; }
.gallery figure{ margin:0; border:2px solid var(--ink); background:var(--paper); box-shadow:0 5px 0 var(--paper-press); }
/* Portrait by default: the crew shoots vertically on a phone, so 18 of the 19 job
   photos are 3:4. Forcing the old 4:3 cropped the floor or the fixtures out of every
   bathroom shot. Landscape frames opt in with .wide and span two columns. */
.gallery img{ width:100%; aspect-ratio:3/4; object-fit:cover; display:block; }
.gallery figure.wide img{ aspect-ratio:4/3; }
@media (min-width:48rem){ .gallery figure.wide{ grid-column:span 2; } }
.gallery figcaption{
  font-family:var(--font-mono); font-weight:700; font-size:.7rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--paper-dim); padding:.6rem .8rem;
}
/* designed placeholder slot: holds the frame until the job photo lands (per Chad 2026-08-14).
   Kept for any page still awaiting photos; matches the portrait frame above. */
.gallery .slot{
  aspect-ratio:3/4; margin:.5rem .5rem 0; border:2px dashed var(--rule);
  display:grid; place-content:center; justify-items:center; gap:.5rem; text-align:center;
  color:var(--paper-dim);
}
.gallery .slot span{
  font-family:var(--font-mono); font-weight:700; font-size:.66rem;
  letter-spacing:.14em; text-transform:uppercase;
}

/* ============ QUOTE WALL: review cards (staged; fills from Cody's review seeds) ============ */
.quotes{ display:grid; grid-template-columns:repeat(auto-fit,minmax(18rem,1fr)); gap:var(--s-3); max-width:var(--wrap); margin:0 auto; }
.quote{
  border:2px solid var(--ink); background:var(--paper); box-shadow:0 5px 0 var(--paper-press);
  padding:var(--s-3); display:flex; flex-direction:column; gap:var(--s-2);
}
.quote p{ margin:0; }
.quote .who{
  margin-top:auto; font-family:var(--font-mono); font-weight:700; font-size:.72rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent);
}

/* ============ SKETCH: blueprint fixture drawings ============ */
.sketch{ max-width:26rem; width:100%; margin:0 auto; }
.sketch svg{ width:100%; height:auto; display:block; }
.sketch .cap{
  font-family:var(--font-mono); font-weight:700; font-size:.72rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--dark-dim); text-align:center; margin-top:var(--s-2);
}
.split{
  display:grid; grid-template-columns:1.1fr .9fr; gap:var(--s-5); align-items:center;
  max-width:var(--wrap); margin:0 auto;
}
@media (max-width:56rem){ .split{ grid-template-columns:1fr; } .sketch{ max-width:19rem; } }

/* ============ TEAR STRIP: the page rips off the estimate pad ============ */
/* sits between a dark section and the paper section after it */
.tear{
  height:14px;
  background:
    radial-gradient(circle at 11px 0px, var(--black) 6px, transparent 6.8px) 0 0/22px 14px repeat-x,
    var(--paper);
}

/* ============ TITLE BLOCK: the footer signs off like a drawing sheet ============ */
.tblock{
  max-width:var(--wrap); margin:var(--s-4) auto 0;
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  border:2px solid var(--rule-dark);
  background:rgba(247,247,245,.02);
}
.tblock > div{ padding:.7rem 1rem; border-right:1px solid var(--rule-dark); }
.tblock > div:last-child{ border-right:none; }
.tblock span{
  display:block; font-family:var(--font-mono); font-weight:700; font-size:.62rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--dark-dim); margin-bottom:.15rem;
}
.tblock strong{ color:var(--paper); font-size:.92rem; font-weight:700; }
@media (max-width:44rem){
  .tblock{ grid-template-columns:1fr 1fr; }
  .tblock > div{ border-top:1px solid var(--rule-dark); }
  .tblock > div:nth-child(-n+2){ border-top:none; }
  .tblock > div:nth-child(2n){ border-right:none; }
}

/* ============ UTILITY ============ */
.center{ text-align:center; }
.foot-note{ font-size:.85rem; color:var(--paper-dim); }

/* SMS opt-in. Required for A2P 10DLC campaign review: carriers want to see where
   and how consent was collected, in the sender's own words, on a reachable page.
   Unchecked by default and never required, so it stays real consent. */
.f-consent label.consent{ display:flex; gap:.6rem; align-items:flex-start; cursor:pointer; }
.f-consent input[type=checkbox]{ flex:none; width:1.05rem; height:1.05rem; margin-top:.2rem; accent-color:var(--accent); }
.f-consent span{ font-size:.82rem; line-height:1.5; color:var(--paper-dim); }
.f-consent a{ color:inherit; text-underline-offset:2px; }
