/* HERE. Flooring — styles
   World: layout day on the subfloor. Warm black ground, honey-oak plank fields,
   one orange chalk line. Archivo (variable width + weight), self-hosted. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo.woff2") format("woff2");
}

:root {
  --ink: #0e0c0a;
  --ink-2: #17130e;
  --ink-rgb: 14 12 10;
  --chalk-rgb: 255 151 42;
  --walnut: #2c1f14;
  --oak: #e9cfa6;
  --oak-2: #dcbe8f;
  --chalk: #ff972a;
  --chalk-2: #ffb25c;
  --cream: #f7eedf;
  --cream-2: #e7dac5;
  --muted-dark: #c8b69c;
  --text-oak: #1a130c;
  --muted-oak: #5c4a33;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-dark-2: rgba(255, 255, 255, 0.14);
  --error: #ff7a5c;
  --error-text: #ffc4b3;
  --placeholder: #8f7f68;
  --line-oak: rgba(26, 19, 12, 0.14);
  --line-ghost: rgba(255, 255, 255, 0.42);
  --line-input: rgba(255, 255, 255, 0.38);
  --line-input-hover: rgba(255, 255, 255, 0.55);
  --wash: rgba(255, 255, 255, 0.06);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 72px;
  --radius: 4px;
  --seam: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--chalk);
  accent-color: var(--chalk);
}

::selection { background: var(--chalk); color: var(--ink); }

html { scrollbar-color: var(--oak-2) var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--oak-2); border-radius: 8px; border: 2px solid var(--ink); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.25rem; font-stretch: 106%; letter-spacing: -0.01em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--chalk); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.services :focus-visible, .process :focus-visible, .about :focus-visible { outline-color: var(--text-oak); }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; }
.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; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--chalk); color: var(--ink); font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

/* The brand dot: a period that belongs to the mark. */
.dot {
  display: inline-block;
  width: 0.26em;
  height: 0.26em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--chalk);
  vertical-align: baseline;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  text-wrap: balance;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s var(--ease-out), opacity 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--chalk); color: var(--ink); }
.btn-primary:hover { background: var(--chalk-2); }
.btn-ghost { border-color: var(--line-ghost); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: var(--wash); }
.btn-sm { min-height: 44px; padding: 0.6rem 1.05rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgb(var(--ink-rgb) / 0.9); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; min-height: var(--header-h); padding: 0.5rem var(--gutter); }
.brand { display: inline-flex; align-items: baseline; gap: 0.7rem; padding-block: 0.8125rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: auto; height: 22px; }
.brand-service {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  padding-left: 0.7rem;
  border-left: 1px solid var(--line-dark);
  line-height: 1;
  transform: translateY(-1px);
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a {
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream-2);
  text-decoration: none;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 2px;
  background: var(--chalk);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.phone-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0 0.25rem;
  font-weight: 700; font-size: 0.95rem; color: var(--cream); text-decoration: none;
}
.phone-link:hover { color: var(--chalk-2); }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-bar { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.3s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-bar:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: calc(100vh - 100%);
  height: calc(100dvh - 100%);
  background: var(--ink);
  padding: 1.5rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  transition: opacity 0.15s ease, display 0.15s allow-discrete;
}
.mobile-menu[hidden] { display: none; opacity: 0; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.75rem;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu-actions { display: grid; gap: 0.75rem; padding-top: 1.5rem; }
.mobile-menu:not([hidden]) nav a { animation: rise 0.4s var(--ease-out) both; }
.mobile-menu nav a:nth-child(2) { animation-delay: 0.04s; }
.mobile-menu nav a:nth-child(3) { animation-delay: 0.08s; }
.mobile-menu nav a:nth-child(4) { animation-delay: 0.12s; }
.mobile-menu nav a:nth-child(5) { animation-delay: 0.16s; }
.mobile-menu:not([hidden]) .mobile-menu-actions { animation: rise 0.4s var(--ease-out) 0.2s both; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(880px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(var(--ink-rgb) / 0.86) 0%, rgb(var(--ink-rgb) / 0.62) 38%, rgb(var(--ink-rgb) / 0.36) 64%, rgb(var(--ink-rgb) / 0.16) 100%),
    linear-gradient(180deg, rgb(var(--ink-rgb) / 0.3) 0%, rgb(var(--ink-rgb) / 0) 30%, rgb(var(--ink-rgb) / 0.5) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vh, 5.5rem);
}
.hero-copy { position: relative; }
.hero h1 {
  margin-bottom: 1.75rem;
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  font-stretch: 112%;
  letter-spacing: -0.028em;
  line-height: 0.96;
  max-width: 10.5ch;
  color: var(--cream);
}
.hero h1 .here { white-space: nowrap; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--cream-2); max-width: 50ch; line-height: 1.55; margin: 0 0 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 1.75rem; font-size: 0.95rem; font-weight: 600; color: var(--muted-dark); }
.trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--chalk); flex-shrink: 0; }

