/* =====================================================================
   Homepage: Property walkthrough (scroll-craft build "abatement-home")
   Loaded after styles.css on the homepage only. The scrollcraft engine
   (assets/sc/) is untouched; everything bespoke lives here and in home.js.
   ===================================================================== */
:root {
  --sc-canvas: #000000; --sc-surface: #141617;
  --sc-ink: #f3f1ea; --sc-ink-soft: #b3b8b6;
  --sc-accent: #5ef722; --sc-accent-ink: #000000;
  --sc-font-display: 'Archivo', system-ui, sans-serif;
  --sc-font-text: 'Archivo', system-ui, sans-serif;
  --tape: #c92f1d;
  --house-ink: rgba(243, 241, 234, .78);
  --house-soft: rgba(243, 241, 234, .28);
}
.page-home main { background: var(--black); }
/* Pinned act lengths, matching data-sc-span. The engine writes these inline after it mounts; declaring them
   here too means the page has its final length at first paint and nothing below a pin shifts. */
/* .seal is no longer pinned */ .steps-act { height: 170vh; } .close-act { height: 125vh; }

/* ------------------------------------------------------------ 1 HERO (sealed room, video) */
.hero-v { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; overflow: hidden; background: var(--black); color: var(--white); isolation: isolate; }
.hero-v__media { position: absolute; inset: 0; z-index: -2; }
.hero-v__poster, .hero-v__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.hero-v__video { opacity: 0; transition: opacity 1s ease; }
.hero-v__video.is-playing { opacity: 1; }
.hero-v__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .62) 40%, rgba(0, 0, 0, .12) 78%),
              linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .4) 22%, transparent 45%); }
.hero-v__copy { width: 100%; padding-top: 40px; padding-bottom: clamp(32px, 9vh, 120px); }
/* Below 1080px the fixed call/quote bar covers the bottom of the screen, so keep the hero buttons above it. */
@media (max-width: 1079px) { .hero-v__copy { padding-bottom: calc(90px + env(safe-area-inset-bottom)); } }
.hero-v__title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(2.2rem, min(5.4vw, 7svh), 5.6rem); line-height: .92; margin-bottom: 22px; }
.hero-v__title span { display: block; }
.hero-v__accent { color: var(--accent); }
.hero-v__text { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 46ch; margin-bottom: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-v__title span { animation: hv-rise .9s cubic-bezier(.2, .7, .2, 1) calc(.1s + var(--i) * .1s) both; }
  .js .hero-v__poster { animation: hv-settle 2.4s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes hv-rise { from { opacity: 0; transform: translateY(.4em); } to { opacity: 1; transform: none; } }
@keyframes hv-settle { from { transform: scale(1.06); } to { transform: none; } }
@media (max-width: 860px) {
  /* Phones: stack it. The picture sits on top, cropped to the taped doorway and the technician, and the
     headline sits on black below it instead of on top of the subject. */
  .hero-v { display: block; min-height: 0; --hv-media: clamp(260px, 46svh, 480px); }
  .hero-v__media { position: relative; inset: auto; height: var(--hv-media); }
  .hero-v__poster, .hero-v__video { object-position: 90% 45%; }
  .hero-v__shade { inset: 0 0 auto 0; height: var(--hv-media); background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .55) 22%, rgba(0, 0, 0, 0) 48%), linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 45%); }
  .hero-v__copy { position: relative; margin-top: -56px; padding-top: 0; }
  .hero-v__title { font-size: clamp(2rem, 9vw, 3.4rem); margin-bottom: 14px; }
  .hero-v__text { font-size: 1rem; margin-bottom: 18px; max-width: 40ch; }
  .hero-v__copy .btn { min-height: 48px; padding: 12px 18px; }
  .hero-v__call { display: none; }
}
@media (max-width: 860px) and (max-height: 760px) {
  .hero-v { --hv-media: clamp(200px, 36svh, 480px); }
  .hero-v__title { font-size: clamp(1.9rem, 8.4vw, 3rem); }
  .hero-v__text { font-size: .95rem; }
}

