/* ------------------------------------------------------------------
   Bayside Finisher — shared styles for index.html and contact.html
   ------------------------------------------------------------------ */

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

:root {
  /* Layout: a wall mid-job. Painter's-tape strips label each section, a fanned
     swatch deck opens the page, and the explanatory sections sit on full-bleed bands. */
  /* Single light theme by request: pale coastal neutrals, teal for actions */
  --wall: #F8FBFA;          /* primer white, cool */
  --surface: #FFFFFF;
  --band: #EEF5F3;          /* pale sea glass */
  --sky: #E1EFF8;           /* morning bay, closing band */
  --ink: #1E3A3E;           /* harbor ink, text */
  --ink-2: #587376;
  --line: #DCE6E4;
  --tape: #8EC4EF;          /* painter's tape blue */
  --tape-ink: #12304A;
  --bay: #2A7378;           /* bay teal: buttons, links, selected states */
  --bay-deep: #1F5B5F;
  --on-bay: #FFFFFF;
  --on-ink: #F8FBFA;
  --error: #B42318;
  --shadow: 0 1px 2px rgb(30 58 62 / .05), 0 12px 32px rgb(30 58 62 / .07);

  /* Physical paint colors */
  --sw-shell: #F1EEE6;
  --sw-dune: #E4D4B7;
  --sw-fog: #C7D3D5;
  --sw-glass: #B9D4C7;
  --sw-morning: #AFCDE4;
  --sw-rope: #D1AE7E;
  --sw-tide: #6E9D9E;
  --sw-text: #1E2C2E;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 6px;
  --header-h: 116px;

  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--bay); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.skip { position: absolute; left: -9999px; top: 12px; }
.skip:focus { left: 16px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 4px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-stretch: 112%;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); font-weight: 800; line-height: .98; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 780; line-height: 1.04; }
h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.2; font-stretch: 104%; letter-spacing: -0.005em; }
p { margin: 0; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.mono { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; color: var(--ink-2); }

/* Painter's tape label */
.tape {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  align-self: start;
  max-width: 100%;
  font: 500 .72rem/1.35 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tape-ink);
  background-color: var(--tape);
  background-image: linear-gradient(90deg, rgb(255 255 255 / .2), transparent 25%, rgb(255 255 255 / .12) 70%, transparent);
  padding: .6em 1.15em;
  transform: rotate(-1.4deg);
  clip-path: polygon(0 10%, 2% 0, 98% 6%, 100% 0, 99% 35%, 100% 70%, 98% 100%, 3% 94%, 0 100%, 1% 60%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 50px;
  padding: 0 1.4em;
  border-radius: 4px;
  border: 1.5px solid transparent;
  font: 600 1rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--bay); color: var(--on-bay); }
.btn-primary:hover { background: var(--bay-deep); }
.btn-ghost { background: var(--surface); color: var(--bay); border-color: var(--bay); }
.btn-ghost:hover { background: var(--bay); color: var(--on-bay); }
.btn-tape { background: var(--tape); color: var(--tape-ink); }
.btn-tape:hover { background: var(--surface); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: .94rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--wall);
  background: color-mix(in srgb, var(--wall) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 100px; }
