/* tastemaker · macrostructure: Long-Scroll Narrative · mood: industrial-editorial premium · page: spiral-staircases-v2
 * arc: hook(H3) -> fit(F1) -> mechanism(F4) -> proof(F5) -> commitment(spec) -> close(C1)
 * nav: N3 · hero: H3 · footer: Ft2 · knobs: hero=pinned-turning-cutout/two-poster-messages/static-close
 * palette: reference-grounded Wells + Saki · contrast: pass per docs/DESIGN.md
 * critique: ShowTell 5 · Phil 5 · Hier 5 · Spec 5 · Restr 4 · Var 5 */

/* Consolidated nine-section page. Keep markers registered to the uncropped image. */
.proof .detail-stage { height: auto; min-height: 0; aspect-ratio: 1920 / 3274; }
.proof .detail-stage img { object-fit: contain; object-position: center; }
.hero-history { margin: 24px 0 0; color: var(--color-muted); font-size: var(--type-caption); }

.form-preview-note { color: var(--color-muted); font-size: var(--type-caption); }
.detail-close { min-width: 44px; min-height: 44px; }
html:not(.js) [data-preview-form] { display: none; }
@media (max-width: 560px) {
  .proof .detail-stage { height: auto; min-height: 0; }
}

:root {
  --color-page: #F3F0E9;
  --color-surface: #EAE5DC;
  --color-stone: var(--color-surface);
  --color-ink: #171717;
  --color-muted: #595959;
  --color-dark: var(--color-ink);
  --color-dark-raised: var(--color-dark);
  --color-on-dark: var(--color-surface);
  --color-on-dark-muted: var(--color-surface);
  --color-action: #8A2423;
  --color-action-pressed: color-mix(in srgb, var(--color-action) 86%, var(--color-ink));
  --color-on-action: #ffffff;
  --color-rule: color-mix(in srgb, var(--color-ink) 22%, var(--color-surface));
  --color-rule-dark: color-mix(in srgb, var(--color-on-dark) 32%, var(--color-dark));
  --color-border: #65615d;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Instrument Serif", Georgia, serif;
  --type-hero: clamp(42px, 4.7vw, 68px);
  --type-display-xl: clamp(38px, 4vw, 58px);
  --type-display: clamp(30px, 3vw, 42px);
  --type-heading: 30px;
  --type-subheading: clamp(22px, 1.67vw, 24px);
  --type-body-lg: 18px;
  --type-body: 14px;
  --type-caption: 14px;
  --type-display-mobile: 42px;
  --type-heading-mobile: 36px;
  --weight-display: 400;
  --weight-heading: 500;
  --weight-emphasis: 600;
  --tracking-display: -0.045em;
  --tracking-heading: -0.03em;
  --tracking-label: 0.06em;
  --max: 1280px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --header-gutter: clamp(24px, 4vw, 72px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-image: 0 24px 60px rgba(19, 19, 19, 0.12);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--color-page);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font);
  font-size: var(--type-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea { font-family: var(--font); }

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

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
a,
input,
select,
textarea { touch-action: manipulation; }

button,
input,
select,
textarea { font: inherit; }

h1,
h2,
h3,
h4,
p { margin-top: 0; }

h1,
h2,
h3,
h4 {
  font-weight: var(--weight-heading);
  line-height: 1.08;
  text-wrap: balance;
}

h1, h2 { font-family: var(--font-heading); font-synthesis: none; }
h3, h4, h5 { font-family: var(--font); }
h1 { letter-spacing: -1.52px; }
h2 { letter-spacing: -1.24px; }
h3 { letter-spacing: -.64px; }
h4, h5 { font-family: var(--font); letter-spacing: var(--tracking-heading); }

p,
li { text-wrap: pretty; }

ul,
ol { margin: 0; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--color-on-action);
  color: var(--color-ink);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 24px;
  left: 0;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 0 var(--header-gutter);
  border: 0;
  background: transparent;
  color: var(--color-ink);
}

.brand {
  display: block;
  width: 164px;
  height: 48px;
  overflow: hidden;
}

.brand img {
  width: 144px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav-cta,
.text-link {
  font-size: var(--type-caption);
  font-weight: var(--weight-emphasis);
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--color-action);
  color: var(--color-on-action);
  transition: background-color 140ms var(--ease-out), transform 140ms var(--ease-out);
}

.nav-cta:hover { background: var(--color-action-pressed); }
.nav-cta:active { transform: scale(0.98); }

.hero-story {
  position: relative;
  height: 320svh;
  background: var(--color-surface);
}

.hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
  background: var(--color-surface);
  color: var(--color-ink);
}

.hero-media {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  top: 58svh;
  left: 48%;
  width: min(58vw, 860px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center top;
  transform: translateX(-50%);
  filter: drop-shadow(0 32px 48px rgba(19, 19, 19, 0.18));
}

.hero-concept-label {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  left: 50%;
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  transform: translateX(-50%);
}

.hero-opening {
  position: absolute;
  z-index: 3;
  top: clamp(160px, 20svh, 224px);
  left: clamp(28px, 5vw, 88px);
  width: min(46vw, 660px);
  text-align: left;
}

.eyebrow,
.fit-label,
.statement-kicker,
.form-index,
.detail-count {
  margin-bottom: 24px;
  color: var(--color-muted);
  font-size: var(--type-caption);
  font-weight: var(--weight-emphasis);
  letter-spacing: var(--tracking-label);
  line-height: 1.3;
  text-transform: uppercase;
}

.section-number {
  margin-bottom: 24px;
  color: var(--color-muted);
  font-size: var(--type-caption);
  font-weight: var(--weight-heading);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(72px, 7.4vw, 112px);
  font-weight: var(--weight-display);
  line-height: 0.88;
}

.hero-lede,
.hero-boundary {
  max-width: 460px;
  margin-bottom: 16px;
  color: var(--color-muted);
  font-size: var(--type-body-lg);
}

.hero-boundary {
  color: var(--color-on-dark);
  font-weight: var(--weight-emphasis);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.hero .text-link-light { color: var(--color-ink); }

.hero-scroll-message {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  width: 100%;
  padding: var(--gutter);
  color: var(--color-ink);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  pointer-events: none;
}

.hero-scroll-message h2 {
  width: min(30vw, 440px);
  margin: 0 clamp(28px, 4vw, 72px) 0 0;
  font-size: clamp(58px, 5.4vw, 82px);
  font-weight: var(--weight-display);
  line-height: 0.88;
  text-shadow: none;
}

.hero-opening,
.hero-scroll-message,
.hero-media img {
  will-change: transform, opacity;
}

.hero-close {
  position: relative;
  z-index: 6;
  display: grid;
  justify-items: center;
  margin-top: -55svh;
  min-height: 55svh;
  padding: 0 var(--gutter) 80px;
  background: var(--color-surface);
  color: var(--color-ink);
  text-align: center;
}

.hero-close .hero-lede {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--color-ink);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: var(--weight-heading);
  letter-spacing: var(--tracking-heading);
  line-height: 1.14;
}

.hero-close .hero-actions {
  margin-top: 0;
}

.hero-close .cta-note {
  margin-top: 20px;
  color: var(--color-muted);
}

.google-proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 0;
  color: var(--color-ink);
  font-size: var(--type-body);
}

.google-proof-stars {
  width: 104px;
  height: 20px;
  color: var(--color-action);
  fill: currentColor;
  flex: 0 0 auto;
}

.google-proof-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.google-proof strong {
  font-weight: var(--weight-heading);
}

.hero-story-static {
  height: auto;
}

.hero-story-static .hero {
  position: relative;
  display: flex;
  min-height: auto;
  height: auto;
  flex-direction: column;
  overflow: visible;
}

.hero-story-static .hero-media {
  position: relative;
  order: 2;
  min-height: 520px;
  height: 60svh;
}

.hero-story-static .hero-media img {
  top: 0;
  bottom: auto;
  left: 50%;
  width: min(94%, 620px);
  height: 104%;
  transform: translateX(-50%);
  object-position: center bottom;
}

.hero-story-static .hero-concept-label {
  right: 24px;
  bottom: 20px;
  left: auto;
  transform: none;
}

.hero-story-static .hero-opening {
  position: static;
  order: 1;
  width: auto;
  padding: 80px var(--gutter) 48px;
  text-align: left;
  transform: none;
}

.hero-story-static .hero h1 {
  white-space: normal;
}

.hero-story-static .hero-scroll-message {
  position: static;
  order: 3;
  width: auto;
  padding: 96px var(--gutter);
  background: var(--color-surface);
  color: var(--color-ink);
  text-align: left;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hero-story-static .hero-scroll-message h2 {
  text-shadow: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 4px;
  font-size: var(--type-body);
  font-weight: var(--weight-emphasis);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms var(--ease-out), transform 140ms var(--ease-out);
}

.button-primary {
  background: var(--color-action);
  color: var(--color-on-action);
}

.button-primary:hover { background: var(--color-action-pressed); }
.button-secondary {
  background: transparent;
  color: var(--color-on-dark);
  border: 1.5px solid var(--color-on-dark-muted);
}
.button-secondary:hover {
  background: rgba(252, 251, 250, 0.08);
  border-color: var(--color-on-dark);
}
.button:active { transform: scale(0.98); }

.phone-link { display: inline-flex; align-items: center; gap: 8px; }

.hero .eyebrow { color: var(--color-muted); font-weight: 600; letter-spacing: 0.14em; }

.text-link-light {
  color: var(--color-on-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-rule-dark);
  text-underline-offset: 8px;
}

.cta-note {
  max-width: 540px;
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: var(--type-body);
}

.cta-note-light { color: var(--color-on-dark-muted); }

.proof-line {
  max-width: 540px;
  margin: 48px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-rule-dark);
  color: var(--color-on-dark-muted);
  font-size: var(--type-caption);
}

.statement {
  display: grid;
  min-height: 78vh;
  padding: 128px var(--gutter);
  place-items: center;
}

.statement > * { width: min(100%, 1100px); }

.statement-kicker { margin-bottom: 48px; }

.statement h2 {
  margin: 0;
  font-size: var(--type-display-xl);
  font-weight: var(--weight-display);
  line-height: 1.02;
}

.section {
  padding: 128px max(var(--gutter), calc((100vw - var(--max)) / 2));
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.6fr);
  column-gap: 80px;
  row-gap: 24px;
  max-width: var(--max);
  margin: 0 auto 96px;
}

.section-intro .section-number { grid-column: 1 / -1; margin-bottom: 0; }

.section-intro h2,
.inputs-copy h2,
.process-heading h2,
.quote-media-copy h2,
.fabrication-copy h2 {
  margin-bottom: 0;
  font-size: var(--type-display);
  font-weight: var(--weight-display);
}

.section-intro p:not(.section-number) {
  align-self: end;
  max-width: 52ch;
  margin-bottom: 0;
  color: var(--color-muted);
}

.section-intro-wide {
  display: block;
  max-width: 900px;
  margin-inline-start: 0;
}

.section-intro-wide .section-number { margin-bottom: 24px; }
.section-intro-wide h2 { margin-bottom: 32px; }
.section-intro-wide p:not(.section-number) { max-width: 60ch; }

.project-fit { padding-top: 96px; }

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.7fr;
  align-items: start;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.project-card { margin: 0; }

.project-card img {
  width: 100%;
  background: var(--color-surface);
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.project-card-wide img { aspect-ratio: 1.38 / 1; }
.project-card-tall { margin-top: 144px; }
.project-card-tall img { aspect-ratio: 0.72 / 1; }
.project-card-small { margin-top: 56px; }
.project-card-small img { aspect-ratio: 0.72 / 1; }

.project-caption {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px 16px;
  padding-top: 20px;
}

.project-caption span,
.step-number,
.process-ledger > li > span{
  color: var(--color-muted);
  font-size: var(--type-caption);
  font-weight: var(--weight-emphasis);
  font-variant-numeric: tabular-nums;
}

.project-caption h3 {
  margin-bottom: 8px;
  font-size: var(--type-subheading);
  font-weight: var(--weight-heading);
}

.project-caption p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--type-body);
}

.fit-check {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 0.7fr;
  gap: 64px;
  max-width: var(--max);
  margin: 128px auto 0;
  padding: 64px 0;
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
}

.fit-check h3 { margin-bottom: 0; font-size: var(--type-heading); }
.fit-check ul { padding-left: 20px; }
.fit-check li + li { margin-top: 12px; }
.fit-check > p { margin-bottom: 0; color: var(--color-muted); }

.space-comparison {
  --color-on-dark-muted: var(--color-muted);
  --color-rule-dark: var(--color-rule);
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  background: var(--color-page);
  color: var(--color-ink);
}

.space-comparison-copy { max-width: 520px; }
.space-comparison-copy .section-number { color: var(--color-on-dark-muted); }
.space-comparison-copy h2 { margin-bottom: 28px; font-size: var(--type-display); }
.space-comparison-copy > p:not(.section-number):not(.cta-note) { color: var(--color-on-dark-muted); }
.space-comparison-copy .button { margin-top: 24px; }

.comparison-shell { min-width: 0; }
.comparison-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--color-rule-dark);
  border-radius: 8px;
  background: var(--color-dark-raised);
  box-shadow: var(--shadow-image);
  isolation: isolate;
}

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.comparison-after-wrap {
  position: absolute;
  z-index: 1;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.comparison-label {
  position: absolute;
  z-index: 3;
  top: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.82);
  color: var(--color-on-dark);
  font-size: var(--type-caption);
  font-weight: var(--weight-emphasis);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  transition: opacity 180ms var(--ease-out);
}