/* ------------------------------------------------------------ 2 WALKTHROUGH */
.walk { background: var(--black); color: var(--white); padding: clamp(40px, 8vh, 96px) 0 clamp(16px, 3vh, 40px); }
.walk__grid {
  max-width: var(--container); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left));
  display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.walk__map { position: relative; align-self: stretch; }
.walk__map-inner { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 22px; }
.house { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.walk__map .house { width: auto; max-width: 100%; max-height: calc(100svh - var(--header-h) - 240px); }
.walk__head { padding-bottom: clamp(24px, 6vh, 56px); }
.walk__title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: .94; margin-bottom: 18px; text-wrap: balance; }
.walk__lede { color: var(--muted-on-dark); font-size: 1.12rem; max-width: 48ch; margin: 0; }

/* the drawing */
.house :is(.h-wall, .h-floor, .h-ground) { fill: none; stroke: var(--house-ink); stroke-width: 1.6; }
.house .h-thin { fill: none; stroke: var(--house-ink); stroke-width: 1.1; }
.house .h-fine { fill: none; stroke: var(--house-soft); stroke-width: .8; }
.house .h-cut { stroke: var(--house-ink); stroke-width: 1.1; }
.house .h-hatch { stroke: var(--house-soft); stroke-width: 1; }
.house .h-dot { fill: var(--house-soft); }
.house .h-soil { opacity: .6; }
.house .h-win { fill: none; stroke: var(--house-ink); stroke-width: 1.4; }
.house .h-door { fill: none; stroke: var(--house-ink); stroke-width: 1.4; }
.house .h-peb { fill: none; stroke: var(--house-ink); stroke-width: .8; }
.house .hz-fill { fill: transparent; stroke: none; transition: fill .35s var(--ease); }
.house .hz-fill--line { fill: none; stroke: transparent; stroke-width: 3; transition: stroke .35s var(--ease); }
.house .hz-detail { fill: none; stroke: var(--house-ink); stroke-width: 1; opacity: .7; }
.house .hz-detail[fill] { stroke: none; opacity: .9; }
.house .hz-tape {
  fill: none; stroke: var(--tape); stroke-width: 4.5; stroke-linejoin: miter; stroke-linecap: butt;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease);
}
.house .hz.is-current .hz-fill { fill: rgba(94, 247, 34, .17); }
.house .hz.is-current .hz-fill--line { stroke: var(--accent); }
.house .hz.is-taped .hz-tape, .is-complete .house .hz-tape { stroke-dashoffset: 0; }
.house .hz.is-taped .hz-fill { fill: rgba(201, 47, 29, .08); }
.house .hz-link { cursor: pointer; }
.house .hz-link:focus { outline: none; }
.house .hz-link:focus-visible .hz-fill { stroke: var(--accent); stroke-width: 2; }
@media (hover: hover) and (pointer: fine) { .house .hz-link:hover .hz-fill { fill: rgba(94, 247, 34, .11); } }

.walk__index { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; margin: 0; padding: 0; list-style: none; }
.walk__index a {
  display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 0;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--muted-on-dark);
}
.walk__index a::before { content: ''; flex: none; width: 14px; height: 4px; background: var(--house-soft); transition: background .3s; }
.walk__index a.is-taped::before { background: var(--tape); }
.walk__index a.is-current { color: var(--white); }
.walk__index a.is-current::before { background: var(--accent); }
.walk__index a:hover { color: var(--white); }
.walk__now { display: none; }