/* The chalk line: snapped once out of the brand dot when the page opens.
   main.js measures the h1 dot and hands its right edge / centre to --chalk-x / --chalk-y.
   It rises with the h1 (same keyframe, same clock) so the origin stays on the dot while the headline settles. */
.chalk {
  position: absolute;
  left: var(--chalk-x, 0); top: var(--chalk-y, 0); right: 0;
  height: 3px; margin-top: -1.5px;
}
.chalk::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--chalk);
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(1);
}
.chalk-dust {
  position: absolute; right: -40px; top: 50%;
  width: 110px; height: 30px; margin-top: -15px;
  background: var(--chalk-2);
  border-radius: 50%;
  filter: blur(9px);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .chalk-hero::before { animation: chalk-snap 0.72s var(--ease-out) 0.35s both; }
  .hero h1 .dot { animation: dot-pop 0.4s var(--ease-pop) 0.2s both; }
  .chalk-hero .chalk-dust { animation: chalk-dust 0.9s ease-out 0.8s both; }
  .hero h1, .chalk-hero, .hero .lede, .hero .cta-row, .hero .trust { animation: rise 0.7s var(--ease-out) both; }
  .hero .lede { animation-delay: 0.45s; }
  .hero .cta-row { animation-delay: 0.55s; }
  .hero .trust { animation-delay: 0.65s; }
  .hero .quote { animation: rise 0.8s var(--ease-out) 0.5s both; }
}
@keyframes chalk-snap { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dot-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes chalk-dust {
  0% { opacity: 0; transform: translate(-20px, 0) scale(0.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(16px, -8px) scale(1.25); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Quote form ---------- */
.quote {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  box-shadow: 0 40px 70px -35px rgb(var(--ink-rgb) / 0.85);
  view-transition-name: quote;
}
.quote.is-sent { display: flex; flex-direction: column; justify-content: center; }
.hero-copy { view-transition-name: hero-copy; }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: 0.4s; animation-timing-function: var(--ease-out); }
.quote h2 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.quote-sub { color: var(--muted-dark); font-size: 0.95rem; margin-bottom: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--cream-2); }
.field .opt { font-weight: 400; color: var(--muted-dark); margin-left: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: var(--ink);
  border: 1px solid var(--line-input);
  border-radius: var(--radius);
  color: var(--cream);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-input-hover); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--chalk);
  box-shadow: 0 0 0 3px rgb(var(--chalk-rgb) / 0.25);
}
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field.is-marked select { border-color: var(--chalk); box-shadow: 0 0 0 3px rgb(var(--chalk-rgb) / 0.25); }
.field-msg { font-size: 0.85rem; color: var(--error-text); animation: msg-in 0.2s var(--ease-out) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(-4px); } }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute; right: 1rem; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted-dark);
  border-bottom: 2px solid var(--muted-dark);
  transform: rotate(45deg);
  pointer-events: none;
}
.form-error {
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--error) 50%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--error) 10%, transparent);
  color: var(--error-text);
  font-size: 0.95rem;
}
.form-error:not([hidden]) { animation: rise 0.25s var(--ease-out) both; }
.form-error a { color: var(--cream); font-weight: 600; }
.fine { margin: 0.8rem 0 0; font-size: 0.85rem; color: var(--muted-dark); text-align: center; }
.btn-busy { display: none; }
.quote.is-busy .btn-label { display: none; }
.quote.is-busy .btn-busy { display: inline; }
.quote.is-busy .btn-busy::after { content: "…"; }
.quote.is-sent .field, .quote.is-sent .field-row, .quote.is-sent .quote-sub, .quote.is-sent > h2, .quote.is-sent .btn, .quote.is-sent .fine, .quote.is-sent .form-error { display: none; }
.form-success { text-align: center; padding: 2rem 0.5rem 1rem; animation: rise 0.45s var(--ease-out) both; }
.form-success .dot { width: 18px; height: 18px; margin: 0 0 1rem; animation: dot-pop 0.4s var(--ease-pop) 0.15s both; }
.form-success h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--cream-2); margin: 0; }
.form-success a { color: var(--chalk-2); font-weight: 600; }
.link-btn { margin-top: 1.25rem; padding: 0.5rem 0.25rem; min-height: 44px; border: 0; background: none; color: var(--muted-dark); font: inherit; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.link-btn:hover { color: var(--cream); }

/* ---------- Sections ---------- */
section,
.hero, .services, .work, .process, .reviews, .about, .final { padding: var(--section) var(--gutter); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { font-size: 1.125rem; margin: 0; color: var(--muted-oak); text-wrap: pretty; }
.section-head-dark p { color: var(--muted-dark); }

/* Services: planks laid in courses, joints staggered like running bond. */
.services { background: var(--oak); color: var(--text-oak); }
.courses { display: grid; gap: var(--seam); }
.course { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--seam); }
.plank {
  grid-column: span 5;
  position: relative;
  display: grid;
  align-items: end;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  overflow: clip; /* not a scroll container, so the tile can grow past its ratio when text is larger */
  min-width: 0; /* the ratio must not transfer the text's min-content height back into a track minimum */
  border-radius: 3px;
  background: var(--walnut);
  color: var(--cream);
  text-decoration: none;
  isolation: isolate;
}
.plank-wide { grid-column: span 7; }
.plank img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease-out); }
.plank::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: var(--chalk); transform: scaleX(0); transform-origin: left center; transition: transform 0.25s var(--ease-out); }
.plank:hover::before, .plank:focus-visible::before { transform: scaleX(1); transition-duration: 0.5s; }
.plank:focus-visible { outline-color: var(--chalk); outline-offset: -6px; }
/* The scrim travels with the text so it covers the words at every crop and zoom. */
.plank-text {
  position: relative; z-index: 1;
  padding: 4.5rem clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0) 0, rgb(var(--ink-rgb) / 0.6) 2.5rem, rgb(var(--ink-rgb) / 0.9) 4.5rem, rgb(var(--ink-rgb) / 0.94) 100%);
}
.plank-text strong { display: block; font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 800; font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.05; margin-bottom: 0.35rem; }
.plank-text strong::after { content: ""; display: inline-block; width: 0.26em; height: 0.26em; margin-left: 0.06em; border-radius: 50%; background: var(--chalk); transform: scale(0); transition: transform 0.15s var(--ease-pop); }
.plank-text span { display: block; font-size: 0.95rem; line-height: 1.45; color: var(--cream-2); max-width: 42ch; }
.plank-text .plank-cta { display: inline-block; margin-top: 0.7rem; font-size: 0.85rem; font-weight: 700; color: var(--chalk-2); letter-spacing: 0.01em; }
.plank:hover img, .plank:focus-visible img { transform: scale(1.03); transition-duration: 0.7s; }
.plank:hover strong::after, .plank:focus-visible strong::after { transform: scale(1); transition-duration: 0.3s; }