.comparison-label-after { left: 20px; opacity: var(--after-label-opacity); }
.comparison-label-before { right: 20px; opacity: var(--before-label-opacity); }

.comparison-divider {
  position: absolute;
  z-index: 3;
  top: 0;
  left: var(--reveal);
  width: 2px;
  height: 100%;
  background: var(--color-on-dark);
  pointer-events: none;
  transform: translateX(-1px);
  box-shadow: 0 0 18px rgba(19, 19, 19, 0.32);
}

.comparison-handle {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: var(--handle-position);
  display: grid;
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-ink);
  border-radius: 50%;
  background: var(--color-on-dark);
  color: var(--color-ink);
  place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 28px rgba(19, 19, 19, 0.38);
  transition: transform 180ms var(--ease-out);
}

.comparison-handle svg {
  width: 36px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comparison-range {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 0;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  box-shadow: none;
  cursor: ew-resize;
  transform: translateY(-50%);
}

.comparison-range::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.comparison-range::-moz-range-track { height: 2px; background: transparent; }
.comparison-range::-webkit-slider-thumb {
  width: 60px;
  height: 60px;
  margin-top: -29px;
  appearance: none;
  border: 0;
  background: transparent;
}
.comparison-range::-moz-range-thumb {
  width: 60px;
  height: 60px;
  border: 0;
  background: transparent;
}
.comparison-range:focus,
.comparison-range:focus-visible { border: 0; outline: 0; }
.comparison-frame:has(.comparison-range:focus-visible) .comparison-handle { box-shadow: 0 0 0 4px var(--color-action), 0 10px 28px rgba(19, 19, 19, 0.38); }
.comparison-instruction {
  margin: 16px 0 0;
  text-align: center;
  color: var(--color-on-dark-muted);
  font-size: var(--type-caption);
}
.comparison-shell .concept-boundary {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--color-rule-dark);
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}

.process-short { background: var(--color-surface); }

.process-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: var(--max);
  padding: 0;
  list-style: none;
}

.process-track li {
  padding: 32px 40px 24px 0;
  border-top: 1px solid var(--color-ink);
}

.process-track li + li { padding-left: 40px; border-left: 1px solid var(--color-rule); }
.process-track h3 { margin: 48px 0 16px; font-size: var(--type-subheading); font-weight: var(--weight-heading); }
.process-track p { max-width: 34ch; margin-bottom: 0; color: var(--color-muted); }

.chapter-light {
  --color-on-dark: var(--color-ink);
  --color-on-dark-muted: var(--color-muted);
  --color-rule-dark: var(--color-rule);
  background: var(--color-page);
  color: var(--color-ink);
}

.fabrication {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  min-height: 1100px;
}

.fabrication-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.fabrication-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.82) contrast(1.05);
}

.media-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  background: rgba(19,19,19,0.82);
  color: var(--color-on-dark-muted);
  font-size: var(--type-caption);
}

.fabrication-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px clamp(40px, 6vw, 96px);
}

.section-number-dark { color: var(--color-on-dark-muted); }
.fabrication-copy h2 { margin-bottom: 40px; }
.fabrication-copy > p:not(.section-number):not(.cta-note) { color: var(--color-on-dark-muted); }

.fab-intro { max-width: 520px; margin-bottom: 48px; }

.fab-points {
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--color-rule-dark);
}

.fab-points li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--color-rule-dark);
}

.fab-index { grid-row: 1 / span 2; color: var(--color-on-dark-muted); font-size: var(--type-caption); line-height: 1.6; }
.fab-points h3 {
  margin-bottom: 8px;
  color: var(--color-on-dark);
  font-size: var(--type-caption);
  font-weight: var(--weight-emphasis);
  line-height: 1.4;
  text-transform: uppercase;
}
.fab-points p { margin-bottom: 0; color: var(--color-on-dark-muted); }
.fabrication-copy .button { align-self: flex-start; }

.proof { padding-bottom: 144px; }

.detail-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto 80px;
}

.detail-stage {
  position: relative;
  height: min(76vw, 850px);
  min-height: 680px;
  margin: 0;
  background: var(--color-dark);
}

.detail-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 52%;
  filter: saturate(0.82) contrast(1.05);
}

.hotspot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  place-items: center;
  transform: translate(-50%, -50%);
}

.hotspot > span:first-child {
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-ink);
  border-radius: 50%;
  background: var(--color-page);
  font-size: 0;
  place-items: center;
  box-shadow: 0 8px 22px rgba(19, 19, 19, 0.2);
}

.hotspot > span:first-child::before,
.hotspot > span:first-child::after {
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.hotspot > span:first-child::after { transform: rotate(90deg); }
.hotspot.is-active > span:first-child { background: var(--color-action); color: var(--color-on-action); }
.hotspot.is-active > span:first-child::after { transform: rotate(0); }

.detail-popover {
  --popover-origin: left center;
  position: absolute;
  z-index: 5;
  top: var(--panel-y, 24%);
  left: 24px;
  width: min(460px, calc(100% - 48px));
  padding: 28px 64px 28px 28px;
  border: 1px solid var(--color-rule);
  border-radius: 8px;
  background: var(--color-page);
  color: var(--color-ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) scale(0.96);
  transform-origin: var(--popover-origin);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
  box-shadow: 0 18px 48px rgba(19, 19, 19, 0.18);
}

.detail-popover[data-side="right"] { right: 24px; left: auto; --popover-origin: right center; }
.detail-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
  transition-delay: 0s;
}
.detail-popover .detail-count { margin-bottom: 12px; }
.detail-popover h3 { margin-bottom: 10px; font-size: var(--type-subheading); }
.detail-popover p:last-child { margin-bottom: 0; color: var(--color-muted); }
.detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-on-dark);
  cursor: pointer;
  place-items: center;
}
.detail-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.proof-copy { max-width: 520px; }
.proof-copy .section-number { margin-bottom: 24px; }
.proof-copy h2 { margin-bottom: 28px; font-size: var(--type-display); font-weight: var(--weight-display); }
.proof-copy > p:not(.section-number):not(.cta-note) { color: var(--color-muted); }
.proof-copy .detail-prompt { margin: 32px 0; padding-top: 20px; border-top: 1px solid var(--color-rule); font-size: var(--type-caption); }
.proof-copy .button { margin-top: 8px; }
.detail-static { padding: 24px; background: var(--color-surface); list-style-position: inside; }
.detail-static li + li { margin-top: 12px; }

.gallery-action { max-width: var(--max); margin: 80px auto 0; }

.testimonials { background: var(--color-page); }
















.project-inputs {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 112px;
  background: var(--color-surface);
}

.inputs-copy { align-self: center; max-width: 600px; }
.inputs-copy h2 { margin-bottom: 32px; }
.inputs-copy > p:not(.section-number) { color: var(--color-muted); }

.input-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin: 40px 0;
  padding: 0;
  list-style: none;
}

.input-list li { padding-top: 12px; border-top: 1px solid var(--color-rule); }
.inputs-copy .reassurance { padding: 24px; border-top: 1px solid var(--color-action); background: var(--color-page); color: var(--color-ink) !important; }

.dimension-visual {
  align-self: center;
  padding: 48px;
  border-radius: 8px;
  background: var(--color-stone);
}

.diagram-shell {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: end;
  min-height: 500px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(19,19,19,0.35);
}

.diagram-elevation,
.diagram-plan { position: relative; min-height: 420px; }
.diagram-rail,
.diagram-column,
.diagram-step,
.plan-circle,
.plan-center { position: absolute; display: block; }

.diagram-column { bottom: 40px; left: 50%; width: 8px; height: 330px; background: var(--color-ink); }
.diagram-rail { bottom: 50px; left: 18%; width: 64%; height: 310px; border: 4px solid var(--color-ink); border-right-color: transparent; border-radius: 50% 0 0 50%; transform: skewY(-8deg); }
.diagram-step { left: 30%; width: 40%; height: 4px; background: var(--color-ink); }
.step-a { bottom: 90px; transform: rotate(-14deg); }
.step-b { bottom: 140px; transform: rotate(-8deg); }
.step-c { bottom: 190px; }
.step-d { bottom: 240px; transform: rotate(8deg); }
.step-e { bottom: 290px; transform: rotate(14deg); }
.measure { position: absolute; padding: 8px 12px; background: var(--color-page); font-size: var(--type-caption); font-weight: var(--weight-emphasis); }
.measure-height { right: -8px; top: 36%; writing-mode: vertical-rl; transform: rotate(180deg); }
.diagram-plan { min-height: 280px; }
.plan-circle { bottom: 60px; left: 50%; width: 210px; height: 210px; border: 4px solid var(--color-ink); border-radius: 50%; transform: translateX(-50%); }
.plan-center { bottom: 160px; left: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--color-action); transform: translate(-50%, 50%); }
.measure-opening { bottom: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.dimension-visual > p { max-width: 50ch; margin: 24px 0 0; color: var(--color-muted); font-size: var(--type-caption); }

.quote-form { scroll-margin-top: 100px; }
.quote-form .form-step h3 { scroll-margin-top: 100px; }
.quote-form .form-dimension-visual { margin: 24px 0; padding: 20px; }
.quote-form .form-dimension-visual .diagram-shell {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  min-height: 154px;
  padding-bottom: 12px;
}
.quote-form .form-dimension-visual .diagram-elevation,
.quote-form .form-dimension-visual .diagram-plan { min-height: 140px; }
.quote-form .form-dimension-visual .diagram-column { bottom: 35px; height: 92px; width: 4px; }
.quote-form .form-dimension-visual .diagram-rail { bottom: 42px; height: 85px; border-width: 2px; }
.quote-form .form-dimension-visual .diagram-step { height: 2px; }
.quote-form .form-dimension-visual .step-a { bottom: 50px; }
.quote-form .form-dimension-visual .step-b { bottom: 65px; }
.quote-form .form-dimension-visual .step-c { bottom: 80px; }
.quote-form .form-dimension-visual .step-d { bottom: 95px; }
.quote-form .form-dimension-visual .step-e { bottom: 110px; }
.quote-form .form-dimension-visual .plan-circle { bottom: 38px; width: 90px; height: 90px; border-width: 2px; }
.quote-form .form-dimension-visual .plan-center { bottom: 83px; width: 8px; height: 8px; }
.quote-form .form-dimension-visual .measure {
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 4px;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  writing-mode: horizontal-tb;
  transform: none;
}
.quote-form .form-dimension-visual > p { margin-top: 12px; }

.full-process {
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.25fr);
  gap: 112px;
  padding: 128px max(var(--gutter), calc((100vw - var(--max)) / 2));
}

.process-heading { position: sticky; top: 120px; align-self: start; }
.process-heading h2 { max-width: 580px; }
.process-ledger { padding: 0; list-style: none; }

.process-ledger li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  min-height: 170px;
  padding: 32px 0;
  border-top: 1px solid var(--color-rule-dark);
  opacity: 1;
}

.process-ledger li.is-active { opacity: 1; }
.process-ledger li[data-phase] { margin-top: 32px; }
.process-ledger li[data-phase]::before {
  grid-column: 1 / -1;
  margin-bottom: 12px;
  color: var(--color-on-dark-muted);
  content: attr(data-phase);
  font-size: var(--type-caption);
  font-weight: var(--weight-emphasis);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.process-ledger li:last-child { border-bottom: 1px solid var(--color-rule-dark); }
.process-ledger > li > span { color: var(--color-on-dark-muted); }
.process-ledger h3 { margin-bottom: 12px; font-size: var(--type-subheading); font-weight: var(--weight-heading); }
.process-ledger p { max-width: 52ch; margin-bottom: 0; color: var(--color-on-dark-muted); }

.quote {
  display: grid;
  grid-template-columns: minmax(420px, 0.8fr) minmax(0, 1.2fr);
  background: var(--color-page);
}

.quote-media {
  position: relative;
  min-height: clamp(820px, 92vh, 1040px);
  overflow: hidden;
  background: var(--color-dark);
}

.quote-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,19,19,0.05) 32%, rgba(19,19,19,0.86) 78%);
  content: "";
}

.quote-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 44% center; filter: saturate(0.82) contrast(1.05); }

.quote-media-copy {
  position: absolute;
  z-index: 2;
  right: clamp(32px, 5vw, 80px);
  bottom: 80px;
  left: clamp(32px, 5vw, 80px);
  color: var(--color-on-dark);
}

.quote-media-copy h2 { max-width: 620px; margin-bottom: 32px; }
.quote-media-copy p:not(.section-number) { max-width: 55ch; color: var(--color-on-dark-muted); }
.quote-media-copy .response-line { color: var(--color-on-dark); font-weight: var(--weight-emphasis); }

