/* Precision Interior Rails — shared stylesheet
   Palette "Verdigris & Marigold": the blue-green patina of bronze railings, a mid-century marigold,
   real wood grain, crisp white walls. Type: Archivo (display + text), Martian Mono (labels, dimensions). */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-var.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  --paper: #ffffff;
  --mist: #edf5f3;
  --mist-2: #dfece9;
  --ink: #0b1f1d;
  --ink-2: #455a58;
  --ink-3: #6b7f7c;
  --teal: #0e7f78;
  --teal-ink: #0a6a64;
  --teal-deep: #0a4f4b;
  --teal-night: #08302d;
  --glow: #1fb3a5;
  --marigold: #f6b93b;
  --marigold-hi: #ffc95c;
  --marigold-text: #ffcf6b;   /* small marigold text on teal: 5:1 or better */
  --oak: #d08b4c;
  --on-dark: #ffffff;
  --on-dark-2: #c4e3dd;
  --line: rgba(11, 31, 29, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --inset: clamp(8px, 1vw, 16px);
  --r-panel: clamp(22px, 2.4vw, 36px);
  --r-card: 20px;
  --header-h: 72px;
  --shadow-card: 0 1px 2px rgba(11, 31, 29, 0.05), 0 18px 40px -22px rgba(11, 31, 29, 0.28);
  --shadow-lift: 0 2px 4px rgba(11, 31, 29, 0.06), 0 26px 50px -24px rgba(11, 31, 29, 0.36);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  /* scrollbar: a patina handrail on a pale wall */
  scrollbar-color: #0e7f78 #edf5f3;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #edf5f3; }
::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #16978e, #0b6a64); border-radius: 12px; border: 3px solid #edf5f3; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #1fb3a5, #0e7f78); }
::-webkit-scrollbar-corner { background: #edf5f3; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-display);
  font-stretch: 100%;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--marigold); color: var(--ink); }

.sr-only { position: absolute !important; 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: 12px; top: -60px; z-index: 100; background: var(--marigold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font: 650 0.95rem/1 var(--f-display); text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--marigold); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ------------------------------------------------------------------ type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.8em;
  margin: 0 0 1.1rem;
  font: 600 0.7rem/1.3 var(--f-mono); font-stretch: 87.5%;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal-ink);
}
/* a dimension string: |——| */
.eyebrow::before {
  content: ""; width: 26px; height: 9px; flex: none;
  border-inline: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--marigold-text); }
.band--marigold .eyebrow { color: var(--ink); }

.h1, .h2 { font-family: var(--f-display); text-wrap: balance; }
.h1 {
  font-weight: 720; font-stretch: 110%;
  font-size: clamp(2.7rem, 1.2rem + 4.7vw, 5.6rem);
  line-height: 0.96; letter-spacing: -0.048em;
}
.h2 {
  font-weight: 700; font-stretch: 108%;
  font-size: clamp(2rem, 1.1rem + 2.6vw, 3.6rem);
  line-height: 1.02; letter-spacing: -0.042em;
}
.h2 .soft, .h1 .soft { color: var(--teal); }
.nb { white-space: nowrap; }
.on-dark .h1 .soft, .on-dark .h2 .soft { color: #8fd8cb; }
.band--marigold .h2 .soft { color: var(--teal-deep); }
/* the signature: a headline word filled with real oak grain */
.grain {
  background: url("../img/wood/grain-text.webp") 18% 50% / cover no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-right: 0.04em;
}
.h3 { font: 680 clamp(1.14rem, 1rem + 0.45vw, 1.4rem)/1.22 var(--f-display); font-stretch: 104%; letter-spacing: -0.018em; }
.lede { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.26rem); line-height: 1.58; color: var(--ink-2); max-width: 60ch; }
.on-dark .lede, .hero .lede { color: var(--on-dark-2); }
.band--marigold .lede { color: #3b3a22; }
.head { display: grid; gap: 0; margin-bottom: clamp(36px, 5vw, 64px); max-width: 880px; }
.head .h2 { margin-bottom: 1.1rem; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: clamp(24px, 5vw, 80px); align-items: end; }
.head--split .lede { margin: 0; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.82em 1.55em;
  border-radius: 999px; border: 1.5px solid var(--bd);
  font: 650 1rem/1.1 var(--f-display); font-stretch: 104%; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--marigold); color: var(--ink); --bd: var(--marigold); box-shadow: 0 10px 24px -14px rgba(196, 128, 8, 0.9); }
.btn-primary:hover { background: var(--marigold-hi); --bd: var(--marigold-hi); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(196, 128, 8, 0.95); }
.btn-ink { background: var(--ink); color: #fff; --bd: var(--ink); }
.btn-ink:hover { background: #163a36; --bd: #163a36; transform: translateY(-2px); }
.btn-line { background: transparent; color: inherit; --bd: currentColor; }
.btn-line:hover { background: var(--ink); color: #fff; --bd: var(--ink); }
.on-dark .btn-line:hover, .hero .btn-line:hover { background: #fff; color: var(--ink); --bd: #fff; }
.btn-sm { min-height: 44px; padding: 0.6em 1.2em; font-size: 0.95rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font: 650 0.98rem/1.2 var(--f-display); text-decoration: none; color: var(--teal-ink);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--marigold-text); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-right: auto; min-width: 0; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { display: block; line-height: 1; }
.brand-text b { display: block; font: 780 1.06rem/1 var(--f-display); font-stretch: 125%; letter-spacing: 0.03em; }
.brand-text span { display: block; margin-top: 6px; font: 600 0.6rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.33em; color: var(--teal-ink); }
.nav-desktop { display: flex; align-items: center; gap: clamp(10px, 1.3vw, 20px); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 10px 11px; border-radius: 10px;
  font: 560 0.95rem/1 var(--f-display); color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--mist); color: var(--teal-ink); }
.nav-links a[aria-current="page"] { color: var(--teal-ink); background: var(--mist); box-shadow: inset 0 -2px 0 var(--marigold); }
.phone-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--teal); }
.phone-btn svg { width: 20px; height: 20px; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.header-phone svg { width: 20px; height: 20px; color: var(--teal); }
.header-phone .ph { display: grid; line-height: 1.05; }
.header-phone small { font: 600 0.58rem/1.2 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-ink); }
.header-phone strong { font: 700 1rem/1.15 var(--f-display); font-stretch: 104%; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--mist); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 59;
  background: #fff; color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 6px var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 700 1.5rem/1.15 var(--f-display); font-stretch: 110%; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.mobile-menu nav a::after { content: "→"; font-weight: 500; color: var(--teal); }
.mobile-menu .mm-contact { display: grid; gap: 12px; margin-top: 28px; }
.mobile-menu .mm-contact .btn { width: 100%; }
.mobile-menu .mm-note { margin-top: 18px; font: 600 0.7rem/1.6 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-ink); }
body.menu-open { overflow: hidden; }

