/* ==========================================================================
   Houston's Painting Plus — houstonpaints.ca
   Visual world: "Taped Off". Two inks (ink, ochre) on wall-white; canvas for
   the floor. Blocks are taped-off rectangles with razor edges; tape strips
   carry labels; the accent appears only where the coat has gone on.
   Rules at 1px. No radius. No shadows except the tape's own.
   Edit colours in :root only. Copy lives in the HTML.
   ========================================================================== */

@font-face{
  font-family:'Archivo';
  src:url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight:100 900; font-stretch:62% 125%; font-display:swap;
}
@font-face{
  /* The logo's face, from the client handoff (brand/logo/README.md). Subset to the
     wordmark's own glyphs (5KB); it sets the brand name and nothing else on this site.
     Swapping it for another face is banned by the handoff, so it has no fallback stack. */
  font-family:'Paytone';
  src:url('../fonts/paytone-one-lockup.woff2') format('woff2');
  font-weight:400; font-display:swap;
}
@font-face{
  font-family:'Marker';
  src:url('../fonts/permanent-marker-latin-400-normal.woff2') format('woff2');
  font-weight:400; font-display:swap;
}

:root{
  /* inks */
  --ink:#1F2023;
  --ink-2:#3A3C41;          /* secondary text */
  --muted:#53565D;          /* tertiary text — 6.6:1 on wall, 5.0:1 on canvas */
  --ochre:#E09E1A;          /* the coat, the tape */
  --ochre-deep:#B87D0F;     /* LINES ONLY: cut-line hairline, borders, icons, hover on ink */
  --ochre-text:#8A5F0A;     /* the only ochre allowed on text over wall-white (5.1:1) */
  --ochre-tint:#F3D28A;     /* the lit step, chips */
  --ochre-pale:#FBEFD3;     /* wash for hover on wall */
  /* surfaces */
  --wall:#F4F3EF;
  --wall-2:#E9E8E2;
  --canvas:#D9D5CB;
  --canvas-2:#CBC6BA;
  /* lines */
  --line:rgba(31,32,35,.18);
  --line-soft:rgba(31,32,35,.09);
  --line-hard:var(--ink);
  /* type */
  --font:'Archivo','Helvetica Neue',Arial,sans-serif;
  --marker:'Marker','Comic Sans MS',cursive;
  --wd-display:125; --wd-head:112; --wd-body:100;
  /* rhythm */
  --gutter:clamp(20px,4vw,56px);
  --max:1280px;
  --sect:clamp(64px,9vw,128px);
  --fs-tel-lg:clamp(28px,3vw,40px);   /* the phone number wherever it is the primary action */
  --nav-h:76px;
  --bar-h:60px;
  --safe-b:env(safe-area-inset-bottom, 0px);
  /* motion */
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease:cubic-bezier(.22,.61,.36,1);
  /* tape shadow: offset + soft blur, the strip's own thickness */
  --sheen:rgba(255,255,255,.16);      /* the light catching the top of a tape strip */
  --sheen-strong:rgba(255,255,255,.22);
  --tape-shadow:0 1px 0 rgba(31,32,35,.10), 0 3px 6px rgba(31,32,35,.14);
}

/* --------------------------------------------------------------- reset */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth; scrollbar-color:var(--canvas-2) var(--wall)}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }
body{ position:relative;
  margin:0; background:var(--wall); color:var(--ink); overflow-wrap:break-word;
  font-family:var(--font); font-variation-settings:'wdth' var(--wd-body);
  font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
/* the wall: a whisper of plaster grain that survives on screen */
body::before{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.12 0 0 0 0 0.13 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.55;
}
::selection{background:var(--ochre); color:var(--ink)}
img,svg{display:block; max-width:100%}
figure{margin:0}
a{color:inherit; text-decoration-thickness:1px; text-underline-offset:.18em}
a:hover{text-decoration-color:var(--ochre-text)}
:focus-visible{
  outline:3px solid var(--ink); outline-offset:3px;
  box-shadow:0 0 0 3px var(--wall);   /* the light half of the ring: carries contrast on ink and ochre */
}
button,input,select,textarea{font:inherit; color:inherit}
h1,h2,h3,h4{margin:0; line-height:1.05; text-wrap:balance}
p{margin:0 0 1em}
ul,ol{margin:0; padding:0}
hr{border:0; border-top:1px solid var(--line); margin:0}

/* --------------------------------------------------------------- type */
.display{
  font-variation-settings:'wdth' var(--wd-display); font-weight:800;
  text-transform:uppercase; letter-spacing:.005em; line-height:.92;
  overflow-wrap:break-word;   /* long single words never push the page sideways */
}
.h2{
  font-variation-settings:'wdth' var(--wd-head); font-weight:700;
  font-size:clamp(28px,3.6vw,46px); text-transform:uppercase; letter-spacing:.01em; line-height:1;
}
.h3{
  font-variation-settings:'wdth' var(--wd-head); font-weight:700;
  font-size:clamp(20px,2vw,24px); text-transform:uppercase; letter-spacing:.02em; line-height:1.1;
}
.label{
  font-variation-settings:'wdth' var(--wd-body); font-weight:600;
  font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2);
}
.lede{font-size:clamp(18px,1.6vw,21px); line-height:1.5; color:var(--ink-2); max-width:62ch}
.prose{max-width:68ch}
.prose p{margin-bottom:1.1em}
.prose strong{font-weight:700}
.muted{color:var(--muted)}
.marker{font-family:var(--marker); font-weight:400; letter-spacing:0; text-transform:none}
.nowrap{white-space:nowrap}