.quote-form { min-width: 0; background: var(--color-page); }
.form-progress {
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0 clamp(32px, 5vw, 72px);
  border-bottom: 1px solid var(--color-rule);
  list-style: none;
}
.js .form-progress { display: grid; }
.form-progress li { min-width: 0; }
.form-progress li + li { border-left: 1px solid var(--color-rule); }
.form-progress button {
  display: grid;
  width: 100%;
  min-height: 112px;
  padding: 24px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  text-align: left;
  cursor: pointer;
}
.form-progress button:disabled { cursor: default; opacity: 0.55; }
.form-progress span { font-size: 12px; letter-spacing: 0.14em; }
.form-progress strong { align-self: end; overflow: hidden; font-size: clamp(13px, 1.05vw, 16px); font-weight: var(--weight-emphasis); text-overflow: ellipsis; white-space: nowrap; }
.form-progress .is-current button,
.form-progress .is-complete button { color: var(--color-ink); }
.form-progress .is-current button { box-shadow: inset 0 -3px 0 var(--color-action); }
.form-step {
  min-width: 0;
  margin: 0;
  padding: clamp(64px, 7vw, 104px) clamp(32px, 6vw, 96px);
  border: 0;
}
.js .form-step:not(.is-active) { display: none; }
.form-step h3 { max-width: 24ch; margin: 10px 0 16px; font-size: var(--type-subheading); line-height: 1.3; }
.form-step-intro { max-width: 52ch; margin-bottom: 48px; color: var(--color-muted); }
.field-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.project-choice-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choice-question { grid-column: 1 / -1; margin: 0 0 2px; color: var(--color-ink); font-size: var(--type-caption); font-weight: var(--weight-emphasis); }
.environment-choice-set { margin-top: 8px; }
.project-choice { position: relative; display: grid; min-height: 0; overflow: hidden; border: 1px solid var(--color-rule); background: var(--color-surface); color: var(--color-ink); cursor: pointer; transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out); }
.project-choice:hover { border-color: var(--color-ink); transform: translateY(-2px); }
.project-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.project-choice img { width: 100%; aspect-ratio: 1.48 / 1; object-fit: cover; filter: saturate(0.78) contrast(1.02); transition: transform 400ms var(--ease-out), filter 200ms var(--ease-out); }
.project-choice > span { display: grid; gap: 6px; padding: 20px; }
.project-choice strong { font-size: 18px; font-weight: var(--weight-emphasis); }
.project-choice small { color: var(--color-muted); font-size: var(--type-caption); line-height: 1.45; }
.project-choice:has(input:checked) { border-color: var(--color-action); box-shadow: inset 0 0 0 2px var(--color-action); }
.project-choice:has(input:checked) img { filter: saturate(1); transform: scale(1.025); }
.project-choice:has(input:focus-visible) { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.project-choice-text { grid-column: 1 / -1; min-height: 88px; align-content: center; background: transparent; }
.form-details { padding-top: 4px; border-top: 1px solid var(--color-rule); }
.form-details summary { padding: 18px 0; color: var(--color-ink); font-size: var(--type-caption); font-weight: var(--weight-emphasis); cursor: pointer; }
.form-details summary em { color: var(--color-muted); font-style: normal; font-weight: var(--weight-display); }
.form-details > div { display: grid; gap: 24px; padding: 16px 0 4px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 10px; }
.field-full { grid-column: 1 / -1; }
.field > span,
.upload > span { color: var(--color-ink); font-size: var(--type-caption); font-weight: var(--weight-emphasis); }
.field em,
.upload em { margin-inline-start: 0.35em; color: var(--color-muted); font-style: normal; font-weight: var(--weight-display); }

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  color: var(--color-ink);
  transition: border-color 140ms var(--ease-out);
}

textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus { border-color: var(--color-ink); outline: 2px solid var(--color-ink); outline-offset: 4px; }
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] { border-color: var(--color-action); }

.field small,
.upload small { color: var(--color-muted); font-size: var(--type-caption); }
.field small.error { display: flex; gap: 8px; align-items: flex-start; color: var(--color-ink); font-weight: var(--weight-emphasis); }
.project-choice-set + .error { display: flex; grid-column: 1 / -1; gap: 8px; align-items: flex-start; margin: -12px 0 0; color: var(--color-ink); font-size: var(--type-caption); font-weight: var(--weight-emphasis); }
.error-icon { display: inline-grid; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 12px; line-height: 1; place-items: center; }

.upload {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: center;
  min-height: 112px;
  padding: 24px;
  border: 1px dashed var(--color-border);
  background: var(--color-page);
  cursor: pointer;
}

.upload input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.upload strong { grid-row: 1 / 3; grid-column: 2; padding: 12px 16px; border-radius: 4px; background: var(--color-ink); color: var(--color-on-dark); font-size: var(--type-caption); }
.form-navigation { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--color-rule); }
.form-navigation-next { justify-content: flex-end; }
.form-navigation .cta-note { flex-basis: 100%; margin: 0; }
.form-navigation .button-secondary { border-color: var(--color-border); color: var(--color-ink); }
.form-navigation .button-secondary:hover { border-color: var(--color-ink); background: var(--color-surface); }
.form-submit { margin-top: 48px; }
.form-submit .form-status { flex-basis: 100%; }
.form-status { margin: 16px 0 0; color: var(--color-ink); font-weight: var(--weight-emphasis); }
.form-status.is-error { color: var(--color-ink); }
.quote-form.is-sending button[type="submit"] { cursor: wait; }


.confirmation-page { min-height: 100svh; background: var(--color-dark); color: var(--color-on-dark); }
.confirmation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  min-height: 88px;
  margin: 0 auto;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--color-rule-dark);
}
.confirmation {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: calc(100svh - 88px);
}
.confirmation-copy { align-self: center; max-width: 720px; padding: 96px max(var(--gutter), calc((100vw - 1440px) / 2)); }
.confirmation-copy[hidden] { display: none; }
.confirmation-label { margin-bottom: 24px; color: var(--color-on-dark-muted); font-size: var(--type-caption); font-weight: var(--weight-emphasis); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.confirmation-copy h1 { max-width: 680px; margin-bottom: 32px; font-size: var(--type-hero); font-weight: var(--weight-display); }
.confirmation-copy > p:not(.confirmation-label) { max-width: 60ch; color: var(--color-on-dark-muted); }
.confirmation-copy a:not(.button) { color: var(--color-on-dark); }
.confirmation-next { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--color-rule-dark); }
.confirmation-next h2 { margin-bottom: 32px; font-size: var(--type-heading); }
.confirmation-next ol { padding: 0; list-style: none; }
.confirmation-next li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--color-rule-dark); }
.confirmation-next li span { color: var(--color-on-dark-muted); font-size: var(--type-caption); }
.confirmation-next li p { margin: 0; }
.confirmation-media { min-height: 720px; margin: 0; overflow: hidden; }
.confirmation-media img { width: 100%; height: 100%; object-fit: cover; object-position: 44% center; filter: saturate(0.82) contrast(1.05); }

.js .reveal:not(.project-card) { opacity: 0; transform: translateY(16px); }
.capture .reveal { opacity: 1 !important; transform: none !important; }
.capture .hero-story { height: auto; }
.capture .hero { position: relative; }
.capture .process-heading { position: static !important; }
.capture .skip-link { display: none !important; }

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .nav-cta:hover { transform: translateY(-1px); }
  .project-card img { transition: transform 240ms var(--ease-out); }
  .project-card:hover img { transform: scale(1.015); }
  .media-zoom img { transition: transform 240ms var(--ease-out); }
  .media-zoom:hover img { transform: scale(1.015); }
  .comparison-frame:has(.comparison-range:hover) .comparison-handle { transform: translate(-50%, -50%) scale(1.04); }
}

@media (max-width: 1100px) {
  .hero { min-height: 760px; }
  .hero-media img { width: min(66vw, 760px); }
  .site-header { grid-template-columns: 1fr auto; }
  .project-grid { grid-template-columns: 1.2fr 0.8fr; }
  .project-card-small { grid-column: 1 / -1; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; align-items: end; margin-top: 32px; }
  .project-card-small img { aspect-ratio: 1.3 / 1; }
  .fit-check { grid-template-columns: 1fr 1fr; }
  .fit-check > p { grid-column: 2; }
  .project-inputs,
  .full-process{ gap: 64px; }
  
  
  
  
  
}