.stop { padding-block: clamp(40px, 9vh, 110px); border-top: 1px solid var(--line-dark); scroll-margin-top: calc(var(--header-h) + 24px); }
.stop__name { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: .95; margin-bottom: 22px; }
.stop__media { margin: 0 0 26px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #0b0c0c; }
.stop__media picture, .stop__media img { width: 100%; height: 100%; object-fit: cover; }
.stop__media--drawing { border: 1px solid var(--line-dark); display: grid; place-items: center; padding: 6% 8%; }
.detail { width: 100%; height: auto; }
.detail .d-thin { fill: none; stroke: var(--house-ink); stroke-width: 1.4; }
.detail .d-cut { fill: none; stroke: var(--house-ink); stroke-width: 1.4; }
.detail .d-base { fill: none; stroke: var(--house-ink); stroke-width: 2; }
.detail .d-peb { fill: none; stroke: var(--house-ink); stroke-width: 1; }
.detail .d-chip { fill: none; stroke: var(--house-ink); stroke-width: 1.4; stroke-linejoin: round; }
.detail .d-stain { fill: none; stroke: var(--house-ink); stroke-width: 1.4; stroke-dasharray: 5 4; }
.detail .d-stain--in { stroke-dasharray: 2 4; opacity: .7; }
.detail .d-note { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.detail .d-label { fill: var(--accent); font-family: var(--mono); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.stop__label { margin: 0; display: grid; gap: 0; max-width: 60ch; }
.stop__label > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.stop__label dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.stop__label dd { margin: 0; color: rgba(243, 241, 234, .86); }
.stop__svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stop__svc a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; color: var(--white); text-decoration: underline; text-decoration-color: rgba(94, 247, 34, .6); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.stop__svc a:hover { color: var(--accent); }

@media (max-width: 1079px) {
  .walk__grid { grid-template-columns: 1fr; gap: 0; }
  .walk__map { order: 0; position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left))); background: #000; border-bottom: 1px solid var(--line-dark); }
  .walk__map-inner { position: static; grid-template-columns: 92px 1fr; align-items: center; gap: 14px; padding: 10px max(var(--gutter), env(safe-area-inset-left)); }
  .house { max-width: 92px; }
  .walk__index { display: none; }
  .walk__now { display: block; margin: 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); }
  .walk__now strong { display: block; font-family: var(--font); font-size: 1.15rem; letter-spacing: 0; color: var(--white); font-stretch: 85%; }
  .walk__stops { order: 1; padding-top: 28px; }
  .stop { scroll-margin-top: calc(var(--header-h) + 130px); }
}
@media (max-width: 560px) { .stop__label > div { grid-template-columns: 1fr; gap: 4px; } }

/* ------------------------------------------------------------ 3+4 SEALED (peak) */
.seal__stage {
  position: relative; height: 100svh; min-height: 520px;
  background: var(--black); color: var(--white);
  --t1: 1; --t2: 1; --t3: 1; --t4: 1; --k: 1;
  --edge: clamp(10px, 1.6vw, 22px); --tw: clamp(12px, 1.25vw, 19px);
}
.seal__frame { position: absolute; inset: calc(var(--header-h) + var(--edge) + var(--tw)) calc(var(--edge) + var(--tw)) calc(var(--edge) + var(--tw)); }
.seal__photo { position: absolute; inset: 0; margin: 0; }
.seal__photo picture, .seal__img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.seal__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .7) 38%, transparent 70%); opacity: var(--k); pointer-events: none; }
.seal__copy { position: absolute; left: clamp(18px, 3vw, 40px); bottom: clamp(18px, 4vh, 40px); right: clamp(18px, 3vw, 40px); max-width: 40rem; }
.seal__title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .92; margin-bottom: 14px; color: var(--white); }
.seal__text { color: rgba(255, 255, 255, .86); font-size: 1.1rem; max-width: 44ch; margin-bottom: 14px; }
.seal__svc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.seal__svc a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.seal__svc a:hover { color: var(--accent); }
.tape {
  position: absolute; z-index: 3; background-color: var(--tape);
  background-image: radial-gradient(circle, rgba(24, 8, 6, .5) 0 3px, transparent 3.4px), linear-gradient(rgba(255, 255, 255, .12), rgba(0, 0, 0, .14));
  box-shadow: 0 2px 6px rgba(0, 0, 0, .55);
}
.tape--top, .tape--bottom { left: var(--edge); right: var(--edge); height: var(--tw); background-size: 36px 100%, 100% 100%; }
.tape--left, .tape--right { top: calc(var(--header-h) + var(--edge)); bottom: var(--edge); width: var(--tw); background-size: 100% 36px, 100% 100%; }
.tape--top { top: calc(var(--header-h) + var(--edge)); rotate: -0.25deg; clip-path: inset(0 calc((1 - var(--t1)) * 100%) 0 0); }
.tape--right { right: var(--edge); rotate: 0.2deg; clip-path: inset(0 0 calc((1 - var(--t2)) * 100%) 0); }
.tape--bottom { bottom: var(--edge); rotate: 0.18deg; clip-path: inset(0 0 0 calc((1 - var(--t3)) * 100%)); }
.tape--left { left: var(--edge); rotate: -0.2deg; clip-path: inset(calc((1 - var(--t4)) * 100%) 0 0 0); }