/* Work: a gallery on the dark ground. */
.work { background: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: var(--seam); }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: var(--ink-2); }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.45rem; border-radius: 50%; background: var(--chalk); vertical-align: 0.1em; }
.gallery figcaption {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--cream);
  background: rgb(var(--ink-rgb) / 0.78);
  border-radius: 3px;
}

/* Process: one line, four dots, drawn as you arrive. */
.process { background: var(--oak); color: var(--text-oak); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding-top: 2.25rem; }
/* One segment per step, drawn dot to dot: each reaches the next dot as it pops. */
.steps li::before {
  content: "";
  position: absolute; left: 0; right: -2.5rem; top: 0;
  height: 3px;
  background: var(--chalk);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s linear;
}
.steps li:last-child::before { content: none; }
.steps li .dot {
  position: absolute; top: -7.5px; left: 0;
  width: 18px; height: 18px; margin: 0;
  border: 3px solid var(--oak);
  transform: scale(0);
  transition: transform 0.45s var(--ease-pop);
}
.steps li h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.steps li p { margin: 0; color: var(--muted-oak); }
.steps.in-view li::before { transform: scaleX(1); }
.steps.in-view li .dot { transform: scale(1); }
.steps.in-view li:nth-child(2) .dot, .steps.in-view li:nth-child(2)::before { transition-delay: 0.25s; }
.steps.in-view li:nth-child(3) .dot, .steps.in-view li:nth-child(3)::before { transition-delay: 0.5s; }
.steps.in-view li:nth-child(4) .dot { transition-delay: 0.75s; }