@media (max-width: 860px) {
  .site-header { top: 16px; width: 100%; min-height: 56px; padding: 0 16px; }
  .brand { width: 132px; height: 44px; }
  .brand img { width: 132px; height: 44px; }
  .nav-cta { min-height: 44px; padding: 10px 16px; }

  .hero-story { height: auto; }
  .hero { position: relative; display: flex; min-height: auto; height: auto; flex-direction: column; padding-top: 0; overflow: visible; }
  .hero-opening { position: static; order: 1; width: auto; padding: 128px var(--gutter) 48px; text-align: left; transform: none; }
  .hero-media { position: relative; order: 2; min-height: 440px; height: 54svh; }
  .hero-media img { top: 0; bottom: auto; left: 50%; width: min(94%, 560px); height: 104%; transform: translateX(-50%); object-position: center bottom; }
  .hero-concept-label { right: 24px; bottom: 20px; left: auto; transform: none; }
  .hero h1 { font-size: clamp(60px, 12vw, 92px); white-space: normal; }
  .hero-scroll-message {
    position: static;
    order: 3;
    width: auto;
    padding: 88px var(--gutter);
    background: var(--color-surface);
    color: var(--color-ink);
    text-align: left;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .hero-scroll-message h2 { width: auto; max-width: 720px; margin: 0; font-size: var(--type-display-mobile); line-height: 1.05; }
  .hero-close { margin-top: 0; min-height: auto; padding-top: 80px; padding-bottom: 96px; }

  .statement { min-height: 68vh; padding: 96px var(--gutter); }
  .section { padding: 96px var(--gutter); }
  .section-intro { display: block; margin-bottom: 64px; }
  .section-intro .section-number { margin-bottom: 24px; }
  .section-intro h2 { margin-bottom: 24px; }

  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card-wide { grid-column: 1 / -1; }
  .project-card-wide img { aspect-ratio: 1.4 / 1; }
  .project-card-tall,
  .project-card-small { display: block; grid-column: auto; margin-top: 32px; }
  .project-card-small img { aspect-ratio: 0.72 / 1; }
  .fit-check { display: block; margin-top: 80px; padding: 48px 0; }
  .fit-check ul { margin: 32px 0; }

  .process-track { grid-template-columns: 1fr; }
  .process-track li { min-height: auto; padding: 32px 0 48px; }
  .process-track li + li { padding-left: 0; border-left: 0; }
  .process-track h3 { margin-top: 40px; }

  .fabrication { display: flex; min-height: auto; flex-direction: column; }
  .fabrication-media { height: 82vh; }
  .fabrication-copy { padding: 96px var(--gutter); }

  .detail-feature { grid-template-columns: 1fr; }
  .detail-stage { height: 82vh; min-height: 640px; }
  .proof-copy { max-width: 680px; }

  .space-comparison { grid-template-columns: 1fr; }
  .space-comparison-copy { max-width: 680px; }


  .project-inputs,
  .full-process,
  .quote { grid-template-columns: 1fr; }
  .inputs-copy { max-width: none; }
  .dimension-visual { padding: 32px; }
  
  
  
  
  

  .full-process { padding: 96px var(--gutter); }
  .process-heading { position: static; }
  .process-ledger li { opacity: 1; transform: none; }
  
  .quote-media { min-height: 820px; }
  .form-step { padding-right: var(--gutter); padding-left: var(--gutter); }
  .confirmation { grid-template-columns: 1fr; }
  .confirmation-copy { order: 2; padding: 80px var(--gutter); }
  .confirmation-media { order: 1; min-height: 46svh; }
}

@media (max-width: 560px) {
  body { font-size: var(--type-body); }
  .site-header { width: 100%; padding-inline: 12px; }
  .brand { width: 112px; }
  .brand img { width: 112px; }
  .nav-cta { padding: 10px 12px; font-size: var(--type-caption); }

  .hero-media { min-height: 460px; height: 58svh; }
  .hero-media img { top: 0; left: 50%; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform: translateX(-50%); }
  .hero-opening { padding-top: 112px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(58px, 16vw, 72px); line-height: 0.9; }
  .hero-close .hero-lede { font-size: 30px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-actions .button { width: 100%; }

  .statement { min-height: 64vh; padding-top: 88px; padding-bottom: 88px; }
  .statement-kicker { margin-bottom: 32px; }
  .statement h2 { font-size: var(--type-display-mobile); line-height: 1.05; }

  .section { padding-top: 88px; padding-bottom: 88px; }
  .section-intro h2,
  .inputs-copy h2,
  .process-heading h2,
  .quote-media-copy h2,
  .fabrication-copy h2 { font-size: var(--type-heading-mobile); }

  .project-grid { grid-template-columns: 1fr; gap: 64px; }
  .project-card-wide { grid-column: auto; }
  .project-card-wide img,
  .project-card-tall img,
  .project-card-small img { aspect-ratio: 0.82 / 1; }
  .project-card-tall,
  .project-card-small { margin: 0; }

  .fabrication-media { height: 68vh; }
  .fabrication-copy { padding: 96px var(--gutter); }
  .fabrication-copy .button,
  .gallery-action .button{ width: 100%; white-space: normal; }

  .proof { padding-bottom: 112px; }
  .detail-stage { height: 68vh; min-height: 560px; }
  .detail-popover,
  .detail-popover[data-side="right"] {
    top: auto;
    right: 20px;
    bottom: 20px;
    left: 20px;
    width: auto;
    transform: translateY(12px) scale(0.97);
    transform-origin: bottom center;
  }
  .detail-popover.is-open { transform: translateY(0) scale(1); }
  .proof-copy .button { width: 100%; }


  .space-comparison-copy .button { width: 100%; white-space: normal; }
  .comparison-label { top: 12px; padding: 6px 9px; }
  .comparison-label-after { left: 12px; }
  .comparison-label-before { right: 12px; }
  .comparison-range,
  .comparison-range::-webkit-slider-thumb { width: 44px; height: 44px; }
  .comparison-range { width: 100%; }
  .comparison-range::-webkit-slider-thumb { margin-top: -21px; }
  .comparison-range::-moz-range-thumb { width: 44px; height: 44px; }
  .comparison-handle { width: 52px; height: 52px; }

  .project-inputs { gap: 64px; }
  .input-list { grid-template-columns: 1fr; }
  .dimension-visual { margin: 0 -8px; padding: 24px; }
  .form-dimension-visual { margin: 32px 0; }
  .diagram-shell { grid-template-columns: 1fr; min-height: 720px; }
  .diagram-plan { min-height: 250px; }

  
  
  .full-process { padding-top: 96px; padding-bottom: 96px; }
  .process-ledger li { grid-template-columns: 36px 1fr; gap: 16px; }
  
  
  

  .quote-media { min-height: 720px; }
  .quote-media-copy { right: 24px; bottom: 48px; left: 24px; }
  .form-progress { padding: 0 12px; }
  .form-progress button { min-height: 88px; padding: 16px 10px; }
  .form-progress strong { font-size: 11px; }
  .form-step { padding-top: 64px; padding-bottom: 64px; }

  .project-choice-set { grid-template-columns: 1fr; }
  .project-choice img { aspect-ratio: 1.7 / 1; }
  .form-navigation { align-items: stretch; }
  .form-navigation .button { flex: 1 1 100%; text-align: center; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .upload { grid-template-columns: 1fr; }
  .upload strong { grid-row: auto; grid-column: auto; justify-self: start; }

  .confirmation-header { min-height: 72px; padding-block: 12px; }
  .confirmation-header .brand,
  .confirmation-header .brand img { width: 120px; height: 40px; }
  .confirmation-copy h1 { font-size: var(--type-display-mobile); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-story { height: auto !important; }
  .hero { position: relative !important; display: flex; min-height: auto; height: auto; flex-direction: column; overflow: visible; }
  .hero-opening { position: static; order: 1; width: auto; padding: 128px var(--gutter) 48px; text-align: left; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .hero-media { position: relative; order: 2; min-height: 520px; height: 60svh; }
  .hero-media img { top: 0; bottom: auto; left: 50%; width: min(94%, 620px); height: 104%; transform: translateX(-50%) !important; object-position: center bottom; }
  .hero-concept-label { right: 24px; bottom: 20px; left: auto; transform: none; }
  .hero h1 { white-space: normal; }
  .hero-scroll-message { position: static; order: 3; width: auto; padding: 96px var(--gutter); background: var(--color-surface); color: var(--color-ink); text-align: left; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .hero-close { margin-top: 0 !important; min-height: auto; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 560px) {
  .hero-media { min-height: 460px; height: 58svh; }
  .hero-media img { top: 0; left: 50%; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transform: translateX(-50%) !important; }
}

/* ============================================================
   Micro-interaction layer
   Transform and opacity only. No layout-affecting transitions.
   Nothing here carries meaning absent from the static state.
   ============================================================ */

:root{
  --micro: 180ms;
  --micro-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Media: the frame is fixed, only hover-capable pointers receive emphasis */
.media-zoom { overflow: hidden; }

/* Primary and secondary actions */
.button {
  transition: background-color var(--micro) var(--micro-ease),
              transform var(--micro) var(--micro-ease),
              box-shadow var(--micro) var(--micro-ease);
}
.button-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--color-action) 26%, transparent); }
.button-primary:active { transform: translateY(0) scale(.99); box-shadow: none; }
.button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Text links: underline sweeps in rather than blinking on */
.link-sweep { position: relative; }
.link-sweep { text-decoration: none; background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size 260ms var(--micro-ease); padding-bottom: 2px; }
.link-sweep:hover, .link-sweep:focus-visible { background-size: 100% 1px; }

/* Grouped items animate in sequence, never individually jumping */
.js .stagger { opacity: 1; transform: none; }
.capture .stagger { opacity: 1 !important; transform: none !important; }

/* Section numbers arrive just ahead of their heading */
.js .section-number { opacity: 0; transform: translateY(8px); }
.capture .section-number { opacity: 1 !important; transform: none !important; }

/* Form fields: the underline thickens toward focus */
.quote-form input,
.quote-form select,
.quote-form textarea {
  transition: border-color var(--micro) var(--micro-ease),
              box-shadow var(--micro) var(--micro-ease),
              background-color var(--micro) var(--micro-ease);
}
.quote-form input:focus-visible,
.quote-form select:focus-visible,
.quote-form textarea:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }

.upload:focus-within {
  outline: 3px solid var(--color-ink);
  outline-offset: 4px;
}

.quote-form .upload input:focus-visible { outline: 0; }

@media (prefers-reduced-motion: reduce){
  .js .stagger, .js .section-number { opacity: 1; transform: none; }
  .media-zoom img, .button, .link-sweep,
  .quote-form input, .quote-form select, .quote-form textarea,
  .process-ledger > li { transition: none !important; }
  .media-zoom:hover img { transform: none; }
  .button-primary:hover, .button-primary:active { transform: none; box-shadow: none; }
}

/* Authentic hero: the offer and action are visible without a scroll sequence. */
.hero.hero-authentic {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  height: auto;
  min-height: 100svh;
  padding: 108px var(--gutter) 40px;
  overflow: visible;
}
.hero-authentic .hero-opening {
  order: 0;
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  padding: 0;
  transform: none;
}
.hero-authentic h1 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.04; white-space: normal; }
.hero-authentic .hero-lede { margin: 24px 0; max-width: 39ch; font-size: 19px; }
.hero-authentic .hero-actions { margin-bottom: 12px; }
.hero-authentic .cta-note { max-width: 40ch; }
.hero-authentic .google-proof { justify-content: flex-start; margin-top: 18px; font-size: 16px; }
.hero-authentic .hero-media {
  position: relative;
  inset: auto;
  display: block;
  height: auto;
  min-height: 0;
  overflow: visible;
}
.hero-authentic .hero-media img {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  display: block;
  width: 100%;
  height: auto;
  max-height: min(600px, calc(100svh - 180px));
  object-fit: contain;
  object-position: center;
  transform: none !important;
  filter: none;
}
.hero-authentic .hero-media figcaption { margin-top: 12px; color: var(--color-muted); font-size: 14px; text-align: center; }
@media (max-width: 860px) {
  .hero.hero-authentic { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding-top: 104px; }
  .hero-authentic h1 { max-width: 12ch; font-size: clamp(40px, 8vw, 64px); }
  .hero-authentic .hero-lede { font-size: 18px; margin: 20px 0; }
  .hero-authentic .hero-media { order: 1; }
  .hero-authentic .hero-media img { max-height: 620px; }
}
@media (max-width: 380px) {
  .hero.hero-authentic { padding-top: 96px; }
  .hero-authentic h1 { font-size: 36px; }
  .hero-authentic .hero-lede { font-size: 17px; margin: 16px 0; }
  .hero-authentic .google-proof { margin-top: 12px; }
}

/* Three real applications, directly visible. No repeated hero or generic part labels. */
.proof .proof-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: end;
  column-gap: clamp(32px, 6vw, 96px);
  max-width: var(--max);
  margin: 0 auto 40px;
}
.proof .proof-copy .section-number { grid-column: 1 / -1; margin-bottom: 20px; }
.proof .proof-copy h2 { margin-bottom: 0; }
.proof .proof-copy > p:last-child { margin: 0; max-width: 42ch; }
@media (max-width: 640px) {
  .proof .proof-copy { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .proof .proof-copy .section-number { margin-bottom: 0; }
}

/* Approved editorial refinement. Preserve the original palette and reading order. */
.hero.hero-authentic { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; padding-bottom: 56px; }
.hero-authentic h1 { font-size: clamp(44px, 4.55vw, 66px); }
.hero-authentic .hero-media img { max-height: min(720px, calc(100svh - 194px)); }
.hero-authentic .hero-media figcaption { margin-top: 8px; font-size: 13px; }
.hero-explore { position: absolute; left: var(--gutter); bottom: 20px; color: var(--color-muted); font-size: 14px; text-underline-offset: 5px; }
.action-arrow { display: inline-block; margin-left: 8px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .button:hover .action-arrow, .nav-cta:hover .action-arrow { transform: translateX(4px); }
}
.button:active { transform: translateY(0); }
.project-label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.space-comparison { gap: clamp(32px, 4vw, 64px); grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); }
.comparison-range { cursor: ew-resize; }
.comparison-label { border-radius: 2px; letter-spacing: .025em; }
.comparison-frame:has(.comparison-range:active) .comparison-handle { transform: translate(-50%, -50%) scale(.96); }
.fabrication { align-items: start; min-height: 0; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.fabrication-media { min-height: 0; }
.fabrication-media > img { height: auto; display: block; }
.fabrication-media .media-note { right: auto; max-width: calc(100% - 48px); padding: 6px 8px; background: var(--color-page); font-size: 13px; }
.fabrication-copy { padding-top: 72px; padding-bottom: 72px; }
.fabrication-copy h2 { margin-bottom: 28px; }
.fabrication-copy .fab-intro { margin-bottom: 28px; }
.fabrication-copy .fab-points { margin-bottom: 0; }
.process-ledger { position: relative; margin: 0; }
.process-ledger::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 36px; width: 1px; background: var(--color-rule-dark); }
.process-ledger li { position: relative; min-height: 0; grid-template-columns: 36px minmax(0,1fr); gap: 24px; padding: 28px 0; border: 0; }
.process-ledger li:last-child { border: 0; }
.process-ledger > li > span { position: relative; z-index: 1; padding: 4px 0; background: var(--color-dark); color: var(--color-on-dark-muted); text-align: center; align-self: start; }
.process-ledger li.is-active > span { color: var(--color-on-dark); }
.process-ledger .installation-boundary { margin-top: 12px; color: var(--color-on-dark); }

.quote { align-items: start; }
.quote .quote-media { position: sticky; top: 0; height: 100svh; min-height: 680px; max-height: 1040px; }
.quote-media-copy { bottom: 48px; }
.quote .quote-media > img { position: absolute; inset: 0; }
.environment-choice-set .project-choice { grid-column: auto; min-height: 104px; align-content: center; }
.environment-choice-set .project-choice > span { padding: 20px 36px 20px 18px; }
.project-choice:has(input:checked)::after { content: "✓"; position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 24px; height: 24px; background: var(--color-action); color: var(--color-on-action); font-size: 16px; border-radius: 50%; }
.form-progress button { transition: border-color 220ms var(--ease-out), color 220ms var(--ease-out); }
@media (max-width: 1100px) {
  .fabrication-copy { padding: 48px 32px; }
  .full-process { gap: 48px; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
  
}
@media (max-width: 860px) {
  .hero.hero-authentic { grid-template-columns: 1fr; padding-bottom: 72px; }
  .hero-authentic h1 { font-size: clamp(40px, 8vw, 64px); }
  .hero-authentic .hero-media img { max-height: 680px; }
  .hero-explore { bottom: 24px; }
  .space-comparison, .full-process{ grid-template-columns: 1fr; }
  .fabrication { grid-template-columns: 1fr; }
  .process-heading { position: static; }
  
  .quote { grid-template-columns: 1fr; }
  .quote .quote-media { position: relative; min-height: 0; height: auto; max-height: none; }
  .quote .quote-media > img, .quote .quote-media::after { display: none; }
  .quote .quote-media-copy { position: relative; inset: auto; padding: 64px var(--gutter) 40px; }
  .quote-media-copy h2 { margin-bottom: 24px; }
  .quote-form { padding-top: 40px; }
}
@media (max-width: 640px) {
  .comparison-label { font-size: 11px; padding: 6px 8px; }
  
  .environment-choice-set { grid-template-columns: 1fr 1fr; }
  .environment-choice-set .project-choice { min-height: 110px; }
  .environment-choice-set .project-choice small { font-size: 13px; }
  .hero-authentic .hero-actions .button { white-space: normal; }
}
@media (max-width: 380px) {
  .hero-authentic h1 { font-size: 36px; }
  .hero-authentic .hero-actions .button { padding-left: 12px; padding-right: 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .action-arrow, .project-choice, .project-choice img, .form-progress button { transition: none; }
  .hero-media { clip-path: none !important; }
  .button:hover .action-arrow, .nav-cta:hover .action-arrow { transform: none; }
}

/* Hero composition: bring the natural-ratio photograph into the type's visual field. */
.hero.hero-authentic { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); column-gap: 24px; }
.hero-authentic .hero-opening { padding-left: clamp(0px, 3vw, 48px); }
.hero-authentic h1 { max-width: none; font-size: clamp(52px, 5.65vw, 82px); line-height: .99; }
.hero-title-primary, .hero-title-secondary { display: block; }
.hero-title-secondary { margin-top: 12px; margin-left: clamp(24px, 3.4vw, 50px); font-size: .88em; }
.hero-authentic .hero-lede { margin: 24px 0; max-width: 36ch; }
.hero-authentic .hero-actions { margin-bottom: 8px; }
.hero-authentic .cta-note { max-width: 46ch; margin-top: 8px; font-size: 15px; line-height: 1.5; }
.hero-authentic .google-proof { margin-top: 8px; padding: 8px 0; font-size: 15px; }
.hero-authentic .hero-media { justify-self: start; width: min(100%, calc((100svh - 194px) * .58644)); }
.hero-authentic .hero-media figcaption { text-align: left; font-size: 13px; line-height: 1.5; }
.js .site-header .nav-cta { padding: 12px 4px; border-radius: 0; background: transparent; color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.js .site-header .nav-cta:hover { background: transparent; text-decoration-thickness: 2px; }
.js .site-header.is-past-hero .nav-cta { padding: 12px 20px; border-radius: 4px; background: var(--color-action); color: var(--color-on-action); text-decoration: none; }
.js .site-header.is-past-hero .nav-cta:hover { background: var(--color-action-pressed); }
@media (max-width: 1100px) and (min-width: 861px) {
  .hero-authentic h1 { font-size: 54px; }
  .hero-authentic .hero-lede { font-size: 17px; margin: 18px 0; }
}
@media (max-width: 860px) {
  .hero.hero-authentic { grid-template-columns: 1fr; }
  .hero-authentic .hero-opening { padding-left: 0; }
  .hero-authentic h1 { font-size: clamp(38px, 6.3vw, 52px); }
  .hero-title-secondary { margin-left: 24px; margin-top: 10px; }
  .hero-authentic .hero-media { width: min(100%, 399px); justify-self: center; }
  .hero-authentic .hero-lede { font-size: 18px; margin: 20px 0; }
}
@media (max-width: 380px) {
  .hero-authentic h1 { font-size: 34px; }
  .hero-title-secondary { margin-left: 18px; margin-top: 8px; }
  .hero-authentic .hero-lede { font-size: 17px; margin: 16px 0; }
  .hero-authentic .cta-note { font-size: 14px; }
}

/* Supplied landscape composition: a single architectural scene, not a photo box. */
.hero.hero-wide { display: grid; grid-template-columns: minmax(0,1fr); min-height: max(100svh, 56.28vw); padding: 128px clamp(24px,4.6vw,88px) 100px; isolation: isolate; overflow: hidden; background: var(--color-page); color: var(--color-on-dark); }
.hero-wide::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12,20,28,.63), transparent 21%), linear-gradient(90deg, rgba(12,20,28,.76), rgba(12,20,28,.59) 32%, rgba(12,20,28,.16) 54%, transparent 64%); }
.hero-wide .hero-opening { z-index: 2; padding-left: 0; width: min(54vw,900px); }
.hero-wide h1 { max-width: none; font-size: clamp(54px,6.35vw,110px); line-height: .98; white-space: normal; }
.hero-wide .hero-title-primary, .hero-wide .hero-title-secondary { margin: 0; font-size: 1em; white-space: nowrap; }
.hero-wide .hero-lede { font-size: clamp(18px,1.65vw,27px); margin: 24px 0 30px; max-width: 44ch; color: inherit; }
.hero-wide .hero-actions .button { min-height: 56px; border-radius: 12px; }
.hero-wide .hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.hero-wide .cta-note { max-width: none; margin: 0; color: inherit; }
.hero-wide .hero-eyebrow { margin: 0 0 20px; color: inherit; font-size: var(--type-caption); font-weight: var(--weight-emphasis); line-height: 1.5; letter-spacing: var(--tracking-label); }
.hero-wide .google-proof { margin: 0; padding-block: 4px; color: inherit; font-size: var(--type-caption); }
.hero-wide .google-proof-stars { color: inherit; }
.hero-wide .hero-media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; margin: 0; }
.hero-wide .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 73% center; }
@media (min-width: 861px) {
  .hero.hero-wide { min-height: max(100svh, 56.28vw); }
}
.hero-wide .hero-media figcaption { position: absolute; z-index: 3; right: 20px; bottom: 18px; left: auto; margin: 0; padding: 5px 8px; color: var(--color-ink); background: rgba(242,239,236,.94); font-size: 13px; line-height: 1.5; }
.hero-wide .hero-explore { z-index: 2; left: clamp(24px,4.6vw,88px); bottom: 36px; color: inherit; }
@media (min-width: 861px) and (max-height: 700px) {
  .hero.hero-wide { padding-top: 108px; padding-bottom: 76px; }
  .hero-wide h1 { font-size: clamp(52px,5.8vw,94px); }
  .hero-wide .hero-lede { margin: 20px 0; }
}
@media (max-width: 1000px), (orientation: portrait) {
  .hero.hero-wide { padding: 0 var(--gutter) 32px; gap: 24px; min-height: 0; }
  .hero-wide::after { display: none; }
  .hero-wide .hero-opening { width: 100%; }
  .hero-wide h1 { font-size: clamp(40px,7vw,72px); line-height: 1.02; }
  .hero-wide .hero-title-primary, .hero-wide .hero-title-secondary { white-space: normal; }
  .hero-wide .hero-title-secondary { margin-top: 6px; }
  .hero-wide .hero-lede { font-size: 18px; margin: 20px 0 24px; }
  .hero-wide .hero-media { position: relative; inset: auto; order: -1; width: calc(100% + 2 * var(--gutter)); height: max(clamp(300px, 85vw, 520px),56.28vw); margin: 0 calc(-1 * var(--gutter)); justify-self: center; }
  .hero-wide .hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12,20,28,.68), transparent 34%, transparent 86%, var(--color-dark)); }
  .hero-wide .hero-media img { object-position: 75% center; }
  .hero-wide .hero-media figcaption { right: 12px; bottom: 12px; font-size: 12px; }
  .hero-wide .hero-explore { position: relative; left: auto; bottom: auto; order: 2; padding-bottom: 0; justify-self: start; }
}
@media (max-width: 380px) {
  .hero-wide h1 { font-size: 36px; }
  .hero-wide .hero-lede { font-size: 17px; margin: 16px 0 20px; }
}