/* --------------------------------------------------------------- layout */
.wrap{max-width:var(--max); margin:0 auto; padding-left:var(--gutter); padding-right:var(--gutter)}
.section{padding:var(--sect) 0; position:relative}
.section--tight{padding:calc(var(--sect) * .6) 0}
.section--wall2{background:var(--wall-2)}
.section--canvas{background:var(--canvas)}
.section--ink{background:var(--ink); color:var(--wall)}
.section--ink .label{color:var(--canvas)}
.section--ink .muted{color:var(--canvas-2)}
.section--ink .lede{color:var(--canvas)}
.section-head{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px 48px; align-items:end; margin-bottom:clamp(32px,4vw,56px)}
.section-head .lede{margin:14px 0 0}
@media (max-width:760px){ .section-head{grid-template-columns:1fr} }
.grid{display:grid; gap:1px; background:transparent}
.grid > *{background:var(--wall); box-shadow:0 0 0 1px var(--line)}
.section--wall2 .grid > *{background:var(--wall-2)}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:980px){ .cols-3,.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .cols-2,.cols-3,.cols-4{grid-template-columns:1fr} }

/* the canvas drop cloth: a woven weave for floors (footer, form) */
.canvas{
  background-color:var(--canvas);
  background-image:
    repeating-linear-gradient(0deg, rgba(31,32,35,.045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(31,32,35,.045) 0 1px, transparent 1px 3px);
}

/* --------------------------------------------------------------- the spine */
/* one unbroken tape line runs the whole page; steps light along it */
.spine{
  position:absolute; top:0; bottom:0; left:clamp(10px,2vw,28px); width:4px;
  background:var(--ochre); z-index:0; pointer-events:none; opacity:.95;
}
@media (max-width:760px){ .spine{width:3px; left:8px} }

/* --------------------------------------------------------------- tape */
.tape{
  display:inline-block; position:relative; z-index:1;
  font-family:var(--marker); font-size:1.05rem; line-height:1.2; letter-spacing:0;
  color:var(--ink); background:var(--ochre);
  padding:.42em 1.1em .38em;
  transform:rotate(-1.1deg);
  box-shadow:var(--tape-shadow);
  clip-path:polygon(0 8%, 1.2% 0, 3% 12%, 4.5% 2%, 6% 10%, 7% 0, 100% 0, 99% 9%, 97.5% 0, 96% 12%, 94.5% 3%, 93% 11%, 100% 100%, 98.5% 96%, 96.5% 100%, 95% 92%, 93.5% 100%, 0 100%, 1% 92%, 2.5% 100%, 4% 90%, 5.5% 100%);
  background-image:linear-gradient(180deg, var(--sheen), transparent 42%, rgba(31,32,35,.05));
  text-transform:none; font-weight:400;
}
.tape--flat{transform:none}
.tape--tilt{transform:rotate(1.4deg)}
.tape--masking{background-color:var(--canvas); color:var(--ink)}
.tape--small{font-size:.92rem; padding:.34em .9em .3em}
.tape--big{font-size:clamp(1.15rem,1.8vw,1.5rem); padding:.4em 1.1em .36em}
.tape--white{background-color:var(--wall); color:var(--ink)}
/* a label stuck across the top edge of a block */
.block{position:relative; padding:clamp(28px,3vw,40px); background:var(--wall)}
.block > .tape{position:absolute; top:-14px; left:clamp(16px,2vw,28px)}
.block--wall2{background:var(--wall-2)}
.block--edge{border:1px solid var(--line)}

/* --------------------------------------------------------------- buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-variation-settings:'wdth' var(--wd-head); font-weight:700; font-size:15px;
  letter-spacing:.05em; text-transform:uppercase; text-decoration:none; line-height:1;
  padding:1.05em 1.5em; border:1px solid var(--ink); background:var(--ink); color:var(--wall);
  cursor:pointer; position:relative; transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  min-height:48px;
}
.btn::after{ /* the coat goes on from the bottom */
  content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--ochre);
  transform:scaleY(0); transform-origin:50% 100%; transition:transform .3s var(--ease-out);
}
.btn:hover::after,.btn:focus-visible::after{transform:scaleY(1)}
.btn svg{width:18px; height:18px; flex:none}
.btn--ghost{background:transparent; color:var(--ink)}
.btn--ghost:hover{background:var(--ochre-pale)}
.btn--ochre{background:var(--ochre); border-color:var(--ochre); color:var(--ink)}
.btn--ochre:hover{background:var(--ochre-tint); border-color:var(--ochre-tint)}
.btn--ochre::after{background:var(--ink)}
.btn--wall{background:var(--wall); border-color:var(--wall); color:var(--ink)}
.btn--wall:hover{background:var(--ochre-tint); border-color:var(--ochre-tint)}
.btn--wide{width:100%}
.btn-row{display:flex; flex-wrap:wrap; gap:12px 14px; align-items:center}
.link-arrow{display:inline-flex; align-items:center; gap:.45em; font-weight:700; font-variation-settings:'wdth' var(--wd-head); text-transform:uppercase; letter-spacing:.05em; font-size:14px; text-decoration:none; border-bottom:2px solid var(--ochre); padding-bottom:.2em}
.link-arrow svg{width:16px; height:16px; transition:transform .25s var(--ease-out)}
.link-arrow:hover svg{transform:translateX(4px)}
.tel{font-variation-settings:'wdth' var(--wd-head); font-weight:800; letter-spacing:.02em; text-decoration:none; white-space:nowrap}
.tel:hover{color:var(--ochre-text)}

