/* HERE. Flooring — Option C: the sample board.
   Walnut ground, honey and pale-oak material fields, photos cut into square samples
   with a label chip in the corner. One orange dot: the sample you picked.
   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 {
  --walnut: #3b2a1e;
  --walnut-deep: #2c1e14;
  --walnut-rgb: 59 42 30;
  --honey: #e6b978;
  --honey-2: #f0c98e;
  --pale: #f1ddb5;
  --pale-2: #f8eacd;
  --pale-rgb: 241 221 181;
  --orange: #ff972a;
  --ink: #2b1d12;
  --ink-2: #5e3f22;
  --ink-3: #6f4e2e;
  --rule: #7a5530;
  --error: #8a1f0e;
  --error-rgb: 138 31 14;
  --pale-3: #fff6e6;
  --line-dark: rgba(241, 221, 181, 0.16);
  --line-dark-2: rgba(241, 221, 181, 0.26);
  --line-light: rgba(43, 29, 18, 0.16);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
  --seam: 12px;
  --r-sample: 12px;
  --r-card: 20px;
  --r-input: 12px;
  --pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 18px 30px -18px rgba(0, 0, 0, 0.55);

  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(--pale);
  background: var(--walnut);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--orange);
  accent-color: var(--orange);
}

::selection { background: var(--orange); color: var(--ink); }
html { scrollbar-color: var(--honey) var(--walnut-deep); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--walnut-deep); }
::-webkit-scrollbar-thumb { background: var(--honey); border-radius: var(--pill); border: 3px solid var(--walnut-deep); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 800; font-stretch: 108%; letter-spacing: -0.022em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible, .quote :focus-visible { outline-color: var(--ink); }
html { scroll-padding-top: calc(var(--header-h) + 1rem); }

.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: 1rem; z-index: 100; padding: 0.8rem 1.2rem; background: var(--honey); color: var(--ink); font-weight: 700; border-radius: var(--pill); }
.skip:not(:focus) { clip-path: inset(50%); } /* hidden by clipping, not by an offset that a wrapped label at 200% text can outgrow */

/* The brand dot: the 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(--orange);
  vertical-align: baseline;
}

/* ---------- Buttons: the showroom's chunky pill hardware ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.7rem;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--honey); color: var(--ink); }
.btn-primary:hover { background: var(--honey-2); }
.btn-ghost { border-color: rgba(var(--pale-rgb) / 0.55); color: var(--pale); }
.btn-ghost:hover { border-color: var(--pale); background: rgba(var(--pale-rgb) / 0.08); }
.btn-dark { background: var(--ink); color: var(--pale); }
.btn-dark:hover { background: var(--walnut-deep); }
.btn-sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--walnut);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.3s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.7); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; min-height: 76px; padding: 0.5rem var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; text-decoration: none; flex-shrink: 0; border-radius: var(--pill); }
.brand img { width: auto; height: 22px; }
.brand-service {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  padding-left: 0.75rem;
  border-left: 1px solid var(--line-dark-2);
  line-height: 1;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pale);
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.nav a:hover, .nav a:focus-visible { background: rgba(var(--pale-rgb) / 0.1); color: var(--honey-2); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; 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.5rem;
  border-radius: var(--pill);
  font-weight: 700; font-size: 0.95rem; color: var(--pale); text-decoration: none;
  transition: color 0.2s ease;
}
.phone-link:hover { color: var(--honey-2); }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: var(--pill);
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-bar { display: block; width: 24px; border-top: 2.5px solid var(--pale); border-radius: 2px; transition: transform 0.35s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-bar:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--walnut);
  padding: 1.25rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { animation: fade 0.2s ease-out backwards; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-menu nav a {
  display: block;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-size: 1.75rem;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: rgba(var(--pale-rgb) / 0.06);
}
.mobile-menu nav a:hover { background: rgba(var(--pale-rgb) / 0.12); color: var(--honey-2); }
.mobile-menu-actions { display: grid; gap: 0.75rem; padding-top: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) nav a { animation: rise 0.45s var(--ease-out) backwards; }
  .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.45s var(--ease-out) 0.2s backwards; }
}

/* ---------- Hero: the copy on the left third, the board on the right two thirds ---------- */
.hero { padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(2rem, 4vw, 3rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  grid-template-rows: auto auto;
  column-gap: clamp(2rem, 4vw, 4.5rem);
  row-gap: 1.5rem;
  align-items: center;
}
.hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
.hero .trust { grid-column: 1; grid-row: 2; align-self: start; }
.board { grid-column: 2; grid-row: 1 / 3; }
.hero h1 {
  font-size: clamp(2.6rem, 4.3vw, 3.9rem);
  letter-spacing: -0.028em;
  line-height: 0.98;
  max-width: 14ch;
  margin-bottom: 1.25rem;
}
.hero h1 .here { white-space: nowrap; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--honey); max-width: 34ch; margin: 0 0 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--honey); }
.trust li { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 38px; padding: 0.35rem 1rem 0.35rem 0.85rem; border-radius: var(--pill); background: rgba(var(--pale-rgb) / 0.08); }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); flex-shrink: 0; }