.hero.hero-sunset { position: relative; --hero-inset: clamp(24px,4.5vw,84px); min-height: max(100svh,56.28vw,620px); padding: 0; gap: 0; color: var(--color-surface); }
@media (min-width: 861px) and (orientation: landscape) {
  .hero.hero-sunset {
    --hero-word-size: min(22.5vw, 39svh);
    --hero-title-edge: calc(max(0px, 56.28vw - 100svh, 620px - 100svh) + .33 * var(--hero-word-size));
    --hero-word-inset: max(var(--hero-inset), calc((100% - 3.68 * var(--hero-word-size)) / 2));
  }
  .hero-sunset .hero-opening h1 { inset-inline: calc(var(--header-gutter) + 1px); }
  .hero-sunset .hero-opening h1 span:first-child { text-align: left; }
  .hero-sunset .hero-opening .google-proof {
    inset: auto var(--hero-word-inset) calc(var(--hero-title-edge) + .68 * var(--hero-word-size) + 12px) auto;
  }
}
.hero.hero-sunset::after { display: none; }
.hero-sunset .hero-opening { position: relative; display: block; align-self: stretch; width: 100%; }
.hero-sunset h1 { position: absolute; inset: auto var(--hero-inset) var(--hero-title-edge, 0px); margin: 0; max-width: none; font-weight: 400; line-height: .86; }
.hero-sunset h1 span { display: block; }
.hero-sunset h1 span:first-child { font-size: clamp(42px,5.2vw,100px); margin-bottom: .16em; text-align: center; }
.hero-sunset h1 span:last-child { font-size: var(--hero-word-size, min(23.5vw, 42svh)); line-height: .68; text-align: center; }
.hero-sunset .google-proof { position: absolute; left: var(--hero-inset); top: 28%; margin: 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 8px; }
.hero-sunset .google-proof-stars { grid-column: 1 / -1; width: 128px; height: 25px; color: #FBBC05; }
.hero-sunset .google-proof span { white-space: nowrap; }
.hero-sunset .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.hero-sunset .hero-media::after { display: none; }
.hero-sunset .hero-media img { object-position: 73% center; }
@media (min-width: 861px) and (orientation: landscape) and (prefers-reduced-motion: no-preference) {
  .hero-sunset:not(.capture *) .hero-media { top: -6%; height: 106%; }
}
@supports (animation-timeline: --sunset-exit) and (animation-range: exit-crossing 0% exit-crossing 100%) {
  @media (min-width: 861px) and (orientation: landscape) and (prefers-reduced-motion: no-preference) {
    .hero-sunset:not(.capture *) { view-timeline-name: --sunset-exit; view-timeline-inset: 0; }
    .hero-sunset:not(.capture *) .hero-media,
    .hero-sunset:not(.capture *) h1 {
      animation: sunset-exit-drift auto linear both;
      animation-timeline: --sunset-exit;
      animation-range: exit-crossing 0% exit-crossing 100%;
    }
    .hero-sunset .hero-media { --sunset-drift: 100%; }
    .hero-sunset h1 { --sunset-drift: 20%; }
  }
}
@keyframes sunset-exit-drift {
  from { transform: translateY(0); }
  to { transform: translateY(var(--sunset-drift)); }
}
@media (max-width: 860px), (orientation: portrait) {
  .hero.hero-sunset { --hero-photo-height: max(clamp(300px,82vw,520px),56.28vw); min-height: 0; padding: calc(var(--hero-photo-height) + 20px) var(--hero-inset) 36px; color: var(--color-ink); }
  .hero-sunset .hero-media { height: var(--hero-photo-height); }
  .hero-sunset .hero-media img { object-position: 75% center; }
  .hero-sunset h1, .hero-sunset .google-proof { position: static; }
  .hero-sunset h1 { margin-bottom: 24px; }
  .hero-sunset h1 span:first-child { font-size: clamp(30px,7vw,54px); }
  .hero-sunset h1 span:last-child { font-size: min(21vw, 164px); line-height: 1.09; }
  .hero-sunset .google-proof { width: max-content; margin-inline: auto; }
}

.brand-philosophy {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(84px, 11vw, 168px) var(--gutter);
  background: var(--color-page);
  text-align: center;
}

.brand-philosophy h2 {
  max-inline-size: 1080px;
  margin: 0 auto;
  font-size: clamp(30px, 4.3vw, 64px);
  font-weight: var(--weight-display);
  line-height: 1.14;
  text-transform: uppercase;
}

.philosophy-image {
  display: inline-block;
  width: 2.5em;
  height: .88em;
  object-fit: cover;
  vertical-align: -.08em;
}

/* Supplied section-two reference: a broad deck scene and staggered portrait studies. */
.proof.section { --portfolio-gutter: clamp(24px, 4.85vw, 88px); padding: 56px 0 64px; background: var(--color-page); }
.proof .proof-copy { max-width: min(1520px, calc(100% - 2 * var(--portfolio-gutter))); grid-template-columns: minmax(0,1.9fr) minmax(0,.85fr) minmax(0,1fr); gap: 0 28px; align-items: end; margin-bottom: 36px; }
.proof .proof-copy .section-number { grid-column: 1 / 3; margin-bottom: 18px; text-transform: uppercase; }
.proof .proof-copy h2 { grid-column: 1 / 3; font-size: clamp(34px,3.5vw,60px); line-height: 1.08; }
.proof .proof-copy > p:last-child { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 17px; }
@media (max-width: 1000px) {
  .proof .proof-copy { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 20px 32px; }
  .proof .proof-copy .section-number { grid-column: 1 / -1; margin-bottom: 0; }
  .proof .proof-copy h2 { grid-column: 1; }
  .proof .proof-copy > p:last-child { grid-column: 2; grid-row: 2; }
}
@media (max-width: 640px) {
  .proof.section { --portfolio-gutter: var(--gutter); padding: 48px 0 56px; }
  .proof .proof-copy { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .proof .proof-copy h2, .proof .proof-copy > p:last-child { grid-column: 1; grid-row: auto; }
  .proof .proof-copy h2 { font-size: 34px; }
}

.portfolio-cue {
  width: min(1520px, calc(100% - 2 * var(--portfolio-gutter)));
  margin: 0 auto;
  color: var(--color-muted);
  font-size: var(--type-caption);
  text-align: end;
}
.portfolio-cue-touch,
.portfolio-cue-pinned { display: none; }

@media (pointer: coarse) {
  .portfolio-cue-horizontal { display: none; }
  .portfolio-cue-touch { display: inline; }
}

.proof:has(.portfolio-viewport.is-pinned) .portfolio-cue-horizontal { display: none; }
.proof:has(.portfolio-viewport.is-pinned) .portfolio-cue-pinned { display: inline; }

.portfolio-viewport {
  --portfolio-pin-top: 88px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.portfolio-viewport:focus-visible { outline-offset: -3px; }

.portfolio-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(26px, 4.2vw, 72px);
  width: max-content;
  padding: 16px max(var(--portfolio-gutter), clamp(56px, 14vw, 224px)) 28px var(--portfolio-gutter);
}

.portfolio-track figure {
  flex: 0 0 auto;
  width: var(--project-width);
  margin: var(--project-offset, 0px) 0 0 var(--project-space, 0px);
}

.portfolio-track figure:nth-child(1) { --project-width: min(84vw, 590px); --project-offset: 56px; }
.portfolio-track figure:nth-child(2) { --project-width: min(64vw, 300px); }
.portfolio-track figure:nth-child(3) { --project-width: min(57vw, 260px); --project-offset: 108px; --project-space: clamp(24px, 6vw, 108px); }
.portfolio-track figure:nth-child(4) { --project-width: min(76vw, 440px); --project-offset: 22px; --project-space: clamp(10px, 2.6vw, 46px); }
.portfolio-track figure:nth-child(5) { --project-width: min(62vw, 310px); --project-offset: 86px; --project-space: clamp(30px, 7.5vw, 128px); }
.portfolio-track figure:nth-child(6) { --project-width: min(72vw, 400px); --project-offset: 39px; --project-space: clamp(5px, 1.2vw, 22px); }

.portfolio-track img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
.portfolio-track figure:first-child img { aspect-ratio: 3 / 2; }
.portfolio-track figure:nth-child(2) img { aspect-ratio: 2 / 3; }

.portfolio-track figcaption { display: grid; gap: 6px; padding-top: 16px; color: var(--color-muted); }
.portfolio-track figcaption strong { color: var(--color-ink); font-size: clamp(16px, 1.32vw, 20px); font-weight: 500; }
.portfolio-track figcaption > span:last-child { max-width: 42ch; font-size: var(--type-caption); line-height: 1.5; }

.portfolio-viewport.is-pinned {
  overflow: clip;
  min-height: calc(100svh - var(--portfolio-pin-top));
}

.is-pinned .portfolio-track { --project-height: min(47svh, 550px); padding-top: clamp(22px, 4vh, 60px); }
.is-pinned .portfolio-track figure:nth-child(1) { --project-width: calc(1.32 * var(--project-height)); --project-offset: 15svh; }
.is-pinned .portfolio-track figure:nth-child(2) { --project-width: calc(.67 * var(--project-height)); }
.is-pinned .portfolio-track figure:nth-child(3) { --project-width: calc(.60 * var(--project-height)); --project-offset: 25svh; }
.is-pinned .portfolio-track figure:nth-child(4) { --project-width: calc(.82 * var(--project-height)); --project-offset: 5svh; }
.is-pinned .portfolio-track figure:nth-child(5) { --project-width: calc(.68 * var(--project-height)); --project-offset: 19svh; }
.is-pinned .portfolio-track figure:nth-child(6) { --project-width: calc(.77 * var(--project-height)); --project-offset: 9svh; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .portfolio-track img { transition: transform 240ms var(--ease-out); }
  .portfolio-track figure:hover img { transform: scale(1.012); }
}

/* Section 04 */
.space-comparison.section {
  grid-template-columns: minmax(0, 1600px);
  justify-content: center;
  gap: clamp(42px, 5vw, 84px);
  padding-inline: 4vw;
}
.space-comparison-copy {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: end;
  column-gap: 9%;
}
.space-comparison-copy .section-number { grid-column: 1 / -1; margin: 0 0 24px; }
.space-comparison-copy h2 { margin: 0; max-width: 19ch; font-size: clamp(44px, 5.5vw, 88px); line-height: .99; text-wrap: balance; }
.space-comparison-copy .comparison-intro { max-width: 32ch; margin: 0; line-height: 1.5; }
.space-comparison .comparison-frame { aspect-ratio: 1672 / 941; border: 0; border-radius: 0; box-shadow: none; }
.space-comparison .comparison-image { object-fit: contain; }
/* Blend the staircase into the shared room image at the sides of the insert. */
.space-comparison .comparison-after {
  mask-image: linear-gradient(to right, transparent 25%, #000 29%, #000 61%, transparent 62%),
              linear-gradient(94deg, #000 59%, transparent 60.5%),
              linear-gradient(to bottom, #000 67%, transparent 73%),
              linear-gradient(to right, #000 56.9%, transparent 57.7%);
  mask-composite: intersect, intersect, add;
}

.space-comparison .comparison-handle { width: 38px; height: 38px; border: 1px solid var(--color-page); background: var(--color-action); color: var(--color-on-dark); box-shadow: none; }
.space-comparison .comparison-handle svg { width: 24px; }
.space-comparison .comparison-divider { width: 2px; box-shadow: none; }
.space-comparison .comparison-label { font-size: 12px; padding: 5px 9px; letter-spacing: .075em; border-radius: 2px; }
.space-comparison .comparison-instruction { margin: 12px 0 0; text-align: right; font-size: 12px; letter-spacing: .06em; }
@media (max-width: 680px) {
  .space-comparison-copy { grid-template-columns: 1fr; gap: 16px; }
  .space-comparison-copy .section-number { margin: 0; }
  .space-comparison-copy h2 { font-size: clamp(40px, 9vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .space-comparison .comparison-handle { transition: none; }
}

.full-process { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(48px,7vw,112px); padding: 96px clamp(24px,8vw,136px) 72px; align-items: stretch; }
.full-process .process-heading { position: static; display: flex; flex-direction: column; align-self: stretch; align-items: flex-start; }
.full-process .section-number { display: flex; align-items: center; gap: 20px; width: 100%; text-transform: uppercase; margin-bottom: 36px; }
.full-process .section-number::after { content: ""; height: 1px; width: 140px; background: var(--color-rule-dark); }
.full-process .process-heading h2 { font-size: clamp(34px,3.5vw,60px); font-weight: var(--weight-display); line-height: 1.15; }

.full-process .process-ledger::before { display: none; }
.full-process .process-ledger li { grid-template-columns: 40px minmax(0,1fr); gap: 64px; padding: 0 0 48px; opacity: 1; transform: none; }
.full-process .process-ledger li:last-child { padding-bottom: 0; }
.full-process .process-ledger li::before { content: ""; position: absolute; z-index: 1; left: 61px; top: 8px; width: 16px; height: 16px; border: 3px solid var(--color-on-dark-muted); border-radius: 50%; background: var(--color-page); }
.full-process .process-ledger li::after { content: ""; position: absolute; left: 68px; top: 30px; bottom: 0; width: 1px; background: linear-gradient(to bottom,var(--color-action) calc(var(--step-progress,0) * 100%),var(--color-rule-dark) 0); }
.full-process .process-ledger li:last-child::after { display: none; }
.full-process .process-ledger li.is-active::before, .full-process .process-ledger li.is-past::before { border-color: var(--color-action); }
.full-process .process-ledger > li > span { font-size: 24px; line-height: 1.4; padding: 0; text-align: left; background: transparent; }
.full-process .process-ledger h3 { font-size: var(--type-subheading); font-weight: var(--weight-display); margin-bottom: 12px; }
.full-process .process-ledger p { font-size: 17px; line-height: 1.6; }
#pricing { scroll-margin-top: 100px; }
@media (max-width: 1000px) {
 .full-process { grid-template-columns: 1fr; gap: 48px; padding: 72px var(--gutter); }
 
}
@media (max-width: 640px) {
 .full-process .process-ledger li { gap: 40px; grid-template-columns: 32px minmax(0,1fr); padding-bottom: 36px; }
 .full-process .process-ledger li::before { left: 43px; }
 .full-process .process-ledger li::after { left: 50px; }
 .full-process .process-ledger h3 { font-size: 22px; }
 .full-process .process-ledger > li > span { font-size: 22px; }
}

.site-header {
  left: 50%;
  transform: translateX(-50%);
  grid-template-columns: minmax(max-content,1fr) auto minmax(max-content,1fr);
  column-gap: clamp(16px, 3vw, 52px);
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 999px;
}
.site-header > .nav-cta { justify-self: end; }
body:has(.hero-wide) .site-header:not(.is-past-hero) { color: var(--color-on-dark); }
body:has(.hero-wide) .site-header:not(.is-past-hero) .brand img { filter: brightness(0) invert(1); }
body:has(.hero-wide) .site-header:not(.is-past-hero) > .nav-cta { background: var(--color-action); color: var(--color-on-action); border-radius: 12px; padding-inline: 18px; text-decoration: none; }
body:has(.hero-wide) .site-header:not(.is-past-hero) > .nav-cta:hover { background: var(--color-action-pressed); }
.header-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.header-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--type-caption); font-weight: var(--weight-emphasis); text-decoration: none; }
.header-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.js .site-header.is-past-hero {
  top: 12px;
  width: max-content;
  max-width: calc(100% - 24px);
  min-height: 56px;
  padding: 3px 18px;
  column-gap: 24px;
  background: color-mix(in srgb, var(--color-page) 72%, transparent);
  backdrop-filter: blur(14px);
  border-color: rgba(19, 19, 19, .1);
  box-shadow: 0 6px 22px rgba(19, 19, 19, .1);
}
.js .site-header.is-past-hero .brand, .js .site-header.is-past-hero .brand img { width: 132px; height: 44px; }
.js .site-header.is-past-hero .nav-cta { min-height: 44px; padding: 8px 16px; border-radius: 999px; }
.header-menu { display: none; }
.header-menu summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer; }
.header-menu summary::-webkit-details-marker { display: none; }
.header-menu nav { position: absolute; top: calc(100% + 8px); right: 0; display: grid; gap: 4px; width: min(250px, calc(100vw - 36px)); padding: 12px; border: 1px solid var(--color-rule); border-radius: 16px; background: var(--color-surface); color: var(--color-ink); box-shadow: 0 6px 22px rgba(19, 19, 19, .1); }
.header-menu nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; text-decoration: none; }
.header-menu nav .button { justify-content: space-between; gap: 8px; }
@media (max-width: 860px) {
  .site-header { grid-template-columns: auto auto; }
  .site-header > .header-links, .site-header > .nav-cta { display: none; }
  .header-menu { display: block; }
  .js .site-header.is-past-hero { min-height: 50px; column-gap: 12px; padding-inline: 12px 6px; }
  .js .site-header.is-past-hero .brand, .js .site-header.is-past-hero .brand img { width: 112px; height: 38px; }
}
.form-preview-intro { margin: 0; padding: 16px clamp(24px,3vw,48px); font-size: 14px; line-height: 1.5; color: var(--color-muted); border-bottom: 1px solid var(--color-rule); }
.fabrication-inspect:not(.is-enhanced) .fab-hotspot { position: static; padding: 16px 24px; }
.fabrication-inspect:not(.is-enhanced) .fab-hotspot button { display: none; }
.fabrication-inspect:not(.is-enhanced) .fab-caption { position: static; width: auto; box-shadow: none; }
@media (max-width: 640px) {
 .project-choice-set:not(.environment-choice-set) { grid-template-columns: 1fr; gap: 12px; }
 .project-choice-set:not(.environment-choice-set) .project-choice:not(.project-choice-text) { display: grid; grid-template-columns: 88px minmax(0,1fr); min-height: 104px; align-items: center; }
 .project-choice-set:not(.environment-choice-set) .project-choice img { width: 88px; height: 104px; aspect-ratio: auto; object-fit: cover; }
 .project-choice-set:not(.environment-choice-set) .project-choice > span { padding: 14px 32px 14px 14px; }
 .project-choice-set:not(.environment-choice-set) .project-choice strong { font-size: 16px; }
 .project-choice-set:not(.environment-choice-set) .project-choice-text { min-height: 80px; }
 .form-step-intro { margin-bottom: 28px; }
}
.testimonials.section {
  padding: clamp(40px, 5vw, 76px) max(var(--gutter), 8.8vw) clamp(64px, 8.5vw, 130px);
  background: var(--color-page);
}
.testimonials > h2,
.testimonial-quotes,
.testimonial-pagination {
  max-width: 1360px;
  margin-inline: auto;
}
.testimonials > h2 { margin-bottom: clamp(32px, 5vw, 80px); }
.testimonial-quotes {
  display: grid;
  padding-inline-start: clamp(0px, 9vw, 132px);
  gap: 20px;
}
.testimonial-card {
  background: var(--color-surface);
  padding: clamp(26px, 5vw, 76px);
}
.testimonial-quotes.is-paginated > .testimonial-card {
  grid-area: 1 / 1;
  visibility: hidden;
}
.testimonial-quotes.is-paginated > .testimonial-card.is-current {
  visibility: visible;
}
.testimonial-quotes blockquote { max-width: 50ch; margin: 0; }
.testimonial-author {
  margin: clamp(18px, 2vw, 28px) 0 0;
  font: 500 var(--type-body)/1.5 var(--font);
  color: var(--color-muted);
}
.testimonial-card.is-current .testimonial-author { color: var(--color-action); }
.testimonial-pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.testimonial-pagination[hidden] { display: none; }
.testimonial-pagination button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.testimonial-pagination button::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid var(--color-muted);
  border-radius: 50%;
}
.testimonial-pagination button[aria-pressed="true"]::before {
  background: var(--color-action);
  border-color: var(--color-action);
}
@media (max-width: 680px) {
  .testimonial-quotes { padding-inline-start: 0; }
}
/* Keep the comparison chapter's opening and closing whitespace balanced. */
.fabrication-inspect { grid-template-columns: 60% 40%; align-items: center; }
.fabrication-inspect .fabrication-media { overflow: visible; }
.fabrication-inspect .fabrication-media > img { width: 100%; height: auto; filter: none; }
.fabrication-inspect .fabrication-copy { position: relative; z-index: 2; margin-left: -6vw; padding: clamp(32px,4vw,64px); background: var(--color-page); }
.fabrication-inspect .fabrication-copy h2 { font-size: clamp(34px,3.5vw,60px); font-weight: var(--weight-display); }
.fabrication-inspect .fab-points li { padding-block: 28px; }
.fab-hotspot { position: absolute; z-index: 3; }
.fab-hotspot-landing { left: 65%; top: 19%; }
.fab-hotspot-treads { left: 43%; top: 52%; }
.fab-hotspot-base { left: 48%; top: 91%; }
.fab-hotspot button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-page); border-radius: 50%; background: var(--color-action); color: var(--color-on-action); font-size: 24px; cursor: pointer; }
.fab-hotspot button[aria-expanded="true"] { background: var(--color-page); color: var(--color-ink); }
.fab-caption { position: absolute; left: 0; bottom: 54px; width: 240px; padding: 16px; border: 1px solid var(--color-rule); border-radius: 4px; background: var(--color-surface); color: var(--color-on-dark); box-shadow: 0 8px 24px #0005; }
.fab-caption strong { font-size: 15px; font-weight: var(--weight-emphasis); }
.fab-caption p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--color-on-dark-muted); }
.fab-hotspot-landing .fab-caption { left: auto; right: 0; }
.fab-caption:not([hidden]) { animation: fab-caption-in 220ms var(--ease-out); }
@keyframes fab-caption-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
  .fabrication-inspect { display: flex; flex-direction: column; }
  .fabrication-inspect .fabrication-media { width: 100%; }
  .fabrication-inspect .fabrication-copy { margin-left: 0; padding: 48px var(--gutter); width: 100%; }
  .fab-caption { width: min(220px,45vw); left: auto; right: 0; }
}
@media (prefers-reduced-motion: reduce) { .fab-caption:not([hidden]) { animation: none; } }
.space-comparison.section { padding-block: clamp(96px, 9vw, 136px); }
@media (max-width: 640px) {
  .space-comparison.section { padding-block: 72px; }
}