.brand-logo-full { display: block; width: 168px; height: auto; }
@media (max-width: 880px) {
  :root { --header-h: 92px; }
  .brand-logo { height: 78px; }
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; padding-block: 6px; background: linear-gradient(var(--tape), var(--tape)) no-repeat 0 100% / 0 2px; transition: background-size .25s; }
.nav a:not(.btn):hover { background-size: 100% 2px; }
.nav a[aria-current="page"] { background-size: 100% 2px; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: 600 .95rem var(--f-body);
  cursor: pointer;
}
.menu-icon { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-icon::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

.mobile-nav { border-top: 1px solid var(--line); background: var(--wall); }
.mobile-nav .wrap { display: grid; padding-block: 8px 20px; }
.mobile-nav a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 700 1.25rem/1.2 var(--f-display);
  font-stretch: 110%;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav .btn { margin-top: 18px; }

@media (max-width: 880px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 881px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.band { background: var(--band); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 104px); overflow-x: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.stroke {
  background-image: linear-gradient(var(--tape), var(--tape));
  background-repeat: no-repeat;
  background-position: 0 90%;
  background-size: 100% .28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: roll 1s cubic-bezier(.3, .7, .2, 1) .45s backwards;
}
@keyframes roll { from { background-size: 0% .28em; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.facts li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; }
.facts svg { width: 20px; height: 20px; flex: none; color: var(--bay); }

/* Swatch fan deck */
.fan-figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.fan {
  --h: 300px;
  --w: 132px;
  --step: 13deg;
  position: relative;
  width: 100%;
  max-width: 520px;
  height: calc(var(--h) + 58px);
}
.chip {
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: var(--w);
  height: var(--h);
  margin-left: calc(var(--w) / -2);
  border-radius: 8px;
  background: var(--c);
  color: var(--t);
  transform-origin: 50% calc(100% - 22px);
  transform: rotate(calc(var(--i) * var(--step)));
  box-shadow: 0 1px 1px rgb(0 0 0 / .06), 0 14px 26px -12px rgb(30 58 62 / .3);
  animation: fan 1s cubic-bezier(.2, .75, .2, 1) .15s backwards;
  transition: transform .35s cubic-bezier(.2, .75, .2, 1);
}
.chip:hover { transform: rotate(calc(var(--i) * var(--step))) translateY(-16px); }
.chip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: rgb(0 0 0 / .18);
}
@keyframes fan { from { transform: rotate(0deg); } }
.chip-label {
  position: absolute;
  top: 14px;
  left: 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.chip-label b { font: 700 .95rem/1 var(--f-display); font-stretch: 108%; }
.chip-label small { font: 500 .64rem/1 var(--f-mono); letter-spacing: .08em; opacity: .8; }
.rivet {
  position: absolute;
  left: 50%;
  bottom: 53px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  z-index: 10;
  background: radial-gradient(circle at 35% 30%, #EEF2F3, #8E9A9D 55%, #56636A);
  box-shadow: 0 1px 3px rgb(0 0 0 / .35);
}
.fan-figure figcaption { font: 400 .74rem/1.5 var(--f-mono); color: var(--ink-2); text-align: center; max-width: 42ch; letter-spacing: .02em; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .fan-figure { order: 2; }
}
@media (max-width: 560px) {
  .fan { --h: 220px; --w: 96px; --step: 11deg; }
  .chip-label { top: 10px; left: 8px; gap: 8px; }
  .chip-label b { font-size: .78rem; }
  .chip-label small { font-size: .56rem; }
  .chip::after { bottom: 16px; width: 10px; height: 10px; margin-left: -5px; }
  .rivet { width: 14px; height: 14px; margin-left: -7px; bottom: 55px; }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.svc-icon { width: 40px; height: 40px; color: var(--bay); }
.svc p { color: var(--ink-2); font-size: 1rem; }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .96rem; }
.svc li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.svc li::before { content: ""; width: 8px; height: 8px; background: var(--tape); transform: translateY(-1px); }
.svc-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Recent work ---------- */
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.work-filter {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: 500 .94rem/1 var(--f-body);
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.work-filter:hover { border-color: var(--ink); }
.work-filter[aria-pressed="true"] { background: var(--bay); color: var(--on-bay); border-color: var(--bay); }

.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.shot { min-width: 0; }
.shot a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--band); color: var(--on-ink); text-decoration: none; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s cubic-bezier(.2, .75, .2, 1); }
.shot a:hover img { transform: scale(1.04); }
.shot-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 12px 10px;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.3;
  background: linear-gradient(transparent, rgb(20 38 41 / .78));
}
.shot a:focus-visible { outline-offset: 3px; }
.work-more { display: flex; justify-content: center; margin-top: 28px; }

@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shot-cap { font-size: .8rem; padding: 24px 8px 8px; }
}

/* Photo viewer */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(14 28 30 / .94);
  color: var(--on-ink);
}
.lightbox::backdrop { background: rgb(14 28 30 / .6); }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 72px 24px; max-width: 100%; max-height: 100%; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 4px; }
.lightbox figcaption { font-weight: 600; text-align: center; }
.lightbox figcaption .mono { color: rgb(248 251 250 / .7); margin-left: 8px; }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(248 251 250 / .3);
  border-radius: 50%;
  background: rgb(14 28 30 / .5);
  color: var(--on-ink);
  cursor: pointer;
}
.lb-btn:hover { background: var(--bay); border-color: var(--bay); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb-next { right: 12px; top: 50%; margin-top: -24px; }
@media (max-width: 640px) {
  .lightbox figure { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin-top: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- Prep: wall at each stage ---------- */
.layers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.layer { display: grid; grid-template-rows: auto 1fr; min-width: 0; border-left: 1px solid var(--line); }
.layer:first-child { border-left: 0; }
.layer-swatch { height: 220px; }
.layer-body { display: grid; gap: 8px; align-content: start; padding: 20px; }
.layer-body p { font-size: .95rem; color: var(--ink-2); }
.layer-body .mono { color: var(--bay); }
.layer-step { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

.sw-bare {
  background:
    radial-gradient(circle at 24% 26%, #8C877C 0 2px, transparent 2.6px),
    radial-gradient(circle at 24% 58%, #8C877C 0 2px, transparent 2.6px),
    radial-gradient(circle at 76% 40%, #8C877C 0 2px, transparent 2.6px),
    linear-gradient(90deg, transparent 58%, #B8B1A3 58% 59%, transparent 59%),
    linear-gradient(170deg, transparent 70%, rgb(0 0 0 / .06) 70% 71%, transparent 71%),
    #CEC7B9;
}
.sw-repair {
  background:
    radial-gradient(ellipse 18% 9% at 24% 26%, #ECE9E2 0 60%, transparent 75%),
    radial-gradient(ellipse 18% 9% at 24% 58%, #ECE9E2 0 60%, transparent 75%),
    radial-gradient(ellipse 18% 9% at 76% 40%, #ECE9E2 0 60%, transparent 75%),
    linear-gradient(90deg, transparent 52%, #E8E4DB 52% 65%, transparent 65%),
    #CEC7B9;
}
.sw-primer {
  background:
    repeating-linear-gradient(90deg, rgb(0 0 0 / .018) 0 7px, transparent 7px 16px),
    #F3F2EC;
}
.sw-coat1 {
  background:
    linear-gradient(100deg, rgb(243 242 236 / .34) 0 10%, transparent 26% 52%, rgb(243 242 236 / .26) 68% 78%, transparent 92%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .07) 0 9px, transparent 9px 21px),
    #93B6B7;
}
.sw-coat2 {
  background:
    radial-gradient(120% 70% at 30% 0%, rgb(255 255 255 / .16), transparent 60%),
    var(--sw-tide);
}

.layers-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 24px;
  max-width: 820px;
}
.layers-note strong { font: 700 1.5rem/1 var(--f-display); font-stretch: 112%; }
.layers-note p { color: var(--ink-2); flex: 1 1 320px; min-width: 0; }

@media (max-width: 900px) {
  .layers { grid-template-columns: minmax(0, 1fr); }
  .layer { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto; border-left: 0; border-top: 1px solid var(--line); }
  .layer:first-child { border-top: 0; }
  .layer-swatch { height: auto; min-height: 120px; }
  .layer-body { padding: 16px 18px; }
}

/* ---------- Sheen guide ---------- */
.sheen-grid { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.rooms { display: grid; gap: 6px; }
.room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: 500 .98rem/1.25 var(--f-body);
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.room:hover { border-color: var(--ink); }
.room[aria-selected="true"] { background: var(--bay); color: var(--on-bay); border-color: var(--bay); }
.room-sheen { font: 500 .7rem/1 var(--f-mono); letter-spacing: .06em; opacity: .7; white-space: nowrap; }

.sheen-panel {
  display: grid;
  gap: 26px;
  min-width: 0;
  padding: clamp(20px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sheen-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.sheen-title h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; font-stretch: 112%; }
.sheen-why { font-size: 1.05rem; max-width: 62ch; }
.sheen-scale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.sheen-step { display: grid; gap: 8px; min-width: 0; }
.sheen-tile {
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border-radius: 4px;
  background-color: var(--sw-tide);
  background-image: linear-gradient(125deg, transparent 26%, rgb(255 255 255 / var(--g)) 46%, transparent 64%);
  outline: 3px solid transparent;
  outline-offset: 3px;
  transition: outline-color .2s;
}
.sheen-step b { font-size: .84rem; font-weight: 600; line-height: 1.2; }
.sheen-step span { font: 400 .66rem/1.2 var(--f-mono); color: var(--ink-2); letter-spacing: .02em; }
.sheen-step.is-on .sheen-tile { outline-color: var(--tape); }
.sheen-step.is-on b { color: var(--bay); }
.sheen-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding-top: 20px; border-top: 1px dashed var(--line); }
.sheen-facts div { display: grid; gap: 4px; min-width: 0; }
.sheen-facts dt { font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.sheen-facts dd { margin: 0; font-weight: 600; }

@media (max-width: 860px) {
  .sheen-grid { grid-template-columns: minmax(0, 1fr); }
  .rooms { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; }
  .room { width: auto; flex: none; white-space: nowrap; }
}
@media (max-width: 520px) {
  .sheen-scale { gap: 5px; }
  .sheen-step b { font-size: .7rem; }
  .sheen-step span { font-size: .56rem; }
  .sheen-facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Process ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  position: relative;
  counter-reset: step;
}
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; border-top: 2px dashed var(--line); }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 66px; min-width: 0; counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--bay);
  border-radius: 50%;
  background: var(--surface);
  color: var(--bay);
  font: 800 1.1rem/1 var(--f-display);
  font-stretch: 112%;
}
.step p { color: var(--ink-2); font-size: .98rem; }
.step .mono { color: var(--bay); }

@media (max-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps::before { top: 10px; bottom: 10px; left: 22px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
  .step { padding-top: 0; padding-left: 70px; }
  .step::before { top: -6px; }
}

/* ---------- Standards ---------- */
.standards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.standard { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--bay); min-width: 0; }
.standard p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 980px) { .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .standards { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-intro { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font: 600 1.1rem/1.35 var(--f-body);
}
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 18px; height: 18px; flex: none; transition: transform .25s; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.plus::after { top: 0; bottom: 0; left: 8px; width: 2px; }
details[open] .plus { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 24px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { position: static; }
}

/* ---------- CTA band ---------- */
.cta { background: var(--sky); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(52px, 7vw, 92px); }
.cta h2 { color: var(--ink); max-width: 16ch; }
.cta p { color: var(--ink-2); margin-top: 14px; max-width: 48ch; }
.cta-copy { min-width: 0; flex: 1 1 420px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 56px 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--bay); text-decoration: underline; }
.footer-about { display: grid; gap: 14px; align-content: start; }
.footer-about p { color: var(--ink-2); max-width: 36ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact page ---------- */
.contact-hero { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.contact-hero .wrap { display: grid; gap: 22px; }
.quick { font-weight: 500; }
.quick a { font-weight: 700; color: var(--ink); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-bottom: clamp(64px, 8vw, 104px);
}
.form-card {
  min-width: 0;
  padding: clamp(20px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.est-form { display: grid; gap: 24px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field label, .legend { font-weight: 600; font-size: .96rem; }
.opt { font-weight: 400; color: var(--ink-2); font-size: .86rem; }
.hint { font-size: .88rem; color: var(--ink-2); }
.est-form input[type="text"],
.est-form input[type="tel"],
.est-form input[type="email"],
.est-form select,
.est-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--wall);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .15s;
}
.est-form textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.est-form input:hover, .est-form select:hover, .est-form textarea:hover { border-color: var(--ink-2); }
.est-form input:focus-visible, .est-form select:focus-visible, .est-form textarea:focus-visible { outline: 3px solid var(--tape); outline-offset: 1px; border-color: var(--ink); }
.est-form [aria-invalid="true"] { border-color: var(--error); }
.est-form ::placeholder { color: var(--ink-2); opacity: .7; }
.err { color: var(--error); font-size: .88rem; font-weight: 500; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { position: relative; }
.opt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--wall);
  font-weight: 500;
  font-size: .94rem;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.opt-chip span::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: .55;
  flex: none;
}
.opt-chip input[type="radio"] + span::before { border-radius: 50%; }
.opt-chip span:hover { border-color: var(--ink-2); }
.opt-chip input:checked + span { background: var(--bay); color: var(--on-bay); border-color: var(--bay); }
.opt-chip input:checked + span::before { opacity: 1; background: var(--tape); border-color: var(--tape); }
.opt-chip input:focus-visible + span { outline: 3px solid var(--tape); outline-offset: 2px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 8px; border-top: 1px dashed var(--line); }
.form-foot .btn { margin-top: 16px; }
.form-foot .hint { margin-top: 16px; flex: 1 1 220px; }

.success { display: grid; gap: 20px; }
.success h2:focus { outline: none; }
.success dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.success dl div { display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.success dt { font: 500 .72rem/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.success dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.preview-note { font: 400 .76rem/1.5 var(--f-mono); color: var(--ink-2); }

.side { display: grid; gap: 20px; min-width: 0; }
.info-card { display: grid; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.info-card h2 { font-size: 1.2rem; font-stretch: 106%; }
.contact-line { display: grid; gap: 6px; min-width: 0; }
.contact-line .mono { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.contact-value { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.contact-value a { font: 700 1.2rem/1.2 var(--f-display); font-stretch: 106%; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
.contact-value a:hover { color: var(--bay); }
.contact-address { font-style: normal; font-weight: 600; line-height: 1.45; }
.copy-btn {
  font: 500 .72rem/1 var(--f-mono);
  letter-spacing: .06em;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); }
.hours { display: grid; gap: 6px; margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.next { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: nx; }
.next li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; counter-increment: nx; font-size: .96rem; }
.next li::before {
  content: counter(nx);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tape);
  color: var(--tape-ink);
  font: 700 .85rem/1 var(--f-display);
}
.next b { display: block; }
.next span { color: var(--ink-2); }
.info-card p { color: var(--ink-2); font-size: .96rem; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .success dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