/* Reviews */
.reviews { background: var(--walnut); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); }
.quotes blockquote { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0.25rem 2.25rem 0; }
.quotes blockquote footer { margin-top: auto; }
.quotes blockquote:first-child { padding-left: 0; }
.quotes blockquote:last-child { padding-right: 0; }
.quotes blockquote + blockquote::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-dark-2); }
.quotes blockquote::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--chalk); margin-bottom: 1.1rem; }
.quotes p { font-size: 1.125rem; line-height: 1.5; color: var(--cream); margin-bottom: 1.25rem; }
.quotes footer { font-weight: 700; font-size: 0.95rem; }
.quotes footer span { display: block; font-weight: 400; color: var(--muted-dark); font-size: 0.85rem; margin-top: 0.15rem; }
.sample-note { max-width: 62ch; margin: 2.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-dark-2); font-size: 0.85rem; color: var(--muted-dark); }

/* About */
.about { background: var(--oak); color: var(--text-oak); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { font-size: 1.125rem; line-height: 1.55; }
.about-copy .area { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-oak); font-size: 1rem; color: var(--muted-oak); }
.about-copy .area strong { display: block; color: var(--text-oak); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem; }
.about-copy .area a { color: var(--text-oak); font-weight: 600; }

/* Final call */
.final { position: relative; isolation: isolate; background: var(--ink); text-align: center; overflow: hidden; }
.final-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 100%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0.92), rgb(var(--ink-rgb) / 0.72)); }
.final-inner { max-width: 44rem; }
.final h2 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); margin-bottom: 0.75rem; }
.final p { font-size: 1.125rem; color: var(--cream-2); margin-bottom: 2rem; }
.final .cta-row { justify-content: center; }
.final-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.6rem; margin-top: 2rem; font-size: 0.95rem; color: var(--muted-dark); }
.final-contact li { display: inline-flex; align-items: center; gap: 0.5rem; }
.final-contact li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--chalk); flex-shrink: 0; }
.final-contact a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; color: var(--cream-2); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 20px; width: auto; margin-bottom: 1rem; }
.footer-brand p { margin: 0; }
.site-footer h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; font-stretch: 100%; }
.site-footer li a { display: inline-block; padding-block: 0.625rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .hero h1 { max-width: 12ch; }
  .quote { max-width: 620px; }
  .hero-media img { object-position: 60% 50%; }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .quotes { grid-template-columns: 1fr; gap: 2rem; }
  .quotes blockquote { padding: 0; }
  .quotes blockquote + blockquote { padding-top: 2rem; }
  .quotes blockquote + blockquote::after { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 1px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; padding-left: 2.4rem; }
  .steps li::before { left: calc(-2.4rem + 8px); right: auto; top: calc(0.35rem + 9px); bottom: calc(-2rem - 0.35rem - 9px); width: 3px; height: auto; transform: scaleY(0); transform-origin: top center; }
  .steps.in-view li::before { transform: scaleY(1); }
  .steps li { padding-top: 0; }
  .steps li .dot { top: 0.35rem; left: calc(-2.4rem + 0.5px); }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .course { grid-template-columns: 1fr; }
  .plank, .plank-wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .phone-link span { display: none; }
  .phone-link { width: 44px; justify-content: center; padding: 0; }
  .header-actions { gap: 0.5rem; }
  .brand img { height: 18px; }
  .brand-service { display: none; }
  .hero { padding-block: 3rem; }
  .hero-grid { padding-block: 0; }
  .hero h1 { text-wrap: wrap; max-width: 10.5ch; }
  .hero::before { background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0.22) 0%, rgb(var(--ink-rgb) / 0.72) 30%, rgb(var(--ink-rgb) / 0.95) 100%); }
  .hero-media img { object-position: 55% 40%; }
  .cta-row .btn { flex: 1 1 auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-auto-rows: 170px; }
}
@media (min-width: 1041px) and (max-height: 840px) {
  .hero { padding-block: 2.5rem; }
  .hero-grid { padding-block: 1.5rem; }
  .quote { padding: 1.25rem 1.4rem; }
  .field { margin-bottom: 0.7rem; }
  .field textarea { min-height: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-sm { padding: 0.6rem 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .chalk-hero, .chalk-hero::before, .chalk-hero .chalk-dust, .hero h1 .dot,
  .hero h1, .hero .lede, .hero .cta-row, .hero .trust, .hero .quote,
  .mobile-menu:not([hidden]) nav a, .mobile-menu:not([hidden]) .mobile-menu-actions,
  .form-success, .form-success .dot, .field-msg, .form-error:not([hidden]) { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
  .chalk-dust { display: none; }
  .steps li::before, .steps li .dot, .plank-text strong::after, .plank img, .plank::before { transition: none; }
  .steps li::before { transform: none; }
  .steps li .dot { transform: scale(1); }
  .plank:hover img, .plank:focus-visible img { transform: none; }
}