.stair-system {
  max-width: 1720px;
  margin: auto;
  padding: 0 clamp(16px, 4vw, 68px) clamp(64px, 7vw, 116px);
}
.stair-system .section-number { margin: 0 0 22px; }
.stair-system > h2, .process-editorial > h2 {
  max-width: 24ch;
  margin: 0 0 clamp(28px, 4vw, 56px);
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1;
  text-wrap: balance;
}
.system-grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  grid-auto-rows: clamp(205px, 20vw, 330px);
  gap: clamp(8px, .8vw, 14px);
}
.system-card {
  position: relative;
  isolation: isolate;
  grid-column: span 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-ink);
}
.system-card:first-child { grid-column: span 6; grid-row: span 2; }
.system-card:nth-child(n/**/+6) { grid-column: span 4; }
.system-card img { position: absolute; width: 100%; height: 100%; object-fit: cover; transform: scale(1.045); }
.system-card:first-child img { transform: scale(1.12); }
.system-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgb(0 0 0 / .83), rgb(0 0 0 / .53) 29%, transparent 69%);
  pointer-events: none;
}
.system-caption { position: relative; z-index: 1; padding: clamp(18px, 1.9vw, 32px); color: white; }
.system-caption h3 { font: 600 clamp(15px, 1.18vw, 21px)/1.18 Inter, sans-serif; letter-spacing: .065em; text-transform: uppercase; color: inherit; margin: 0; text-wrap: balance; }
.system-caption p { color: inherit; font-size: clamp(14px, 1.02vw, 17px); line-height: 1.4; max-width: 28ch; margin: 7px 0 0; }
.system-card-dimensions {
  --drawing-caption-space: 108px;
  background: #211f1a;
}
.system-card-dimensions img {
  inset: var(--drawing-caption-space) 0 0;
  height: calc(100% - var(--drawing-caption-space));
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}
.system-card-dimensions::after {
  background: linear-gradient(to bottom, #0006, transparent var(--drawing-caption-space));
}
.system-card-dimensions .system-caption { padding: clamp(16px, 1.45vw, 24px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .system-card img, .system-card::after, .system-card { transition: scale .45s ease, opacity .45s ease, box-shadow .45s ease; }
  .system-card:hover img { scale: 1.035; }
  .system-card:hover::after { opacity: .96; }
  .system-card:hover { box-shadow: 0 3px 12px #0002; }
}
@media (max-width: 1000px) {
  .system-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: auto; }
  .system-grid .system-card { grid-column: auto; grid-row: auto; aspect-ratio: 1.28; }
  .system-grid .system-card:first-child { grid-row: span 2; aspect-ratio: auto; }

}
@media (max-width: 600px) {
  .system-grid { grid-template-columns: 1fr; gap: 12px; }
  .system-grid .system-card { aspect-ratio: 1.6; }
  .system-grid .system-card:first-child { grid-row: auto; aspect-ratio: .92; }
  .system-card:first-child img { object-fit: cover; transform: scale(1.04); }
}

.process-story { --process-inset:clamp(72px,7vw,120px); display:grid; grid-template-columns:1.03fr 1fr; align-items:start; background:var(--color-page); }
.process-editorial { display:grid; grid-template-columns: minmax(76px,.32fr) minmax(0,1fr); grid-template-rows:auto auto auto; align-content:start; column-gap:clamp(16px,2vw,36px); padding:var(--process-inset) clamp(20px,3vw,52px); }
.process-editorial h2 { grid-column:1 / -1; grid-row:2; margin:0 0 clamp(36px,4vw,70px); font-family:var(--font-heading); text-wrap:balance; }
.process-editorial .section-number { grid-column:1 / -1; grid-row:1; margin:0 0 22px; text-transform:uppercase; }
.process-tabs { grid-column:2; grid-row:3; align-self:start; }
.process-tabs button { width:100%; display:grid; grid-template-columns:2rem 1fr; align-items:start; background:none; border:0; border-top:1px solid var(--color-rule); text-align:left; padding:20px 0; font:500 clamp(19px,1.65vw,30px)/1.2 Inter,sans-serif; color:#63605b; cursor:pointer; }
.process-tabs button[aria-selected=true] { color: var(--color-action); }
.process-tabs button[aria-selected=true] small { color:var(--color-action); }
.process-tabs small { font-size:12px; line-height:1.8; }
.process-tabs [role=tabpanel] { padding:0 0 22px 2rem; }
.process-tabs p { margin:0; line-height:1.5; }
.process-tabs p+p { margin-top:8px; }
.process-photos { position:relative; isolation:isolate; overflow:hidden; aspect-ratio:0.97; margin:clamp(40px,7vw,112px) 4vw 0 1vw; }
.process-photos img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; }
.process-photos img[aria-hidden=false] { opacity:1; }
.process-photos img:nth-child(2) { object-position:75% center; }
@media(max-width:1000px){.process-editorial {display:block;} .process-editorial .section-number {margin-bottom:20px;}}
@media (max-width:700px) {
  .process-story { grid-template-columns: minmax(0, 1fr); padding:48px var(--gutter); gap:0; }
  .process-editorial { display:contents; }
  .process-editorial .section-number { grid-column:1; grid-row:1; }
  .process-editorial h2 { grid-column:1; grid-row:2; }
  .process-photos { grid-column:1; grid-row:3; aspect-ratio:1.15; margin:0 0 24px; }
  .process-tabs { grid-column:1; grid-row:4; }
}

.process-photos img:nth-child(3) { object-position:50% 72%; }
.process-photos img:nth-child(4) { object-position:50% 55%; }
body .body-copy.body-copy { font-family:var(--font); font-size:14px; line-height:1.5; }
body main .body-copy.body-copy { color:var(--color-muted); }


.process-tabs button {position:relative;}
.process-progress {position:absolute; top:-1px; inset-inline:0; height:2px; background:var(--color-action); transform-origin:left;}
@media(prefers-reduced-motion:reduce){.process-progress{display:none;}}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .process-photos { view-timeline-name: --process-photo; }
    .process-photos.native-parallax img {
      animation: process-photo-drift linear both;
      animation-timeline: --process-photo;
    }
    @keyframes process-photo-drift {
      from { transform: translateY(-9%) scale(1.2); }
      to { transform: translateY(9%) scale(1.2); }
    }
  }
}