/* ------------------------------------------------------------ 5 SERVICES INDEX */
.index { background: var(--paper); color: var(--ink); padding-block: clamp(64px, 10vw, 128px); }
.index__grid { display: grid; grid-template-columns: 0.7fr 2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.index__title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .94; position: sticky; top: calc(var(--header-h) + 28px); }
.index__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-light); }
.index__row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 6px 36px; padding: 24px 0; border-top: 1px solid var(--line-light); }
.index__cat { grid-row: span 2; display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.05; text-decoration: none; }
.index__cat .icon { margin-top: .2em; color: var(--accent-ink); transition: transform .25s var(--ease); }
.index__cat:hover .icon { transform: translateX(4px); }
.index__desc { margin: 0; color: var(--muted-on-light); }
.index__svcs { margin: 0; font-weight: 600; font-size: .98rem; }
.index__svcs a { color: var(--accent-ink); text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
@media (max-width: 860px) { .index__grid, .index__row { grid-template-columns: 1fr; } .index__title { position: static; } .index__cat { grid-row: auto; min-height: 44px; align-items: center; } .index__cat .icon { margin-top: 0; } }

/* ------------------------------------------------------------ 6 CONTACT SHEET */
.sheet { background: var(--black); color: var(--white); padding-block: clamp(64px, 10vw, 128px); overflow: clip; }
.sheet__head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sheet__title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: .94; }
.sheet__lede { color: var(--muted-on-dark); margin: 0; max-width: 44ch; }
.sheet__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.sheet__col { display: grid; gap: 14px; }
.sheet__col:nth-child(2) { margin-top: 56px; }
.sheet__item { display: block; overflow: hidden; border-radius: 4px; background: var(--charcoal-2); }
.sheet__item picture, .sheet__item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) { .sheet__item:hover img { transform: scale(1.03); } }
.sheet__foot { margin-top: clamp(28px, 4vw, 48px); }
.sheet__foot .text-link { color: var(--accent); }
@media (max-width: 860px) {
  .sheet__head { grid-template-columns: 1fr; }
  .sheet__cols { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sheet__col { display: contents; }
}

/* ------------------------------------------------------------ 7 HOW IT WORKS */
.steps-stage { background: var(--charcoal); color: var(--white); }
.steps-wrap { position: relative; height: 100%; display: grid; align-content: center; padding-top: var(--header-h); padding-bottom: 24px; }
.steps-title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: .94; margin-bottom: clamp(20px, 4vh, 40px); }
.steps-list { list-style: none; margin: 0; padding: 0; max-width: 54rem; }
.steps-list li { display: grid; grid-template-columns: clamp(48px, 6vw, 80px) 1fr; gap: 12px; padding: clamp(14px, 2.6vh, 24px) 0; border-top: 1px solid var(--line-dark); }
.steps-n { font-family: var(--mono); font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--accent); line-height: 1; padding-top: 4px; }
.steps-list h3 { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.05; margin-bottom: 8px; }
.steps-list p { margin: 0; color: var(--muted-on-dark); max-width: 60ch; }
.steps-rule { position: absolute; left: max(var(--gutter), env(safe-area-inset-left)); right: max(var(--gutter), env(safe-area-inset-right)); bottom: 0; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(var(--sc-p, 0)); }
@media (max-width: 560px) { .steps-list p { font-size: .95rem; } }