/* The board: six cut samples, one pin. */
.board { position: relative; }
.board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--seam); }
.swatch {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-sample);
  background: var(--walnut-deep);
  text-decoration: none;
  color: var(--ink);
  isolation: isolate;
  transition: box-shadow 0.35s var(--ease-out);
}
.swatch img, .sample-swatch img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transform-origin: var(--focus, 50% 50%);
  transform: scale(var(--zoom, 1));
  transition: transform 0.6s var(--ease-out);
}
.swatch.is-picked img { transform: scale(calc(var(--zoom, 1) * 1.04)); }
/* Cut to the floor plane: the room stays out of frame, only the material is in the sample. */
.crop-hickory { --zoom: 3.08; --focus: 28.7% 100%; }
.crop-hardwood { --zoom: 2.9; --focus: 50% 100%; }
.crop-lvp { --zoom: 2.4; --focus: 35% 100%; }
.crop-tile { --zoom: 2; --focus: 100% 100%; }
.swatch.is-picked { box-shadow: var(--shadow-lift); }
.swatch:focus-visible { outline-offset: 2px; }

/* The label chip: a pill in the sample's corner. The picked one flips over to "Quote this floor". */
.chip {
  position: absolute;
  left: var(--seam);
  bottom: var(--seam);
  z-index: 1;
  display: grid;
  margin: 0;
  perspective: 500px;
  font-size: 0.85rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 1;
  max-width: calc(100% - var(--seam) * 2);
}
.chip-face {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.5rem 0.95rem;
  border-radius: var(--pill);
  background: var(--pale);
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
  overflow-wrap: anywhere;
  backface-visibility: hidden;
  transition: transform 0.55s var(--ease-out);
}
.chip-cta { flex-direction: column; gap: 0.2rem; padding-block: 0.45rem; background: var(--ink); color: var(--pale); transform: rotateX(180deg); }
.chip-cta small { font-size: 0.75rem; font-weight: 600; opacity: 0.85; }
.swatch.is-picked .chip-name { transform: rotateX(-180deg); }
.swatch.is-picked .chip-cta { transform: rotateX(0); }

/* The pin: one orange dot, and it moves to whichever sample you touch. */
.pin {
  position: absolute;
  top: var(--seam);
  left: var(--seam);
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--walnut), 0 8px 16px -6px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  transition: transform 0.65s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero .cta-row, .hero .trust { animation: rise 0.5s var(--ease-out) backwards; }
  .hero .lede { animation-delay: 0.08s; }
  .hero .cta-row { animation-delay: 0.14s; }
  .hero .trust { animation-delay: 0.22s; }
  .board-grid li { animation: land 0.7s var(--ease-out) backwards; }
  .board-grid li:nth-child(2) { animation-delay: 0.06s; }
  .board-grid li:nth-child(3) { animation-delay: 0.12s; }
  .board-grid li:nth-child(4) { animation-delay: 0.18s; }
  .board-grid li:nth-child(5) { animation-delay: 0.24s; }
  .board-grid li:nth-child(6) { animation-delay: 0.3s; }
  .pin { animation: pop 0.5s var(--ease-out) 0.6s backwards; }
  .quote-section .quote { animation: rise 0.7s var(--ease-out) 0.35s backwards; }
}
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes land { from { opacity: 0; translate: 0 18px; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes pop { from { scale: 0; } 70% { scale: 1.2; } to { scale: 1; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Quote form: the honey card ---------- */
.quote-section { padding: clamp(1rem, 2vw, 2rem) var(--gutter) var(--section); }
.quote {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  background: var(--honey);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 3.2vw, 3rem);
  box-shadow: var(--shadow-card);
}
.quote-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 0.75rem; }
.quote-sub { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 1.5rem; max-width: 34ch; }
.quote-call { font-weight: 600; color: var(--ink-2); margin: 0; }
.quote-call a { color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--ink-2); margin-left: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1.1rem;
  background: var(--pale-2);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-input);
  color: var(--ink);
  caret-color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--pale-3); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); box-shadow: 0 0 0 4px rgba(var(--error-rgb) / 0.14); }