/* icons: one stroke, square caps */
.ico{width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.75; stroke-linecap:square; stroke-linejoin:miter; flex:none}

/* --------------------------------------------------------------- header */
.skip{position:absolute; left:-999px; top:8px; z-index:100; background:var(--ink); color:var(--wall); padding:10px 14px; text-decoration:none}
.skip:focus{left:8px}
.header{
  position:sticky; top:0; z-index:50; background:var(--wall); border-bottom:1px solid var(--line);
  height:var(--nav-h);
}
.header .wrap{display:flex; align-items:center; gap:clamp(16px,3vw,40px); height:100%}
/* ---- the logo -------------------------------------------------------------
   The approved lockup (brand/logo/), rebuilt live from its parts rather than
   shipped as one flat image: the painted H is the artwork, the name is set in
   the handoff's own face at the handoff's own metrics — line-height .82,
   tracking -.04em, HOUSTON'S navy over PAINTING PLUS gold. Every proportion is
   MEASURED off the supplied lockup at full resolution, not assumed:
     mark height / two-line ink block = 1.944   (=> wm-1 = mark height / 2.566)
     wm-2 / wm-1 size                 = .7377   (cap heights 90/122)
     baseline-to-baseline             = .632em of wm-1  (=> line-height .852)
     gap                              = .648x mark width = .462x mark height
   NOTE the two lines do NOT justify: line 2 is ~6% narrower (963 vs 903 units in
   the artwork). Do not "fix" wm-2 to match line 1's width — that is a different
   lockup. Built from parts it stays crisp at
   every size and still reflows at 320px, which a single PNG of a two-line lockup
   cannot: its second line is ~3px tall at header height.
   Its navy and gold are the LOGO's colours and are deliberately the only two
   places they appear — the page's own palette is unchanged.
   The gold line is 2.1:1 on wall-white and that is CORRECT: WCAG 1.4.3 exempts
   text that is part of a logo or brand name. Do not "fix" it to --ochre-text;
   the handoff bans recolouring the type, and the full name is carried in the
   link's aria-label. */