.faq-editorial {
  --faq-inset: clamp(24px, 6vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  grid-template-areas: "label ." "title questions";
  align-items: start;
  gap: 24px clamp(32px, 6vw, 100px);
  background: var(--color-page);
  padding: clamp(64px, 8vw, 136px) var(--faq-inset);
}
.faq-editorial > .section-number { grid-area: label; margin: 0; color: var(--color-action); }
.faq-editorial h2 {
  grid-area: title;
  max-width: 10ch;
  margin: 0;
  font-size: clamp(54px, 7vw, 112px);
  line-height: .98;
}
.faq-accordion { grid-area: questions; }
.faq-accordion details { border-bottom: 1px solid var(--color-rule); }
.faq-accordion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px;
  gap: 18px;
  align-items: center;
  padding: 22px 2px;
  font: 400 clamp(23px, 2.05vw, 34px)/1.15 var(--font);
  cursor: pointer;
  list-style: none;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: translateY(-2px) rotate(45deg);
}
.faq-accordion details[open] summary::after { transform: translateY(2px) rotate(225deg); border-color: var(--color-action); }
.faq-accordion summary:focus-visible { outline: 2px solid var(--color-action); outline-offset: -2px; }
.faq-answer { padding: 0 clamp(12px, 1.7vw, 24px) clamp(28px, 3vw, 44px) 0; }
.faq-answer p { margin: 0; max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq-accordion summary::after { transition: transform 180ms ease; }
  @supports selector(::details-content) {
    .faq-accordion details::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size 230ms ease, opacity 200ms ease, content-visibility 230ms allow-discrete;
    }
    .faq-accordion details[open]::details-content { block-size: auto; opacity: 1; }
  }
}
@media (max-width: 680px) {
  .faq-editorial {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "title" "questions";
    row-gap: 20px;
    padding-block: 56px;
  }
  .faq-accordion { margin-top: 8px; }
}

.environment-choice-set[hidden] { display: none; }

#quote {
  display: block;
  scroll-margin-top: 100px;
  padding: 2px max(var(--gutter), 3.1vw) clamp(32px, 4vw, 64px);
}
.inquiry-intro, #quote .quote-form { max-width: 968px; margin-inline: auto; width: 100%; }
.inquiry-intro { display: grid; grid-template-columns: 39% 1fr; align-items: center; gap: 8px 0; margin-block: 14px 24px; }
.inquiry-intro h2 { max-width: 12ch; font: 400 clamp(42px,3.55vw,52px)/.94 var(--font-heading); margin: 0; }
.inquiry-intro .body-copy { max-width: 41ch; margin: 0; border-inline-start: 1px solid var(--color-rule); padding: 6px 0 6px clamp(24px, 4vw, 54px); }
#quote .quote-form { padding: 0; }
#quote .form-progress { padding: 0; gap: clamp(6px,2vw,32px); border: 0; }
#quote .form-progress li { border: 0; }
#quote .form-progress button { display: flex; gap: .65em; align-items: center; min-height: 48px; padding: 8px 0; border-bottom: 2px solid var(--color-rule); box-shadow: none; }
#quote .form-progress strong { align-self: center; }
#quote .form-progress button:disabled { color: #706c66; opacity: 1; }
#quote .form-progress .is-current button { border-color: var(--color-action); }
#quote .form-step { padding-inline: 0; max-width: 800px; margin-inline: auto; }
#quote [data-form-step="0"] { max-width: 912px; padding-block: clamp(32px,3.5vw,50px) 0; }
.selection-question { display: grid; justify-items: center; text-align: center; gap: 10px; margin-bottom: 32px; }
#quote .selection-question h3 { max-width: 100%; margin: 0; font: 400 clamp(34px,3.3vw,48px)/1 var(--font-heading); }
.selection-question p { margin: 0; }
body main #quote .selection-question .body-copy { font-size: 16px; }
#quote .selection-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 920px);
  margin-inline: auto;
  gap: clamp(16px, 2vw, 30px) clamp(16px, 2.5vw, 36px);
}
#quote .selection-cards .project-choice { display: block; min-height: 0; background: transparent; box-shadow: none; border-radius: 0; }
#quote .selection-cards .project-choice:hover { transform: none; }
#quote .selection-cards .project-choice img { transform: none; }
#quote .selection-cards .project-choice::after { display: none; }
#quote .selection-cards img { display: block; width: 100%; height: auto; aspect-ratio: 2.2; object-fit: cover; }
#quote .selection-cards .project-choice > span { display: flex; align-items: center; justify-content: space-between; padding: clamp(14px, 1.3vw, 20px) clamp(18px, 1.8vw, 26px); gap: 12px; min-height: 44px; }
:is(.selection-cards, .environment-choice-set) .project-choice > span::after { content: ""; flex: 0 0 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; }
:is(.selection-cards, .environment-choice-set) .project-choice:has(:checked) > span::after { background: var(--color-action); border-color: var(--color-action); }
#quote .selection-cards strong { font-size: 14px; }
.selection-cards small { display: none; }
#quote .selection-cards .project-choice-text { justify-self: stretch; }
#quote [data-form-step="0"] .form-navigation { margin-top: 32px; padding-top: 0; border-top: 0; }
#quote [data-form-step="0"] .button { min-height: 44px; padding: 10px 28px; border-radius: 0; }
#quote [data-form-step="0"] .button:hover { transform: none; box-shadow: none; }
@media(max-width: 680px) {
  .inquiry-intro { grid-template-columns: 1fr; gap: 12px; }
  .inquiry-intro .body-copy { border: 0; padding: 0; }
  #quote .selection-cards img { aspect-ratio: 1.55; }
  #quote .form-progress button { flex-direction: column; align-items: flex-start; }
  #quote .form-progress strong { align-self: start; white-space: normal; }
  #quote .selection-cards { gap: 16px; }
}

#quote .form-navigation { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
#quote .form-navigation .button-secondary { grid-column: 1; justify-self: start; }
#quote .form-navigation .button-primary { grid-column: 2; justify-self: end; }
#quote .form-navigation p { grid-column: 1 / -1; }