.field-msg { font-size: 0.85rem; font-weight: 600; color: var(--error); }
.field-msg, .form-error { animation: fade 0.15s ease-out backwards; }
/* The sample you touched, carried into the form: the same orange dot marks it. */
.picked-note { display: flex; align-items: center; gap: 0.5rem; margin: 0.1rem 0 0; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); animation: fade 0.2s ease-out backwards; }
.picked-note[hidden] { display: none; }
.picked-note .dot { width: 12px; height: 12px; margin: 0; box-shadow: 0 0 0 2px var(--ink); flex-shrink: 0; }
.picked-note b { color: var(--ink); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.8rem; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute; right: 1.15rem; top: 50%;
  width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--ink-2);
  border-bottom: 2.5px solid var(--ink-2);
  border-radius: 0 0 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.form-error {
  margin: 0 0 1rem;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--error);
  border-radius: var(--r-input);
  background: rgba(var(--error-rgb) / 0.08);
  color: var(--error);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-error a { color: var(--ink); }
.fine { margin: 0.9rem 0 0; font-size: 0.85rem; font-weight: 500; color: var(--ink-2); 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 .quote-head, .quote.is-sent .quote-fields { display: none; }
.form-success { grid-column: 1 / -1; text-align: center; padding: 1rem 0.5rem; scroll-margin-top: 4rem; } /* focus scroll leaves the card's top edge clear of the header */
.form-success .dot { width: 20px; height: 20px; margin: 0 0 1rem; box-shadow: 0 0 0 3px var(--ink); }
.form-success h2 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--ink-2); margin: 0; }
.form-success a { color: var(--ink); font-weight: 700; }
.link-btn { margin-top: 1.25rem; padding: 0.5rem 0.5rem; min-height: 44px; border: 0; background: none; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; border-radius: var(--pill); }
.link-btn:hover { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .form-success { animation: rise 0.45s var(--ease-out) backwards; }
  .form-success .dot { animation: pop 0.45s var(--ease-out) 0.15s backwards; }
  .picked-note .dot { animation: pop 0.3s var(--ease-out) 0.45s backwards; }
}

/* ---------- Sections ---------- */
.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(--honey); }
.on-light .section-head p { color: var(--ink-2); }
.on-light { color: var(--ink); }

/* Services: six samples with the label card underneath. */
.services { background: var(--pale); }
.samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem); }
.sample { display: block; color: inherit; text-decoration: none; border-radius: var(--r-sample); }
.sample-swatch {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-sample);
  background: var(--walnut-deep);
  isolation: isolate;
  transition: box-shadow 0.35s var(--ease-out);
}
.sample:hover .sample-swatch, .sample:focus-visible .sample-swatch { box-shadow: var(--shadow-lift); }
.sample:hover .sample-swatch img, .sample:focus-visible .sample-swatch img { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.sample .chip { font-size: 0.9rem; }
.sample-text { display: block; padding: 0.9rem 0.25rem 0; }
.sample-desc { display: block; font-size: 0.975rem; line-height: 1.5; color: var(--ink-2); margin-bottom: 0.85rem; }
.sample-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0.4rem 1.1rem;
  border: 2px solid var(--ink); border-radius: var(--pill);
  font-size: 0.9rem; font-weight: 700; color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.sample:hover .sample-cta, .sample:focus-visible .sample-cta { background: var(--ink); color: var(--pale); }

/* Work: three more samples on the walnut ground. */
.work { background: var(--walnut); }
.floors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--seam); }
.floors figure { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sample); background: var(--walnut-deep); isolation: isolate; }
.floors img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.floors .chip-face { text-align: left; line-height: 1.2; }

/* Process: four numbered chips on a honey field, on one rail. */
.process { background: var(--honey); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.steps::before {
  content: "";
  position: absolute; left: 22px; right: 22px; top: 21px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out);
}
.steps li { position: relative; }
.step-n {
  position: relative;
  z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--pale-2);
  color: var(--ink);
  font-weight: 800;
  font-stretch: 108%;
  font-size: 1.15rem;
  transition: transform 0.5s var(--ease-out), opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.steps li h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.steps li p { margin: 0; color: var(--ink-2); }