.brand{display:flex; align-items:center; gap:22.2px; text-decoration:none; color:var(--ink); min-width:0; flex:0 1 auto}
.brand .mark{width:auto; height:48px; flex:none}
.brand .wordmark{display:grid; line-height:.852; min-width:0; font-family:'Paytone',var(--font); font-weight:400; letter-spacing:-.04em; text-transform:uppercase}
.brand .wm-1{font-size:18.71px; color:#002D62}
.brand .wm-2{font-size:13.80px; color:#C9A227}   /* .7377 of line 1 — the artwork's own cap-height ratio */
.nav{display:flex; gap:clamp(14px,2vw,28px); margin-left:auto; order:2}
.header-actions{order:3}
.menu-btn{order:4}
.nav a{text-decoration:none; font-weight:600; font-size:15px; letter-spacing:.03em; text-transform:uppercase; position:relative; padding:6px 0}
.nav a::after{content:""; position:absolute; left:0; right:100%; bottom:0; height:3px; background:var(--ochre); transition:right .25s var(--ease-out)}
.nav a:hover::after,.nav a[aria-current="page"]::after,.nav a.is-section::after{right:0}
.header-actions{display:flex; align-items:center; gap:18px; flex:none}
.is-quote-page .header-actions .btn{display:none}   /* no self-link in the header on the quote page */
.header .tel{font-size:17px}
.menu-btn{display:none; background:none; border:1px solid var(--ink); padding:9px 12px; cursor:pointer; margin-left:auto; min-height:44px; align-items:center; gap:8px; font-weight:700; font-size:13.5px; letter-spacing:.06em; text-transform:uppercase; flex:none}
@media (max-width:980px){
  .nav{display:none}
  .header{position:static}
  .header-actions .btn{display:none}
  html.js .menu-btn{display:inline-flex}   /* JS-only: without it the button cannot open .nav, so don't render a dead control */
  .header.is-open .nav{display:grid; position:absolute; left:0; right:0; top:var(--nav-h); background:var(--wall); border-bottom:1px solid var(--line); padding:8px var(--gutter) 20px; gap:0; z-index:60}
  .header.is-open .nav a{padding:14px 0; border-bottom:1px solid var(--line-soft); font-size:17px}
  .header.is-open .nav a::after{display:none}
}
@media (max-width:560px){ .header .tel{display:none} }
@media (max-width:400px){
  .brand .mark{height:40px}
  .brand .wm-1{font-size:15.59px}
  .brand .wm-2{font-size:11.50px}
  .brand{gap:18.5px}
  .menu-btn{padding:9px 10px; font-size:12.5px}
}
@media (max-width:345px){
  .brand .mark{height:34px}
  .brand .wm-1{font-size:13.25px}
  .brand .wm-2{font-size:9.78px}
  .brand{gap:15.7px}
}

/* --------------------------------------------------------------- hero */
.hero{position:relative; overflow:hidden; min-height:min(calc(100svh - var(--nav-h)), 660px); display:grid; grid-template-columns:minmax(0,62fr) minmax(0,38fr)}
.hero-coat{ /* the fresh coat: one flat field at full strength */
  background:var(--ochre); color:var(--ink); position:relative;
  container-type:inline-size;
  padding:clamp(40px,6vw,80px) clamp(24px,3.4vw,48px) clamp(32px,4vw,56px) var(--gutter);
  display:flex; flex-direction:column; justify-content:flex-start; gap:clamp(28px,3.6vw,44px);
}
.hero-line{margin:auto 0 0; padding-top:24px; font-weight:700; font-variation-settings:'wdth' var(--wd-head); font-size:13.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink); display:flex; flex-wrap:wrap; gap:6px 0}
.hero-line span + span::before{content:"\00B7"; margin:0 .7em; color:var(--ink)}   /* --ochre-text is wall-white-only (2.4:1 on ochre) */
.hero-coat::after{ /* the razor edge: 1px of the deep tone, no anti-alias bleed */
  content:""; position:absolute; top:0; bottom:0; right:0; width:1px; background:var(--ochre-deep);
}
.hero-name{font-size:clamp(54px,6.6vw,132px); font-size:clamp(54px,12.2cqi,132px); margin:0}
.hero-name small{display:block; font-size:.38em; font-weight:700; font-variation-settings:'wdth' var(--wd-head); letter-spacing:.14em; margin-top:.22em}
.hero-sub{font-size:clamp(18px,1.8vw,24px); line-height:1.35; max-width:28ch; margin:0; font-weight:500}
.hero-wall{
  position:relative; padding:clamp(40px,6vw,88px) var(--gutter) clamp(40px,6vw,72px) clamp(28px,4vw,64px);
  display:flex; flex-direction:column; justify-content:flex-start; gap:clamp(22px,2.4vw,34px);
}
.hero-notes{ margin-top:auto }
.hero-wall .tel{font-size:clamp(26px,3.2vw,44px); display:block; line-height:1; letter-spacing:0}
.hero-wall .tel-hint{margin:8px 0 0}
.hero-cta{display:grid; gap:12px; max-width:420px}
.hero-cta .btn{justify-content:space-between; font-size:16px; padding:1.15em 1.4em}
.hero-notes{display:flex; flex-wrap:wrap; gap:14px 18px; align-items:flex-start}
/* the strip that peels */
.peel{
  position:absolute; z-index:5; left:52%; top:38%; width:clamp(220px,26vw,380px); height:clamp(34px,3.2vw,48px);
  background:var(--ochre-tint); box-shadow:var(--tape-shadow);
  background-image:linear-gradient(180deg, var(--sheen-strong), transparent 45%, rgba(31,32,35,.06));
  clip-path:polygon(0 10%, 1.5% 0, 3% 14%, 4.5% 2%, 6% 10%, 100% 0, 98.5% 10%, 97% 0, 95.5% 12%, 100% 100%, 98% 92%, 96% 100%, 0 100%, 1.5% 90%, 3% 100%, 4.5% 92%);
  transform:translate(-50%,-50%) rotate(-24deg); transform-origin:100% 50%;
  pointer-events:none;
}
.peel .marker{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:clamp(14px,1.3vw,19px); color:var(--ink); opacity:.85}
html.js .peel{animation:peel 1.6s var(--ease-out) .9s forwards}
@keyframes peel{
  0%{transform:translate(-50%,-50%) rotate(-24deg); opacity:1; box-shadow:var(--tape-shadow)}
  35%{transform:translate(-44%,-58%) rotate(-31deg) scaleX(.98); box-shadow:0 10px 18px rgba(31,32,35,.22)}
  100%{transform:translate(28%,-160%) rotate(-52deg) scaleX(.9); opacity:0; box-shadow:0 26px 40px rgba(31,32,35,.0)}
}
html.settled .peel, html:not(.js) .peel{display:none}
@media (prefers-reduced-motion:reduce){ .peel{display:none} }
@media (max-width:860px){
  .hero{grid-template-columns:minmax(0,1fr); min-height:0}
  .hero-coat{padding:clamp(36px,8vw,64px) var(--gutter) 32px; gap:24px}
  .hero-line{padding-top:28px; font-size:12.5px}
  .hero-coat::after{top:auto; right:0; left:0; bottom:0; width:auto; height:1px}
  .hero-name{font-size:clamp(40px,11vw,110px); font-size:clamp(40px,12.4cqi,110px)}
  .hero-wall{padding:32px var(--gutter) 40px; gap:26px}
  .hero-wall .tel{font-size:clamp(28px,8vw,40px)}
  .peel{left:auto; right:6%; top:54%; width:52vw; height:38px}
  .hero-cta{max-width:none}
}

/* --------------------------------------------------------------- trust strip */
.trust{background:var(--ink); color:var(--wall); border-top:1px solid var(--ink)}
.trust ul{list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; background:rgba(244,243,239,.14)}
.trust li{background:var(--ink); padding:22px clamp(18px,2vw,28px); display:flex; gap:14px; align-items:flex-start}
.trust .ico{color:var(--ochre); margin-top:2px}
.trust b{display:block; font-weight:700; font-variation-settings:'wdth' var(--wd-head); text-transform:uppercase; letter-spacing:.04em; font-size:14px}
.trust span{display:block; font-size:14px; color:var(--canvas); margin-top:3px; line-height:1.4}
@media (max-width:980px){ .trust ul{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:480px){ .trust ul{grid-template-columns:1fr} }

/* --------------------------------------------------------------- services */
.svc{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--line)}
.svc a{background:var(--wall); text-decoration:none; padding:clamp(24px,2.6vw,36px); display:flex; flex-direction:column; gap:14px; min-height:260px; position:relative; transition:background .25s var(--ease)}
.svc a:hover,.svc a:focus-visible{background:var(--ochre-pale)}
.svc a::before{ /* the taped corner */
  content:""; position:absolute; top:0; left:0; width:100%; height:8px; background:var(--ochre);
  transform:translateY(-1px) scaleX(.12); transform-origin:0 50%; transition:transform .35s var(--ease-out);
}
.svc a:hover::before{transform:translateY(-1px) scaleX(1)}
.svc .h3{margin-top:6px}
.svc p{color:var(--ink-2); margin:0; flex:1}
.svc .link-arrow{align-self:flex-start; margin-top:auto}
.svc--wide{grid-column:span 2}
@media (max-width:980px){ .svc{grid-template-columns:repeat(2,minmax(0,1fr))} .svc--wide{grid-column:span 2} }
@media (max-width:560px){ .svc{grid-template-columns:1fr} .svc--wide{grid-column:auto} .svc a{min-height:0} }

/* --------------------------------------------------------------- before/after */
.ba{position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--canvas); isolation:isolate; user-select:none}
.ba img,.ba .ba-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.ba .ba-after{clip-path:inset(0 0 0 var(--cut,50%))}
.ba .ba-edge{position:absolute; top:0; bottom:0; left:var(--cut,50%); width:6px; transform:translateX(-50%); background:var(--ochre); box-shadow:var(--tape-shadow); pointer-events:none; z-index:2}
.ba .ba-edge::after{content:""; position:absolute; left:50%; top:50%; width:34px; height:34px; transform:translate(-50%,-50%); background:var(--ochre); box-shadow:var(--tape-shadow);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2023' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E"); background-size:20px; background-position:center; background-repeat:no-repeat}
.ba input[type=range]{position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:ew-resize; z-index:3; -webkit-appearance:none; appearance:none}
.ba input[type=range]:focus-visible + .ba-edge{outline:3px solid var(--ink); outline-offset:3px; box-shadow:0 0 0 3px var(--wall)}
.ba .ba-tag{position:absolute; top:12px; z-index:2; pointer-events:none}
.ba .ba-tag--before{left:12px}
.ba .ba-tag--after{right:12px}
/* placeholders until the owner's photos arrive: two flat fields, honestly labelled */
.ba-sample{position:absolute; inset:0; display:flex; align-items:center; padding:24px; text-align:left}
.ba-sample span{display:block; max-width:min(42%, 30ch)}
.ba-sample--before{background:var(--canvas-2); color:var(--ink-2); justify-content:flex-start}
.ba-sample--after{background:var(--wall); color:var(--ink); justify-content:flex-end; text-align:right}
.ba-sample span{font-family:var(--marker); font-size:clamp(14px,1.4vw,18px); line-height:1.3}
.ba-caption{display:flex; justify-content:space-between; gap:16px; padding:12px 0 0; font-size:14px; color:var(--ink-2)}
.gallery-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,28px)}
@media (max-width:980px){ .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:600px){ .gallery-grid{grid-template-columns:1fr} }