/* ------------------------------------------------------------ 8 ABOUT + WHERE */
.who { background: var(--paper); color: var(--ink); padding-block: clamp(64px, 10vw, 128px); }
.who__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.who__title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: .94; margin-bottom: 22px; }
.who__copy > p { font-size: 1.1rem; color: #2b3033; max-width: 58ch; }
.who__facts { margin: 26px 0 18px; border-bottom: 1px solid var(--line-light); }
.who__facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.who__facts dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); padding-top: 3px; }
.who__facts dd { margin: 0; font-weight: 600; overflow-wrap: break-word; }
.who__facts a { color: inherit; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
.who__note { font-weight: 600; margin-bottom: 18px; }
.who__side { display: grid; gap: 22px; }
.who__photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.who__photo picture, .who__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.who__map { display: flex; justify-content: center; }
.who__map .province-map { width: min(100%, 360px); }
@media (max-width: 860px) { .who__grid { grid-template-columns: 1fr; } .who__facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* ------------------------------------------------------------ 9 QUESTIONS */
.qa { background: var(--black); color: var(--white); padding-block: clamp(64px, 10vw, 128px); }
.qa__grid { display: grid; grid-template-columns: 0.7fr 2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.qa__title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: .94; position: sticky; top: calc(var(--header-h) + 28px); }
.qa__list { border-top: 1px solid var(--line-dark); }
@media (max-width: 860px) { .qa__grid { grid-template-columns: 1fr; } .qa__title { position: static; } }

/* ------------------------------------------------------------ 10 THE REQUEST */
.close-stage { background: var(--paper); color: var(--ink); --house-ink: rgba(15, 17, 17, .8); --house-soft: rgba(15, 17, 17, .3); }
.close-grid { height: 100%; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: var(--header-h); }
.close-title { font-weight: 850; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: .92; margin-bottom: 18px; }
.close-text { font-size: 1.12rem; color: #2b3033; max-width: 46ch; margin-bottom: 26px; }
.close-contacts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 4px; }
.close-contacts a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 700; font-size: 1.08rem; text-decoration: none; color: var(--ink); overflow-wrap: break-word; }
.close-contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.close-contacts .icon { color: var(--accent-ink); }
.close-house { display: flex; justify-content: center; }
.close-house .house { max-width: 380px; }
.close-house .house .hz-tape { transition: none; stroke-dashoffset: clamp(0, 1 - var(--sc-p, 1) * 2.2, 1); }
@media (max-width: 860px) {
  .close-grid { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .close-house { order: -1; }
  .close-house .house { max-width: 150px; }
  .close-title { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* ------------------------------------------------------------ short screens: never clip a pinned stage */
@media (max-height: 620px) {
  .steps-act, .close-act { height: auto !important; }
  .steps-stage, .close-stage { position: relative !important; height: auto !important; min-height: 100svh; }
  .steps-wrap, .close-grid { padding-block: calc(var(--header-h) + 20px) 32px; }
  .steps-act [data-sc-cue], .close-act [data-sc-cue] { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  .close-house .house .hz-tape { stroke-dashoffset: 0 !important; }
}

/* ------------------------------------------------------------ reduced motion: complete static composition */
@media (prefers-reduced-motion: reduce) {
  .steps-act, .close-act { height: auto !important; }
  .steps-stage, .close-stage { position: relative !important; height: 100svh; }
  .steps-stage, .close-stage { height: auto; min-height: 100svh; }
  .steps-wrap, .close-grid { padding-block: calc(var(--header-h) + 32px) 48px; }
  .steps-rule { display: none; }
  .page-home [data-sc-cue] { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  .house .hz-tape, .house .hz-fill { transition: none; }
  .close-house .house .hz-tape { stroke-dashoffset: 0 !important; }
}