@media (max-width: 1359.98px) { .header-phone .ph { display: none; } }
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .site-header .bar { gap: 12px; }
  .nav-desktop { gap: 10px; }
  .nav-links a { padding: 10px 7px; font-size: 0.9rem; }
  .brand-text b { font-size: 0.98rem; }
  .brand-text span { letter-spacing: 0.26em; }
}
@media (max-width: 1023.98px) {
  :root { --header-h: 64px; }
  .nav-desktop { display: none; }
  .menu-toggle, .phone-btn { display: inline-flex; }
  .brand svg { width: 34px; height: 34px; }
  .brand-text b { font-size: 0.98rem; }
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ------------------------------------------------------------------ bands and panels */
.band { position: relative; padding-block: clamp(76px, 8.5vw, 132px); }
.band--light { background: var(--paper); color: var(--ink); }
.band--mist { background: var(--mist); color: var(--ink); }
.band--deep {
  color: var(--on-dark);
  background:
    radial-gradient(ellipse closest-side at 76% 64%, rgba(31, 179, 165, 0.3), rgba(31, 179, 165, 0)),
    linear-gradient(165deg, #0d5f5a 0%, #0a4f4b 55%, #08423f 100%);
}
.band--marigold {
  color: var(--ink);
  background:
    radial-gradient(ellipse closest-side at 74% 40%, rgba(255, 224, 150, 0.85), rgba(255, 224, 150, 0)),
    linear-gradient(160deg, #f8c04c 0%, #f6b93b 50%, #eea52a 100%);
}
/* coloured sections float as rounded panels on the white page */
.panel { margin-inline: var(--inset); border-radius: var(--r-panel); overflow: hidden; isolation: isolate; }
.panel + .panel { margin-top: var(--inset); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: var(--inset) var(--inset) 0; border-radius: var(--r-panel);
  background: var(--teal-deep); color: var(--on-dark);
  min-height: min(calc(100svh - var(--header-h) - 2 * var(--inset)), 880px);
  display: grid; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(155deg, #0c625d 0%, #0a4f4b 50%, #083f3c 100%);
}
.hero-stage { position: absolute; inset: 0; z-index: 1; }
/* the stair's backlight lives in the stair's own box, so it never sits behind the copy or stops at an edge */
.hero-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse closest-side at 50% 52%, rgba(46, 201, 184, 0.85) 0%, rgba(20, 150, 140, 0.42) 52%, rgba(10, 79, 75, 0) 100%);
}
/* on wide screens the 3D stair gets the space to the right of the copy, never behind it */
@media (min-width: 1024px) {
  .hero-stage { left: max(calc(var(--gutter) + min(580px, 45vw) + 16px), calc((100% - var(--wrap)) / 2 + 596px)); }
}
/* narrow or short desktop screens: the stair sits above the finish picker instead of behind it */
@media (min-width: 1024px) and (max-width: 1439.98px), (min-width: 1024px) and (max-height: 880px) {
  .hero-stage { bottom: 196px; }
  .configurator { bottom: 24px; }
}
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; transition: opacity 0.9s ease; }
.hero.is-ready .hero-poster { opacity: 0; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.hero-canvas:active { cursor: grabbing; }
.hero-inner { position: relative; z-index: 3; width: 100%; pointer-events: none; }
.hero-copy { max-width: min(580px, 45vw); padding-block: clamp(48px, 7vh, 96px) clamp(64px, 10vh, 110px); pointer-events: auto; }
.hero-copy .h1 { margin-bottom: 1.4rem; }
.hero-copy .lede { margin-bottom: 2rem; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.8rem; }
.hero-cta .btn-line { color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 600 0.68rem/1.5 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-dark-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); }
.hero-reviews { margin-top: 1.1rem; font-size: 0.98rem; color: var(--on-dark-2); }
.hero-reviews a { color: #fff; text-decoration-color: var(--marigold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.dim-label {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; white-space: nowrap;
  font: 600 0.66rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.06em; color: var(--marigold);
  opacity: 0; transition: opacity 0.7s ease;
}
.dim-label span { position: absolute; top: -6px; left: 12px; padding: 4px 8px; border-radius: 6px; background: rgba(5, 40, 37, 0.86); border: 1px solid rgba(246, 185, 59, 0.45); }
.dim-label.flip span { left: auto; right: 12px; }
.dim-label::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 4px rgba(246, 185, 59, 0.25); }
.hero.is-built .dim-label { opacity: 1; }

