/* JL Renovations — site styles. Plain CSS, no build step. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 600 900;
  font-stretch: 70% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-var-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --navy: #15365F;        /* Square Navy: the J */
  --cyan: #3BADC8;        /* Chalk-line Cyan: the L */
  --cyan-lt: #7FD0E3;     /* cyan for text on navy/blackout */
  --ground: #EEF1EF;      /* Joint Compound */
  --white: #FBFCFB;       /* Primer White */
  --black: #24272C;       /* Blackout: the repainted wall */
  --coral: #E4506A;       /* Door Coral */
  --coral-dk: #B42B45;    /* coral that passes as text */
  --mud: #4A5260;         /* secondary text */
  --rule: #C9D0CD;        /* hairlines */

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: 16px;
  --max: 1200px;
  --header-h: 64px;
  --bar-h: 64px;
  --radius: 4px;
  color-scheme: light;
}

@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--navy);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  padding-bottom: var(--bar-h);
}
@media (min-width: 960px) { body { padding-bottom: 0; } }

::selection { background: var(--cyan); color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
.band-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--cyan-lt); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--cyan); }
a:hover { text-decoration-color: currentColor; }

p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; max-width: 68ch; }
li { margin-bottom: 0.4em; }
li::marker { color: var(--mud); }
strong { font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.25rem); font-stretch: 118%; font-weight: 850; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.9rem); margin-bottom: 0.6em; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); font-stretch: 105%; font-weight: 750; }
h4 { font-size: 1.125rem; font-stretch: 100%; font-weight: 750; }