/* --------------------------------------------------------------- steps (how quoting works) */
.steps{list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--line); counter-reset:step}
.step{background:var(--wall); padding:clamp(26px,3vw,40px); position:relative; counter-increment:step; transition:background .5s var(--ease)}
.step::before{ /* the number, taped */
  content:counter(step); position:absolute; top:-14px; left:clamp(18px,2vw,28px);
  font-family:var(--marker); font-size:1.15rem; line-height:1; color:var(--ink);
  background:var(--canvas); padding:.35em .9em .3em; transform:rotate(-1.5deg); box-shadow:var(--tape-shadow);
  transition:background .5s var(--ease);
}
.step.is-lit{background:var(--ochre-tint)}
.step.is-lit::before{background:var(--ochre)}
html:not(.js) .step{background:var(--wall)}
.step .h3{margin:10px 0 12px}
.step p{margin:0; color:var(--ink-2)}
.step .marker{display:block; margin-top:14px; font-size:1.05rem; color:var(--ink)}
@media (max-width:860px){ .steps{grid-template-columns:1fr} }

/* --------------------------------------------------------------- two-column facts */
.facts{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:var(--line)}
/* the cut, carried below the hero: the coat on the left, the untouched wall on the
   right, one razor edge between them — the same construction as the first viewport */