.configurator {
  position: absolute; z-index: 4; right: var(--gutter); bottom: 30px;
  width: min(430px, calc(100% - 2 * var(--gutter)));
  display: none;
  background: rgba(6, 46, 43, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 22px;
  padding: 18px 20px 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.hero.is-3d .configurator { display: block; }
.cfg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cfg-title { font: 600 0.68rem/1.2 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marigold-text); }
.seg { display: inline-flex; background: rgba(0, 0, 0, 0.24); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 3px; }
.seg button {
  border: 0; background: transparent; color: var(--on-dark-2); cursor: pointer;
  padding: 7px 14px; border-radius: 999px; font: 650 0.8rem/1 var(--f-display);
  transition: background-color 0.2s, color 0.2s;
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.cfg-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 10px; padding-block: 9px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.cfg-label { font: 600 0.64rem/1.2 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.12em; text-transform: uppercase; color: #a9d6ce; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid rgba(6, 46, 43, 0.9); outline: 1.5px solid rgba(255, 255, 255, 0.24);
  background-color: #6b5444; background-position: center; background-size: cover; background-repeat: no-repeat;
  transition: transform 0.2s var(--ease), outline-color 0.2s;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { outline: 2px solid var(--marigold); transform: scale(1.1); }
.cfg-bal { display: flex; flex-wrap: wrap; gap: 6px; }
.cfg-bal button {
  border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: #fff; cursor: pointer;
  padding: 7px 11px; border-radius: 10px; font: 600 0.8rem/1 var(--f-display);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.cfg-bal button:hover { border-color: rgba(255, 255, 255, 0.5); }
.cfg-bal button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.cfg-readout { margin: 10px 0 0; font: 500 0.68rem/1.45 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.04em; color: #a9d6ce; }
.cfg-janka { color: #fff; }

@media (max-width: 1023.98px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero::before { background: linear-gradient(175deg, #0c625d 0%, #0a4f4b 55%, #083f3c 100%); }
  .hero-stage { position: relative; inset: auto; order: 0; width: 100%; height: clamp(220px, 64vw, 340px); }
  .hero-inner { order: 2; }
  .hero-copy { padding-block: 4px 30px; max-width: 640px; }
  .configurator { position: relative; right: auto; bottom: auto; order: 1; width: auto; margin: 6px var(--gutter) 16px; padding: 10px 12px 10px; border-radius: 18px; }
  .dim-label { display: none; }
}

/* ------------------------------------------------------------------ proof strip: a railing of facts */
.proof-band { padding-block: clamp(52px, 6vw, 80px) 0; }
.rail-facts { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rail-facts::before {
  content: ""; position: absolute; left: -8px; right: -8px; top: 0; height: 16px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%, rgba(60, 25, 0, 0.22)), url("../img/wood/red-oak-tex.webp") center / 520px auto;
  box-shadow: 0 10px 16px -10px rgba(120, 60, 10, 0.7);
}
.rail-facts li { position: relative; padding: 36px clamp(12px, 1.6vw, 22px) 26px; }
.rail-facts li + li::before { content: ""; position: absolute; left: -1.5px; top: 16px; bottom: 0; width: 3px; background: var(--ink); }
.rail-facts li + li::after { content: ""; position: absolute; left: -5px; top: 46%; width: 10px; height: 13px; border-radius: 50%; background: var(--ink); }
.rail-facts b { display: block; font: 740 clamp(1.6rem, 1rem + 1.4vw, 2.3rem)/1 var(--f-display); font-stretch: 110%; letter-spacing: -0.04em; margin-bottom: 0.45rem; }
.rail-facts b i { font-style: normal; color: var(--teal); }
.rail-facts span { display: block; font-size: 0.98rem; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 1023.98px) {
  .rail-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .rail-facts li:nth-child(3n + 1)::before, .rail-facts li:nth-child(3n + 1)::after { display: none; }
  .rail-facts li { padding: 28px 12px 18px; }
}
@media (max-width: 559.98px) {
  .rail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-facts li:nth-child(n)::before, .rail-facts li:nth-child(n)::after { display: block; }
  .rail-facts li:nth-child(2n + 1)::before, .rail-facts li:nth-child(2n + 1)::after { display: none; }
}

/* ------------------------------------------------------------------ before / after */
.ba-wrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden;
  background: var(--mist-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  box-shadow: var(--shadow-lift);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
/* the divider is an iron baluster with a marigold knuckle to grab */
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2.5px; width: 5px; background: var(--ink); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.ba-knob {
  position: absolute; left: 0; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--marigold); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55), 0 10px 26px rgba(0, 0, 0, 0.35);
}
.ba-knob svg { width: 26px; height: 26px; }
.ba-tag {
  position: absolute; top: 14px; z-index: 2; padding: 7px 11px; border-radius: 999px;
  font: 650 0.64rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
}
.ba-tag.before { left: 14px; }
.ba-tag.after { right: 14px; background: var(--marigold); color: var(--ink); }
.ba-range { position: absolute; inset: auto 0 0 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.ba:focus-within { outline: 2px solid var(--teal); outline-offset: 4px; }
.ba-side p { color: var(--ink-2); }
.ba-side .h3 { margin-bottom: 0.7rem; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem); font-stretch: 108%; letter-spacing: -0.03em; }
.ba-caption { display: flex; gap: 10px; margin-top: 14px; font: 600 0.68rem/1.5 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-ink); }

.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.pair { background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.pair:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pair-frame { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.pair-frame img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.pair-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 2px); width: 4px; background: #fff; }
.pair-frame .ba-tag { top: auto; bottom: 10px; }
.pair-body { padding: 18px 20px 22px; }
.pair-body .h3 { margin-bottom: 0.35rem; font-size: 1.14rem; }
.pair-body p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.pair--cta {
  position: relative; overflow: hidden; color: #fff; justify-content: space-between; padding: 26px 24px;
  background: radial-gradient(ellipse closest-side at 76% 78%, rgba(31, 179, 165, 0.5), rgba(31, 179, 165, 0)), linear-gradient(160deg, #0d5f5a, #0a4744);
}
.pair--cta > * { position: relative; z-index: 1; }
.pair--cta .mark { position: absolute; z-index: 0; right: -38px; bottom: -30px; width: 230px; height: 230px; color: rgba(246, 185, 59, 0.2); }
.pair--cta .h3 { font-size: 1.6rem; font-stretch: 110%; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 0.6rem; }
.pair--cta p { color: var(--on-dark-2); margin-bottom: 1.4rem; }

/* ------------------------------------------------------------------ services */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.svc { background: #fff; border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.svc-body p { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; }
.svc-body .link-arrow { margin-top: auto; align-self: flex-start; padding-top: 0.6rem; }
.svc--feature { grid-row: span 2; }
.svc--feature img { flex: 1 1 auto; min-height: 260px; height: 0; aspect-ratio: auto; }
.svc--feature .svc-body { flex: 0 0 auto; }
.svc--feature .h3 { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); font-stretch: 110%; letter-spacing: -0.035em; }
.svc-tag { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--marigold); color: var(--ink); font: 650 0.62rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.12em; text-transform: uppercase; }
.svc-list { display: grid; gap: 8px; margin: 0.4rem 0 0.6rem; }
.svc-list li { display: flex; gap: 10px; font-size: 1rem; color: var(--ink); }
.svc-list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 0.2em; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%230a6a64' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.svc--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.svc--wide img { height: 100%; aspect-ratio: auto; min-height: 260px; }
.svc--wide .svc-body { justify-content: center; padding: clamp(24px, 3vw, 44px); }
.svc--wide .svc-body .link-arrow { margin-top: 0.8rem; }
.svc-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; padding: 22px 26px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.svc-note p { margin: 0; font-size: 1.1rem; font-weight: 650; color: var(--ink); }
.svc-note p span { font-weight: 400; color: var(--ink-2); }

/* ------------------------------------------------------------------ owner */
.owner-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.owner-figure { position: relative; margin: 0; }
.owner-figure img { border-radius: 26px; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; box-shadow: var(--shadow-lift); }
.owner-badge {
  position: absolute; right: -14px; bottom: 54px; display: grid; place-items: center; text-align: center;
  width: 132px; height: 132px; border-radius: 50%; background: var(--marigold); color: var(--ink);
  box-shadow: 0 18px 34px -16px rgba(150, 95, 0, 0.8); transform: rotate(-8deg);
}
.owner-badge b { display: block; font: 780 2.3rem/0.9 var(--f-display); font-stretch: 112%; letter-spacing: -0.05em; }
.owner-badge span { display: block; margin-top: 4px; font: 650 0.6rem/1.25 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.1em; text-transform: uppercase; }
.owner-figure figcaption { margin-top: 14px; font: 600 0.66rem/1.5 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.owner-copy .h2 { margin-bottom: 1.3rem; }
.owner-copy > p { color: var(--ink-2); max-width: 58ch; }
.owner-points { display: grid; gap: 10px; margin: 1.6rem 0 2rem; }
.owner-points li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--mist); font-size: 1.04rem; font-weight: 520; }
.owner-points li span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; font: 650 0.7rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.04em; color: var(--teal-ink); }
.quote { position: relative; margin: 0 0 2rem; padding: 4px 0 0 46px; }
.quote::before { content: "“"; position: absolute; left: 0; top: -10px; font: 800 4rem/1 var(--f-display); color: var(--marigold); }
.quote p { margin: 0 0 0.5rem; font: 560 clamp(1.18rem, 1rem + 0.55vw, 1.45rem)/1.4 var(--f-display); letter-spacing: -0.015em; color: var(--ink); }
.quote cite { font: 600 0.68rem/1.4 var(--f-mono); font-stretch: 87.5%; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-ink); }
.owner-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.reviews { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: clamp(56px, 7vw, 96px); align-items: stretch; }
.reviews-intro .h3 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); font-stretch: 108%; letter-spacing: -0.035em; margin-bottom: 0.6rem; }
.reviews-intro p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.review-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: 26px; border-radius: var(--r-card); color: #fff; text-decoration: none;
  background: linear-gradient(160deg, #0f6a64, #0a4744);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -22px rgba(10, 79, 75, 0.8); }
.review-card .rc-site { font: 760 1.7rem/1 var(--f-display); font-stretch: 110%; letter-spacing: -0.035em; }
.review-card .rc-text { font-size: 1.02rem; color: var(--on-dark-2); }
.review-card .rc-go { font: 650 0.7rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.13em; text-transform: uppercase; color: var(--marigold-text); }

/* ------------------------------------------------------------------ woods */
.woods-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
.deck { display: flex; gap: clamp(8px, 1vw, 14px); align-items: flex-end; height: 470px; padding-top: 30px; }
.board {
  --mx: 50%; --my: 30%;
  position: relative; flex: 1 1 0; min-width: 0; height: 360px; padding: 0; border: 0; cursor: pointer;
  border-radius: 14px 14px 8px 8px; overflow: hidden;
  background-color: #5b4636; background-position: center; background-size: cover; background-repeat: no-repeat;
  box-shadow: 0 26px 30px -22px rgba(0, 20, 18, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: height 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s;
}
.board::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 42%);
  mix-blend-mode: soft-light;
}
.board::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.board:hover { transform: translateY(-6px); }
.board[aria-pressed="true"] { height: 440px; transform: translateY(-10px); box-shadow: 0 40px 40px -26px rgba(0, 20, 18, 0.9), 0 0 0 3px var(--marigold); }
.board-name {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 9px 10px 11px; text-align: left;
  background: rgba(3, 26, 24, 0.86);
  color: #fff; font: 680 0.8rem/1.2 var(--f-display);
}
.board-name small { display: block; margin-top: 4px; font: 600 0.58rem/1.2 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.88); }
.wood-detail {
  background: rgba(2, 26, 24, 0.36); border: 1px solid var(--line-dark); border-radius: 22px; padding: 26px 26px 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.wood-info + .wood-info { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.wood-detail.is-live .wood-info + .wood-info { margin-top: 0; padding-top: 0; border-top: 0; }
.wood-info[hidden] { display: none; }
.wood-info .h3 { font-size: 1.7rem; font-stretch: 110%; letter-spacing: -0.035em; margin-bottom: 0.3rem; }
.wood-janka { font: 600 0.7rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--marigold-text); margin-bottom: 1.1rem; }
.wood-info dl { display: grid; gap: 12px; margin: 0; }
.wood-info dt { font: 600 0.62rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.13em; text-transform: uppercase; color: #bfe6df; }
.wood-info dd { margin: 3px 0 0; font-size: 1.02rem; line-height: 1.5; color: #fff; }
.tape { margin: clamp(36px, 5vw, 56px) 0 0; overflow-x: clip; }
.tape-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.tape-title { font: 650 0.7rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; }
.tape-note { font-size: 0.92rem; color: var(--on-dark-2); }
/* a yellow tape-measure blade, ticks every 100 lbf, numbers every 500 */
.tape-blade {
  position: relative; height: 64px; border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(11, 31, 29, 0.55) 0 1px, transparent 1px 4%) 0 0 / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, rgba(11, 31, 29, 0.9) 0 1.5px, transparent 1.5px 20%) 0 0 / 100% 24px no-repeat,
    linear-gradient(180deg, #ffd56a, #f6b93b);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 14px 24px -16px rgba(0, 0, 0, 0.7);
}
.tape-num { position: absolute; top: 28px; transform: translateX(-50%); font: 650 0.62rem/1 var(--f-mono); font-stretch: 87.5%; color: var(--ink); }
.tape-num.first { transform: none; margin-left: 6px; }
.tape-num.last { transform: translateX(-100%); margin-left: -6px; }
.tape-dot {
  position: absolute; bottom: 8px; left: var(--x); width: 12px; height: 12px; margin-left: -6px; padding: 0; cursor: pointer;
  border-radius: 50%; border: 2px solid #fff; background: var(--ink);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.tape-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.tape-dot.is-on { background: var(--teal); transform: scale(1.55); }
.tape-dot:hover { transform: scale(1.4); }
.tape-tip {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  padding: 5px 8px; border-radius: 6px; background: var(--ink); color: #fff;
  font: 650 0.62rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.04em;
  visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0.2s;
}
.tape-dot:hover .tape-tip, .tape-dot:focus-visible .tape-tip { visibility: visible; opacity: 1; }
.tape-dot.is-on .tape-tip { visibility: visible; opacity: 1; transform: translateX(-50%) scale(0.645); transform-origin: bottom center; }
.tape-dot.edge-r .tape-tip { left: auto; right: -4px; transform: none; }
.tape-dot.edge-r.is-on .tape-tip { transform: scale(0.645); transform-origin: bottom right; }
.tape-dot.edge-l .tape-tip { left: -4px; transform: none; }
.tape-dot.edge-l.is-on .tape-tip { transform: scale(0.645); transform-origin: bottom left; }
.woods-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.woods-foot p { margin: 0; color: var(--on-dark-2); }

@media (max-width: 1023.98px) {
  .woods-grid { grid-template-columns: 1fr; }
  .deck { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 2px 12px; gap: 10px; scrollbar-width: thin; }
  .board { flex: 0 0 132px; height: 280px; scroll-snap-align: start; }
  .board[aria-pressed="true"] { height: 300px; transform: none; }
}

/* ------------------------------------------------------------------ styles: a railing drawn to scale */
.railing { position: relative; padding: 22px 0 18px; }
.railing-scroll { overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.railing-row { position: relative; display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); min-width: 860px; }
.railing-row::before, .railing-row::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; border-radius: 10px; }
.railing-row::before { top: 0; height: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 45%, rgba(60, 25, 0, 0.25)), url("../img/wood/red-oak-tex.webp") center / 560px auto; box-shadow: 0 10px 16px -10px rgba(120, 60, 10, 0.7); }
.railing-row::after { top: 324px; height: 12px; background: linear-gradient(rgba(40, 18, 4, 0.35), rgba(40, 18, 4, 0.35)), url("../img/wood/red-oak-tex.webp") center / 560px auto; border-radius: 5px; }
.style-col { display: grid; grid-template-rows: 336px auto; justify-items: center; text-align: center; padding: 0 10px; }
.style-col svg { width: 64px; height: 306px; margin-top: 18px; overflow: visible; }
.style-col svg .prof { fill: #fff; stroke: var(--ink); stroke-width: 1.3; vector-effect: non-scaling-stroke; transition: fill 0.3s; }
.style-col svg .prof.iron { fill: var(--ink); }
.style-col svg .axis { stroke: var(--teal); stroke-width: 1; stroke-dasharray: 6 4 1 4; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 0.3s; }
.style-col:hover svg .prof:not(.iron), .style-col:focus-within svg .prof:not(.iron) { fill: #fde1a6; }
.style-col:hover svg .axis, .style-col:focus-within svg .axis { opacity: 1; }
.style-col h3 { margin: 26px 0 6px; font: 700 1.02rem/1.2 var(--f-display); font-stretch: 104%; letter-spacing: -0.015em; }
.style-col p { margin: 0; font-size: 0.94rem; line-height: 1.45; color: var(--ink-2); }
.style-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.style-photos figure { margin: 0; }
.style-photos img { border-radius: 18px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; box-shadow: var(--shadow-card); }
.style-photos figcaption { margin-top: 12px; font: 600 0.64rem/1.45 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

/* ------------------------------------------------------------------ craft: carpet to hardwood, drawn */
.craft-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.drawing {
  position: sticky; top: calc(var(--header-h) + 24px); margin: 0; border-radius: 24px; padding: clamp(14px, 2vw, 26px);
  background: radial-gradient(ellipse closest-side at 74% 30%, rgba(31, 179, 165, 0.32), rgba(31, 179, 165, 0)), linear-gradient(160deg, #0d5f5a, #0a4744);
  box-shadow: var(--shadow-lift);
}
.drawing svg { width: 100%; height: auto; }
.drawing figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font: 600 0.64rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.1em; text-transform: uppercase; color: #a9d6ce; }
.stages { display: grid; gap: 8px; }
.stage { border-radius: 16px; background: rgba(255, 255, 255, 0.55); transition: background-color 0.25s, box-shadow 0.25s; }
.stage button {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 72px; gap: 14px; align-items: center; width: 100%;
  padding: 10px 10px 10px 14px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; border-radius: 16px;
}
.stage .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; font: 650 0.68rem/1 var(--f-mono); font-stretch: 87.5%; color: var(--teal-ink); transition: background-color 0.25s, color 0.25s; }
.stage .t { display: block; font: 680 1.06rem/1.25 var(--f-display); letter-spacing: -0.015em; color: var(--ink); }
.stage .d { display: block; margin-top: 3px; font-size: 0.96rem; line-height: 1.45; color: var(--ink-2); }
.stage img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; }
.stage:hover { background: #fff; }
.stage[aria-current="step"] { background: #fff; box-shadow: var(--shadow-card); }
.stage[aria-current="step"] .n { background: var(--marigold); color: var(--ink); }
.craft-why { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; }
.craft-why li { display: flex; gap: 10px; color: var(--ink); font-size: 1rem; font-weight: 520; }
.craft-why li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.5em; border-radius: 3px; background: var(--marigold); }

/* the drawing's layers: classes s1…s7 accumulate as the job progresses */
.cd .carpet { transition: transform 0.9s var(--ease), opacity 0.7s; transform-box: fill-box; transform-origin: 100% 0%; }
.cd.s1 .carpet { transform: translate(-30px, -46px) rotate(-8deg); opacity: 0; }
.cd .old { transition: transform 0.7s var(--ease), opacity 0.6s; transition-delay: calc(var(--i) * 70ms); }
.cd:not(.s1) .old { opacity: 0; }
.cd.s2 .old { transform: translateY(-44px); opacity: 0; }
.cd .staple { opacity: 0; transition: opacity 0.4s; }
.cd.s1:not(.s2) .staple { opacity: 1; }
.cd .tread { transform: translateY(-60px); opacity: 0; transition: transform 0.75s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.4s; transition-delay: calc(var(--i) * 90ms); }
.cd.s3 .tread { transform: none; opacity: 1; }
.cd .riser { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.6s var(--ease); transition-delay: calc(var(--i) * 80ms); }
.cd .skirt { opacity: 0; transition: opacity 0.6s; }
.cd.s4 .riser { transform: none; }
.cd.s4 .skirt { opacity: 1; }
.cd .stain { transform: scaleX(0); transform-box: fill-box; transform-origin: 0 50%; transition: transform 0.7s var(--ease); transition-delay: calc(var(--i) * 110ms); }
.cd.s5 .stain { transform: none; }
.cd .gloss { opacity: 0; transition: opacity 0.6s 0.5s; }
.cd.s5 .gloss { opacity: 1; }
.cd .baluster { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.5s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.cd.s6 .baluster { transform: none; }
.cd .handrail { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) 0.4s; }
.cd.s6 .handrail { stroke-dashoffset: 0; }
.cd .newel { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.5s var(--ease); }
.cd.s6 .newel { transform: none; }
.cd .dust { opacity: 0; transition: opacity 0.5s; }
.cd.s1:not(.s7) .dust { opacity: 0.8; }
.cd .done { opacity: 0; transition: opacity 0.6s 0.3s; }
.cd.s7 .done { opacity: 1; }
.cd g.dimline { opacity: 0.85; }

/* ------------------------------------------------------------------ recent work */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 18vw, 250px); gap: 14px; }
.bento figure { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--mist-2); }
.bento figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento figure:nth-child(4) { grid-row: span 2; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.bento figure:hover img { transform: scale(1.05); }
.bento figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.94); color: var(--ink);
  font-size: 0.88rem; font-weight: 560; line-height: 1.3;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.4);
}
.work-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 28px; }
.work-foot p { margin: 0; color: var(--ink-2); }

