/* ScanToScope v2 · split stage
   Two grounds that hold (Cedar for the site visit, Walnut for the scan),
   one accent (Laser Red) for action and the laser line only. */

:root {
  --walnut: #14100D;
  --cedar: #2E2119;
  --plaster: #F1E9DE;
  --ink: #F4EDE3;
  --ink-soft: #A99C8D;
  --light: #FFF3DC;
  --laser: #FF4B2B;

  --sc-canvas: var(--walnut);
  --sc-surface: #1D1713;
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--laser);
  --sc-accent-ink: var(--walnut);
  --sc-font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --sc-font-text: "Instrument Sans", system-ui, sans-serif;
  --sc-shadow-color: 22 30% 4%;
  --sc-gutter: clamp(1.25rem, 4.4vw, 4rem);

  /* written by site.js */
  --split: 0.5;
  --open: 1;
  --vw: 100vw;
  --sh: 100vh;
  --dop: 1;
  --sdim: 1;

  --clear: 172px;             /* room the divider timeline needs */
  --t-hero: clamp(2rem, min(1.2rem + 3.9vw, 1rem + 7.2vh), 5.4rem);
  --t-act: clamp(1.45rem, min(1rem + 2.3vw, 0.8rem + 4.4vh), 3.4rem);
  --t-lede: clamp(0.92rem, min(0.95rem + 0.4vw, 0.72rem + 1.1vh), 1.3rem);
  --top: clamp(3.6rem, 13vh, 8rem);            /* where copy starts under the divider plate */
  --frame-top: clamp(9.5rem, 32vh, 18.5rem);  /* top of the peak photo frame */
  --r: 8px;
}

html { background: var(--walnut); overflow-x: clip; }
body { background: var(--walnut); font-optical-sizing: auto; }

/* ------------------------------------------------------------ the stage -- */
.act { --home: 0.5; }
#room { --home: 0.34; }
.act--close { --home: 0.4; }

.stage { background: var(--walnut); }
.side { position: absolute; inset: 0; overflow: clip; contain: paint; }
.side--visit {
  background: var(--cedar);
  clip-path: inset(0 calc(var(--vw) * (1 - var(--split))) 0 calc(var(--vw) * var(--split) * (1 - var(--open))));
}
.side--scan {
  background: var(--walnut);
  clip-path: inset(0 calc(var(--vw) * (1 - var(--split)) * (1 - var(--open))) 0 calc(var(--vw) * var(--split)));
}
.follow {
  position: absolute; inset: 0;
  transform: translate3d(calc((var(--split) - var(--home)) * var(--vw)), 0, 0);
}

/* ------------------------------------------------------------ type -------- */
.hero-h1 { position: absolute; inset: 0; margin: 0; pointer-events: none; z-index: 5; font-weight: inherit; }
.hero-h1 > span {
  position: absolute; top: var(--top);
  display: block;
  font-family: var(--sc-font-display);
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-h1__visit {
  left: var(--sc-gutter);
  width: calc(var(--home) * var(--vw) - var(--sc-gutter) - var(--clear));
  font-weight: 500;
  color: var(--ink);
}
.hero-h1__scan {
  left: calc(var(--home) * var(--vw) + var(--clear));
  font-weight: 800;
  color: var(--ink);
  transform: translate3d(calc((var(--split) - var(--home)) * var(--vw)), 0, 0);
}

.act-h {
  font-family: var(--sc-font-display);
  font-size: var(--t-act);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
.act-h--visit { font-weight: 480; }
.lede {
  font-size: var(--t-lede);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  max-width: 34ch;
  text-wrap: pretty;
  margin: 0.9rem 0 0;
}

/* ------------------------------------------------------------ CTA -------- */
.cta {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: var(--r);
  background: var(--laser);
  color: var(--walnut);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 hsl(12 100% 70% / 0.6) inset, 0 6px 16px -6px hsl(10 90% 30% / 0.55);
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
  pointer-events: auto;
}
@media (hover: hover) and (pointer: fine) {
  .cta:hover { background: #FF6344; box-shadow: 0 1px 0 hsl(12 100% 76% / 0.6) inset, 0 10px 22px -8px hsl(10 90% 30% / 0.6); }
}
.cta:active { transform: translateY(1px) scale(0.985); }
.cta:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }

/* ------------------------------------------------------------ divider ---- */
.divider {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: 0; height: 100vh; height: 100svh;
  transform: translate3d(calc(var(--split) * var(--vw)), 0, 0);
  opacity: var(--dop);
  pointer-events: none;
  font-size: 12px; line-height: 1.2;
}
.divider__line {
  position: absolute; top: 0; bottom: 0; left: -0.5px; width: 1px;
  background: linear-gradient(to bottom, hsl(34 40% 92% / 0.1), hsl(34 40% 92% / 0.34) 12%, hsl(34 40% 92% / 0.34) 88%, hsl(34 40% 92% / 0.1));
  transform-origin: 50% 0;
  transform: scaleY(var(--line, 1));
}
.divider__plate--top {
  position: absolute; top: 20px; left: -190px; width: 380px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  opacity: var(--chrome, 1);
}
.divider__label { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.divider__label--visit { justify-self: end; color: var(--ink-soft); }
.divider__label--scan { justify-self: start; color: var(--ink); }
.divider__mark { width: 30px; height: 30px; overflow: visible; }
.divider__mark rect, .foot__mark rect { fill: var(--walnut); stroke: hsl(34 40% 92% / 0.3); stroke-width: 1; }
.divider__mark path, .foot__mark path { fill: none; stroke: var(--light); stroke-width: 2; stroke-linecap: round; }
.divider__mark circle, .foot__mark circle { fill: var(--laser); }

.divider__stamps { list-style: none; margin: 0; padding: 0; position: absolute; top: 0; opacity: calc(var(--sdim) * var(--chrome, 1)); }
.divider__stamps--visit { right: 14px; }
.divider__stamps--scan { left: 14px; }
.divider__stamps li {
  position: absolute; top: 0;
  white-space: nowrap;
  color: var(--ink-soft);
  opacity: 0;
  translate: 0 var(--y, 0);
  transform: translate3d(var(--dx, 8px), -50%, 0);
  transition: opacity 260ms var(--sc-ease-out), transform 360ms var(--sc-ease-out);
}
.divider__stamps--visit li { right: 0; text-align: right; --dx: -8px; }
.divider__stamps--scan li { left: 0; color: var(--ink); }
.divider__stamps li.on { opacity: 1; transform: translate3d(0, -50%, 0); }
.divider__stamps b { font-weight: 650; font-variant-numeric: tabular-nums; margin-right: 0.35em; color: var(--ink); }
.divider__stamps li::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 1px; background: currentColor; opacity: 0.6;
}
.divider__stamps--visit li::after { right: -14px; }
.divider__stamps--scan li::after { left: -14px; background: var(--light); opacity: 0.9; }

.divider__head {
  position: absolute; left: -4px; top: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--laser);
  box-shadow: 0 0 0 3px hsl(10 100% 58% / 0.18);
  translate: 0 var(--hy, 84px);
  transform: translateY(-50%);
  opacity: var(--chrome, 1);
}
.divider__plate--clock {
  position: absolute; bottom: 20px; left: 0;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 12px 6px;
  background: var(--walnut);
  border: 1px solid hsl(34 40% 92% / 0.16);
  border-radius: var(--r);
  box-shadow: var(--sc-e2);
  opacity: var(--chrome, 1);
}
.divider__clock { font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); }
.divider__note { font-size: 11px; color: var(--ink-soft); white-space: nowrap; }