.facts--cut{background:var(--ochre-deep)}
.facts--cut > div:first-child{background:var(--ochre)}
.facts--cut > div:last-child{background:var(--wall)}
.facts--cut > div:first-child li::before{background:var(--ink)}
.facts > div{background:var(--wall-2); padding:clamp(26px,3vw,40px)}
.facts ul{list-style:none; display:grid; gap:10px; margin-top:16px}
.facts li{display:flex; gap:12px; align-items:flex-start; line-height:1.45}
.facts li::before{content:""; flex:none; width:14px; height:14px; margin-top:6px; background:var(--ochre); clip-path:polygon(0 38%, 38% 38%, 38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%)}
@media (max-width:760px){ .facts{grid-template-columns:1fr} }

/* --------------------------------------------------------------- testimonials */
.quotes{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,28px)}
.quote{position:relative; padding:clamp(24px,2.6vw,36px); background:var(--wall); border:1px solid var(--line)}
.quote blockquote{margin:0; font-size:17px; line-height:1.5}
.quote blockquote::before{content:"\201C"; font-variation-settings:'wdth' var(--wd-display); font-weight:800; font-size:44px; line-height:0; color:var(--ochre); display:block; margin:14px 0 4px}
.quote footer{margin-top:18px; font-size:14px; color:var(--ink-2); display:flex; flex-direction:column; gap:2px}
.quote footer b{color:var(--ink); font-weight:700}
.quote > .tape{position:absolute; top:-14px; right:clamp(16px,2vw,28px)}
@media (max-width:900px){ .quotes{grid-template-columns:1fr} }

/* --------------------------------------------------------------- areas */
.areas{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(28px,4vw,64px); align-items:start}
.towns{list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px}
.towns li{padding:12px 0; border-bottom:1px solid var(--line); font-weight:600; font-variation-settings:'wdth' var(--wd-head); text-transform:uppercase; letter-spacing:.04em; font-size:15px; display:flex; justify-content:space-between; gap:12px}
.towns li small{font-weight:400; text-transform:none; letter-spacing:0; color:var(--muted); font-variation-settings:'wdth' var(--wd-body); font-size:13.5px}
@media (max-width:860px){ .areas{grid-template-columns:1fr} }
@media (max-width:480px){ .towns{grid-template-columns:1fr} }

/* --------------------------------------------------------------- faq */
.faq{display:grid; gap:0; border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 0; font-weight:700; font-variation-settings:'wdth' var(--wd-head); font-size:clamp(17px,1.5vw,20px); line-height:1.25}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:""; flex:none; width:16px; height:16px; background:var(--ink); clip-path:polygon(0 40%, 40% 40%, 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%); transition:transform .3s var(--ease-out), background .3s var(--ease)}
.faq details[open] summary::after{transform:rotate(45deg); background:var(--ochre-text)}
.faq summary:hover{color:var(--ochre-text)}
.faq .answer{padding:0 0 22px; max-width:68ch; color:var(--ink-2)}
.faq .answer p:last-child{margin-bottom:0}