/* ------------------------------------------------------------------ how it works: white steps climbing a marigold wall */
.climb { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 12px; }
.climb li { position: relative; padding: 20px 18px 22px; border-radius: 18px; background: #fff; box-shadow: 0 2px 3px rgba(80, 50, 0, 0.08), 0 20px 34px -22px rgba(110, 70, 0, 0.55); }
.climb li:nth-child(2) { margin-bottom: 28px; }
.climb li:nth-child(3) { margin-bottom: 56px; }
.climb li:nth-child(4) { margin-bottom: 84px; }
.climb li:nth-child(5) { margin-bottom: 112px; }
.climb li:nth-child(6) { margin-bottom: 140px; }
.climb .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--marigold); font: 650 0.68rem/1 var(--f-mono); font-stretch: 87.5%; margin-bottom: 14px; }
.climb h3 { font: 700 1.06rem/1.22 var(--f-display); letter-spacing: -0.015em; margin-bottom: 8px; color: var(--ink); }
.climb p { margin: 0; font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
.climb-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* ------------------------------------------------------------------ service area + marquee */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.counties { display: flex; flex-wrap: wrap; gap: 8px; }
.counties li { padding: 9px 14px; border-radius: 999px; font: 600 0.92rem/1 var(--f-display); background: var(--mist); color: var(--ink); }
.marquee { margin: clamp(36px, 5vw, 56px) var(--inset) 0; border-radius: 999px; overflow: hidden; padding-block: 20px; background: var(--teal-night); }
.belt { display: flex; width: max-content; animation: belt 70s linear infinite; }
.marquee:hover .belt { animation-play-state: paused; }
.belt ul { display: flex; flex: none; }
.belt li { display: flex; align-items: center; flex: none; padding-right: 28px; font: 680 clamp(1.4rem, 1.1rem + 1vw, 2.1rem)/1.1 var(--f-display); font-stretch: 110%; letter-spacing: -0.035em; color: #fff; white-space: nowrap; }
.belt li::after { content: ""; width: 5px; height: 28px; margin-left: 28px; border-radius: 3px; background: var(--marigold); }
@keyframes belt { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .belt { animation: none; } }

/* ------------------------------------------------------------------ faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-side p { color: var(--ink-2); margin-top: 1.1rem; }
.faq-side a { color: var(--teal-ink); font-weight: 650; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(11, 31, 29, 0.05); transition: box-shadow 0.25s; }
.faq-list details[open] { box-shadow: var(--shadow-card); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 18px 18px 22px; cursor: pointer; list-style: none; border-radius: 16px;
  font: 660 clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem)/1.3 var(--f-display); letter-spacing: -0.012em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--teal); color: #fff; font: 500 1.25rem/1 var(--f-display);
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--marigold); color: var(--ink); }
.faq-list .ans { padding: 0 22px 22px; max-width: 66ch; color: var(--ink-2); }
.faq-list .ans p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ estimate */
.est-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.est-side .h2 { margin-bottom: 1.2rem; }
.est-phone { display: inline-flex; flex-direction: column; margin: 1rem 0 1.6rem; text-decoration: none; color: #fff; }
.est-phone small { font: 650 0.66rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marigold-text); }
.est-phone strong { font: 760 clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem)/1.1 var(--f-display); font-stretch: 110%; letter-spacing: -0.035em; }
.est-email { color: #fff; text-underline-offset: 4px; text-decoration-color: var(--marigold); }
.est-next { margin-top: 2rem; display: grid; gap: 14px; }
.est-next li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; color: var(--on-dark-2); font-size: 1rem; line-height: 1.5; }
.est-next li span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); font: 650 0.66rem/1 var(--f-mono); font-stretch: 87.5%; color: var(--marigold-text); }
.est-privacy { margin-top: 1.6rem; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark); font-size: 0.98rem; color: #fff; }