#quote .selection-cards .project-choice-text > span { flex-direction: row-reverse; justify-content: flex-end; min-height: 44px; }
#quote .environment-choice-set { grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px, 1.5vw, 22px); }
#quote .environment-choice-set .project-choice { min-height: 44px; background: transparent; box-shadow: none; }
#quote .environment-choice-set .project-choice::after { display: none; }
#quote .environment-choice-set .project-choice > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: clamp(14px, 1.3vw, 20px) clamp(14px, 1.6vw, 24px); }
#quote .environment-choice-set strong { font-size: 14px; }
@media (max-width: 680px) {
  #quote .environment-choice-set { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 360px) {
  #quote .selection-cards { grid-template-columns: 1fr; }
}

#quote:has([data-form-step="1"].is-active) .inquiry-intro { display: none; }
#quote:has([data-form-step="1"].is-active) .quote-form { margin-top: 24px; }
#quote [data-form-step="1"] { max-width: 100%; padding-block: clamp(36px, 6vw, 72px) 0; }
#quote [data-form-step="1"] h3 {
  max-width: none;
  font: 400 clamp(36px, 4vw, 52px)/1 var(--font-heading);
}
#quote [data-form-step="1"] .form-step-intro { max-width: none; margin-bottom: 28px; }
.measurement-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(14px, 2.5vw, 28px);
  margin-bottom: 32px;
  background: var(--color-surface);
}
.measurement-panel > div {
  display: grid;
  align-items: center;
  padding-inline: clamp(3px, 1.2vw, 16px);
}
.measurement-panel > div + div { border-inline-start: 1px solid var(--color-rule); }
.measurement-panel img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
#quote [data-form-step="1"] .upload {
  grid-template: auto auto / auto minmax(0, 1fr) auto;
  gap: 4px 18px;
  min-height: 92px;
  border: 1px solid var(--color-rule);
  padding: 16px;
}
#quote [data-form-step="1"] .upload-icon {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--color-surface);
  font-size: 23px;
}
#quote [data-form-step="1"] .upload small { grid-column: 2; }
#quote [data-form-step="1"] .upload strong {
  grid-column: 3;
  grid-row: 1 / 3;
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  background: transparent;
  border-radius: 2px;
}
#quote [data-form-step="1"] .upload .error { grid-column: 1 / -1; grid-row: 3; color: var(--color-ink); }
.measurement-files { padding: 0; margin: 8px 0 0; list-style: none; }
.measurement-files li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--color-rule); font-size: 14px; }
.measurement-files span { min-width: 0; overflow-wrap: anywhere; }
.measurement-files button { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--color-ink); text-decoration: underline; cursor: pointer; }
@media (max-width: 680px) {
  .measurement-panel { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .measurement-panel > div + div { border-inline-start: 0; border-top: 1px solid var(--color-rule); padding-top: 12px; }
  #quote [data-form-step="1"] .upload { grid-template-columns: auto minmax(0, 1fr); }
  #quote [data-form-step="1"] .upload strong { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 6px; }
  #quote [data-form-step="1"] .upload .error { grid-row: auto; }
}

#quote [data-form-step="2"] {
  max-width: calc(100% - 20px);
  padding-block: clamp(40px, 5.5vw, 76px) clamp(28px, 5vw, 64px);
}
#quote [data-form-step="2"] h3 {
  max-width: none;
  margin: 16px 0 30px;
  font: 400 clamp(40px, 4vw, 56px)/1 var(--font-heading);
}
#quote [data-form-step="2"] .field-grid { gap: clamp(24px, 4vw, 46px); }
#quote [data-form-step="2"] .field > span { font-size: 16px; }
#quote [data-form-step="2"] .field em { font-size: 14px; }
#quote [data-form-step="2"] textarea { min-height: 130px; }
#quote [data-form-step="2"] .form-navigation { padding-top: clamp(24px, 3.5vw, 40px); }
@media (max-width: 680px) {
  #quote [data-form-step="2"] { max-width: none; }
}

#quote [data-form-step="3"] { max-width: 928px; }
#quote [data-form-step="3"] h3 {
  max-width: none;
  margin: 14px 0 34px;
  font: 400 clamp(40px, 4vw, 56px)/1 var(--font-heading);
}
.review-group { padding-block: 18px 28px; }
.review-group + .review-group { border-top: 1px solid var(--color-rule); }
.review-group-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-group-heading h4 { margin: 0; font-size: 15px; line-height: 1.35; }
.review-group-heading button {
  flex: none;
  min-height: 44px;
  padding: 0 0 0 8px;
  border: 0;
  background: transparent;
  color: var(--color-action-pressed);
  font-weight: 600;
  cursor: pointer;
}
.review-group-heading button:hover { text-decoration: underline; }
.review-group dl {
  display: grid;
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  gap: 12px 20px;
  margin: 8px 0 0;
}
.review-group dt { color: var(--color-muted); }
.review-group dd { min-width: 0; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
#quote [data-form-step="3"] .form-navigation { grid-template-columns: auto 1fr; }
#quote [data-form-step="3"] .form-navigation .button { padding-inline: clamp(12px, 3vw, 26px); }
@media (max-width: 540px) {
  .review-group dl { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .review-group dd + dt { margin-top: 10px; }
  #quote [data-form-step="3"] .form-navigation { gap: 10px; }
  #quote [data-form-step="3"] .form-navigation .button { font-size: 14px; }
}

#quote [data-form-step="4"] h3 {
  max-width: none;
  margin: 14px 0 18px;
  font: 400 clamp(40px, 4vw, 56px)/1 var(--font-heading);
}
#quote [data-form-step="4"] .form-step-intro { max-width: none; }
#quote [data-form-step="4"] .field-grid { gap: clamp(22px, 3vw, 34px); }
#quote [data-form-step="4"] .field > span { font-size: 16px; }
#quote [data-form-step="4"] .field em { font-size: 14px; }
.sms-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding-block: 8px;
  line-height: 1.5;
  cursor: pointer;
}
.sms-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--color-action);
}
#quote [data-form-step="4"] .form-submit { row-gap: 12px; }
#quote [data-form-step="4"] .cta-note { justify-self: end; text-align: right; }
#quote [data-form-step="4"] .form-status:empty { margin: 0; }

/* Shared breathing room between landing-page chapters. */
#main {
  --chapter-space: clamp(72px, 9vw, 152px);
}
#main > :is(.proof, .faq-editorial, .quote) {
  padding-block: var(--chapter-space);
}
#main > .space-comparison {
  padding-block: calc(var(--chapter-space) + 12px);
}
#main > .stair-system {
  padding-block: calc(var(--chapter-space) * .5) var(--chapter-space);
}
.process-story { --process-inset: var(--chapter-space); }
@media (max-width: 760px) {
  #main > .process-story { padding-block: var(--chapter-space); }
}

/* Landing page typography. Components set the text colors for their surface. */
:is(#main, .site-footer) {
  --heading-text: var(--color-ink);
  --body-text: var(--color-muted);
}


#main h1 {
  font: 400 var(--type-hero)/1.08 var(--font-heading);
  letter-spacing: var(--tracking-display);
  color: inherit;
}

#main .system-caption {
  --heading-text: var(--color-on-action);
  --body-text: var(--color-on-action);
}

body #main :is(h3, h4, .testimonial-quotes blockquote),
body #main #quote :is(h3, h4) {
  font: 600 var(--landing-heading-size)/1.2 var(--font);
  letter-spacing: var(--tracking-heading);
  color: var(--heading-text);
}

body #main h2 {
  font: 400 clamp(40px, 5vw, 80px)/1.06 var(--font-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--heading-text);
}
#main :is(h3, .testimonial-quotes blockquote) { --landing-heading-size: clamp(20px, 1.75vw, 26px); }
#main h4 { --landing-heading-size: 16px; }

body :is(#main, .site-footer) .body-copy,
body #main #quote .body-copy {
  font: 400 var(--type-body)/1.5 var(--font);
  letter-spacing: normal;
  color: var(--body-text);
}


body #main .testimonial-quotes blockquote {
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 1.32;
}
#main > .testimonials + #quote {
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--color-rule);
}


.site-footer {
  padding: clamp(42px, 5vw, 84px) max(var(--gutter), 6.4vw);
  background: var(--color-action);
  color: #EAE5DC;
  --footer-divider: rgb(234 229 220 / 55%);
}
.footer-info {
  display: grid;
  grid-template-columns: 1.15fr 1fr .62fr;
  gap: clamp(18px, 4vw, 64px);
  padding: 0 1.6vw clamp(32px, 4vw, 64px);
  font-size: clamp(16px, 2vw, 32px);
}
.footer-label {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(13px, 1.35vw, 21px);
  text-transform: uppercase;
}
.footer-contact h2 {
  margin: 0 0 12px;
  font: 400 clamp(34px, 4vw, 64px)/1 var(--font-heading);
}
.footer-info a {
  display: block;
  width: fit-content;
  color: inherit;
  overflow-wrap: anywhere;
  text-underline-offset: .16em;
}
.footer-info a + a { margin-top: .5em; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-location p { margin: 0; line-height: 1.7; }
.footer-wordmark {
  display: block;
  container-type: inline-size;
  padding-block: clamp(26px, 3vw, 52px) clamp(32px, 4.6vw, 80px);
  border-block: 1px solid var(--footer-divider);
  font-family: var(--font-heading);
  font-weight: 400;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.footer-wordmark span { display: block; }
.footer-wordmark span:first-child { font-size: 31cqi; line-height: .83; }
.footer-wordmark span:last-child {
  margin-top: 2cqi;
  font-size: 9cqi;
  line-height: 1;
  letter-spacing: .19em;
  padding-inline-start: .19em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: clamp(20px, 2.4vw, 42px);
  font-size: clamp(13px, 1.5vw, 24px);
}
@media (max-width: 640px) {
  .footer-info { grid-template-columns: 1fr; gap: 26px; padding-inline: 0; }
  .footer-info a { min-height: 44px; display: flex; align-items: center; }
  .footer-info a + a { margin-top: 0; }
}

#projects .project-label {
  display: inline-block;
  width: fit-content;
  padding: .2em .55em;
  background: var(--color-surface);
  color: var(--color-action);
}


/* Clear the fixed navigation when jumping to page sections. */
html { scroll-padding-top: 84px; }
#quote, .quote-form, .quote-form .form-step h3 { scroll-margin-top: 12px; }
.site-header { transition: transform 270ms var(--ease-out); }
.site-header.is-scroll-hidden:not(:focus-within):not(:has(.header-menu[open])) {
  /* Clear the fixed top inset as well as the header's own height. */
  transform: translateX(-50%) translateY(calc(-100% - 32px));
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}


/* Brand accents for existing content and interaction states. */
#projects .section-number,
.space-comparison .section-number,
.stair-system > .section-number,
.testimonial-quote-mark {
  color: var(--color-action);
}
#projects .portfolio-track figure:hover figcaption strong {
  text-decoration: underline;
  text-decoration-color: var(--color-action);
  text-underline-offset: .2em;
}
.space-comparison .comparison-frame:has(.comparison-range:active) .comparison-handle {
  background: var(--color-action-pressed);
}
.process-tabs button:focus-visible,
#quote .project-choice:has(input:focus-visible) {
  outline-color: var(--color-action);
}
@media (hover: hover) {
  .faq-accordion summary:hover::after { border-color: var(--color-action); }
}
#quote .field :is(input, textarea):focus-visible {
  border-color: var(--color-action);
  outline-color: var(--color-action);
}
#quote .button-primary:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* Secondary surfaces group content within the ivory sections. */
.process-tabs {
  --process-card-inset: clamp(18px, 2.3vw, 34px);
}
.process-tabs > button,
.process-tabs > [role="tabpanel"] {
  padding-inline: var(--process-card-inset);
}
.process-tabs > button[aria-selected="true"],
.process-tabs > [role="tabpanel"]:not([hidden]) {
  background: var(--color-surface);
}
.process-tabs > button { padding-block: clamp(22px, 2.2vw, 34px); }
.process-tabs > [role="tabpanel"] {
  padding-bottom: clamp(28px, 3vw, 44px);
  padding-inline-start: calc(2rem + var(--process-card-inset));
}
.process-tabs > button:not(:first-child) { margin-top: 6px; }

.space-comparison .comparison-instruction {
  background: var(--color-surface);
  margin: 0;
  padding: 10px 14px;
}
.faq-accordion details { padding-inline: clamp(18px, 2.5vw, 36px); }
.faq-accordion summary { padding-block: clamp(22px, 2.3vw, 36px); }
.faq-accordion details[open] { background: var(--color-surface); }
.faq-accordion details[open] > summary { color: var(--color-action); }

#quote :is(.selection-cards, .environment-choice-set) .project-choice,
#quote [data-form-step="1"] .upload,
#quote .review-group {
  background: var(--color-surface);
}
#quote .upload:focus-within { outline-color: var(--color-action); }
#quote [data-form-step="1"] .upload-icon { background: var(--color-page); }
#quote .review-group { padding-inline: clamp(14px, 2vw, 28px); }


.quote-form.is-sending .form-status::before {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-inline-end: .6em;
  border: 2px solid var(--color-rule);
  border-top-color: var(--color-action);
  border-radius: 50%;
  vertical-align: -.06em;
}
@media (prefers-reduced-motion: no-preference) {
  .header-menu[open]:not(:has(summary:focus-visible)) nav {
    animation: header-menu-enter 180ms var(--ease-out);
  }
  .quote-form.is-sending .form-status::before {
    animation: inquiry-spinner 800ms linear infinite;
  }
}
@keyframes header-menu-enter {
  from { opacity: .65; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes inquiry-spinner {
  to { transform: rotate(1turn); }
}

.inquiry-delivery-notice { width: min(100%, 968px); margin: 0 auto 24px; }