/* --------------------------------------------------------------- form */
.form-block{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:clamp(28px,4vw,72px); align-items:start}
@media (max-width:900px){ .form-block{grid-template-columns:1fr} }
.form{background:var(--wall); padding:clamp(24px,3vw,40px); border:1px solid var(--line); position:relative}
.form > .tape{position:absolute; top:-14px; left:clamp(16px,2vw,28px)}
.field{display:grid; gap:8px; margin-bottom:18px}
.field label,.fieldset legend{font-weight:600; font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2)}
.field .hint{font-size:13.5px; color:var(--muted); margin:-2px 0 0}
.field input,.field textarea,.field select{
  width:100%; padding:14px 14px; border:1px solid var(--ink); background:var(--wall); min-height:48px;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea{min-height:120px; resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{outline:3px solid var(--ink); outline-offset:3px; box-shadow:0 0 0 3px var(--wall); border-color:var(--ink)}
.field input:user-invalid,.field textarea:user-invalid{border-color:var(--ochre-text); background:var(--ochre-pale)}
.field .error{display:none; font-size:14px; color:var(--ink); background:var(--ochre-pale); border-top:2px solid var(--ochre); padding:8px 10px}
.field.is-invalid .error{display:block}
.fieldset{border:0; padding:0; margin:0 0 18px; min-width:0}
.fieldset legend{padding:0; margin-bottom:10px}
.chips{display:flex; flex-wrap:wrap; gap:10px}
.chips label{position:relative; cursor:pointer}
.chips input{position:absolute; opacity:0; width:1px; height:1px}
.chips span{display:inline-block; font-family:var(--marker); font-size:1rem; padding:.42em 1em .36em; background:var(--canvas); color:var(--ink); box-shadow:var(--tape-shadow), inset 0 0 0 1px rgba(31,32,35,.45); transform:rotate(-.8deg); transition:background .2s var(--ease), transform .2s var(--ease-out), box-shadow .2s var(--ease);
  clip-path:polygon(0 10%, 2% 0, 4% 12%, 6% 2%, 100% 0, 98% 10%, 96% 0, 100% 100%, 97% 92%, 94% 100%, 0 100%, 2% 90%, 4% 100%)}
.chips label:nth-child(even) span{transform:rotate(.9deg)}
.chips input:checked + span{background:var(--ochre); transform:rotate(0) scale(1.03); box-shadow:var(--tape-shadow), inset 0 0 0 2px var(--ink), inset 0 -6px 0 -2px var(--ink)}
.chips input:focus-visible + span{outline:3px solid var(--ink); outline-offset:3px; box-shadow:0 0 0 3px var(--wall)}
.row-2{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
@media (max-width:520px){ .row-2{grid-template-columns:1fr} }
.form .fine{font-size:13.5px; color:var(--muted); margin:14px 0 0; line-height:1.45}
.form .fine a{color:var(--ink)}
.hp{position:absolute; left:-9999px; top:-9999px; height:0; overflow:hidden}
.form-side .tel,.tel-lg{font-size:var(--fs-tel-lg); display:inline-block; line-height:1}
.form-side .tel{margin:8px 0 4px}
.form-side .lines{display:grid; gap:10px; margin-top:22px; padding-top:22px; border-top:1px solid var(--line)}
.form-side .lines div{display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--ink-2)}
.form-side .lines .ico{color:var(--ochre-text); margin-top:2px; width:20px; height:20px}
.form-side .lines a{color:var(--ink)}

/* --------------------------------------------------------------- footer */
.footer{padding:clamp(48px,6vw,80px) 0 calc(28px + var(--bar-h) + var(--safe-b)); color:var(--ink); border-top:1px solid var(--line)}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:clamp(24px,4vw,56px)}
.footer .brand .mark{height:60px}
.footer .brand{gap:27.7px}
.footer .brand .wm-1{font-size:23.38px}
.footer .brand .wm-2{font-size:17.25px}
.footer p{margin:12px 0 0; max-width:38ch; color:var(--ink-2); font-size:15px}
.footer h3{font-size:12.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:700; margin-bottom:14px}
.footer ul{list-style:none; display:grid; gap:9px; font-size:15px}
.footer a{text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer .tel{font-size:22px}
.footer-bottom{display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; margin-top:clamp(32px,4vw,56px); padding-top:20px; border-top:1px solid var(--line); font-size:13.5px; color:var(--muted)}
.footer-bottom a{color:var(--ink)}
@media (max-width:900px){ .footer-grid{grid-template-columns:1fr 1fr} }
@media (max-width:520px){ .footer-grid{grid-template-columns:1fr} .footer{padding-bottom:calc(20px + var(--bar-h) + var(--safe-b))} }
@media (min-width:861px){ .footer{padding-bottom:36px} }

/* --------------------------------------------------------------- sticky mobile bar */
.bar{display:none}
@media (max-width:860px){
  .bar{display:grid; grid-template-columns:1fr 1fr 1fr; position:fixed; left:0; right:0; bottom:0; z-index:70; height:calc(var(--bar-h) + var(--safe-b)); padding-bottom:var(--safe-b); background:var(--ink); border-top:1px solid var(--ochre)}
  .bar a{display:flex; align-items:center; justify-content:center; gap:10px; color:var(--wall); text-decoration:none; font-weight:700; font-variation-settings:'wdth' var(--wd-head); text-transform:uppercase; letter-spacing:.05em; font-size:15px; min-height:44px}
  .bar .bar-quote{background:var(--ochre); color:var(--ink)}
  .bar a + a{border-left:1px solid rgba(244,243,239,.18)}
  .bar .bar-quote{border-left:0}
  /* on the quote page the third slot would link to itself: give the space back to Call and Text */
  body.is-quote-page .bar{grid-template-columns:1fr 1fr}
  body.is-quote-page .bar .bar-quote{display:none}
  .bar .ico{width:20px; height:20px}
  body.form-focus .bar{display:none}
  body{padding-bottom:0}
}
/* "Get quote" is ~2.5x the width of "Call"/"Text" and wrapped to two lines on every
   phone <=412px. Keep it on one line: tighter type and icon, tap target still 44px. */
@media (max-width:430px){
  .bar a{font-size:13px; gap:6px; letter-spacing:.02em; white-space:nowrap}
  .bar .ico{width:18px; height:18px}
}

/* --------------------------------------------------------------- page heads (inner pages) */
.page-head{padding:clamp(40px,6vw,88px) 0 clamp(28px,4vw,56px); border-bottom:1px solid var(--line); position:relative}
.page-head .display{font-size:clamp(30px,8.4vw,104px)}
.page-head .lede{margin-top:20px}
.page-head .tape{margin-bottom:18px}
.crumbs{list-style:none; display:flex; flex-wrap:wrap; gap:6px 10px; font-size:13.5px; color:var(--muted); margin-bottom:22px}
.crumbs a{text-decoration:none; color:var(--ink-2)}
.crumbs li + li::before{content:"/"; margin-right:10px; color:var(--canvas-2)}
.two{display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:clamp(28px,4vw,72px); align-items:start}
.two > *{min-width:0}
@media (max-width:900px){ .two{grid-template-columns:1fr} }
.aside{position:sticky; top:calc(var(--nav-h) + 24px)}
@media (max-width:980px){ .aside{position:static} }
.checklist{list-style:none; display:grid; gap:12px; margin-top:16px}
.checklist li{display:flex; gap:12px; align-items:flex-start; line-height:1.45}
.checklist li::before{content:""; flex:none; width:14px; height:14px; margin-top:6px; background:var(--ochre); clip-path:polygon(0 38%, 38% 38%, 38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%)}
.cta-band{background:var(--ochre); color:var(--ink); padding:clamp(40px,6vw,80px) 0; position:relative}
.cta-band .display{font-size:clamp(34px,5.5vw,72px)}
.cta-band .btn-row{margin-top:24px}
.cta-band::before{content:""; position:absolute; left:0; right:0; top:0; height:1px; background:var(--ochre-deep)}

/* --------------------------------------------------------------- reveal (quiet) */
html.js [data-rv]{opacity:0; transform:translate3d(0,14px,0); transition:opacity .7s var(--ease-out), transform .8s var(--ease-out)}
html.js [data-rv].rv-in, html.settled [data-rv]{opacity:1; transform:none}
@media (prefers-reduced-motion:reduce){ html.js [data-rv]{opacity:1; transform:none; transition:none} }

/* the About page's photo slot: a real 4:5 frame, capped so an empty placeholder
   never eats the screen on a tablet */
.portrait{aspect-ratio:4/5; max-width:420px; max-height:min(58vh,460px); margin-inline:auto; display:flex; align-items:center; justify-content:center; text-align:center; padding:24px; border:1px solid var(--line); color:var(--ink-2)}
.portrait span{font-family:var(--marker); font-size:clamp(14px,1.5vw,18px); line-height:1.35; max-width:24ch; color:var(--ink-2)}

/* --------------------------------------------------------------- utilities */
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-6{margin-top:48px}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}
.center{text-align:center}
.print-only{display:none}
@media print{ .header,.bar,.spine,.peel,.footer-bottom{display:none!important} body{background:var(--wall)} }