.form-card { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.7); }
.form-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.form-steps span { flex: 1; height: 5px; border-radius: 5px; background: var(--mist-2); }
.form-steps span.on { background: var(--marigold); }
.fstep[hidden] { display: none; }
.fstep legend { padding: 0; margin-bottom: 18px; font: 720 1.35rem/1.2 var(--f-display); font-stretch: 108%; letter-spacing: -0.03em; }
.fstep legend small { display: block; margin-top: 4px; font: 600 0.64rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-ink); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field > label, .field > .flabel { font: 650 0.92rem/1.2 var(--f-display); }
.field .hint { font-size: 0.9rem; color: var(--ink-2); margin-top: -2px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #cddcd8; background: #fff; color: var(--ink);
  font: 450 1rem/1.3 var(--f-display); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 127, 120, 0.16); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }
.field .err { font: 650 0.88rem/1.3 var(--f-display); color: #b3261e; }
.field .err:empty { display: none; }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid #cddcd8; background: #fff; font: 600 0.92rem/1.2 var(--f-display);
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.chip:hover span { border-color: var(--teal); }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.file-drop { display: grid; gap: 6px; padding: 16px; border-radius: 14px; border: 1.5px dashed #a9c6c0; background: var(--mist); }
.file-drop input { font: 450 0.92rem/1.3 var(--f-display); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.form-actions .back { background: none; border: 0; padding: 8px 2px; cursor: pointer; font: 650 0.95rem/1 var(--f-display); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.form-fine { margin-top: 16px; font-size: 0.9rem; color: var(--ink-2); }
.form-fine a { color: var(--teal-ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { text-align: left; }
.form-done[hidden] { display: none; }
.form-done .h3 { font-size: 1.7rem; font-stretch: 108%; letter-spacing: -0.035em; margin-bottom: 0.6rem; }
.form-error { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fde7e4; color: #8a1d16; font: 600 0.95rem/1.4 var(--f-display); }
.form-error[hidden] { display: none; }

/* ------------------------------------------------------------------ map */
.map-grid { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.map-frame { border-radius: 26px; overflow: hidden; background: var(--mist-2); box-shadow: var(--shadow-lift); }
.map-frame iframe { width: 100%; height: 360px; border: 0; filter: saturate(0.9) contrast(1.02); }
.map-side .h2 { margin-bottom: 1.1rem; }
.map-side p { color: var(--ink-2); }
.map-side .btn { margin-top: 0.4rem; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--teal-night); color: #fff; padding: clamp(56px, 7vw, 96px) 0 34px; margin: var(--inset); border-radius: var(--r-panel); }
.site-footer .brand-text span { color: #9fd3ca; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr)); gap: clamp(24px, 4vw, 56px); }
.foot-brand p { margin: 18px 0 0; max-width: 34ch; color: #a9cfc8; font-size: 1rem; }
.foot-col h2 { margin-bottom: 14px; font: 650 0.66rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marigold-text); }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: #fff; text-decoration: none; font: 560 0.98rem/1.35 var(--f-display); }
.foot-col a:hover { color: var(--marigold); }
.foot-col .plain { color: #a9cfc8; font-size: 0.98rem; line-height: 1.5; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-dark); font: 600 0.68rem/1.5 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.08em; color: #a9cfc8; }
.foot-base a { color: #a9cfc8; }

/* ------------------------------------------------------------------ phone action bar */
.action-bar { display: none; }
@media (max-width: 1023.98px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -18px rgba(11, 31, 29, 0.35);
  }
  .action-bar .btn { min-height: 48px; padding-inline: 0.8em; }
  .action-bar .btn-line { color: var(--ink); }
  body { padding-bottom: 72px; }
}

/* ------------------------------------------------------------------ inner pages */
.page-hero {
  position: relative; margin: var(--inset) var(--inset) 0; border-radius: var(--r-panel); overflow: hidden; isolation: isolate;
  color: #fff; padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 90px);
  background: linear-gradient(155deg, #0c625d 0%, #0a4f4b 55%, #083f3c 100%);
}
/* split heroes: the glow is a halo around the photo or card, in a box of its own */
.ph-media::before {
  content: ""; position: absolute; inset: -12% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse closest-side, rgba(46, 201, 184, 0.6) 0%, rgba(46, 201, 184, 0.24) 55%, rgba(46, 201, 184, 0) 100%);
}
@media (min-width: 1024px) {
  .page-hero:not(.page-hero--split) {
    background:
      radial-gradient(ellipse closest-side at 82% 50%, rgba(46, 201, 184, 0.42), rgba(46, 201, 184, 0)),
      linear-gradient(155deg, #0c625d 0%, #0a4f4b 55%, #083f3c 100%);
  }
}
.page-hero .h1 { margin-bottom: 1.3rem; }
.page-hero .lede { max-width: 62ch; color: var(--on-dark-2); }
.page-hero .eyebrow { color: var(--marigold-text); }
.page-hero .h1 .soft { color: #8fd8cb; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.filters button {
  min-height: 42px; padding: 9px 15px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); color: #fff;
  font: 600 0.92rem/1.2 var(--f-display); transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filters button:hover { border-color: rgba(255, 255, 255, 0.6); }
.filters button[aria-pressed="true"] { background: var(--marigold); color: var(--ink); border-color: var(--marigold); }
.filters button span { font: 600 0.68rem/1 var(--f-mono); margin-left: 6px; color: inherit; opacity: 0.8; }
.g-pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.masonry figure[hidden] { display: none; }
.masonry a { display: block; position: relative; overflow: hidden; }
.masonry img { width: 100%; height: auto; transition: transform 0.6s var(--ease); }
.masonry a:hover img { transform: scale(1.04); }
.masonry figcaption { padding: 10px 14px 13px; font-size: 0.92rem; line-height: 1.4; color: var(--ink-2); }
.lightbox { width: min(96vw, 1200px); max-height: 94vh; padding: 0; border: 0; border-radius: 22px; background: var(--teal-night); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(4, 22, 20, 0.88); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #04201e; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.lb-bar p { margin: 0; font-size: 0.98rem; color: #fff; }
.lb-btns { display: flex; gap: 8px; flex: none; }
.lb-btns button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; font: 650 1.1rem/1 var(--f-display); }
.lb-btns button:hover { background: var(--marigold); color: var(--ink); border-color: var(--marigold); }
.prose { max-width: 70ch; }
.prose h2 { font: 720 1.45rem/1.2 var(--f-display); font-stretch: 108%; letter-spacing: -0.03em; margin: 2.2rem 0 0.8rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--teal-ink); }
.prose a.btn { color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li::marker { color: var(--teal); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band .cta-copy { max-width: 640px; }
.cta-band .h2 { margin-bottom: 0.9rem; }
.cta-band .lede { margin: 0; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ responsive layouts */
@media (max-width: 1100px) {
  .climb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .climb li:nth-child(n) { margin-bottom: 0; }
  .climb li:nth-child(2), .climb li:nth-child(5) { margin-bottom: 24px; }
  .climb li:nth-child(3), .climb li:nth-child(6) { margin-bottom: 48px; }
}
@media (max-width: 1023.98px) {
  .head--split { grid-template-columns: 1fr; }
  .head--split .lede { margin-top: 0.4rem; }
  .ba-wrap, .owner-grid, .craft-grid, .est-grid, .faq-grid, .area-grid, .map-grid { grid-template-columns: 1fr; }
  .drawing, .faq-side { position: static; }
  .pairs, .g-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--feature { grid-row: auto; grid-column: 1 / -1; }
  .svc--feature img { flex: none; height: auto; aspect-ratio: 16 / 9; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .reviews-intro { grid-column: 1 / -1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento figure:nth-child(4) { grid-row: auto; }
  .bento figure:last-child { grid-column: span 2; }
  .style-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .map-frame iframe { height: 320px; }
  .owner-badge { right: 14px; bottom: 60px; width: 112px; height: 112px; }
  .owner-badge b { font-size: 1.9rem; }
  .cfg-top { flex-wrap: wrap; row-gap: 8px; margin-bottom: 4px; }
  .cfg-title { display: none; }
  .seg button { padding: 6px 11px; }
  .cfg-row { grid-template-columns: 62px 1fr; gap: 8px; padding-block: 6px; }
  .swatch { width: 30px; height: 30px; }
  .cfg-bal button { padding: 6px 9px; font-size: 0.78rem; }
  .cfg-readout { display: none; }
  .railing::after { content: "Scroll sideways to see all seven"; display: block; margin-top: 10px; font: 600 0.64rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
}
@media (max-width: 680px) {
  .pairs, .g-pairs, .svc-grid, .reviews { grid-template-columns: 1fr; }
  .svc--wide { grid-template-columns: 1fr; }
  .svc--wide img { min-height: 0; aspect-ratio: 16 / 10; }
  .climb { grid-template-columns: 1fr; gap: 10px; }
  .climb li:nth-child(n) { margin-bottom: 0; }
  .craft-why { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 190px; }
  .bento figure:nth-child(1) { grid-row: span 1; }
  .stage button { grid-template-columns: 36px minmax(0, 1fr) 60px; gap: 10px; }
  .stage img { width: 60px; height: 48px; }
  .map-frame iframe { height: 280px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .svc-note { padding: 20px; }
}

/* WebGL visitors never see the poster: the 3D stair fades in instead. */
.webgl .hero-poster { display: none; }
.hero-canvas { opacity: 0; transition: opacity 0.9s ease; }
.hero.is-ready .hero-canvas { opacity: 1; }


/* ================================================================== multi-page components */
.crumbs { flex-wrap: wrap; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { opacity: 0.6; }
.note-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.area-more { margin: 18px 0 0; }
.more-link { margin: 28px 0 0; }

/* ---------- inner page hero with media */
.page-hero--split { padding: clamp(48px, 6vw, 84px) 0 clamp(52px, 6vw, 88px); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ph-copy .h1 { margin-bottom: 1.3rem; }
.ph-copy .lede { margin-bottom: 0; }
.ph-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.9rem; }
.ph-cta .btn-line { color: #fff; }
.ph-media { position: relative; }
.ph-main { width: 100%; aspect-ratio: 4 / 3.25; object-fit: cover; border-radius: 26px; box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.55); }
.ph-inset {
  position: absolute; left: clamp(-34px, -2.4vw, -12px); bottom: clamp(-34px, -2.4vw, -12px); width: 40%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 20px; border: 6px solid #0c5853; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
}
.ph-badge {
  position: absolute; right: -10px; top: -18px; display: grid; place-items: center; text-align: center;
  width: 124px; height: 124px; border-radius: 50%; background: var(--marigold); color: var(--ink);
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.6); transform: rotate(8deg);
}
.ph-badge b { display: block; font: 780 2.2rem/0.9 var(--f-display); font-stretch: 112%; letter-spacing: -0.05em; }
.ph-badge span { display: block; margin-top: 4px; font: 650 0.58rem/1.25 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.1em; text-transform: uppercase; }
.page-hero--compact { padding-block: clamp(40px, 5vw, 70px); }

/* ---------- shared check lists */
.includes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; margin: 0 0 24px; }
.includes li, .job-chips li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.45; }
.includes svg { flex: none; width: 22px; height: 22px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--mist); color: var(--teal-ink); stroke-width: 2.4; }

/* ---------- about */
.story { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.story-copy p { font-size: 1.12rem; line-height: 1.65; color: var(--ink-2); }
.story-copy p:last-child { margin-bottom: 0; }
.steps-band { padding-top: 0; }
.steps-strip { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 14px; height: clamp(380px, 38vw, 520px); padding-bottom: 22px; }
.steps-strip::after {
  content: ""; position: absolute; left: -8px; right: -8px; bottom: 0; height: 12px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%, rgba(60, 25, 0, 0.22)), url("../img/wood/red-oak-tex.webp") center / 520px auto;
  box-shadow: 0 10px 16px -10px rgba(120, 60, 10, 0.7);
}
.steps-strip figure { position: relative; margin: 0; height: 100%; border-radius: 20px; overflow: hidden; background: var(--mist-2); box-shadow: var(--shadow-card); }
.steps-strip figure:nth-child(1) { height: 46%; }
.steps-strip figure:nth-child(2) { height: 59%; }
.steps-strip figure:nth-child(3) { height: 72%; }
.steps-strip figure:nth-child(4) { height: 86%; }
.steps-strip img { width: 100%; height: 100%; object-fit: cover; }
.steps-strip figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px 11px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 0.88rem; font-weight: 600; line-height: 1.3;
}
.steps-strip figcaption span { display: block; margin-bottom: 4px; font: 650 0.6rem/1 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.12em; color: var(--teal-ink); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle { background: #fff; border-radius: var(--r-card); padding: 26px 26px 28px; box-shadow: var(--shadow-card); }
.principle .ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--mist); color: var(--teal-ink); }
.principle .ico svg { width: 26px; height: 26px; }
.principle .h3 { margin-bottom: 0.5rem; }
.principle p { margin: 0; color: var(--ink-2); }
.quote-band .wrap { min-height: 260px; display: grid; align-items: center; }
.quote-band blockquote { position: relative; z-index: 1; margin: 0; }
.quote-band blockquote p { max-width: 22ch; }
.quote-band blockquote p { margin: 0 0 1.2rem; font: 680 clamp(1.7rem, 1.1rem + 2.2vw, 3rem)/1.14 var(--f-display); letter-spacing: -0.035em; color: #fff; }
.quote-band cite { font: 650 0.7rem/1.4 var(--f-mono); font-stretch: 87.5%; font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--marigold-text); }
.quote-band { padding-bottom: 0; }
.quote-band .wrap { padding-bottom: clamp(76px, 8.5vw, 132px); }
.rail-line { position: absolute; right: 0; bottom: 0; width: min(600px, 46%); height: auto; color: var(--marigold); z-index: 0; }
.rail-line .bal { opacity: 0.55; }

/* ---------- services */
.includes-band { padding-block: clamp(40px, 5vw, 64px) 0; }
.every-title { margin: 0 0 16px; font: 650 0.7rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal-ink); }
.job-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.job-chips li { align-items: center; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: 0.95rem; }
.job-chips svg { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.6; }
.svc-page { padding-top: clamp(48px, 6vw, 80px); }
.svc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.svc-index { position: sticky; top: calc(var(--header-h) + 28px); }
.idx-title { margin: 0 0 12px; font: 650 0.66rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal-ink); }
.svc-index ol { margin: 0 0 22px; border-left: 2px solid var(--mist-2); }
.svc-index ol a { position: relative; display: block; padding: 8px 0 8px 18px; color: var(--ink-2); text-decoration: none; font-weight: 560; font-size: 0.96rem; line-height: 1.3; transition: color 0.2s; }
.svc-index ol a::before { content: ""; position: absolute; left: -2px; top: 50%; width: 10px; height: 2px; background: var(--mist-2); transition: width 0.25s var(--ease), background-color 0.25s, height 0.25s; transform: translateY(-50%); }
.svc-index ol a:hover { color: var(--ink); }
.svc-index ol a[aria-current="true"] { color: var(--ink); font-weight: 680; }
.svc-index ol a[aria-current="true"]::before { width: 14px; height: 4px; background: var(--marigold); border-radius: 0 3px 3px 0; }
.svc-rows { display: grid; gap: clamp(64px, 8vw, 112px); }
.svc-row { scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-h { font-size: clamp(1.8rem, 1rem + 2.2vw, 2.9rem); margin-bottom: 1rem; }
.svc-intro { font-size: 1.12rem; line-height: 1.62; color: var(--ink-2); max-width: 66ch; }
.svc-photos { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: clamp(300px, 32vw, 440px); margin: 26px 0 30px; }
.svc-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.svc-photos img:first-child { grid-row: span 2; }
.inc-title { margin: 0 0 14px; font: 650 0.7rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal-ink); }
.row-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---------- products */
.fan { position: relative; height: clamp(320px, 33vw, 470px); }
.fan-card {
  position: absolute; left: 50%; bottom: 4%; width: clamp(104px, 10.5vw, 150px); aspect-ratio: 440 / 1000; margin-left: calc(clamp(104px, 10.5vw, 150px) / -2);
  border-radius: 16px; overflow: hidden; transform-origin: 50% 118%; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.65);
  border: 3px solid rgba(255, 255, 255, 0.92); transition: transform 0.6s var(--ease);
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
/* the outer cards are partly covered by their neighbours, so their labels run up the visible outer edge, like a sample card's spine */
.fan-tag { position: absolute; top: 8px; padding: 7px 4px; border-radius: 7px; background: rgba(255, 255, 255, 0.95); color: var(--ink); font: 650 0.68rem/1 var(--f-display); white-space: nowrap; writing-mode: vertical-rl; }
.fan-card:nth-child(-n + 2) .fan-tag { left: 6px; transform: rotate(180deg); }
.fan-card:nth-child(n + 4) .fan-tag { right: 6px; }
.fan-card:nth-child(3) .fan-tag { left: 8px; right: 8px; padding: 5px 6px; writing-mode: horizontal-tb; white-space: normal; text-align: center; line-height: 1.2; }
.fan-card:nth-child(1) { transform: rotate(-30deg); z-index: 1; }
.fan-card:nth-child(2) { transform: rotate(-15deg); z-index: 2; }
.fan-card:nth-child(3) { transform: rotate(0deg) translateY(-14px); z-index: 3; }
.fan-card:nth-child(4) { transform: rotate(15deg); z-index: 2; }
.fan-card:nth-child(5) { transform: rotate(30deg); z-index: 1; }
.fan:hover .fan-card:nth-child(1) { transform: rotate(-36deg); }
.fan:hover .fan-card:nth-child(2) { transform: rotate(-18deg); }
.fan:hover .fan-card:nth-child(4) { transform: rotate(18deg); }
.fan:hover .fan-card:nth-child(5) { transform: rotate(36deg); }

.anat-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.anat { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; padding: clamp(12px, 2vw, 26px); border-radius: 26px; background: var(--mist); }
.anat svg { width: 100%; height: auto; }
.anat .part { transition: opacity 0.3s ease, filter 0.3s ease; }
.anat[data-active] .part { opacity: 0.4; }
.anat .part--nosing { opacity: 0 !important; }
.anat[data-active="tread"] .part--tread, .anat[data-active="riser"] .part--riser, .anat[data-active="skirt"] .part--skirt,
.anat[data-active="stringer"] .part--stringer, .anat[data-active="baluster"] .part--baluster, .anat[data-active="handrail"] .part--handrail,
.anat[data-active="volute"] .part--volute, .anat[data-active="newel"] .part--newel, .anat[data-active="landing"] .part--landing {
  opacity: 1; filter: drop-shadow(0 0 6px rgba(246, 185, 59, 0.95));
}
.anat[data-active="nosing"] .part--nosing { opacity: 1 !important; }
.anat[data-active="nosing"] .part--tread { opacity: 0.55; }
.anat .pin { opacity: 0; transition: opacity 0.3s; }
.anat .pin-ring { fill: rgba(246, 185, 59, 0.35); transform-box: fill-box; transform-origin: center; }
.anat[data-active="tread"] .pin--tread, .anat[data-active="nosing"] .pin--nosing, .anat[data-active="riser"] .pin--riser,
.anat[data-active="skirt"] .pin--skirt, .anat[data-active="stringer"] .pin--stringer, .anat[data-active="baluster"] .pin--baluster,
.anat[data-active="handrail"] .pin--handrail, .anat[data-active="volute"] .pin--volute, .anat[data-active="newel"] .pin--newel,
.anat[data-active="landing"] .pin--landing { opacity: 1; }
.anat .pin .pin-ring { animation: pin-pulse 1.8s ease-out infinite; }
@keyframes pin-pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .anat .pin .pin-ring { animation: none; } }
.parts { display: grid; gap: 6px; }
.part-btn {
  display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; width: 100%; padding: 12px 14px; text-align: left; cursor: pointer;
  border: 0; border-radius: 14px; background: transparent; color: var(--ink); transition: background-color 0.2s, box-shadow 0.2s;
}
.part-btn .dot { width: 12px; height: 12px; margin-top: 0.38em; border-radius: 50%; background: var(--mist-2); transition: background-color 0.2s, box-shadow 0.2s; }
.part-btn b { display: block; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.part-btn .d { display: block; margin-top: 2px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.part-btn:hover { background: var(--mist); }
.part-btn[aria-pressed="true"] { background: #fff; box-shadow: var(--shadow-card); }
.part-btn[aria-pressed="true"] .dot { background: var(--marigold); box-shadow: 0 0 0 4px rgba(246, 185, 59, 0.3); }

.wood-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wood-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: rgba(2, 26, 24, 0.36); border: 1px solid var(--line-dark);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.wood-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }
.wood-card.is-flash { border-color: var(--marigold); box-shadow: 0 0 0 3px var(--marigold); }
.wc-img { display: flex; height: 130px; overflow: hidden; }
.wc-img img { flex: 1 1 0; min-width: 0; width: 100%; height: 100%; object-fit: cover; }
.wc-img img + img { border-left: 2px solid rgba(4, 30, 28, 0.6); }
.wc-body { padding: 18px 18px 22px; }
.wc-body .h3 { color: #fff; margin-bottom: 12px; font-size: 1.2rem; }
.meter { display: grid; gap: 10px; margin-bottom: 16px; }
.meter-label { font: 650 0.6rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.14em; text-transform: uppercase; color: #bfe6df; }
.meter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; align-items: baseline; font-size: 0.86rem; color: #fff; }
.meter-row > span:nth-child(2) { font: 650 0.66rem/1 var(--f-mono); font-stretch: 87.5%; color: var(--marigold-text); }
.meter-track { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.meter-fill { display: block; height: 100%; border-radius: 8px; background: var(--marigold); }
.wc-body dl { display: grid; gap: 10px; margin: 0; }
.wc-body dt { font: 650 0.6rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.13em; text-transform: uppercase; color: #bfe6df; }
.wc-body dd { margin: 2px 0 0; font-size: 0.95rem; line-height: 1.45; color: #fff; }

.style-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.style-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.sc-top { display: grid; grid-template-columns: 78px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: 230px; overflow: hidden; background: var(--mist); }
.sc-prof { display: grid; place-items: center; padding: 12px 0; }
.sc-prof svg { width: 40px; height: 196px; }
.sc-prof svg .prof { fill: #fff; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sc-prof svg .prof.iron { fill: var(--ink); }
.sc-prof svg .axis { display: none; }
.sc-top img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.sc-top--plain { grid-template-columns: 78px minmax(0, 1fr); align-items: center; }
.sc-top--plain p { margin: 0; padding-right: 18px; font: 650 0.64rem/1.5 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-ink); }
.sc-body { padding: 18px 20px 22px; }
.sc-body .h3 { margin-bottom: 0.45rem; font-size: 1.12rem; }
.sc-body p { margin: 0; font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
.style-card--cta { justify-content: center; background: radial-gradient(ellipse closest-side at 72% 30%, rgba(255, 224, 150, 0.85), rgba(255, 224, 150, 0)), var(--marigold); }
.style-card--cta p { color: #3b3a22; margin-bottom: 18px; }

.iron-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.iron { margin: 0; padding: 20px 8px 16px; border-radius: 18px; background: #fff; text-align: center; box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease); }
.iron:hover { transform: translateY(-4px); }
.iron svg { width: auto; height: 230px; margin: 0 auto 14px; }
.iron .bar { fill: var(--ink); }
.iron .acc { fill: var(--ink); transition: fill 0.25s; }
.iron .wire { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; transition: stroke 0.25s; }
.iron:hover .acc { fill: var(--marigold); }
.iron:hover .wire { stroke: var(--teal); }
.iron figcaption { font: 680 0.92rem/1.25 var(--f-display); letter-spacing: -0.01em; }
.iron-note { margin: 22px 0 0; color: var(--ink-2); }
.iron-note a { color: var(--teal-ink); font-weight: 650; }

.fit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fit { overflow: hidden; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.fit img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.fit-body { padding: 18px 20px 22px; }
.fit-body .h3 { margin-bottom: 0.4rem; font-size: 1.12rem; }
.fit-body p { margin: 0; font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
.finish { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: clamp(20px, 3vw, 34px); border-radius: 26px; background: var(--mist); }
.finish-copy .h3 { margin-bottom: 0.6rem; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.7rem); letter-spacing: -0.03em; }
.finish-copy p { margin: 0; color: var(--ink-2); }
.finish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.finish-grid figure { margin: 0; }
.finish-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; }
.finish-grid figcaption { margin-top: 8px; font: 650 0.64rem/1.4 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- reviews */
.rv-cards { display: grid; gap: 14px; }
.rv-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(22px, 2.6vw, 32px);
  border-radius: 24px; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.55); transition: transform 0.3s var(--ease);
}
.rv-card:hover { transform: translateY(-4px); }
.rv-site { display: block; font: 760 clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem)/1 var(--f-display); font-stretch: 108%; letter-spacing: -0.045em; }
.rv-sub { display: block; margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; }
.rv-go { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--marigold); color: var(--ink); font: 700 1.5rem/1 var(--f-display); transition: transform 0.3s var(--ease); }
.rv-card:hover .rv-go { transform: rotate(45deg); }
.ask-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ask { padding: 22px 24px 24px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.ask .h3 { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 0.6rem; font-size: 1.12rem; }
.ask .h3 svg { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 2.6; }
.ask p { margin: 0; color: var(--ink-2); }
.ask p b { color: var(--teal-ink); }
.ask a:not(.btn) { color: var(--teal-ink); font-weight: 650; }
.ask--cta { background: var(--marigold); }
.ask--cta p { color: #3b3a22; margin-bottom: 16px; }
.ask--cta a:not(.btn) { color: var(--ink); }
.leave-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.leave-band .wrap > div:first-child { max-width: 640px; }
.leave-band .h2 { margin-bottom: 0.9rem; }
.leave-band .lede { margin: 0; }
.leave-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.leave-band .btn-line { color: #fff; }

/* ---------- contact */
.call-card {
  display: block; padding: clamp(26px, 3vw, 42px); border-radius: 28px; text-decoration: none; color: var(--ink);
  background: radial-gradient(ellipse closest-side at 74% 34%, rgba(255, 228, 160, 0.9), rgba(255, 228, 160, 0)), var(--marigold);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); transition: transform 0.3s var(--ease);
}
.call-card:hover { transform: translateY(-4px) rotate(-0.5deg); }
.call-card small { display: block; font: 650 0.7rem/1.3 var(--f-mono); font-stretch: 87.5%; letter-spacing: 0.15em; text-transform: uppercase; }
.call-card strong { display: block; margin: 10px 0 14px; font: 780 clamp(2.4rem, 1.3rem + 3.4vw, 4.4rem)/1 var(--f-display); font-stretch: 108%; letter-spacing: -0.055em; white-space: nowrap; }
.cc-row { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); font-weight: 650; font-size: 0.95rem; }
.cc-row svg { width: 18px; height: 18px; }
.call-card--small strong { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.2rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-grid .form-card { box-shadow: var(--shadow-lift); }
.form-title { margin: 0 0 6px; font: 720 1.5rem/1.2 var(--f-display); font-stretch: 108%; letter-spacing: -0.035em; }
.form-sub { margin-bottom: 22px; color: var(--ink-2); }
.form-sub a { color: var(--teal-ink); font-weight: 650; }
.info-cards { display: grid; gap: 14px; }
.info-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: var(--r-card); background: var(--mist); }
.info-card .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--teal-ink); }
.info-card .ico svg { width: 24px; height: 24px; }
.info-card .h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.info-card p { margin: 0; }
.info-card p + p, .info-card .sub + .btn { margin-top: 10px; }
.info-card .sub { color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; }
.info-card a:not(.btn) { color: var(--teal-ink); font-weight: 650; overflow-wrap: anywhere; }
.info-card--accent { background: var(--marigold); }
.info-card--accent .sub { color: #3b3a22; }

/* ---------- free estimate page */
.est-page-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.est-page .form-card { box-shadow: var(--shadow-lift); }
.est-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.aside-card { padding: 24px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.aside-card .h3 { margin-bottom: 0.8rem; font-size: 1.12rem; }
.aside-card p { margin: 0; color: var(--ink-2); }
.aside-card a { color: var(--teal-ink); font-weight: 650; overflow-wrap: anywhere; }
.aside-card--deep { color: #fff; background: linear-gradient(160deg, #0d5f5a, #0a4744); }
.aside-card--deep p { color: var(--on-dark-2); }
.next-steps { display: grid; gap: 12px; }
.next-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); font-size: 0.98rem; line-height: 1.45; }
.next-steps li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--marigold); color: var(--ink); font: 700 0.78rem/1 var(--f-mono); }
.photo-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pg { padding: 16px 16px 20px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); }
.pg-svg { width: 100%; height: auto; margin-bottom: 14px; border-radius: 14px; background: var(--mist); }
.pg-svg .st-body { fill: #cfe1dd; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.pg-svg .st-tread { fill: #e3ad72; stroke: #7a4a24; stroke-width: 0.8; }
.pg-svg .st-floor { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.pg-svg .st-newel { fill: #a85d30; }
.pg-svg .st-bal { stroke: var(--ink); stroke-width: 1.6; }
.pg-svg .st-rail { stroke: #a85d30; stroke-width: 3.6; stroke-linecap: round; }
.pg-svg .cone { fill: rgba(246, 185, 59, 0.28); }
.pg-svg .cone-edge { stroke: #d99a1b; stroke-width: 1.6; stroke-dasharray: 4 3; stroke-linecap: round; }
.pg-svg .ph rect { fill: var(--ink); }
.pg-svg .ph .scr { fill: #8fd8cb; }
.pg-svg .ph .lens { fill: var(--marigold); }
.pg .h3 { margin-bottom: 0.4rem; font-size: 1.06rem; }
.pg p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- responsive for the new pages */
@media (max-width: 1180px) {
  .iron-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wood-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .style-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023.98px) {
  .ph-grid, .story, .anat-grid, .contact-grid, .est-page-grid, .finish { grid-template-columns: 1fr; }
  .ph-media { margin: 10px clamp(10px, 4vw, 30px) clamp(14px, 4vw, 30px); }
  .anat, .est-aside { position: static; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-index { position: static; }
  .svc-index ol { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; margin-bottom: 0; }
  .svc-index ol a { padding: 8px 14px; border-radius: 999px; background: var(--mist); font-size: 0.9rem; }
  .svc-index ol a::before { display: none; }
  .svc-index .btn { display: none; }
  .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-band .wrap { padding-bottom: 0; }
  .rail-line { position: relative; display: block; width: min(560px, calc(100% + var(--gutter))); margin: 36px calc(-1 * var(--gutter)) 0 auto; }
  .steps-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 420px; gap: 12px; padding: 0 2px 26px; scrollbar-width: thin; }
  .steps-strip figure { flex: 0 0 210px; scroll-snap-align: start; }
  .steps-strip::after { position: sticky; display: none; }
}
@media (max-width: 680px) {
  .includes { grid-template-columns: 1fr; }
  .principles, .ask-grid, .fit-grid, .photo-guide, .style-cards, .finish-grid { grid-template-columns: 1fr; }
  .wood-cards { grid-template-columns: 1fr; }
  .iron-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iron svg { height: 190px; }
  .svc-photos { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .svc-photos img { aspect-ratio: 4 / 3; height: auto; }
  .svc-photos img:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .ph-badge { width: 100px; height: 100px; right: -4px; top: -14px; }
  .ph-badge b { font-size: 1.8rem; }
  .finish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .call-card strong, .call-card--small strong { font-size: clamp(1.7rem, 9.4vw, 2.6rem); white-space: nowrap; }
  .rv-card { padding: 22px; }
}
.mobile-menu nav a[aria-current="page"] { color: var(--teal-ink); }
.mobile-menu nav a[aria-current="page"]::after { content: "●"; font-size: 0.7em; color: var(--marigold); }
.foot-pages a[aria-current="page"] { color: var(--marigold); }
.foot-pages { columns: 2; column-gap: 18px; }
.foot-pages li { break-inside: avoid; }
.page-hero + .panel, .hero + .panel { margin-top: var(--inset); }
@media (max-width: 1023.98px) {
  .fan { height: clamp(250px, 64vw, 360px); }
  .fan-card { width: clamp(80px, 21vw, 120px); margin-left: calc(clamp(80px, 21vw, 120px) / -2); bottom: 16%; }
}

/* ------------------------------------------------------------------ footer credit (go-live, 2026-11-14) */
.site-footer .foot-copy-line a { color: inherit; font-weight: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
@media (min-width: 821px) { .foot-copy-line { white-space: nowrap; } }
/* the estimate form's photo fields for Netlify (photo1..photo5): never shown, the script fills them */
.photo-slots, .photo-slots[hidden] { display: none; }