.steps li:first-child .step-n { background: var(--ink); color: var(--pale); }
.steps.in-view li:nth-child(2) .step-n { transition-delay: 0.18s; }
.steps.in-view li:nth-child(3) .step-n { transition-delay: 0.36s; }
.steps.in-view li:nth-child(4) .step-n { transition-delay: 0.54s; }
/* main-c.js draws the rail once the steps scroll into view; without JS, or under reduced motion, it is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .js .steps:not(.in-view)::before { transform: scaleX(0); }
  .js .steps:not(.in-view) .step-n { transform: scale(0.4); opacity: 0; }
  .js .steps:not(.in-view) li:first-child .step-n { background: var(--pale-2); color: var(--ink); }
}

/* Reviews: three label cards. */
.reviews { background: var(--walnut); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--seam); }
.quotes blockquote {
  display: flex; flex-direction: column;
  margin: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--pale);
  color: var(--ink);
  border-radius: 16px;
}
.quotes p { font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.5rem; }
.quotes footer { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-weight: 700; font-size: 0.95rem; }
.quotes footer span { display: inline-flex; align-items: center; min-height: 30px; padding: 0.3rem 0.8rem; border-radius: var(--pill); background: var(--honey); color: var(--ink); font-weight: 600; font-size: 0.8rem; }
.sample-note { max-width: 62ch; margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-dark-2); font-size: 0.85rem; color: var(--honey); }

/* About */
.about { background: var(--pale); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-swatch { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--r-sample); background: var(--walnut-deep); }
.about-swatch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { font-size: 1.125rem; line-height: 1.55; max-width: 60ch; }
.about-copy .area { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-light); font-size: 1rem; color: var(--ink-2); }
.about-copy .area strong { display: block; color: var(--ink); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem; }
.about-copy .area a { color: var(--ink); font-weight: 700; }

/* Final call */
.final { background: var(--walnut-deep); text-align: center; }
.final-inner { max-width: 46rem; }
.final h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 0.75rem; }
.final p { font-size: 1.125rem; color: var(--honey); margin-bottom: 2rem; }
.final .cta-row { justify-content: center; }
.final-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2rem; font-size: 0.9rem; font-weight: 600; color: var(--honey); }
.final-contact li { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0.35rem 1rem 0.35rem 0.85rem; border-radius: var(--pill); background: rgba(var(--pale-rgb) / 0.08); }
.final-contact li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); flex-shrink: 0; }
.final-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pale); }
.final-contact, .site-footer { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--walnut-deep); color: var(--honey); padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0; font-size: 0.95rem; border-top: 1px solid var(--line-dark); }
.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(--pale); margin-bottom: 0.75rem; font-stretch: 100%; }
.site-footer li { margin-bottom: 0.1rem; }
.site-footer li a { display: inline-block; min-width: 44px; padding-block: 0.65rem; }
.site-footer a { text-decoration: none; color: var(--pale); }
.site-footer a:hover { color: var(--honey-2); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-block; min-width: 44px; padding-block: 0.7rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; row-gap: 2rem; }
  .hero-copy, .hero .trust, .board { grid-column: 1; grid-row: auto; }
  .hero h1 { max-width: 12ch; }
  .lede { max-width: 48ch; }
  .quote { grid-template-columns: 1fr; }
  .samples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .steps::before { display: none; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .header-row { min-height: 64px; }
  .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; }
  .cta-row .btn { flex: 1 1 auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .sample-desc { font-size: 0.9rem; }
}
@media (max-width: 600px) {
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floors li:last-child { grid-column: 1 / -1; }
  .floors li:last-child figure { aspect-ratio: 16 / 10; }
  .samples { gap: 1.5rem 0.75rem; }
  .sample .chip { font-size: 0.8rem; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-sm { padding: 0.6rem 0.9rem; }
}
@media (max-width: 360px) {
  .header-row { column-gap: 0.75rem; }
  .header-actions { gap: 0.35rem; }
  .brand img { height: 16px; }
  .btn-sm { padding: 0.6rem 0.75rem; font-size: 0.9rem; }
  .chip { font-size: 0.8rem; max-width: calc(100% - var(--seam)); }
  .chip-face { padding-inline: 0.7rem; }
}

/* Windows High Contrast paints the walnut ground white; the white wordmark keeps its own ground. */
@media (forced-colors: active) {
  .brand img, .footer-brand img { forced-color-adjust: none; background: var(--walnut); box-shadow: 0 0 0 5px var(--walnut); border-radius: 3px; }
}

/* ---------- Reduced motion: no travel, but every state change still shows ---------- */
@media (prefers-reduced-motion: reduce) {
  .pin, .swatch, .swatch img, .sample-swatch, .sample-swatch img, .steps::before, .step-n, .menu-bar { transition: none; }
  .swatch.is-picked img, .sample:hover .sample-swatch img, .sample:focus-visible .sample-swatch img { transform: scale(var(--zoom, 1)); }
  .btn:active { transform: none; }
  /* The chip crossfades to "Quote this floor" instead of flipping. */
  .chip-face { transition: opacity 0.15s ease; }
  .chip-cta, .swatch.is-picked .chip-name { transform: none; opacity: 0; }
  .swatch.is-picked .chip-cta { opacity: 1; }
}