.lede { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.5; color: var(--navy); max-width: 58ch; }
.muted { color: var(--mud); }
.small { font-size: 1rem; }
.nums { font-family: var(--display); font-stretch: 75%; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 12px 16px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Placeholders: must stand out ---------- */
.ph {
  background: #FDE8EC;
  color: var(--coral-dk);
  border: 2px dashed var(--coral);
  border-radius: 3px;
  padding: 0 0.3em;
  font-family: var(--display);
  font-stretch: 85%;
  font-weight: 650;
  font-size: 0.92em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ph-block {
  display: block;
  padding: 16px 18px;
  margin: 0 0 1em;
  line-height: 1.45;
}
.band-dark .ph { background: #3a2730; color: #FFC2CD; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  font-family: var(--display); font-stretch: 105%; font-weight: 750; font-size: 1.0625rem; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-estimate { background: var(--cyan); color: var(--navy); }
.btn-estimate:hover { background: #4fbdd6; box-shadow: 0 6px 16px -8px rgba(21,54,95,.5); }
.btn-call { background: var(--navy); color: var(--white); }
.btn-call:hover { background: #1c4478; box-shadow: 0 6px 16px -8px rgba(21,54,95,.6); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: rgba(21,54,95,.06); }
.band-dark .btn-ghost { color: var(--white); border-color: var(--cyan-lt); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 241, 239, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-height: 48px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--display); font-stretch: 120%; font-weight: 850; font-size: 1.15rem; line-height: 1; letter-spacing: 0.01em; }
.brand-sub { display: block; font-family: var(--display); font-stretch: 90%; font-weight: 600; font-size: 0.8rem; color: var(--mud); letter-spacing: 0.02em; margin-top: 4px; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; max-width: none; }
.nav li { margin: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  font-family: var(--display); font-stretch: 100%; font-weight: 650; font-size: 1rem; text-decoration: none;
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 12px calc(100% - 10px);
  transition: background-size 220ms var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { background-size: calc(100% - 24px) 2px; }
.header-actions { display: none; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 8px;
  font-family: var(--display); font-stretch: 90%; font-weight: 750; font-size: 1.05rem; text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; }
.header-actions .btn { min-height: 48px; padding: 10px 18px; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; min-height: 48px; padding: 0 12px;
  background: transparent; border: 2px solid var(--navy); border-radius: var(--radius); color: var(--navy);
  font: 750 1rem/1 var(--display); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--rule); padding-top: 8px; padding-bottom: 20px; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--rule); }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.mobile-nav .sub a { padding-left: 16px; font-weight: 600; font-size: 1.05rem; color: var(--mud); }

@media (min-width: 960px) {
  .nav, .header-actions { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.is-open { display: none; }
}
@media (min-width: 960px) and (max-width: 1119px) { .header-phone span { display: none; } }

/* Mobile call / estimate bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--rule);
  box-shadow: 0 -6px 18px -12px rgba(21,54,95,.35);
}
.call-bar .btn { min-height: 48px; padding: 8px 10px; font-size: 1rem; }
@media (min-width: 960px) { .call-bar { display: none; } }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-top: 20px; font-size: 1rem; color: var(--mud); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; max-width: none; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--rule); }
.crumbs a { display: inline-flex; align-items: center; min-height: 48px; }
.crumbs [aria-current] { color: var(--navy); font-weight: 700; display: inline-flex; align-items: center; min-height: 48px; }

/* ---------- Sections and the square ---------- */
.section { padding-top: 64px; padding-bottom: 64px; position: relative; }
@media (min-width: 720px) { .section { padding-top: 96px; padding-bottom: 96px; } }
.section.section-tight, .section-tight { padding-top: 48px; padding-bottom: 48px; }

/* The L-square heading: a navy blade with inch ticks and a cyan tongue */
.sq-head { position: relative; padding-left: 26px; margin-bottom: 28px; }
.sq-head h2, .sq-head h1 { margin-bottom: 0.3em; }
.sq-head > p { color: var(--mud); }
.sq-mark { position: absolute; left: 0; top: 0.15em; width: 18px; height: calc(100% - 0.15em); overflow: visible; pointer-events: none; }
.sq-mark .blade, .sq-mark .tongue, .sq-mark .tick { fill: none; stroke-linecap: square; }
.sq-mark .blade { stroke: var(--navy); stroke-width: 5; }
.sq-mark .tongue { stroke: var(--cyan); stroke-width: 5; }
.sq-mark .tick { stroke: var(--navy); stroke-width: 1.5; }
.band-dark .sq-mark .blade, .band-dark .sq-mark .tick { stroke: var(--white); }
.band-dark .sq-head > p { color: #C9D3DF; }

.js .sq-mark .blade, .js .sq-mark .tongue { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 240ms var(--ease-out); }
.js .sq-mark .tongue { transition-delay: 160ms; }
.js .sq-mark .ticks { opacity: 0; transition: opacity 200ms var(--ease-out) 260ms; }
.js .is-in .sq-mark .blade, .js .is-in .sq-mark .tongue { stroke-dashoffset: 0; }
.js .is-in .sq-mark .ticks { opacity: 1; }

.band-navy { background: var(--navy); color: var(--white); }
.band-black { background: var(--black); color: var(--white); }
.band-white { background: var(--white); }
.band-dark a { text-decoration-color: var(--cyan-lt); }
.band-dark .muted { color: #C9D3DF; }

/* ---------- Hero with the scroll repaint ---------- */
.hero { position: relative; overflow-x: clip; }
.hero-inner { padding-top: 28px; padding-bottom: 40px; display: grid; gap: 28px; align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { margin-bottom: 20px; }
.hero-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: none; font-size: 1rem; color: var(--mud); }
.hero-facts li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.hero-facts strong { color: var(--navy); }

.job { position: relative; margin: 0; }
.job-frame { position: relative; padding: 0 0 26px 26px; }
.job-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #cdac93; border-radius: 2px; box-shadow: 0 18px 40px -24px rgba(21,54,95,.55); }
.job-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.job-photo .after { clip-path: inset(0 0 0 0); }
.paint-on .job-photo .after { clip-path: inset(0 0 calc(100% - var(--p, 0) * 100%) 0); }

/* the square around the photo: blade down the left, tongue along the bottom */
.job-square { position: absolute; left: 0; bottom: 0; width: calc(100% - 0px); height: 100%; pointer-events: none; }
.job-square .blade { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: var(--navy); border-radius: 1px; }
.job-square .tongue { position: absolute; left: 0; right: 18%; bottom: 0; height: 14px; background: var(--cyan); border-radius: 1px; }
.job-square .ticks { position: absolute; left: 14px; top: 0; bottom: 26px; width: 10px;
  background-image: repeating-linear-gradient(to bottom, var(--navy) 0 1.5px, transparent 1.5px 12.5%);
  opacity: .9; }
.job-square .ticks::after { content: ""; position: absolute; inset: 0; width: 6px;
  background-image: repeating-linear-gradient(to bottom, var(--navy) 0 1px, transparent 1px 3.125%); opacity: .5; }

.coverage {
  position: absolute; left: 30px; bottom: 32px; z-index: 3;
  display: inline-flex; align-items: baseline; gap: 8px;
  background: rgba(251,252,251,.94); color: var(--navy);
  padding: 6px 10px; border-radius: 2px; font-size: 0.95rem;
}
.coverage .nums { font-size: 1.15rem; font-weight: 750; min-width: 3.2ch; text-align: right; }
.state-tag {
  position: absolute; top: 10px; z-index: 3; padding: 4px 10px; border-radius: 2px;
  font: 750 0.9rem/1.3 var(--display); font-stretch: 95%;
}
.state-tag.before { left: 36px; background: rgba(251,252,251,.94); color: var(--navy); }
.state-tag.after { right: 10px; background: var(--black); color: var(--white); }
.paint-on .state-tag.before { opacity: calc(1 - var(--p, 0) * 2); }
.paint-on .state-tag.after { opacity: calc(var(--p, 0) * 2 - 1); }

.roller {
  position: absolute; left: 26px; right: 0; top: 0; z-index: 2; height: 0;
  display: none; pointer-events: none;
}
.paint-on .roller { display: block; transform: translate3d(0, calc(var(--p, 0) * var(--ph, 300px)), 0); }
.paint-on .roller { opacity: calc((1 - var(--p, 0)) * 40); }
.roller svg { position: absolute; left: -2%; width: 104%; height: 64px; top: -40px; overflow: visible; }
.wet-edge { position: absolute; left: 26px; right: 0; top: 0; height: 3px; z-index: 2; display: none; background: rgba(255,255,255,.28); pointer-events: none; }
.paint-on .wet-edge { display: block; transform: translate3d(0, calc(var(--p, 0) * var(--ph, 300px) - 2px), 0); opacity: calc((1 - var(--p, 0)) * 40); }

.job figcaption { margin-top: 12px; padding-left: 26px; font-size: 1rem; color: var(--mud); }
.before-inset { display: none; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.08fr 1fr; gap: 56px; padding-top: 48px; padding-bottom: 64px; }
}
@media (min-width: 900px) and (min-height: 680px) {
  .hero.can-hold { height: calc(100svh - var(--header-h) + 70svh); }
  .hero.can-hold .hero-stick { position: sticky; top: var(--header-h); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero.can-hold .hero-stick > .wrap { width: 100%; }
  .job-photo { max-height: calc(100svh - var(--header-h) - 150px); aspect-ratio: 1/1; margin-left: auto; }
}

/* ---------- Trust strip ---------- */
.facts-strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); }
.facts-strip dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.facts-strip dl > div { padding: 20px 16px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts-strip dl > div:nth-child(2n) { border-right: 0; }
.facts-strip dt { font-size: 0.95rem; color: var(--mud); margin-bottom: 2px; }
.facts-strip dd { margin: 0; font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); line-height: 1.15; }
.facts-strip .src { margin: 0; max-width: none; padding: 12px 16px; font-size: 0.95rem; color: var(--mud); }
@media (min-width: 900px) {
  .facts-strip dl { grid-template-columns: repeat(4, 1fr); }
  .facts-strip dl > div { border-bottom: 0; }
  .facts-strip div:nth-child(2n) { border-right: 1px solid var(--rule); }
  .facts-strip div:nth-child(4) { border-right: 0; }
  .facts-strip .src { border-top: 1px solid var(--rule); }
}

/* ---------- Trades ---------- */
.trades { display: grid; gap: 40px; }
@media (min-width: 900px) { .trades { grid-template-columns: 1fr 1fr; gap: 56px; } }
.trade-group h3 { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--navy); margin-bottom: 0; }
.trade-group h3 .tag { font-size: 1rem; font-stretch: 90%; font-weight: 650; color: var(--mud); margin-left: auto; }
.trade-list { list-style: none; padding: 0; margin: 0; max-width: none; }
.trade-list li { margin: 0; border-bottom: 1px solid var(--rule); }
.trade-link { display: grid; grid-template-columns: 40px 1fr 24px; gap: 14px; align-items: start; padding: 18px 4px; text-decoration: none; transition: background-color 180ms var(--ease-out); }
.trade-link:hover { background: rgba(59,173,200,.08); }
.trade-link .ico { width: 40px; height: 40px; color: var(--navy); }
.trade-link h4 { margin: 2px 0 4px; font-size: 1.2rem; }
.trade-link p { margin: 0; color: var(--mud); font-size: 1.02rem; }
.trade-link .go { width: 22px; height: 22px; margin-top: 6px; color: var(--cyan); transition: transform 200ms var(--ease-out); }
.trade-link:hover .go { transform: translateX(3px); }
.band-dark .trade-group h3 { border-color: var(--cyan); }
.band-dark .trade-list li { border-color: rgba(255,255,255,.18); }
.band-dark .trade-link .ico { color: var(--cyan-lt); }
.band-dark .trade-link p { color: #C9D3DF; }

/* ---------- Work gallery ---------- */
.gallery { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(12, 1fr); gap: 24px; } }
.shot { margin: 0; }
.shot a { text-decoration: none; display: block; }
.shot-img { overflow: hidden; border-radius: 2px; background: #d9dedc; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease-out); }
.shot:hover .shot-img img { transform: scale(1.03); }
.shot figcaption { padding: 10px 0 0; }
.shot figcaption strong { display: block; font-family: var(--display); font-stretch: 105%; font-weight: 750; font-size: 1.1rem; line-height: 1.25; }
.shot figcaption span { color: var(--mud); font-size: 1rem; }
.band-dark .shot figcaption span { color: #C9D3DF; }
@media (min-width: 1000px) {
  .g-wide { grid-column: span 7; }
  .g-narrow { grid-column: span 5; }
  .g-third { grid-column: span 4; }
  .g-half { grid-column: span 6; }
}
.shot .ratio-43 { aspect-ratio: 4/3; }
.shot .ratio-sq { aspect-ratio: 1/1; }
.shot .ratio-34 { aspect-ratio: 3/4; }
.shot .ratio-wide { aspect-ratio: 2/1; }

/* ---------- Before / after drag ---------- */
.ba { position: relative; margin: 0; }
.ba-stage { position: relative; aspect-ratio: 840/754; overflow: hidden; border-radius: 2px; background: #786b64; user-select: none; touch-action: pan-y; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-stage .ba-after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 0; z-index: 2; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--white); box-shadow: 0 0 0 1px rgba(21,54,95,.35); }
.ba-knob { position: absolute; top: 50%; left: -26px; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--cyan); color: var(--navy); display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); }
.ba-knob svg { width: 28px; height: 28px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; touch-action: pan-y; }
.ba-range:focus-visible + .ba-handle .ba-knob { outline: 3px solid var(--navy); outline-offset: 3px; }
.ba-label { position: absolute; top: 10px; z-index: 1; padding: 4px 10px; border-radius: 2px; font: 750 0.9rem/1.3 var(--display); }
.ba-label.l { left: 10px; background: rgba(251,252,251,.94); color: var(--navy); }
.ba-label.r { right: 10px; background: var(--black); color: var(--white); }
.ba figcaption { margin-top: 12px; color: var(--mud); font-size: 1rem; }
.band-dark .ba figcaption { color: #C9D3DF; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; max-width: none; }
.steps li { margin: 0; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); counter-increment: step; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: 2.6rem; line-height: 0.9; color: var(--cyan); }
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; color: var(--mud); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 0 24px; }
  .steps li { grid-template-columns: 1fr; border-top: 3px solid var(--navy); border-bottom: 0 !important; padding: 18px 0 0; gap: 10px; }
}
.band-dark .steps li { border-color: rgba(255,255,255,.2); }
.band-dark .steps p { color: #C9D3DF; }

/* ---------- Owner's words ---------- */
.words { margin: 0; }
.words blockquote { margin: 0; }
.words p { font-family: var(--display); font-stretch: 122%; font-weight: 850; font-size: clamp(2rem, 1.2rem + 4.2vw, 5rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 16ch; margin: 0; }
.words p span { display: block; }
.words p span:nth-child(2) { color: var(--cyan-lt); }
.words figcaption { margin-top: 24px; font-size: 1.05rem; color: #C9D3DF; }

/* ---------- Two-column prose for inner pages ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.aside-card { background: var(--white); border: 1px solid var(--rule); padding: 24px; border-radius: var(--radius); }
.aside-card h2, .aside-card h3 { font-size: 1.35rem; }
@media (min-width: 960px) { .aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 14px; height: 9px; border-left: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan); transform: rotate(-45deg); transform-origin: 30% 60%; }

.cost-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 1.02rem; }
.cost-table th, .cost-table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); }
.cost-table th { font-family: var(--display); font-stretch: 100%; font-weight: 750; width: 36%; }
.cost-table td { color: var(--mud); }
.table-scroll { overflow-x: auto; }

.callout { border-top: 3px solid var(--navy); padding-top: 16px; margin: 1.5em 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  min-height: 56px; padding: 16px 0;
  font-family: var(--display); font-stretch: 100%; font-weight: 750; font-size: 1.15rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--cyan); transition: transform 220ms var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .answer { padding: 0 0 20px; }
.faq .answer p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { transition: content-visibility 220ms allow-discrete, height 220ms var(--ease-out); height: 0; overflow: clip; }
  .faq details[open]::details-content { height: auto; }
  @supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
}

/* ---------- Areas ---------- */
.areas { display: grid; gap: 24px; }
@media (min-width: 800px) { .areas { grid-template-columns: 1fr 1fr 1fr; } }
.area h3 { margin-bottom: 6px; }
.area p { color: var(--mud); margin: 0; }

/* ---------- Reviews placeholder ---------- */
.reviews-empty { display: grid; gap: 16px; }

/* ---------- Estimate form ---------- */
.estimate { display: grid; gap: 40px; }
@media (min-width: 960px) { .estimate { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.contact-lines { list-style: none; padding: 0; margin: 20px 0 0; max-width: none; }
.contact-lines li { margin: 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-lines li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-lines a, .contact-lines span.line { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 0; text-decoration: none; }
.contact-lines svg { width: 22px; height: 22px; color: var(--cyan-lt); flex: none; }
.contact-lines .k { display: block; font-size: 0.9rem; color: #C9D3DF; line-height: 1.2; }
.contact-lines .v { display: block; font-family: var(--display); font-stretch: 95%; font-weight: 750; font-size: 1.15rem; line-height: 1.3; word-break: break-word; }
.band-light .contact-lines li { border-color: var(--rule); }
.band-light .contact-lines svg { color: var(--navy); }
.band-light .contact-lines .k { color: var(--mud); }

.form .btn-ghost { color: var(--navy); border-color: var(--navy); }
.form .ph { background: #FDE8EC; color: var(--coral-dk); }
.form a { text-decoration-color: var(--cyan); }
.form { background: var(--white); color: var(--navy); border-radius: var(--radius); padding: 24px 18px; box-shadow: 0 24px 50px -30px rgba(0,0,0,.6); }
@media (min-width: 720px) { .form { padding: 32px; } }
.form h3 { margin-bottom: 4px; }
.form .req-note { color: var(--mud); font-size: 1rem; margin-bottom: 20px; }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-family: var(--display); font-stretch: 100%; font-weight: 750; font-size: 1.05rem; margin-bottom: 6px; padding: 0; }
.field .opt { font-family: var(--body); font-weight: 400; color: var(--mud); font-size: 0.95rem; }
.field .hint { display: block; font-size: 0.95rem; color: var(--mud); margin: -2px 0 8px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 1.0625rem/1.4 var(--body); color: var(--navy);
  background: #fff; border: 2px solid #8C96A3; border-radius: var(--radius);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315365F' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--cyan); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--coral-dk); }
.field .error { display: none; align-items: flex-start; gap: 8px; margin-top: 8px; color: var(--coral-dk); font-weight: 700; font-size: 1rem; }
.field .error svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.field.has-error .error { display: flex; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

fieldset.field { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 2px solid #8C96A3; border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

.upload { border: 2px dashed #8C96A3; border-radius: var(--radius); padding: 16px; background: #fff; }
.upload-btn { position: relative; display: inline-flex; }
.upload-btn input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.upload-btn input:focus-visible + .btn { outline: 3px solid var(--cyan); outline-offset: 3px; }
.upload .hint { margin: 10px 0 0; }
.thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; max-width: none; }
.thumbs li { margin: 0; position: relative; aspect-ratio: 1/1; border-radius: 3px; overflow: hidden; background: var(--ground); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(36,39,44,.85); color: #fff; cursor: pointer; display: grid; place-items: center; }
.thumbs button::after { content: ""; position: absolute; inset: -6px; } /* 48px hit area */
.thumbs button svg { width: 16px; height: 16px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0 0 16px; }
.form-error-summary { display: none; background: #FDE8EC; border-left: 0; border-top: 3px solid var(--coral-dk); color: var(--coral-dk); padding: 12px 14px; font-weight: 700; margin-bottom: 16px; }
.form-error-summary.show { display: block; }
.form .submit { width: 100%; min-height: 56px; font-size: 1.15rem; }
.form .after-submit { margin: 14px 0 0; color: var(--mud); font-size: 1rem; }
.form-done { text-align: left; }
.form-done[hidden] { display: none; }
.form-done .done-mark { width: 56px; height: 56px; color: var(--cyan); margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 56px 0 32px; }
.site-footer a { text-decoration-color: var(--cyan-lt); }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand .brand-name { font-size: 1.4rem; }
.foot-brand p { color: #C9D3DF; margin-top: 12px; font-size: 1rem; }
.site-footer h2 { font-size: 1.1rem; font-stretch: 100%; margin-bottom: 10px; color: var(--cyan-lt); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.95rem; color: #C9D3DF; }
.foot-base p { margin: 0; }

/* ---------- Misc ---------- */
.page-head { padding-top: 8px; padding-bottom: 40px; }
.page-head .lede { margin-top: 4px; }
.service-sections { display: grid; gap: 0; }
.svc-row { display: grid; gap: 20px; padding: 40px 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .svc-row { grid-template-columns: 360px 1fr; gap: 48px; align-items: start; } }
.svc-row .shot-img { aspect-ratio: 4/3; }
.svc-row h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.illo { aspect-ratio: 4/3; background: var(--white); border: 1px solid var(--rule); display: grid; place-items: center; border-radius: 2px; }
.illo svg { width: 70%; height: auto; color: var(--navy); }

.notfound { min-height: 60vh; display: grid; align-content: center; }

.photo-ph { aspect-ratio: 4/5; border: 2px dashed var(--coral); background: #FDE8EC; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--coral-dk); font-family: var(--display); font-weight: 700; border-radius: 2px; }

/* ---------- Reduced motion: finished states, no holds ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .hero.can-hold { height: auto !important; }
  .hero .hero-stick { position: static !important; min-height: 0 !important; }
  .roller, .wet-edge, .coverage, .state-tag.before { display: none !important; }
  .job-photo .after { clip-path: none !important; }
  .state-tag.after { opacity: 1 !important; }
  .before-inset { display: block; position: absolute; left: 36px; bottom: 36px; width: 34%; z-index: 3; border: 3px solid var(--white); box-shadow: 0 8px 20px -10px rgba(0,0,0,.6); }
  .before-inset img { position: static; width: 100%; height: auto; }
  .before-inset span { position: absolute; left: 0; top: 0; background: var(--white); color: var(--navy); font: 750 0.8rem/1.3 var(--display); padding: 2px 6px; }
  .shot:hover .shot-img img { transform: none; }
}
.foot-base a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 600px) and (max-width: 899px) { .job { max-width: 560px; } }