/* ------------------------------------------------------------ act 1 ------ */
.map { position: absolute; left: 0; top: 34%; width: calc(var(--home) * var(--vw)); height: 66%; overflow: visible; }
.map .streets line { stroke: hsl(34 40% 92% / 0.07); stroke-width: 1; }
.map .streets line.major { stroke: hsl(34 40% 92% / 0.13); stroke-width: 2.4; }
.map .river { fill: hsl(25 30% 7% / 0.55); stroke: hsl(34 40% 92% / 0.1); stroke-width: 1; }
.map .bridge { stroke: hsl(34 40% 92% / 0.3); stroke-width: 1.2; fill: none; }
.map .route-bed { fill: none; stroke: hsl(34 40% 92% / 0.12); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.map .route { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.map .pin rect { fill: var(--cedar); stroke: var(--ink); stroke-width: 1.6; }
.map .pin circle { fill: var(--ink); }
.map .pin-label { fill: var(--ink); font: 600 16px var(--sc-font-text); }
.map .lot { fill: hsl(34 40% 92% / 0.035); }
.map .street-name { fill: hsl(34 30% 80% / 0.34); font: italic 500 12px var(--sc-font-text); letter-spacing: 0.02em; }
.map .chip rect { fill: var(--walnut); stroke: hsl(34 40% 92% / 0.25); }
.map .chip text { fill: var(--ink); font: 650 14px var(--sc-font-text); font-variant-numeric: tabular-nums; }
.map .marker { fill: var(--ink); stroke: var(--cedar); stroke-width: 3; }

.visit-copy {
  position: absolute; left: var(--sc-gutter); top: var(--top);
  width: calc(var(--home) * var(--vw) - var(--sc-gutter) - var(--clear));
}
.trip .act-h { max-width: 14ch; }
.trip__log { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.55rem; max-width: 30rem; }
.trip__log li {
  display: grid; grid-template-columns: 3.6rem 1fr; gap: 0.2rem;
  font-size: var(--sc-t-sm); line-height: 1.45; color: var(--ink-soft);
  opacity: 0; transform: translate3d(0, 6px, 0);
  transition: opacity 300ms var(--sc-ease-out), transform 420ms var(--sc-ease-out);
}
.trip__log li.on { opacity: 1; transform: none; }
.trip__log b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }

.plate {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--home) * var(--vw)); width: calc((1 - var(--home)) * var(--vw));
  height: 100%; max-width: none;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 24%, #000 62%);
          mask-image: linear-gradient(to bottom, transparent 0%, transparent 24%, #000 62%);
  opacity: 0.62;
  transform-origin: 50% 70%;
  will-change: transform;
}
.hand-park {
  position: absolute; bottom: 0;
  left: calc(var(--home) * var(--vw) + (1 - var(--home)) * var(--vw) * 0.5);
  width: 0; height: 0;
  will-change: transform;
}
.hand-tilt { position: absolute; left: 0; bottom: 0; transform-style: preserve-3d; }
.hand {
  position: absolute; left: 0; bottom: 0;
  width: 835px; height: 1012px;
  transform-origin: 0 100%;
  transform: scale(var(--hs, 0.6)) translateX(-50%);
  filter: drop-shadow(0 30px 40px hsl(22 40% 3% / 0.55));
}
.hand > img { position: absolute; inset: 0; width: 835px; height: 1012px; max-width: none; }
.screen {
  position: absolute; left: 0; top: 0;
  width: 330px; height: 720px;
  transform-origin: 0 0;
  border-radius: 42px;
  overflow: hidden;
  background: #0B0907;
}
.scr { position: absolute; inset: 0; opacity: 0; }
.scr--cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.scr__trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scr__trace path { fill: none; stroke: var(--light); stroke-width: 2.4; stroke-linejoin: round; }
.scr__trace path.glow { stroke: hsl(38 100% 80% / 0.35); stroke-width: 7; }
.scr__laser {
  position: absolute; left: -10%; right: -10%; top: 0; height: 2px;
  background: var(--laser);
  box-shadow: 0 0 0 1px hsl(10 100% 58% / 0.25), 0 6px 18px 2px hsl(10 100% 58% / 0.25);
  opacity: 0;
}
.scr__bar {
  position: absolute; left: 22px; right: 22px; top: 56px;
  display: flex; justify-content: space-between; gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: hsl(24 20% 8% / 0.72);
  color: var(--ink); font-size: 15px; font-weight: 600;
}
.scr__rec { color: var(--laser); }
.scr__prog { position: absolute; left: 22px; right: 22px; bottom: 44px; height: 6px; border-radius: 6px; background: hsl(24 20% 8% / 0.6); overflow: hidden; }
.scr__prog i { display: block; height: 100%; width: 100%; background: var(--light); transform-origin: 0 50%; transform: scaleX(0); }
.scr--invite, .scr--done {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 40px 30px;
  background: linear-gradient(to bottom, #1C1612, #0E0B09);
}
.scr__co { margin: 0 0 18px; color: var(--ink-soft); font-size: 18px; font-weight: 600; }
.scr__big { margin: 0; font-family: var(--sc-font-display); font-weight: 780; font-size: 44px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.scr__small { margin: 14px 0 0; font-size: 18px; line-height: 1.35; color: var(--ink-soft); }
.scr__btn { margin-top: 34px; padding: 16px 26px; border-radius: 14px; background: var(--laser); color: var(--walnut); font-weight: 700; font-size: 19px; }
.scr__check { width: 72px; height: 72px; margin-bottom: 26px; }
.scr__check circle { fill: none; stroke: var(--light); stroke-width: 2; }
.scr__check path { fill: none; stroke: var(--light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.scan-copy {
  position: absolute;
  left: calc(var(--home) * var(--vw) + var(--clear));
  right: var(--sc-gutter);
  top: var(--top);
}
.scan-copy > * { position: absolute; left: 0; top: 0; width: 100%; max-width: min(32rem, calc((1 - var(--home) - 0.05) * var(--vw) - var(--clear) - var(--sc-gutter))); }
.scan-copy__hero { top: calc(var(--t-hero) * 1.18); }
.hero-sub { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-soft); max-width: 30ch; margin: 0 0 1.4rem; text-wrap: pretty; }

/* ------------------------------------------------------------ act 2 ------ */
.visit-copy--room { width: calc(var(--home) * var(--vw) - var(--sc-gutter) - var(--clear)); }
.status { position: absolute; left: 0; top: 0; width: 100%; }
.status__t {
  margin: 0;
  font-family: var(--sc-font-display); font-weight: 480;
  font-size: clamp(2.2rem, 1.4rem + 2vw, 3.6rem); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.status__s { margin: 0.7rem 0 0; font-size: var(--t-lede); line-height: 1.45; color: var(--ink-soft); max-width: 22ch; text-wrap: pretty; }
.notepad {
  position: absolute; left: 0; top: clamp(8.5rem, 30vh, 17rem); margin: 0;
  width: min(100%, 300px); aspect-ratio: 1;
  border-radius: 4px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 23px, hsl(34 40% 92% / 0.06) 23px 24px),
    hsl(34 40% 92% / 0.045);
  box-shadow: var(--sc-e2), var(--sc-edge);
  transform: rotate(-2.2deg);
}
.notepad svg { width: 100%; height: 100%; overflow: visible; }
.notepad path { fill: none; stroke: #CDBFAE; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.notepad text { fill: #CDBFAE; font: italic 500 14px var(--sc-font-text); }
.notepad .strike { stroke: #CDBFAE; stroke-width: 1.6; }

.room-copy {
  position: absolute;
  left: calc(var(--home) * var(--vw) + var(--clear));
  right: var(--sc-gutter);
  top: var(--top);
}
.room-copy__b { position: absolute; left: 0; top: 0; width: 100%; max-width: 30rem; }
.room-copy__b { max-width: 40rem; }
.room-copy .lede { max-width: 52ch; }

.room-frame {
  position: absolute;
  left: calc(var(--home) * var(--vw) + 40px);
  top: var(--frame-top);
  width: min(calc((1 - var(--home)) * var(--vw) - 40px - var(--sc-gutter)), calc((var(--sh) - var(--frame-top) - 40px) * 16 / 9));
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: visible;
}
.room-frame__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; border-radius: 6px;
  box-shadow: var(--sc-e3);
  will-change: transform, opacity;
}
.room-frame__shade { position: absolute; inset: 0; border-radius: 6px; background: var(--walnut); opacity: 0; box-shadow: inset 0 0 0 1px hsl(34 40% 92% / 0.08); }
.room-frame__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 60%; }
.room-frame__svg .sh { fill: none; stroke: var(--light); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.room-frame__svg .sh-glow { fill: none; stroke: hsl(38 100% 82% / 0.22); stroke-width: 6; stroke-linejoin: round; }
.room-frame__svg .ghost { fill: none; stroke: hsl(38 100% 88% / 0.5); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0; }
.room-frame__svg .sh-dash { fill: none; stroke: var(--light); stroke-width: 1.2; stroke-dasharray: 5 5; opacity: 0; }
.room-frame__svg .hl { stroke: var(--laser); }
.room-frame__svg .vert { fill: var(--laser); }
.room-frame__svg .floorfill { fill: var(--laser); opacity: 0; }
.room-frame__svg .wall { fill: none; stroke: var(--light); stroke-width: 2.4; }
.room-frame__svg .open { fill: none; stroke: hsl(38 100% 88% / 0.45); stroke-width: 1.2; stroke-dasharray: 3 6; }
.room-frame__svg .dim { fill: none; stroke: hsl(34 30% 70% / 0.7); stroke-width: 1; }
.room-frame__svg .dimt { fill: var(--ink); font: 600 13px var(--sc-font-text); font-variant-numeric: tabular-nums; paint-order: stroke; stroke: var(--walnut); stroke-width: 4px; stroke-linejoin: round; }
.room-frame__svg .dimt--soft { fill: var(--ink-soft); font-weight: 500; }
.room-frame__tag {
  position: absolute; left: 14px; bottom: 10px; margin: 0;
  font-size: 12px; color: var(--ink-soft); opacity: 0;
}

.receipt {
  position: absolute;
  right: var(--sc-gutter);
  top: calc(var(--frame-top) - 26px);
  width: min(22rem, 34vw);
  padding: 22px 22px 18px;
  background: var(--plaster);
  color: var(--walnut);
  border-radius: 4px;
  box-shadow: 0 2px 4px hsl(22 40% 3% / 0.3), 0 24px 50px -12px hsl(22 40% 3% / 0.7);
  opacity: 0;
  transform: translate3d(28px, 0, 0);
  will-change: transform, opacity;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  padding-bottom: 26px;
}
.receipt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed hsl(22 30% 20% / 0.35); }
.receipt__title { margin: 0; font-family: var(--sc-font-display); font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; }
.receipt__sub { margin: 0; font-size: 12.5px; color: #5E5146; }
.receipt__rows { width: 100%; border-collapse: collapse; margin: 6px 0 0; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.receipt__rows tr { opacity: 0; transform: translate3d(0, 5px, 0); }
.receipt__rows th, .receipt__rows td { padding: 7px 0; text-align: left; font-weight: 500; border-bottom: 1px solid hsl(22 30% 20% / 0.08); }
.receipt__rows th { font-weight: 650; padding-right: 8px; }
.receipt__rows td:nth-child(2) { color: #5E5146; white-space: nowrap; padding-right: 8px; }
.receipt__rows td:last-child { text-align: right; font-weight: 650; white-space: nowrap; }
.receipt__rows tr.hot th::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px -13px; border-radius: 50%; background: var(--laser); }
.receipt__total {
  display: flex; justify-content: space-between; margin: 12px 0 0; padding-top: 10px;
  border-top: 2px solid var(--walnut);
  font-family: var(--sc-font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.receipt__foot { margin: 8px 0 0; font-size: 12px; color: #5E5146; }

/* ------------------------------------------------------------ act 3 ------ */
.desk {
  position: relative;
  background: linear-gradient(to right, var(--cedar) 0 calc(var(--split) * var(--vw)), var(--walnut) calc(var(--split) * var(--vw)));
  padding: clamp(6rem, 12vh, 9rem) 0 clamp(5rem, 12vh, 9rem);
  --home: 0.4;
}
.desk__inner { position: relative; }
.desk .cell--visit {
  width: calc(var(--home) * var(--vw) - var(--clear) - var(--sc-gutter));
  margin-left: var(--sc-gutter);
  text-align: right;
}
.desk .cell--scan {
  margin-left: calc(var(--home) * var(--vw) + var(--clear));
  width: min(46rem, calc((1 - var(--home)) * var(--vw) - var(--clear) - var(--sc-gutter)));
  transform: translate3d(calc((var(--split) - var(--home)) * var(--vw)), 0, 0);
}
.desk__head, .row { display: grid; grid-template-columns: 1fr; }
.desk__head > .cell, .row > .cell { grid-row: 1; grid-column: 1; }
.desk__head .act-h--visit { color: var(--ink-soft); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.4rem); }
.proof { margin-top: 1.6rem; padding: 18px 20px; border-radius: var(--r); background: hsl(26 22% 10%); box-shadow: var(--sc-e2), var(--sc-edge); }
.proof__label { margin: 0 0 10px; font-size: var(--sc-t-sm); color: var(--ink-soft); }
.proof__figs { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 2.2rem; margin: 0; }
.proof__figs > div { display: flex; flex-direction: column-reverse; }
.proof__figs dt { font-size: 13px; color: var(--ink-soft); }
.proof__figs dd { margin: 0; font-family: var(--sc-font-display); font-weight: 780; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.rows { margin-top: clamp(3rem, 7vh, 5rem); display: grid; gap: clamp(1.8rem, 4vh, 2.6rem); }
.row .cell--visit { margin-top: 1.95rem; color: var(--ink-soft); font-size: var(--sc-t-base); line-height: 1.55; text-wrap: pretty; }
.row__k { display: none; }
.row .cell--scan h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 720; font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.row .cell--scan p { margin: 0.45rem 0 0; color: var(--ink); opacity: 0.86; line-height: 1.55; max-width: 40ch; text-wrap: pretty; }

/* ------------------------------------------------------------ act 4 ------ */
.act--close .side--daylight { background: #D9D4CC; }
.close-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, hsl(36 30% 96% / 0.72) 0%, hsl(36 30% 96% / 0.45) 32%, transparent 58%);
}
.close-copy {
  position: absolute; z-index: 3;
  left: var(--sc-gutter); top: clamp(6rem, 22vh, 13rem);
  width: min(36rem, 46vw);
  color: var(--walnut);
  --sc-ink: var(--walnut);
}
.close-copy__main, .close-copy__act { position: relative; }
.close-h { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(2.4rem, min(1.2rem + 5.6vw, 1rem + 9vh), 6.4rem); line-height: 0.95; letter-spacing: -0.04em; color: var(--walnut); }
.close-lede { margin: 1.1rem 0 0; font-size: var(--t-lede); line-height: 1.5; color: #2B221C; max-width: 30ch; text-wrap: pretty; }
.close-copy__act { margin-top: 2rem; }
.cta--close {
  background: var(--walnut); color: var(--plaster);
  padding: 1rem 1.6rem 1.15rem; font-size: 1.05rem;
  box-shadow: 0 1px 0 hsl(34 40% 92% / 0.12) inset, 0 10px 24px -10px hsl(22 40% 3% / 0.7);
}
@media (hover: hover) and (pointer: fine) {
  .cta--close:hover { background: #2A211B; box-shadow: 0 1px 0 hsl(34 40% 92% / 0.14) inset, 0 14px 28px -10px hsl(22 40% 3% / 0.75); }
}
.cta--close:focus-visible { outline-color: var(--laser); }
.cta__rail {
  position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; border-radius: 2px;
  background: var(--laser);
  transform-origin: 0 50%;
  transform: scaleX(var(--rail, 0));
}
.close-req { margin: 0.9rem 0 0; font-size: 13px; color: #3A2F27; max-width: 44ch; }
.close-req__alt { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; white-space: nowrap; }
.close-req__alt:hover { text-decoration-thickness: 2px; }
.getapp { margin-top: 1.2rem; max-width: 30rem; }
.getapp[hidden] { display: none; }
.getapp__msg { margin: 0 0 0.8rem; font-size: 14px; line-height: 1.5; color: #2B221C; }
.getapp__row { display: flex; gap: 8px; flex-wrap: wrap; }
.getapp__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.getapp input {
  flex: 1 1 14rem; min-height: 46px; padding: 0 14px;
  border-radius: var(--r); border: 1px solid hsl(22 30% 20% / 0.35);
  background: hsl(36 30% 98% / 0.92); color: var(--walnut);
  caret-color: var(--laser);
}
.getapp input::placeholder { color: #7A6C60; }
.getapp input:focus-visible { outline: 2px solid var(--laser); outline-offset: 2px; }
.getapp button {
  min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--r);
  background: var(--laser); color: var(--walnut); font-weight: 650; cursor: pointer;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .getapp button:hover { background: #FF6344; } }
.getapp button:active { transform: translateY(1px) scale(0.985); }
.getapp button:focus-visible { outline: 2px solid var(--walnut); outline-offset: 2px; }
.getapp__status { margin: 0.6rem 0 0; font-size: 13.5px; color: #2B221C; min-height: 1.4em; }

.foot {
  position: absolute; z-index: 3; left: var(--sc-gutter); right: var(--sc-gutter); bottom: 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px;
  color: var(--walnut);
}
.foot p { margin: 0; }
.foot__mark { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sc-font-display); font-weight: 780; font-size: 1.05rem; letter-spacing: -0.02em; }
.foot__mark svg { width: 24px; height: 24px; overflow: visible; }
.foot__line { font-weight: 600; font-size: 14px; }
.foot__small { font-size: 12px; color: #3A2F27; margin-left: auto !important; }

.act--close .side--visit { z-index: 4; }
.visit-copy--close {
  top: auto; bottom: clamp(5rem, 16vh, 9rem);
  width: calc(var(--home) * var(--vw) - var(--sc-gutter) - var(--clear));
}
.visit-copy--close .status__s { max-width: 16ch; }

/* ------------------------------------------------------------ phone ------ */
@media (max-width: 699px), (orientation: portrait) and (max-width: 1024px) {
  :root {
    --clear: 0px;
    --t-hero: clamp(2.2rem, 1.2rem + 4.6vw, 3rem);
    --t-act: clamp(1.6rem, 1.1rem + 2.4vw, 2.1rem);
    --t-lede: 0.98rem;
  }
  .act { --home: 0.46; }
  #room { --home: 0.3; }
  .act--close { --home: 0.3; }

  .side--visit { clip-path: inset(calc(var(--sh) * var(--split) * (1 - var(--open))) 0 calc(var(--sh) * (1 - var(--split))) 0); }
  .side--scan  { clip-path: inset(calc(var(--sh) * var(--split)) 0 calc(var(--sh) * (1 - var(--split)) * (1 - var(--open))) 0); }
  .follow { transform: translate3d(0, calc((var(--split) - var(--home)) * var(--sh)), 0); }

  /* divider turns horizontal */
  .divider { width: 100%; height: 0; transform: translate3d(0, calc(var(--split) * var(--sh)), 0); }
  .divider__line { top: -0.5px; bottom: auto; left: 0; right: 0; width: auto; height: 1px; background: hsl(34 40% 92% / 0.3); transform-origin: 0 50%; transform: scaleX(var(--line, 1)); }
  .divider__plate--top { top: auto; left: 10px; width: auto; display: block; }
  .divider__mark { position: absolute; left: 0; top: -12px; width: 24px; height: 24px; }
  .divider__label { position: absolute; left: 34px; font-size: 12px; }
  .divider__label--visit { bottom: 5px; }
  .divider__label--scan { top: 5px; }
  .divider__stamps { left: 0 !important; right: auto !important; top: 0; width: 100%; }
  .divider__stamps li { font-size: 0; width: 7px; height: 7px; border-radius: 50%; translate: var(--x, 0) 0; }
  .divider__stamps--visit li { top: -12px; right: auto; left: 0; background: var(--ink-soft); --dx: 0px; }
  .divider__stamps--scan li { top: 5px; background: var(--light); --dx: 0px; }
  .divider__stamps li, .divider__stamps li.on { transform: none; }
  .divider__stamps li::after { display: none; }
  .divider__head { left: 0; top: -4px; translate: var(--hx, 120px) 0; transform: translateX(-50%); }
  .divider__plate--clock { bottom: auto; top: 0; left: auto; right: 10px; transform: translateY(-50%); flex-direction: row; gap: 7px; padding: 5px 9px; }
  .divider__clock { font-size: 13px; }
  .divider__note { font-size: 10.5px; }

  .hero-h1 > span { top: auto; }
  .hero-h1 > .hero-h1__visit { left: var(--sc-gutter); width: calc(var(--vw) - 2 * var(--sc-gutter)); top: 66px; }
  .hero-h1 > .hero-h1__scan { left: var(--sc-gutter); top: calc(var(--home) * var(--sh) + 42px); transform: translate3d(0, calc((var(--split) - var(--home)) * var(--sh)), 0); }

  .visit-copy, .visit-copy--room { left: var(--sc-gutter); top: 60px; width: calc(var(--vw) - 2 * var(--sc-gutter)); }
  .map { left: 0; top: 0; width: 100%; height: var(--sh); }
  .trip .act-h { max-width: 16ch; }
  .trip__log { margin-top: 0.8rem; gap: 0.25rem; max-width: 62%; }
  .trip__log li { font-size: 12.5px; grid-template-columns: 2.9rem 1fr; line-height: 1.35; }
  .trip__log li:nth-child(3) { display: none; }

  .plate { left: 0; width: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 58%, #000 88%); mask-image: linear-gradient(to bottom, transparent 0%, transparent 58%, #000 88%); }
  .hand-park { left: auto; right: 0; }
  .hand { transform: scale(var(--hs, 0.35)) translateX(-92%); }
  .scan-copy { left: var(--sc-gutter); right: var(--sc-gutter); top: calc(var(--home) * var(--sh) + 42px); }
  .scan-copy > * { max-width: 56%; }
  .scan-copy__hero { top: calc(var(--t-hero) * 1.12); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1rem; }
  .cta { min-height: 46px; padding: 0.7rem 1.1rem; font-size: 0.95rem; }
  .scan-copy .lede { font-size: 0.92rem; margin-top: 0.6rem; }

  .status__t { font-size: 2rem; }
  .status__s { font-size: 0.92rem; margin-top: 0.4rem; max-width: 18ch; }
  .notepad { left: auto; right: 0; top: -6px; width: 124px; }
  .notepad text { font-size: 22px; }
  .notepad path { stroke-width: 2.4; }

  .room-copy { left: var(--sc-gutter); right: var(--sc-gutter); top: calc(var(--home) * var(--sh) + 40px); }
  .room-copy .lede { font-size: 0.9rem; margin-top: 0.45rem; }
  .room-frame {
    left: 12px; width: calc(var(--vw) - 24px);
    top: calc(var(--home) * var(--sh) + 162px);
    aspect-ratio: auto; height: calc(var(--sh) * (1 - var(--home)) - 184px);
  }
  .receipt {
    left: 12px; right: 12px; top: auto; bottom: 12px; width: auto;
    padding: 14px 16px 22px;
    transform: translate3d(0, 24px, 0);
  }
  .receipt__rows { font-size: 12px; margin-top: 2px; }
  .receipt__rows th, .receipt__rows td { padding: 4px 0; }
  .receipt__total { font-size: 1.15rem; margin-top: 6px; padding-top: 6px; }
  .receipt__foot { font-size: 11px; margin-top: 4px; }
  .receipt__head { padding-bottom: 6px; }

  .desk { background: var(--walnut); padding: 4.5rem 0 4rem; }
  .desk .cell--visit, .desk .cell--scan { margin-left: var(--sc-gutter); width: calc(var(--vw) - 2 * var(--sc-gutter)); transform: none; text-align: left; }
  .desk__head, .row { grid-template-columns: 1fr; }
  .desk__head > .cell, .row > .cell { grid-row: auto; }
  .desk__head .cell--visit { display: none; }
  .proof__figs { grid-template-columns: repeat(2, auto); gap: 10px 2rem; }
  .row { border-radius: var(--r); overflow: clip; margin-inline: var(--sc-gutter); box-shadow: var(--sc-e2); }
  .row > .cell { margin: 0 !important; width: auto !important; padding: 14px 16px; }
  .row .cell--visit { background: var(--cedar); font-size: 0.92rem; order: 2; }
  .row .cell--scan { background: hsl(26 22% 10%); order: 1; }
  .row__k { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 2px; }
  .rows { gap: 12px; margin-top: 2rem; }

  .close-veil { background: linear-gradient(to bottom, hsl(36 30% 96% / 0.8) 0%, hsl(36 30% 96% / 0.55) 42%, transparent 62%, hsl(36 30% 96% / 0.5) 86%, hsl(36 30% 96% / 0.75)); }
  .close-copy { top: 64px; width: auto; right: var(--sc-gutter); }
  .close-h { font-size: 3.2rem; }
  .close-copy__act { margin-top: 1.3rem; }
  .foot { bottom: 14px; gap: 4px 14px; }
  .foot__small { margin-left: 0 !important; font-size: 11px; }
  .visit-copy--close { top: 60px; bottom: auto; width: auto; right: var(--sc-gutter); }
}

@media (max-width: 699px) and (max-height: 700px), (orientation: portrait) and (max-width: 1024px) and (max-height: 700px) {
  .trip__log { display: none; }
}

/* ------------------------------------------------------ reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .divider__stamps li, .trip__log li { transition-duration: 200ms; transform: translate3d(0, -50%, 0); }
  .trip__log li { transform: none; }
}


/* =================================================================== v2.1 */

/* ---- compact split: laptops, landscape tablets, sideways phones --------- */
.compact { --clear: 88px; }
.compact .divider__stamps .st { display: none; }
.compact .divider__plate--top { left: -150px; width: 300px; }
.short { --clear: 72px; }
.short .divider__plate--clock .divider__note { display: none; }
.short .divider__plate--clock { bottom: 10px; padding: 4px 9px; }
.short .divider__plate--top { top: 10px; }
.short .scan-copy > *, .short .room-copy__b { max-width: min(26rem, 62%); }
.short .room-copy .lede, .short .scan-copy__block .lede { display: none; }
.short .trip__log li:nth-child(n+3) { display: none; }
.short .receipt { zoom: 0.72; }
.short .notepad { display: none; }
.short .close-req { display: none; }
.short .close-copy { top: var(--top); }
.short .foot { bottom: 10px; }
.short .foot__small { display: none; }

/* ---- the peak: laser sweep, drafting ground, spark ---------------------- */
.room-frame__shade {
  background:
    repeating-linear-gradient(to right, hsl(34 40% 92% / 0.045) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(to bottom, hsl(34 40% 92% / 0.045) 0 1px, transparent 1px 24px),
    radial-gradient(120% 90% at 50% 40%, #1E1813, #120E0B);
}
.room-frame__sweep {
  position: absolute; top: -10px; bottom: -10px; left: 0; width: 2px;
  background: var(--laser);
  box-shadow: 0 0 0 1px hsl(10 100% 58% / 0.25), -24px 0 40px -6px hsl(10 100% 58% / 0.35);
  opacity: 0; pointer-events: none; z-index: 2;
  will-change: transform, opacity;
}
.room-frame__svg .spark { fill: none; stroke: #FFFFFF; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0.035 2; opacity: 0; }
.room-frame__svg .tick { fill: none; stroke: hsl(34 30% 80% / 0.8); stroke-width: 1.2; }
.room-frame { transition: none; }

/* ---- opening sequence ---------------------------------------------------- */
@keyframes lineUp { from { transform: translate3d(0, 105%, 0); opacity: 0; } to { transform: translate3d(0, 0, 0); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.intro-wait .hero-h1 .sc-split__i,
.intro-wait .scan-copy__hero { opacity: 0 !important; }
.intro-go .hero-h1 .sc-split__i { animation: lineUp 760ms var(--sc-ease-out) both; }
.intro-go .hero-h1__visit .sc-split--line:nth-child(1) .sc-split__i { animation-delay: 0ms; }
.intro-go .hero-h1__visit .sc-split--line:nth-child(2) .sc-split__i { animation-delay: 90ms; }
.intro-go .hero-h1__visit .sc-split--line:nth-child(3) .sc-split__i { animation-delay: 180ms; }
.intro-go .hero-h1__scan .sc-split__i { animation-delay: 260ms; }
.intro-go .scan-copy__hero { animation: fadeUp 640ms var(--sc-ease-out) 520ms both; }

/* ---- desk visuals -------------------------------------------------------- */
.desk .cell--scan { display: grid; grid-template-columns: minmax(0, 1fr) 13.5rem; gap: 0.6rem 2rem; align-items: start; }
.desk .cell--scan .cell__text { min-width: 0; }
.viz { margin: 0.2rem 0 0; display: grid; gap: 6px; }
.viz figcaption { font-size: 11.5px; color: var(--ink-soft); }
.viz > svg, .viz .ba, .viz .model, .viz .files, .viz .invite, .viz .chips, .viz .viz__read {
  border-radius: var(--r);
}
.viz--plan svg, .viz--measure, .viz--found .chips, .viz .model, .viz .ba, .viz .files, .viz .invite {
  background: hsl(26 22% 10%);
  box-shadow: var(--sc-e1), var(--sc-edge);
}
.viz--plan svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.viz--plan path { fill: none; stroke: var(--light); stroke-width: 1.3; stroke-linejoin: round; }
.viz--plan path.dash { stroke-dasharray: 3 3; stroke-width: 1; opacity: 0.7; }
.viz--plan path.wall { stroke-width: 2; }
.viz--plan text { fill: var(--ink-soft); font: 600 9px var(--sc-font-text); }
.viz .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--sc-ease-out); }
.sc-in .viz .draw { stroke-dashoffset: 0; }

.viz--measure { padding: 12px 12px 10px; border-radius: var(--r); display: grid; gap: 8px; }
.viz__tape { width: 100%; height: auto; }
.viz__tape rect { fill: #E9B93C; stroke: #6B5320; stroke-width: 1; }
.viz__tape .ticks line { stroke: #2A2016; stroke-width: 1; }
.viz__laser { stroke: var(--laser); stroke-width: 2; stroke-linecap: round; }
.viz__read { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; }
.viz__read div { display: flex; flex-direction: column-reverse; }
.viz__read dt { font-size: 11px; color: var(--ink-soft); }
.viz__read dd { margin: 0; font-weight: 650; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.viz--measure figcaption { margin-top: -2px; }

.chips { list-style: none; margin: 0; padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px 5px 7px; border-radius: 6px;
  background: hsl(34 40% 92% / 0.06); box-shadow: inset 0 0 0 1px hsl(34 40% 92% / 0.1);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  opacity: 0; transform: translate3d(0, 6px, 0);
  transition: opacity 420ms var(--sc-ease-out), transform 520ms var(--sc-ease-out);
}
.chips svg { width: 15px; height: 15px; fill: none; stroke: var(--light); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sc-in .chips li { opacity: 1; transform: none; }
.sc-in .chips li:nth-child(2) { transition-delay: 70ms; } .sc-in .chips li:nth-child(3) { transition-delay: 140ms; }
.sc-in .chips li:nth-child(4) { transition-delay: 210ms; } .sc-in .chips li:nth-child(5) { transition-delay: 280ms; }
.sc-in .chips li:nth-child(6) { transition-delay: 350ms; }

.model { height: 128px; perspective: 520px; display: grid; place-items: center; overflow: hidden; }
.model__spin {
  position: relative; width: 92px; height: 60px;
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(calc(-30deg + var(--sc-p, 0) * 300deg));
}
.model .f { position: absolute; display: block; box-shadow: inset 0 0 0 1.2px var(--light); background: hsl(38 100% 88% / 0.05); }
.model .f--floor { width: 92px; height: 92px; left: 0; top: -16px; transform: translateY(46px) rotateX(90deg); }
.model .f--back { width: 92px; height: 60px; transform: translateZ(-46px); }
.model .f--left { width: 92px; height: 60px; transform: rotateY(90deg) translateZ(-46px); }
.model .f--right { width: 92px; height: 60px; transform: rotateY(90deg) translateZ(46px); background: hsl(38 100% 88% / 0.02); }
.model .f--isle { width: 44px; height: 20px; left: 24px; top: 40px; transform: translateZ(10px); box-shadow: inset 0 0 0 1.2px var(--laser); background: hsl(10 100% 58% / 0.08); }
.model .f--isle-top { width: 44px; height: 20px; left: 24px; top: 30px; transform: translateY(10px) rotateX(90deg) translateZ(0); box-shadow: inset 0 0 0 1.2px var(--laser); }

.ba { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ba__concept {
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 40%, #221B15, #120E0B);
  clip-path: inset(0 0 0 var(--ba, 50%));
}
.ba__concept svg { width: 100%; height: 100%; }
.ba__concept path { fill: hsl(38 100% 88% / 0.04); stroke: var(--light); stroke-width: 7; stroke-linejoin: round; }
.ba__concept path.accent { fill: hsl(150 18% 46% / 0.55); stroke: #CFE3D6; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 2px; margin-left: -1px; background: var(--laser); }
.ba { --ba: clamp(18%, calc((var(--sc-p, 0.6) - 0.46) * 420%), 82%); }
.ba__tag { position: absolute; top: 8px; padding: 2px 7px; border-radius: 5px; font-size: 11px; font-weight: 650; background: hsl(22 30% 8% / 0.72); color: var(--ink); }
.ba__tag--l { left: 8px; } .ba__tag--r { right: 8px; }

.viz--files { grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; }
.files { padding: 10px 12px; }
.files__head { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12.5px; font-weight: 650; color: var(--ink); }
.files__head svg { width: 16px; height: 16px; fill: hsl(42 90% 60% / 0.22); stroke: #EFC46A; stroke-width: 1.3; stroke-linejoin: round; }
.files ul { list-style: none; margin: 0; padding: 0 0 0 22px; display: grid; gap: 3px; }
.files li { font-size: 11.5px; color: var(--ink-soft); white-space: nowrap; }
.files__link { width: 34px; height: 12px; }
.files__link path { fill: none; stroke: var(--light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.files__crm { padding: 6px 9px; border-radius: 6px; font-size: 12px; font-weight: 650; background: hsl(34 40% 92% / 0.08); box-shadow: inset 0 0 0 1px hsl(34 40% 92% / 0.14); white-space: nowrap; }

.invite { display: flex; gap: 10px; align-items: center; padding: 12px; background: var(--plaster) !important; color: var(--walnut); }
.invite__mono { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #2F5A46; color: #F1E9DE; font-weight: 750; font-size: 14px; letter-spacing: 0.02em; }
.invite p { margin: 0; }
.invite__co { font-size: 11.5px; color: #5E5146; font-weight: 600; }
.invite__t { font-family: var(--sc-font-display); font-weight: 780; font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; }
.invite__s { font-size: 11.5px; color: #5E5146; }

.compact .desk .cell--scan { grid-template-columns: 1fr; }
.compact .viz { max-width: 22rem; }

/* ---- stacked layouts (phones, portrait tablets) ------------------------- */
@media (max-width: 699px), (orientation: portrait) and (max-width: 1024px) {
  .desk .cell--scan { display: grid; grid-template-columns: 1fr; }
  .viz { max-width: 26rem; margin-top: 0.4rem; }
  .row .cell--scan { padding-bottom: 16px; }
  .rows { max-width: 44rem; margin-inline: auto; }
  .desk__head .cell--scan { max-width: 44rem; }
  .receipt { left: auto; width: min(24rem, calc(var(--vw) - 24px)); }
  .room-copy__b:last-child .lede { display: none; }
}
@media (min-width: 600px) and (orientation: portrait) and (max-width: 1024px) {
  :root { --t-hero: clamp(2.6rem, 1.2rem + 3.6vw, 4rem); --t-act: clamp(2rem, 1rem + 2.6vw, 2.8rem); --t-lede: 1.1rem; }
  .desk__head, .rows { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-go .hero-h1 .sc-split__i, .intro-go .scan-copy__hero { animation: none; }
  .viz .draw { transition: none; stroke-dashoffset: 0; }
  .chips li { transition: none; opacity: 1; transform: none; }
  .model__spin { transform: rotateX(-24deg) rotateY(-30deg); }
}

/* v2.1 fixes */
.row .cell--scan .invite p { color: var(--walnut); opacity: 1; margin: 0; max-width: none; }
.row .cell--scan .invite .invite__co, .row .cell--scan .invite .invite__s { color: #5E5146; }
.divider__label { padding: 3px 8px; border-radius: 6px; }
.divider__label--visit { background: hsl(22 28% 14% / 0.88); }
.divider__label--scan { background: hsl(22 22% 6% / 0.88); }
.short .receipt { width: min(27rem, 46vw); }
.viz--files .files__link { display: block; width: 34px; height: 14px; overflow: visible; }
.ba__concept path.accent { fill: hsl(150 20% 55% / 0.28); stroke: #CFE3D6; }
.desk .desk__head .cell--scan { display: block; }

/* hero: the site-visit headline sits centered in its half (side-by-side layouts) */
.hero-h1 > .hero-h1__visit { text-align: center; }
.hero-h1__visit .sc-split--line { text-align: center; }
@media (max-width: 699px), (orientation: portrait) and (max-width: 1024px) {
  .hero-h1 > .hero-h1__visit, .hero-h1__visit .sc-split--line { text-align: left; }
}

/* ---- the day ------------------------------------------------------------- */
/* Reuses the desk's split layout and phone stacking. It carries no viz column,
   so the desk's two column cell rule has to be undone, and these rules sit at
   the end of the file on purpose: the desk visuals block further up would
   otherwise win on source order. */
.desk.desk--day { padding-top: clamp(3rem, 7vh, 5rem); }
.desk.desk--day .cell--scan { display: block; }
.desk.desk--day .row .cell--scan p { max-width: 46ch; }
.step__n {
  display: inline-grid; place-items: center; font-style: normal;
  width: 1.55em; height: 1.55em; margin-right: 0.6rem; vertical-align: 0.1em;
  border-radius: 999px; background: var(--laser); color: var(--light);
  font-family: var(--sc-font-text); font-weight: 700; font-size: 0.62em;
  font-variant-numeric: tabular-nums;
}
.desk.desk--day .gains {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2.2rem;
  width: min(62rem, calc((1 - var(--home)) * var(--vw) - var(--clear) - var(--sc-gutter)));
  margin-top: clamp(2.4rem, 6vh, 3.6rem); padding-top: clamp(1.6rem, 4vh, 2.4rem);
  border-top: 1px solid var(--sc-hairline);
}
.gain h3 {
  margin: 0; font-family: var(--sc-font-display); font-weight: 760;
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.3rem); letter-spacing: -0.02em; line-height: 1.2;
}
.gain p { margin: 0.4rem 0 0; color: var(--ink); opacity: 0.8; line-height: 1.5; text-wrap: pretty; }

@media (max-width: 1100px) and (orientation: landscape) {
  .desk.desk--day .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px), (orientation: portrait) and (max-width: 1024px) {
  .desk.desk--day { padding-top: 3rem; }
  .desk.desk--day .gains {
    grid-template-columns: 1fr; gap: 1.1rem;
    width: calc(var(--vw) - 2 * var(--sc-gutter)); margin-left: var(--sc-gutter);
  }
}
