/* ================================================================
   THE HARDINGHAM TEAM — "The View From Above"
   ================================================================ */

:root {
  --ink: #17181a;
  --ink-soft: #3c3b38;
  --cream: #f3eee5;
  --cream-deep: #eae3d4;
  --gold: #b98d4f;
  --gold-soft: #d3b483;
  --gold-ink: #704d22;
  --sky: #e9d3b6;
  --line: rgba(23, 24, 26, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Geist", -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html.has-smooth { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(185, 141, 79, 0.22);
}

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

::selection { background: var(--gold); color: #fff; }

.staging-notice {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 8px 12px;
  border: 1px solid rgba(23, 24, 26, 0.35);
  border-radius: 999px;
  background: #ffe8a3;
  color: #17181a;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
}

.staging-notice[hidden] { display: none; }

/* ================= LOADER ================= */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.loader[hidden] { display: none; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; color: var(--cream); }
.loader__coords {
  font-size: 11px; letter-spacing: 0.35em; opacity: 0.5; margin-bottom: 18px;
}
.loader__word {
  font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 0.28em; margin-right: -0.28em;
}
.loader__bar {
  width: 180px; height: 1px; background: rgba(243, 238, 229, 0.2);
  margin: 28px auto 0; overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--gold-soft); transition: width 0.4s ease;
}

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  mix-blend-mode: normal;
  transition: transform 0.5s ease;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { text-decoration: none; color: inherit; line-height: 1.15; }
.nav__brand-name {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 17px; letter-spacing: 0.22em;
}
.nav__brand-sub {
  display: block; font-size: 9.5px; letter-spacing: 0.3em;
  text-transform: uppercase; opacity: 0.55; margin-top: 2px;
}
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  color: inherit; text-decoration: none; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s ease;
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .staging-notice { top: 6px; font-size: 9px; }
}

/* ================= DIVE (SATELLITE HERO) ================= */
.dive { position: relative; height: 100vh; background: #0d1014; }
/* Full-bleed 16:9 stage — all media (dive, hero, walk) is now landscape 16:9
   so object-fit:cover fills the viewport edge-to-edge with no bars and no crop. */
.dive__stage { position: absolute; inset: 0; overflow: hidden; background: #1c2530; }
/* warm cinematic grade + vignette over real imagery */
.dive__grade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(233, 160, 85, 0.10), rgba(23, 24, 26, 0.06) 60%, rgba(23, 24, 26, 0.22));
  mix-blend-mode: soft-light;
}
.dive__vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 52%, rgba(12, 14, 18, 0.42) 100%);
}

/* HUD */
.hud {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 86px clamp(20px, 4vw, 56px) 30px;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(10, 12, 16, 0.65);
}
.hud__credit { font-style: normal; opacity: 0.75; letter-spacing: 0.12em; font-size: 9px; }
.hud__row { display: flex; justify-content: space-between; align-items: center; }
.hud__item {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.9;
}
.hud__alt b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hud__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hud__scroll i {
  width: 1px; height: 34px; background: currentColor; display: block;
  animation: drip 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Arrival — full-bleed team photo */
.arrive {
  position: absolute; inset: 0; z-index: 6;
  opacity: 0; visibility: hidden; pointer-events: none;
  overflow: hidden;
}
.arrive.is-live { pointer-events: auto; }
.arrive__bg {
  position: absolute; inset: 0;
  /* pulled back: show the full house + both agents (agents smaller, faces
     less scrutable). object-position up so the rooftop isn't cropped. */
  background-position: 50% 44%; background-size: cover;
}
/* optional generated avatar cutout standing on the street */
.arrive__avatars {
  position: absolute; bottom: 0; right: clamp(4%, 10vw, 16%); z-index: 2;
  height: min(62vh, 560px); width: auto; display: none;
  filter: drop-shadow(0 22px 30px rgba(10, 12, 16, 0.55));
}
.arrive__avatars.is-ready { display: block; }

/* optional framed team photo */
.arrive__polaroid {
  position: absolute; right: clamp(20px, 5vw, 70px); bottom: clamp(24px, 7vh, 80px); z-index: 3;
  width: clamp(150px, 16vw, 230px); padding: 10px 10px 14px;
  background: var(--cream); border-radius: 2px;
  transform: rotate(3deg);
  box-shadow: 0 30px 60px -18px rgba(10, 12, 16, 0.6);
  display: none;
}
.arrive__polaroid.is-ready { display: block; }
.arrive__polaroid img { width: 100%; display: block; aspect-ratio: 4/4.6; object-fit: cover; }
.arrive__polaroid figcaption {
  margin-top: 10px; text-align: center; font-size: 9.5px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
}
.arrive__picture {
  position: absolute; inset: 0; display: block;
}
.arrive__hero {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; /* matches .dive__video so it aligns exactly */
}
.arrive__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(16, 17, 20, 0.05) 30%, rgba(16, 17, 20, 0.72) 100%),
              linear-gradient(90deg, rgba(16, 17, 20, 0.35), transparent 55%);
}
.arrive__content {
  position: absolute; left: clamp(24px, 6vw, 90px); bottom: clamp(28px, 8vh, 90px);
  max-width: 560px; color: var(--cream);
}
.arrive__eyebrow {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-soft); display: block; margin-bottom: 18px;
}
.arrive__content h2 {
  font-family: var(--serif); font-weight: 300; line-height: 1.02;
  font-size: clamp(40px, 5.4vw, 84px);
}
.arrive__content h2 em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.arrive__content p { margin: 22px 0 30px; font-size: 15px; line-height: 1.7; color: rgba(243, 238, 229, 0.82); max-width: 44ch; }
.arrive .btn { background: var(--cream); color: var(--ink); }
.arrive .btn:hover { background: var(--gold); color: var(--cream); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--cream); background: var(--ink);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 34px; border-radius: 99px;
  transition: background 0.35s, transform 0.35s;
}
.btn:hover { background: var(--gold); transform: translateY(-2px); }

@media (max-width: 860px) {
  .arrive__content { left: 20px; right: 20px; bottom: 36px; }
  .hud__credit { display: none; }
}

/* ================= STORY ================= */
.story {
  position: relative; z-index: 10; background: var(--cream);
  padding: clamp(90px, 14vh, 180px) clamp(20px, 6vw, 100px);
}
.story__kicker {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 28px;
}
.story__headline {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.4vw, 64px); line-height: 1.14;
  letter-spacing: -0.01em; max-width: 20em; text-wrap: balance;
}
.story__headline em { font-style: italic; color: var(--gold-ink); }
.reveal-lines span { display: block; overflow: hidden; }

.pillars {
  margin-top: clamp(70px, 10vh, 130px);
  border-top: 1px solid var(--line);
}
.pillar {
  display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 30px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.pillar::before {
  content: attr(data-i);
  font-size: 12px; letter-spacing: 0.2em; color: var(--gold-ink);
  padding-top: 8px;
}
.pillar h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2;
}
.pillar p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 58ch; }
@media (max-width: 760px) {
  .pillar { grid-template-columns: 1fr; gap: 12px; padding: 34px 0; }
}

.local-proof { margin-top: clamp(70px, 10vh, 120px); }
.local-proof .snapshot-benefits__route {
  display: inline-block;
  margin-top: 32px;
}
.local-proof__heading {
  margin: 0 0 30px;
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.local-proof__fallback {
  margin: 0;
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 22px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.2;
}
.proof-suppressed { display: none !important; }
.stat { border-left: 1px solid var(--line); padding-left: 22px; }
.stat b {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 5.6vw, 84px); display: block; line-height: 1;
}
.stat--money b { font-size: clamp(32px, 4.4vw, 66px); letter-spacing: -0.04em; }
.stat span {
  display: block; margin-top: 10px; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } }

/* ================= QUOTE ================= */
.quote {
  background: var(--ink); color: var(--cream);
  padding: clamp(100px, 16vh, 200px) clamp(20px, 6vw, 100px);
}
.quote blockquote { max-width: 1000px; margin: 0 auto; text-align: center; }
.quote p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3.6vw, 52px); line-height: 1.3;
}
.quote em { font-style: italic; color: var(--gold-soft); }
.quote cite {
  display: block; margin-top: 36px; font-style: normal;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.55;
}

/* ================= THE SOLD STREET (walk layer inside the dive pin) ================= */
.walklayer {
  position: absolute; inset: 0; z-index: 6;
  opacity: 0; visibility: hidden;
  color: var(--cream);
}
/* soft leading-edge shadow so the pan-left reads as a camera move with depth,
   not a hard split-screen seam. Sits just past the street's right edge and
   travels with it as it sweeps in over the team. */
.walklayer::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 100%;
  width: 140px; pointer-events: none; z-index: 20;
  background: linear-gradient(to right, rgba(8, 10, 14, 0.6), rgba(8, 10, 14, 0));
}
.dive__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; z-index: 0;
}
.walk__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; z-index: 1;
}
#walkVideo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 46%; z-index: 3;
}
.phone-frame-canvas {
  display: none;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background-color: #0d1014;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.phone-frame-canvas--dive {
  z-index: 0;
  background-image: url("assets/video/satellite-dive.poster-mobile-v2.jpg");
}
.phone-frame-canvas--pan {
  z-index: 4;
  background-image: url("assets/props/hero-mobile-v2.jpg");
}
.phone-frame-canvas--walk {
  z-index: 3;
  background-image: url("assets/video/soldstreet-walk.poster-mobile-v2.jpg");
}
.phone-frame-canvas[data-frame-painted="true"] {
  background-image: none;
}
/* opener: the exact hero still, panned left off the team as you scroll */
.walk__hero {
  position: absolute; inset: 0; z-index: 3;
  background-position: 50% 44%; background-size: cover; background-repeat: no-repeat;
  transform-origin: 62% 50%; will-change: transform, opacity;
}

/* ---- The real Sold Street — a photoreal dusk street; your actual homes stand on it ---- */
.sold {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0; visibility: hidden; overflow: hidden;
  background: #0b1120;
}
.sold__plate {         /* photoreal empty dusk street (road + verges + sky), no houses */
  position: absolute; inset: 0;
  background: #0b1120 url('assets/props/street-plate.jpg') center 42% / cover no-repeat;
}
.sold__plate::after {  /* gentle dusk grade + foreground darken so homes read grounded */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(9,14,28,0.20) 0%, rgba(9,14,28,0) 30%, rgba(6,9,16,0.10) 72%, rgba(6,9,16,0.55) 100%);
}
.sold__homes { position: absolute; inset: 0; }

/* each home: the generated house image stands grounded on the verge, and a
   detail card pops up beside it with that home's real sale */
.home {
  position: absolute; left: 50%; top: 0;
  width: 30vw; max-width: 500px;
  opacity: 0; will-change: transform, opacity;
  transform: translate(-50%, -100%);
  transform-origin: 50% 100%;
}
.home__shot {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 2px;
  /* the house image sits on the street — its base fades into the verge, no card frame */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, rgba(0,0,0,0.35) 96%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 82%, rgba(0,0,0,0.35) 96%, transparent 100%);
  filter: drop-shadow(0 26px 34px rgba(0,0,0,0.55));
}
.home__shot img {
  display: block; width: 100%; aspect-ratio: 5 / 4;
  object-fit: cover; object-position: 50% 78%;   /* favour house + lawn, crop its own sky */
}
.home__shot::after {  /* dusk grade so each home sits in the scene, not on top of it */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(9,14,28,0.16) 0%, rgba(9,14,28,0) 34%, rgba(6,9,16,0.30) 100%);
}
/* the pop-up detail card */
.home__card {
  position: absolute; bottom: 8%; left: 8%;
  min-width: 44%; max-width: 74%;
  padding: 11px 13px 12px;
  background: rgba(12, 14, 20, 0.80);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(211,180,131,0.24);
  border-radius: 3px;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,0.85);
  color: var(--cream); text-align: left;
  opacity: 0; will-change: opacity, transform;
}
.home--right .home__card { left: auto; right: 8%; text-align: left; }
.home__sold {
  display: inline-block; font-family: var(--mono); font-size: 8px; letter-spacing: 0.18em; font-weight: 500;
  color: var(--gold-soft);
}
.home__addr {
  display: block; margin-top: 5px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(14px, 1.35vw, 20px); line-height: 1.08; color: var(--cream);
}
.home__suburb {
  display: block; margin-top: 2px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(243,238,229,0.6);
}
.home__meta {
  display: flex; flex-wrap: wrap; gap: 4px 11px; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgba(243,238,229,0.14);
}
.home__meta i { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: 0.02em; color: rgba(243,238,229,0.74); }
.home__price { color: var(--gold-soft) !important; font-weight: 600; }

@media (max-width: 700px) {
  .home { width: 60vw; }
}

.street__cards { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.street__cards .wcard { top: 46%; bottom: auto; opacity: 0; visibility: hidden; }
.wcard__photo {
  display: block; width: calc(100% + 36px); margin: -16px -18px 14px;
  aspect-ratio: 4 / 3; object-fit: cover;
}
.street__cards .wcard--left { left: 6vw; right: auto; }
.street__cards .wcard--right { right: 6vw; left: auto; }
@media (max-width: 700px) {
  .street__cards .wcard, .street__cards .wcard--left, .street__cards .wcard--right {
    top: auto; bottom: 13vh; left: 50%; right: auto; margin-left: -105px;
  }
}
.slab {
  position: absolute; left: 0; top: 0;
  width: 264px; overflow: hidden;
  padding: 16px 18px 18px;
  background: rgba(14, 15, 19, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(211, 180, 131, 0.20);
  border-radius: 3px;
  opacity: 0; will-change: transform, opacity;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.7);
}
.slab__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 9px; letter-spacing: 0.26em; font-weight: 500;
  text-transform: uppercase; color: var(--gold-soft);
}
.slab__status::before {
  content: ""; width: 14px; height: 1px; background: var(--gold);
}
.slab--sold .slab__status { color: var(--gold-soft); background: none; padding: 0; }
.slab h3 {
  font-family: var(--serif); font-weight: 300; font-size: 23px;
  line-height: 1.08; margin-top: 11px; color: var(--cream);
}
.slab .slab__meta {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(243, 238, 229, 0.10);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(243, 238, 229, 0.55);
}
.slab .slab__when {
  margin-top: 4px; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(211, 180, 131, 0.72);
}

/* intro / outro overlays */
.street__overlay {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
  text-shadow: 0 2px 26px rgba(5, 7, 12, 0.8);
}
.street__overlay h2 {
  font-family: var(--serif); font-weight: 300; line-height: 1.04;
  font-size: clamp(42px, 6.4vw, 96px);
  text-shadow: 0 2px 8px rgba(5, 7, 12, 0.75), 0 6px 40px rgba(5, 7, 12, 0.85);
}
.street__overlay h2 em { font-style: italic; color: var(--gold-soft); }
.street__overlay--outro { opacity: 0; }
.street__overlay--outro .btn {
  margin-top: 34px; pointer-events: auto;
  background: var(--cream); color: var(--ink);
}
.street__overlay--outro .btn:hover { background: var(--gold); color: var(--cream); }
.street__kicker {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.street__sub {
  margin-top: 22px; font-size: 13px; letter-spacing: 0.16em; line-height: 2;
  text-transform: uppercase; color: var(--cream);
  text-shadow: 0 1px 3px rgba(5, 7, 12, 0.85), 0 2px 18px rgba(5, 7, 12, 0.7);
}
.street__hint {
  margin-top: 42px; display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.3em; color: rgba(243, 238, 229, 0.55);
}
.street__hint i {
  width: 1px; height: 30px; background: currentColor; display: block;
  animation: drip 1.8s ease-in-out infinite;
}

@media (max-width: 700px) {
  .slab { min-width: 170px; max-width: 210px; padding: 12px 14px; }
  .slab { width: 210px; padding: 13px 15px 15px; }
  .slab h3 { font-size: 19px; }
  .slab__price { font-size: 25px; }
}

/* ================= THE LEDGER ================= */
/* ================= SOLD GALLERY ================= */
/* NOTE: overrides an older dead `.sold` rule (the retired 3D sold-street) that
   set position:absolute/inset:0/opacity:0/visibility:hidden and was hiding this
   whole section behind the hero. Reset all of it here. */
.sold {
  position: relative; inset: auto; z-index: auto;
  opacity: 1; visibility: visible;
  background: var(--ink); color: var(--cream);
  padding: clamp(90px, 13vh, 150px) clamp(20px, 6vw, 100px);
  overflow: hidden;
}
.sold__head {
  max-width: 1320px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px;
}
.sold__headline { font-family: var(--serif); font-weight: 300; line-height: 1.03; font-size: clamp(36px, 5vw, 76px); }
.sold__headline em { font-style: italic; color: var(--gold-soft); }
.sold__scroll-hint {
  max-width: 42ch;
  margin-top: 18px;
  color: rgba(243, 238, 229, 0.68);
  font-size: 13px;
  line-height: 1.6;
}
.sold__tally { font-size: 13.5px; line-height: 1.7; color: rgba(243, 238, 229, 0.78); max-width: 30ch; }
.sold__tally b { color: var(--cream); font-weight: 500; font-variant-numeric: tabular-nums; }

/* area filter pills */
.sold__filter { max-width: 1320px; margin: clamp(32px, 5vh, 52px) auto 0; display: flex; gap: 10px; flex-wrap: wrap; }
.sold__pill {
  appearance: none; cursor: pointer; font-family: var(--sans);
  background: transparent; color: rgba(243, 238, 229, 0.72);
  border: 1px solid rgba(243, 238, 229, 0.2); border-radius: 99px;
  padding: 9px 18px; font-size: 13px; letter-spacing: 0.01em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.sold__pill:hover { border-color: rgba(243, 238, 229, 0.45); color: var(--cream); }
.sold__pill.is-on { background: var(--gold); border-color: var(--gold); color: #14161c; }
.sold__pill i { font-style: normal; opacity: 0.9; margin-left: 7px; font-variant-numeric: tabular-nums; }
.sold__pill.is-on i { opacity: 1; }

/* One finite, user-controlled rail. The visible native scrollbar keeps the
   interaction obvious for mouse, trackpad, keyboard and touch visitors. */
.sold__rail {
  max-width: 1320px;
  margin: clamp(26px, 4vh, 44px) auto 0;
}
.sold__row {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 18px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold-soft) rgba(243, 238, 229, 0.12);
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  -webkit-overflow-scrolling: touch;
}
.sold__row::-webkit-scrollbar { height: 12px; }
.sold__row::-webkit-scrollbar-track {
  border: 1px solid rgba(243, 238, 229, 0.12);
  background: rgba(243, 238, 229, 0.06);
}
.sold__row::-webkit-scrollbar-thumb {
  border: 2px solid #17181a;
  background: var(--gold-soft);
}
.sold__row:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 6px;
}
.sold__scrollbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  color: rgba(243, 238, 229, 0.68);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sold__scrollbar input {
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
}
.sold__scrollbar input::-webkit-slider-runnable-track {
  height: 4px;
  border: 1px solid rgba(243, 238, 229, 0.2);
  background: rgba(243, 238, 229, 0.08);
}
.sold__scrollbar input::-webkit-slider-thumb {
  width: clamp(52px, 9vw, 110px);
  height: 12px;
  margin-top: -5px;
  border: 1px solid #17181a;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--gold-soft);
}
.sold__scrollbar input::-moz-range-track {
  height: 4px;
  border: 1px solid rgba(243, 238, 229, 0.2);
  background: rgba(243, 238, 229, 0.08);
}
.sold__scrollbar input::-moz-range-thumb {
  width: clamp(52px, 9vw, 110px);
  height: 12px;
  border: 1px solid #17181a;
  border-radius: 0;
  background: var(--gold-soft);
}
.sold__scrollbar input:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}
.sold__scrollbar input[disabled] {
  cursor: default;
  opacity: 0.4;
}
.sold__track {
  display: flex;
  gap: 18px;
  width: max-content;
  transform: none !important;
}
.sold__tile {
  position: relative; flex: 0 0 auto; width: 300px; height: 384px;
  border-radius: 8px; overflow: hidden; background: #1e1f22;
  border: 1px solid rgba(243, 238, 229, 0.08);
  scroll-snap-align: start;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
}
.sold__tile:hover { transform: translateY(-8px) scale(1.03); z-index: 3; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.7); }
.sold__media { position: absolute; inset: 0; }
.sold__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.sold__tile:hover .sold__media img { transform: scale(1.06); }
.sold__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 13, 16, 0.94) 6%, rgba(12, 13, 16, 0.25) 46%, transparent 72%); }
.sold__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; z-index: 1; }
.sold__badge { display: block; font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 7px; }
.sold__price { display: block; font-family: var(--serif); font-weight: 300; font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1; }
.sold__addr { display: block; margin-top: 8px; font-size: 15px; color: rgba(243, 238, 229, 0.92); }
.sold__meta { display: block; margin-top: 6px; font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(243, 238, 229, 0.78); }
.sold__reveal { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-soft); transition: max-height 0.5s, opacity 0.4s, margin 0.4s; }
.sold__tile:hover .sold__reveal { max-height: 30px; opacity: 1; margin-top: 7px; }
.sold__source { max-width: 1320px; margin: clamp(30px, 4vh, 46px) auto 0; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243, 238, 229, 0.74); text-align: center; }

@media (max-width: 640px) { .sold__tile { width: 236px; height: 322px; } }
@media (max-width: 640px) {
  .sold__scrollbar {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sold__media img, .sold__tile:hover .sold__media img { transition: none; transform: none; }
}

html.static-experience .dive { min-height: 100dvh; height: auto; background: #17181a url("assets/video/satellite-dive.poster-mobile.jpg") center/cover no-repeat; }
html.static-experience .dive__stage { position: relative; min-height: 100dvh; }
html.static-experience .dive__video,
html.static-experience .walk__video,
html.static-experience .statbeat,
html.static-experience .arrive,
html.static-experience .walklayer,
html.static-experience .hud { display: none !important; }
html.static-experience .hero-offer { position: relative; min-height: 100dvh; }
html.static-experience .story-control { display: none; }

/* ================= CONTACT ================= */
.contact {
  background: var(--ink); color: var(--cream);
  padding: clamp(100px, 16vh, 200px) clamp(20px, 6vw, 100px) 0;
}
.contact__team {
  max-width: 1200px;
  margin: 0 auto clamp(76px, 11vh, 128px);
}
.contact__team img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 44%;
  filter: saturate(0.92) contrast(1.02);
}
.contact__team figcaption {
  padding-top: 14px;
  border-top: 1px solid rgba(243, 238, 229, 0.18);
  color: rgba(243, 238, 229, 0.72);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}
.contact .story__kicker { color: var(--gold-soft); }
.contact__inner { max-width: 1200px; margin: 0 auto; }
.contact__headline {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(42px, 7vw, 110px); line-height: 1.02;
}
.contact__headline em { font-style: italic; color: var(--gold-soft); }
.contact__snapshot { margin-top: clamp(30px, 5vh, 54px); }
.contact__cols {
  margin-top: clamp(56px, 9vh, 100px);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
  border-top: 1px solid rgba(243, 238, 229, 0.16); padding-top: 44px;
}
.contact__person span {
  display: block; font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; opacity: 0.5; margin-bottom: 12px;
}
.contact__person a {
  display: inline-block; color: inherit; text-decoration: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.9vw, 28px);
  border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s;
  overflow-wrap: anywhere;
}
.contact__person .contact__email {
  display: block; width: fit-content; margin-top: 10px;
  font-size: clamp(14px, 1.2vw, 18px); opacity: 0.75;
}
.contact__person a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
@media (max-width: 760px) { .contact__cols { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .contact__team {
    margin-bottom: 64px;
  }
  .contact__team img {
    aspect-ratio: 4 / 3;
    object-position: 50% 32%;
  }
}

.footer {
  margin-top: clamp(80px, 12vh, 140px);
  border-top: 1px solid rgba(243, 238, 229, 0.12);
  padding: 26px 0 30px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 238, 229, 0.76);
}

/* ================= STAT BEATS (descent) ================= */
.statbeat {
  position: absolute; z-index: 4; pointer-events: none;
  left: clamp(24px, 6vw, 90px); bottom: clamp(90px, 16vh, 170px);
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(10, 12, 16, 0.8), 0 1px 6px rgba(10, 12, 16, 0.55);
}
.statbeat__num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(100px, 14vw, 210px); line-height: 0.88;
  letter-spacing: -0.02em; color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}
.statbeat__num--money { font-size: clamp(70px, 10vw, 150px); letter-spacing: -0.05em; }
.statbeat__star { font-size: 0.5em; vertical-align: 0.55em; margin-left: 0.06em; color: var(--gold); }
.statbeat__label {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.2vw, 62px); line-height: 1.02;
  letter-spacing: -0.005em; margin-top: 8px; color: var(--cream);
}
.statbeat__cap {
  font-family: var(--mono); font-weight: 400;
  margin-top: 20px; font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(243, 238, 229, 0.82);
}

/* ================= ARRIVE TRUST CHIP ================= */
.arrive__trust {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 26px; padding: 9px 16px;
  border: 1px solid rgba(211, 180, 131, 0.45); border-radius: 99px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(243, 238, 229, 0.85);
}
.arrive__stars { color: var(--gold-soft); font-weight: 600; }

/* ================= GOLD BUTTON / STREET ALT ================= */
.btn--gold { background: var(--gold); color: #14161c; }
.btn--gold:hover { background: var(--gold-soft); color: #14161c; }
.street__alt {
  display: block; margin-top: 18px; pointer-events: auto;
  color: rgba(243, 238, 229, 0.6); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid rgba(243, 238, 229, 0.25); padding-bottom: 3px;
  width: fit-content; margin-left: auto; margin-right: auto;
}
.street__alt:hover { color: var(--cream); }

/* ================= SLAB PRICE HIERARCHY ================= */
.slab__price {
  font-family: var(--serif); font-weight: 300;
  font-size: 30px; line-height: 1; letter-spacing: 0;
  color: var(--cream); margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.slab__dom {
  margin-top: 6px; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(211, 180, 131, 0.72);
}

/* ================= ESTIMATE (valuation hook) ================= */
.estimate {
  position: relative; z-index: 10;
  background: var(--ink); color: var(--cream);
  padding: clamp(100px, 15vh, 190px) clamp(20px, 6vw, 100px);
}
.estimate__inner { max-width: 1100px; margin: 0 auto; }
.estimate__headline {
  font-family: var(--serif); font-weight: 300; line-height: 1.04;
  font-size: clamp(40px, 6vw, 96px);
}
.estimate__headline em { font-style: italic; color: var(--gold-soft); }
.estimate__micro {
  font-family: var(--mono);
  margin-top: 20px; font-size: 10px; letter-spacing: 0.24em;
  color: rgba(243, 238, 229, 0.55);
}
.estimate__form { margin-top: clamp(44px, 7vh, 80px); display: flex; flex-wrap: wrap; gap: 34px; align-items: flex-end; }
.estimate__field { display: flex; flex-direction: column; gap: 14px; }
.estimate__label {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(243, 238, 229, 0.65);
}
.estimate__opt { opacity: 0.5; letter-spacing: 0.1em; text-transform: none; }
.seg { display: inline-flex; border: 1px solid rgba(243, 238, 229, 0.3); border-radius: 99px; overflow: hidden; }
.seg button {
  appearance: none; border: 0; background: transparent; color: var(--cream);
  font-family: "Space Grotesk", var(--sans); font-size: 16px; font-weight: 500;
  padding: 14px 22px; cursor: pointer; transition: background 0.25s, color 0.25s;
  border-right: 1px solid rgba(243, 238, 229, 0.18);
}
.seg button:last-child { border-right: 0; }
.seg button:hover { background: rgba(243, 238, 229, 0.08); }
.seg button.is-on { background: var(--gold); color: #14161c; }
.estimate__streetrow { display: flex; align-items: center; gap: 12px; }
.chip {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(211, 180, 131, 0.16); color: var(--gold-soft);
  border: 1px solid rgba(211, 180, 131, 0.4); border-radius: 99px; padding: 10px 18px;
}
.estimate__streetrow input {
  background: transparent; border: 0; border-bottom: 1px solid rgba(243, 238, 229, 0.3);
  color: var(--cream); font-family: var(--sans); font-size: 16px; padding: 10px 2px;
  min-width: 220px; outline: none; transition: border-color 0.3s;
}
.estimate__streetrow input:focus { border-color: var(--gold-soft); }
.estimate__go { border: 0; cursor: pointer; font-family: var(--sans); }
.estimate__loading {
  margin-top: 50px; font-size: 14px; color: rgba(243, 238, 229, 0.75);
  display: flex; align-items: center; gap: 14px;
}
.estimate__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.25; transform: scale(0.8);} 50% { opacity: 1; transform: scale(1.15);} }
.estimate__result { margin-top: clamp(44px, 7vh, 70px); }
.estcard {
  display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 28px;
  background: rgba(243, 238, 229, 0.05);
  border: 1px solid rgba(211, 180, 131, 0.3); border-radius: 4px;
  overflow: hidden; max-width: 780px;
}
.estcard img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; display: block; }
.estcard__body { padding: 26px 28px 26px 0; }
.estcard__ribbon {
  display: inline-block; background: var(--gold); color: #14161c;
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px;
}
.estcard__addr { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); margin-top: 12px; }
.estcard__price {
  font-family: "Space Grotesk", var(--sans); font-weight: 700;
  font-size: clamp(26px, 3vw, 40px); color: var(--gold-soft); margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.estcard__meta { margin-top: 10px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243, 238, 229, 0.6); }
.estimate__range {
  margin-top: 40px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 3.2vw, 44px); line-height: 1.25; max-width: 22em;
}
.estimate__range b { color: var(--gold-soft); font-weight: 400; font-variant-numeric: tabular-nums; }
.estimate__disclaimer { margin-top: 14px; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243, 238, 229, 0.4); }
.estimate__others { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 44px 0 46px; max-width: 780px; }
.estcard--mini { display: block; background: rgba(243, 238, 229, 0.04); border: 1px solid rgba(243, 238, 229, 0.14); border-radius: 4px; overflow: hidden; }
.estcard--mini img { width: 100%; height: 120px; object-fit: cover; display: block; }
.estcard--mini .estcard__body { padding: 14px 16px 16px; }
.estcard--mini .estcard__addr { font-size: 17px; margin-top: 0; }
.estcard--mini .estcard__price { font-size: 19px; margin-top: 6px; }
.estimate__thin { margin-top: 50px; }
.estimate__thin p { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.8vw, 36px); max-width: 24em; margin-bottom: 30px; }

/* ================= REPORT (lead form) ================= */
.report {
  position: relative; z-index: 10;
  background: var(--cream); color: var(--ink);
  padding: clamp(100px, 15vh, 190px) clamp(20px, 6vw, 100px);
}
.report__inner { max-width: 900px; margin: 0 auto; }
.report__headline {
  font-family: var(--serif); font-weight: 300; line-height: 1.04;
  font-size: clamp(38px, 5.4vw, 84px); text-wrap: balance;
}
.report__headline em { font-style: italic; color: var(--gold-ink); }
.report__sub { margin-top: 22px; font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 52ch; }
.report__form { margin-top: clamp(40px, 6vh, 70px); }
.report__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.report__grid input, .report__grid select {
  appearance: none; background: transparent; border: 0;
  border-bottom: 1px solid rgba(23, 24, 26, 0.3);
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 14px 2px; outline: none; transition: border-color 0.3s; border-radius: 0;
}
.report__grid input:focus, .report__grid select:focus { border-color: var(--gold); }
.report__consent {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 34px; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft);
  max-width: 56ch; cursor: pointer;
}
.report__consent input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; }
.report__go { border: 0; cursor: pointer; margin-top: 38px; font-family: var(--sans); }
.report__done h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4vw, 54px); margin-top: 50px; }
.report__done p { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }

/* ---- questionnaire steps ---- */
.report__step { border: 0; padding: 0; margin: 0 0 clamp(30px, 5vh, 54px); }
.report__legend {
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 26px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft);
}
.report__stepno {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 99px;
  background: var(--ink); color: var(--cream); font-size: 12px; letter-spacing: 0;
}
.report__grid--addr { grid-template-columns: 0.5fr 1.6fr 1fr 0.6fr; }
.report__grid--type { margin-top: 22px; }
.rf-narrow { min-width: 0; }
.report__addrnote { margin-top: 10px; font-size: 12.5px; color: var(--gold-ink); letter-spacing: 0.02em; }

.rf-select { display: flex; flex-direction: column; gap: 8px; }
.rf-select > span, .rf-field > span {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}
.rf-select > span em, .rf-field > span em { font-style: normal; color: var(--ink-soft); text-transform: none; letter-spacing: 0.04em; }
.rf-select select {
  appearance: none; background: transparent; border: 0; border-bottom: 1px solid rgba(23,24,26,0.3);
  font-family: var(--sans); font-size: 16px; color: var(--ink); padding: 12px 2px; outline: none; border-radius: 0;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 14px) 20px, calc(100% - 9px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.rf-select select:focus { border-color: var(--gold); }
.rf-field { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.rf-field input {
  appearance: none; background: transparent; border: 0; border-bottom: 1px solid rgba(23,24,26,0.3);
  font-family: var(--sans); font-size: 16px; color: var(--ink); padding: 12px 2px; outline: none; border-radius: 0;
}
.rf-field input:focus { border-color: var(--gold); }
.rf-field textarea {
  width: 100%; resize: vertical; appearance: none; background: transparent;
  border: 1px solid rgba(23,24,26,0.3); border-radius: 3px;
  font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--ink);
  padding: 12px; outline: none;
}
.rf-field textarea:focus { border-color: var(--gold); }
.rf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* counts row: beds/baths/cars segmented + land */
.report__counts { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); margin-top: 30px; align-items: flex-end; }
.report__year { max-width: 220px; margin-top: 28px; }
.report__questions { display: grid; gap: 22px; margin-top: 34px; }
.report__question { padding: 22px; border: 1px solid var(--line); border-radius: 4px; }
.report__question > p { margin: -2px 0 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.report__renovation-details { margin-top: 22px; }
.report__confirmation { margin-top: 22px; }
.report__count { display: flex; flex-direction: column; gap: 12px; }
.report__count > label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.seg--sm { border-color: rgba(23,24,26,0.24); }
.seg--sm button { color: var(--ink); font-size: 14px; padding: 9px 15px; border-right-color: rgba(23,24,26,0.14); }
.seg--sm button:hover { background: rgba(23,24,26,0.05); }
.seg--sm button.is-on { background: var(--ink); color: var(--cream); }
.rf-suffix { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(23,24,26,0.3); }
.rf-suffix input { appearance: none; background: transparent; border: 0; font-family: var(--sans); font-size: 16px; color: var(--ink); padding: 10px 2px; outline: none; width: 90px; }
.rf-suffix span { font-size: 13px; color: var(--ink-soft); }
.report__err { margin-top: 20px; color: #a1382b; font-size: 13.5px; }

/* generating state */
.report__loading { display: flex; align-items: center; gap: 12px; margin-top: 50px; font-size: 15px; color: var(--ink-soft); }
.report__loading .estimate__dot { background: var(--gold); }

/* ---- the homeowner report (appraisal document) ---- */
.report__out { margin-top: clamp(34px, 5vh, 64px); }
.rpt {
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--cream-deep);
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 30px 80px -50px rgba(23, 24, 26, 0.5);
}
.rpt__mast {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.rpt__brand { font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: 0.01em; color: var(--ink); }
.rpt__brand i { font-style: normal; color: var(--gold); margin: 0 4px; }
.rpt__doclabel { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }

.rpt__prepared { margin-top: clamp(26px, 4vh, 40px); }
.rpt__preplabel { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.rpt__preplabel b { color: var(--ink); font-weight: 500; }
.rpt__addr { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.8vw, 52px); line-height: 1.06; margin-top: 12px; }
.rpt__market-notice { margin-top: 26px; padding: 16px 18px; border-left: 4px solid var(--gold); background: var(--cream); font-weight: 700; line-height: 1.6; }

/* headline range */
.rpt__range { margin-top: clamp(30px, 4.5vh, 48px); padding: clamp(26px, 3.5vw, 40px); background: var(--cream); border: 1px solid var(--line); border-radius: 6px; }
.rpt__rangelabel { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.rpt__rangeval {
  display: block; margin-top: 14px; color: var(--gold);
  font-family: var(--serif); font-weight: 300; line-height: 1;
  font-size: clamp(38px, 6.6vw, 76px); font-variant-numeric: tabular-nums; letter-spacing: -0.015em;
}
.rpt__rangebasis { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; }

/* signal strip */
.rpt__signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-top: 18px; }
.rpt__sig { background: var(--cream); padding: 22px clamp(16px, 2vw, 24px) 24px; }
.rpt__sigval { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.2vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.rpt__siglabel { display: block; margin-top: 11px; font-size: 11px; letter-spacing: 0.1em; line-height: 1.45; color: var(--ink-soft); }

/* narrative write-ups */
.rpt__writeup { margin-top: clamp(38px, 5.5vh, 60px); padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--line); }
.rpt__wtitle { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.rpt__prose { margin-top: 18px; max-width: 66ch; }
.rpt__prose p { font-family: var(--serif); font-weight: 300; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: var(--ink); margin-top: 16px; }
.rpt__prose p:first-child { margin-top: 0; }
.rpt__prose p:first-child::first-letter { font-size: 3.1em; line-height: 0.82; float: left; margin: 6px 12px 0 0; color: var(--gold); font-weight: 400; }
.rpt__prose em { font-style: italic; color: var(--gold); }
.rpt__prose b { font-weight: 500; }

/* comparable sales */
.rpt__compshead { margin: clamp(42px, 6vh, 66px) 0 22px; }
.rpt__compshead h4 { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.1; }
.rpt__compshead p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.rpt__comps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.rcomp { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.rcomp:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(23,24,26,0.55); }
.rcomp--hero { grid-column: span 2; flex-direction: row; border-color: var(--gold-soft); box-shadow: 0 0 0 1px var(--gold-soft); }
.rcomp__media { position: relative; overflow: hidden; }
.rcomp__media img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; display: block; }
.rcomp--hero .rcomp__media { flex: 0 0 46%; }
.rcomp:not(.rcomp--hero) .rcomp__media img { height: 150px; }
.rcomp__media--none { display: none; }
.rcomp__sold { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.rcomp__flag { position: absolute; bottom: 12px; left: 12px; right: 12px; background: rgba(23,24,26,0.82); color: var(--cream); font-size: 10.5px; letter-spacing: 0.06em; padding: 6px 10px; border-radius: 3px; }
.rcomp__body { padding: 16px 18px 18px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.rcomp__addr { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.18; }
.rcomp--hero .rcomp__addr { font-size: clamp(20px, 2.2vw, 26px); }
.rcomp__specs { margin-top: 7px; font-size: 11.5px; letter-spacing: 0.05em; color: var(--ink-soft); }
.rcomp__priceline { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.rcomp__price { font-family: var(--serif); font-weight: 400; font-size: 23px; color: var(--gold); font-variant-numeric: tabular-nums; }
.rcomp__dom { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); padding: 3px 8px; border-radius: 99px; }
.rcomp__foot { margin-top: 12px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(23,24,26,0.45); }

.rpt__source { margin-top: 28px; font-size: 12px; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; }
.rpt__disclaimer { margin-top: 10px; font-size: 12px; line-height: 1.6; color: rgba(23,24,26,0.5); max-width: 62ch; }

/* next step */
.rpt__next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: clamp(34px, 5vh, 52px); padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--line); }
.rpt__nextcopy { flex: 1 1 300px; }
.rpt__next h4 { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.1; }
.rpt__next p { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--ink-soft); max-width: 44ch; }
.rpt__nextcta { display: flex; flex-direction: column; gap: 14px; }
.rpt__phones { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.rpt__phones a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.rpt__phones a:hover { border-color: var(--gold); }

/* thin (fail-closed) state */
.rpt--thin { margin-top: clamp(40px, 6vh, 70px); }
.rpt--thin h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.06; margin-top: clamp(26px, 4vh, 40px); }
.rpt--thin h3 em { font-style: italic; color: var(--gold); }
.rpt--thin p { margin: 16px 0 30px; font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 52ch; }

@media (max-width: 760px) {
  .nav { padding-top: max(16px, env(safe-area-inset-top)); }
  .report__grid { grid-template-columns: 1fr; }
  .report__grid--addr { grid-template-columns: 0.5fr 1.5fr; }
  .report__grid--type { grid-template-columns: 1fr; }
  .rpt__signals { grid-template-columns: 1fr; }
  .rcomp--hero { grid-column: span 1; flex-direction: column; }
  .rcomp--hero .rcomp__media { flex: none; }
  .rcomp--hero .rcomp__media img { height: 180px; }
}

/* ================= STICKY ESTIMATE PILL ================= */
.pill {
  position: fixed; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 4vh, 36px); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #14161c; text-decoration: none;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  padding: 15px 26px; border-radius: 99px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(0); opacity: 1;
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.3s;
}
.pill:hover { background: var(--gold-soft); }
.pill[hidden] { display: none; }
.pill.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 700px) {
  .pill { right: 14px; left: 14px; bottom: 14px; justify-content: center; }
}

/* ================= MOTION SAFETY ================= */
@media (prefers-reduced-motion: reduce) {
  .hud__scroll i { animation: none; }
  .estimate__dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Sold Street video walk — home data cards ============ */
#streetCards.street__cards { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.street__cards .wcard {
  position: absolute; left: 50%; right: auto; top: auto; bottom: 12vh;
  width: min(80vw, 340px); margin: 0; padding: 0; overflow: hidden;
  background: rgba(12, 14, 20, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(211, 180, 131, 0.24); border-radius: 5px;
  box-shadow: 0 26px 64px -24px rgba(0, 0, 0, 0.88);
  color: var(--cream); text-align: left; visibility: hidden;
  will-change: opacity, transform;
  /* HyperFrames-style entrance — --a (0..1) set per scroll frame in applyWalk() */
  --a: 0;
  opacity: var(--a);
  transform-origin: 50% 100%;
  transform: translateY(calc((1 - var(--a)) * 26px)) scale(calc(0.955 + var(--a) * 0.045));
}
/* staggered inner reveal — custom props inherit --a from the card */
.street__cards .wcard__photo  { --p: clamp(0, calc((var(--a) - 0.00) * 2.2), 1); opacity: var(--p); transform: scale(calc(1.07 - var(--p) * 0.07)); transform-origin: 50% 42%; }
.street__cards .wcard__sold   { --p: clamp(0, calc((var(--a) - 0.12) * 3.4), 1); opacity: var(--p); transform: translateY(calc((1 - var(--p)) * 8px)); }
.street__cards .wcard__addr   { --p: clamp(0, calc((var(--a) - 0.22) * 3.4), 1); opacity: var(--p); transform: translateY(calc((1 - var(--p)) * 12px)); }
.street__cards .wcard__addr::after { content: ""; display: block; height: 2px; width: 46px; margin-top: 9px; border-radius: 2px; background: var(--gold-soft); transform-origin: left center; transform: scaleX(clamp(0, calc((var(--a) - 0.32) * 3.6), 1)); opacity: clamp(0, calc((var(--a) - 0.32) * 3.6), 1); }
.street__cards .wcard__suburb { --p: clamp(0, calc((var(--a) - 0.40) * 3.4), 1); opacity: var(--p); transform: translateY(calc((1 - var(--p)) * 8px)); }
.street__cards .wcard__meta   { --p: clamp(0, calc((var(--a) - 0.48) * 3.4), 1); opacity: var(--p); transform: translateY(calc((1 - var(--p)) * 10px)); }
.wcard__photo { display: block; width: 100%; height: 180px; object-fit: contain; object-position: 50% 50%; background: #0a0c10; }
.wcard__body { padding: 13px 17px 15px; }
.wcard__sold { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.2em; color: var(--gold-soft); }
.wcard__addr { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 300; font-size: 25px; line-height: 1.04; color: var(--cream); }
.wcard__suburb { display: block; margin-top: 3px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(243,238,229,0.6); }
.wcard__meta { display: flex; gap: 15px; margin-top: 11px; padding-top: 11px; border-top: 1px solid rgba(243,238,229,0.14); }
.wcard__meta i { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: 0.01em; color: rgba(243,238,229,0.76); }
.wcard__price { color: var(--gold-soft) !important; font-weight: 500; }
/* homes arrive in pairs: pin each card to the side its house sits on (cancel the centred default) */
.street__cards .wcard--left  { left: 5vw; right: auto; }
.street__cards .wcard--right { right: 5vw; left: auto; }
@media (max-width: 700px){
  .wcard__addr{ font-size: 21px; }
  .street__cards .wcard--left  { left: 4vw; }
  .street__cards .wcard--right { right: 4vw; }
  .street__cards .wcard { width: min(44vw, 220px); }
}

/* ================= APPROVED SNAPSHOT JOURNEY ================= */
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

.skip-link {
  position: fixed; left: 18px; top: 12px; z-index: 400;
  transform: translateY(-160%); padding: 12px 16px;
  background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }
.noscript-notice { position: relative; z-index: 250; padding: 14px 20px; background: var(--gold-soft); color: var(--ink); line-height: 1.5; }

.nav {
  min-height: 72px; color: var(--cream);
  background: rgba(12, 14, 18, 0.88); border-bottom: 1px solid rgba(243,238,229,.16);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav__links { align-items: center; }
.nav__snapshot {
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px;
  border: 1px solid var(--gold-soft); color: var(--cream) !important;
}
.nav__menu {
  display: none; min-width: 44px; min-height: 44px; border: 1px solid rgba(243,238,229,.5);
  background: transparent; color: var(--cream); font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase;
}

.persistent-cta, .story-control {
  position: fixed; bottom: 18px; z-index: 95; min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(243,238,229,.45); box-shadow: 0 16px 44px rgba(0,0,0,.32);
  font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.persistent-cta { right: 18px; padding: 0 20px; background: var(--gold); color: var(--ink); text-decoration: none; }
.story-control { left: 18px; padding: 0 18px; background: rgba(12,14,18,.9); color: var(--cream); cursor: pointer; }
.persistent-cta.is-away, .story-control.is-away { opacity: 0; pointer-events: none; transform: translateY(130%); }

.dive { height: 100dvh; min-height: 680px; }
.hero-offer {
  position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; justify-content: center;
  padding: 108px clamp(20px, 7vw, 110px) 90px; color: var(--cream); pointer-events: none;
  background: linear-gradient(90deg, rgba(8,10,14,.86) 0%, rgba(8,10,14,.62) 48%, rgba(8,10,14,.12) 80%);
}
.hero-offer > * { pointer-events: auto; }
.hero-offer__eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.hero-offer h1 { max-width: 820px; margin-top: 16px; font: 300 clamp(48px, 7vw, 96px)/.98 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.hero-offer__body { max-width: 62ch; margin-top: 26px; font-size: clamp(15px,1.35vw,18px); line-height: 1.7; color: rgba(243,238,229,.88); }
.hero-offer__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 620px);
  margin-top: 22px;
  border-block: 1px solid rgba(211, 180, 131, .35);
}
.hero-offer__metrics div {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 68px;
  padding: 9px 16px;
  border-right: 1px solid rgba(211, 180, 131, .24);
}
.hero-offer__metrics div:last-child { border-right: 0; }
.hero-offer__metrics strong {
  font: 300 clamp(24px, 2.6vw, 38px)/1 var(--serif);
  letter-spacing: -.04em;
  color: var(--cream);
}
.hero-offer__metrics span {
  font: 500 8px/1.35 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(243, 238, 229, .7);
}
.hero-offer__metrics-period {
  width: min(100%, 620px);
  margin-top: 8px;
  color: var(--gold-soft);
  font: 500 9px/1.4 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.hero-offer__secondary { min-height: 44px; display: inline-flex; align-items: center; color: var(--cream); text-underline-offset: 5px; }
.hero-offer__reassurance { margin-top: 20px; font-size: 12px; letter-spacing: .05em; }
.hero-offer__reassurance span { margin: 0 6px; color: var(--gold-soft); }
.hero-offer__story { max-width: 62ch; margin-top: 16px; font: italic 300 13px/1.5 var(--serif); color: rgba(243,238,229,.62); }

.report, #story, #street, #contact { scroll-margin-top: 96px; }
.report { overflow: clip; }
#report-title { scroll-margin-top: 96px; }
.rpt, .snapshot-error, .detailed-request, .detailed-confirmation { scroll-margin-top: 96px; }
.report__inner, .report__form, .report__step, .report__grid > *, .report__counts > * { min-width: 0; }
.report__expectation { max-width: 58ch; margin-top: 12px; font-weight: 600; color: var(--gold-ink); }
.report__helper, .report__service, .report__timing { max-width: 66ch; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.report__helper { margin: 10px 0 20px; }
.report__service { margin-top: 30px; }
.report__service a, .text-link { color: inherit; text-underline-offset: 4px; }
.report__timing { margin: 9px 0 0 30px; }
.rf-field { margin-top: 0; min-width: 0; }
.rf-field input, .rf-select select { width: 100%; min-height: 48px; }
.choice-group { border: 0; min-width: 0; }
.choice-group legend { margin-bottom: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.choice-group legend em { font-style: normal; opacity: .65; letter-spacing: .04em; text-transform: none; }
.seg--sm { display: flex; flex-wrap: wrap; }
.seg--sm label { position: relative; cursor: pointer; }
.seg--sm input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg--sm label span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 8px 13px; border: 1px solid rgba(23,24,26,.22); border-right: 0; }
.seg--sm label:last-child span { border-right: 1px solid rgba(23,24,26,.22); }
.seg--sm input:checked + span { background: var(--ink); color: var(--cream); }
.seg--sm input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; position: relative; z-index: 1; }
.inline-check { min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); text-transform: none !important; letter-spacing: 0 !important; }
.rf-suffix input { min-height: 44px; }
.report__consent { min-height: 44px; align-items: center; }
.inline-check input, .report__consent input { width: 20px; height: 20px; flex: 0 0 auto; }
.field-error { display: block; margin-top: 8px; color: #8f2f24; font-size: 13px; line-height: 1.45; }
[aria-invalid="true"] { border-color: #8f2f24 !important; }
.report__err { margin: 28px 0 0; padding: 18px 20px; border-left: 4px solid #8f2f24; background: rgba(143,47,36,.07); }
.report__err h3 { font-size: 15px; }
.report__err p { margin-top: 5px; }
.report__err ul { margin: 10px 0 0 18px; display: grid; gap: 5px; }
.report__err a { color: inherit; }
.report__go[disabled], .detailed-request button[disabled] { opacity: .55; cursor: wait; }
.report__loading { min-height: 64px; }
.snapshot-error, .detailed-request, .detailed-confirmation { margin-top: 42px; }
.snapshot-error h3, .detailed-request h3, .detailed-confirmation h3 { font: 300 clamp(28px,4vw,48px)/1.06 var(--serif); }
.snapshot-error p, .detailed-request p, .detailed-confirmation p { margin: 14px 0 24px; line-height: 1.65; color: var(--ink-soft); }
.text-button { margin-top: 12px; border: 0; padding: 8px 0; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rpt__email-status { margin-top: 18px; padding: 12px 14px; background: rgba(185,141,79,.12); font-size: 13px; line-height: 1.55; }
.detailed-request .rf-field { max-width: 360px; margin: 20px 0; }
.detailed-request .btn { border: 0; cursor: pointer; }

.sold__reveal { max-height: none; opacity: 1; margin-top: 7px; }
.footer a { color: inherit; }

@media (max-width: 900px) {
  .nav__menu { display: inline-flex; align-items: center; justify-content: center; }
  .nav__links {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch;
    max-height: calc(100dvh - 72px); overflow-y: auto;
    padding: 12px 20px max(20px, env(safe-area-inset-bottom)); background: rgba(12,14,18,.98); flex-direction: column; gap: 0;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { min-height: 48px; display: flex; align-items: center; }
  .nav__snapshot { margin-top: 8px; justify-content: center; }
}

@media (max-width: 760px) {
  .dive { height: 100dvh; min-height: 100svh; }
  .dive__stage { height: 100dvh; }
  .dive__video, .walk__video, #walkVideo { object-position: 50% 50%; }
  .arrive__hero, .walk__hero { object-position: 50% 50%; background-position: 50% 50%; }
  /* Phone media are portrait-native regens/cuts (mobile-v2) — full-bleed cover,
     nothing letterboxed, nothing visibly cropped. Desktop keeps its 16:9 files. */
  html.static-experience .dive { background-image: url("assets/video/satellite-dive.poster-mobile-v2.jpg"); }
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(12,14,18,.96); }
  .dive__grade { mix-blend-mode: normal; opacity: .55; }
  /* Clear the fixed nav on notch phones: viewport-fit=cover makes the banner
     env(safe-area-inset-top) taller, so the hero's top padding grows with it.
     flex-start + margin-top:auto on the eyebrow bottom-anchors the stack when
     it fits but can NEVER push it up under the banner when it doesn't —
     justify-content:flex-end overflows upward on short first-paint viewports. */
  /* bottom padding clears the fixed Pause control + sticky CTA bar so the
     reassurance line never slides behind them when the stack bottom-anchors */
  .hero-offer { padding: calc(112px + env(safe-area-inset-top, 0px)) 20px calc(150px + env(safe-area-inset-bottom, 0px)); justify-content: flex-start; }
  .hero-offer__eyebrow { margin-top: auto; }
  .hero-offer h1 { font-size: clamp(43px,13vw,62px); }
  .hero-offer__body { font-size: 15px; }
  .hero-offer__story { max-width: 34ch; margin-bottom: 52px; font-size: 12px; }
  .persistent-cta { left: 14px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .story-control { left: 14px; bottom: calc(72px + env(safe-area-inset-bottom)); }
  .report { padding-left: 16px; padding-right: 16px; padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
  .report__grid, .report__grid--addr, .report__grid--type { grid-template-columns: minmax(0,1fr); }
  .report__counts { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; }
  .seg--sm { max-width: 100%; }
  .rpt { padding: 22px 16px; }
  .rpt__rangeval { overflow-wrap: anywhere; }
  .rpt__nextcta .btn { width: 100%; }
  .sold__track { padding: 0; }
  .sold__tile { width: min(82vw, 320px); }
  .street__cards .wcard {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(12, 14, 20, .96);
    box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .72);
  }
}

@media (max-width: 760px) and (max-height: 800px) {
  /* the italic story line sits behind the Pause/CTA controls on mid-height
     phones — drop it before it collides (it already hides at 620px) */
  .hero-offer__story { display: none; }
}

@media (max-width: 760px) and (max-height: 720px) {
  .dive { height: 100dvh; min-height: 100svh; }
  /* Short first-paint viewports (Safari URL bar expanded) top-align the offer —
     116px + inset keeps the eyebrow and "See what" clear of the fixed banner. */
  .hero-offer { justify-content: flex-start; padding: calc(116px + env(safe-area-inset-top, 0px)) 20px 28px; }
  .hero-offer__eyebrow { margin-top: 0; }
  .hud { display: none; }
  .hero-offer h1 { margin-top: 10px; font-size: clamp(38px, 11.6vw, 48px); }
  .hero-offer__body { margin-top: 16px; font-size: 14px; line-height: 1.55; }
  .hero-offer__actions { margin-top: 18px; gap: 12px; }
  .hero-offer__reassurance { margin-top: 14px; }
  .hero-offer__story { margin-top: 10px; margin-bottom: 0; }
  .persistent-cta, .story-control { display: none; }
}

@media (max-width: 340px) {
  .hero-offer .btn { padding-inline: 16px; font-size: 10px; letter-spacing: .13em; }
}

@media (max-width: 760px) and (max-height: 620px) {
  .hero-offer__story { display: none; }
}

/* Phone cinematic: restore the exact t50 device-approved portrait videos over
   the CSS-owned sticky runway. Posters keep first paint independent of media. */
@media (max-width: 760px) {
  html.phone-cinematic-experience,
  html.phone-cinematic-experience body,
  html.phone-cinematic-experience .pin-spacer,
  html.phone-cinematic-experience .dive {
    overflow-anchor: none;
  }
  html.phone-cinematic-experience .dive {
    width: 100%;
    /* Own the phone runway in CSS instead of relying on WebKit to retain
       ScrollTrigger's generated pin-spacer padding. The sticky stage remains
       visible for exactly the same 16,800px timeline used by JavaScript. */
    height: calc(100vh + 16800px);
    height: calc(100lvh + 16800px);
    min-height: calc(100vh + 16800px);
    min-height: calc(100lvh + 16800px);
    background: #0d1014 url("assets/video/satellite-dive.poster-mobile-v2.jpg?v=t50") center / cover no-repeat;
  }
  html.phone-cinematic-experience .dive__stage {
    position: -webkit-sticky;
    position: sticky;
    inset: auto;
    top: 0;
    width: 100%;
    /* Stable large viewport height prevents Safari's collapsing address bar
       from changing the story frame while a touch is in progress. */
    height: 100vh;
    height: 100lvh;
    min-height: 100vh;
    min-height: 100lvh;
    touch-action: pan-y;
  }
  html.phone-cinematic-experience .phone-frame-canvas { display: none; }
  html.phone-cinematic-experience #satVideo,
  html.phone-cinematic-experience #walkVideo {
    display: block;
  }
  html.phone-cinematic-experience .dive__video,
  html.phone-cinematic-experience #walkVideo,
  html.phone-cinematic-experience .arrive__hero {
    object-fit: cover;
    object-position: 50% 50%;
    background: #0d1014;
  }
  html.phone-cinematic-experience .dive__video,
  html.phone-cinematic-experience #walkVideo,
  html.phone-cinematic-experience .phone-frame-canvas,
  html.phone-cinematic-experience .dive__grade,
  html.phone-cinematic-experience .dive__vignette {
    pointer-events: none;
  }
  html.phone-cinematic-experience .walklayer { background: transparent; }
  /* The timeline hard-cuts to prepainted pan frame zero before panStart; this
     ownership guard keeps that boundary absolute if WebKit rounds a sample. */
  html.phone-pan-owns-frame #arrive,
  html.phone-pan-owns-frame .arrive__content,
  html.phone-pan-owns-frame .arrive__eyebrow,
  html.phone-pan-owns-frame #satCanvas,
  html.phone-pan-owns-frame #satVideo {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html.phone-cinematic-experience .nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(12,14,18,.96);
  }
  html.phone-cinematic-experience .hero-offer {
    justify-content: center;
    padding: 104px 20px 82px;
  }
  html.phone-cinematic-experience .hero-offer__eyebrow { margin-top: 0; }
  html.phone-cinematic-experience .hero-offer h1 {
    max-width: 350px;
    margin-top: 14px;
    font-size: clamp(38px, 10.5vw, 42px);
    line-height: .98;
    letter-spacing: -.035em;
  }
  html.phone-cinematic-experience .hero-offer__body {
    max-width: 350px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.55;
  }
  html.phone-cinematic-experience .hero-offer__metrics,
  html.static-experience .hero-offer__metrics {
    width: min(100%, 350px);
    margin-top: 14px;
  }
  html.phone-cinematic-experience .hero-offer__metrics div,
  html.static-experience .hero-offer__metrics div {
    min-height: 54px;
    padding: 7px 5px;
  }
  html.phone-cinematic-experience .hero-offer__metrics strong,
  html.static-experience .hero-offer__metrics strong {
    font-size: 21px;
  }
  html.phone-cinematic-experience .hero-offer__metrics div:last-child strong,
  html.static-experience .hero-offer__metrics div:last-child strong {
    font-size: 17px;
  }
  html.phone-cinematic-experience .hero-offer__metrics span,
  html.static-experience .hero-offer__metrics span {
    font-size: 6.5px;
    letter-spacing: .07em;
  }
  html.phone-cinematic-experience .hero-offer__metrics-period,
  html.static-experience .hero-offer__metrics-period {
    width: min(100%, 350px);
    margin-top: 6px;
    font-size: 7.5px;
    letter-spacing: .11em;
  }
  html.phone-cinematic-experience .hero-offer__actions {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 22px;
  }
  html.phone-cinematic-experience .hero-offer .btn {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 9px;
    letter-spacing: .12em;
    white-space: nowrap;
  }
  html.phone-cinematic-experience .hero-offer__secondary {
    min-height: 44px;
    font-size: 13px;
    white-space: nowrap;
  }
  html.phone-cinematic-experience .hero-offer__reassurance { margin-top: 14px; }
  html.phone-cinematic-experience .hero-offer__story {
    display: block;
    max-width: 350px;
    margin-top: 12px;
    margin-bottom: 0;
  }
  html.phone-cinematic-experience .persistent-cta {
    left: auto;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    max-width: 218px;
    padding-inline: 12px;
    font-size: 9px;
  }
  html.phone-cinematic-experience .story-control {
    left: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    padding-inline: 12px;
    font-size: 9px;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  html.phone-cinematic-experience .hero-offer {
    padding: calc(94px + env(safe-area-inset-top, 0px)) 20px 68px;
  }
  html.phone-cinematic-experience .hero-offer__story { display: none; }
  html.phone-cinematic-experience .hero-offer__reassurance,
  html.static-experience .hero-offer__reassurance { display: none; }
}

@media (max-width: 360px) {
  html.phone-cinematic-experience .hero-offer h1,
  html.static-experience .hero-offer h1 { font-size: 33px; }
  html.phone-cinematic-experience .hero-offer__body,
  html.static-experience .hero-offer__body {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.45;
  }
  html.phone-cinematic-experience .hero-offer__actions,
  html.static-experience .hero-offer__actions {
    gap: 6px;
    margin-top: 18px;
  }
  html.phone-cinematic-experience .hero-offer .btn,
  html.static-experience .hero-offer .btn {
    padding-inline: 7px;
    font-size: 8px;
    letter-spacing: .08em;
  }
  html.phone-cinematic-experience .hero-offer__secondary,
  html.static-experience .hero-offer__secondary { font-size: 11px; }
}

/* The slow-network fallback keeps the same proposition geometry even though
   it intentionally serves a still instead of downloading the cinematic. */
@media (max-width: 760px) {
  html.static-experience .dive {
    background-color: #0d1014;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
  }
  html.static-experience .hero-offer {
    justify-content: center;
    padding: 104px 20px 82px;
  }
  html.static-experience .hero-offer__eyebrow { margin-top: 0; }
  html.static-experience .hero-offer h1 {
    max-width: 350px;
    margin-top: 14px;
    font-size: clamp(38px, 10.5vw, 42px);
    line-height: .98;
  }
  html.static-experience .hero-offer__body {
    max-width: 350px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.55;
  }
  html.static-experience .hero-offer__actions {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 22px;
  }
  html.static-experience .hero-offer .btn {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 9px;
    letter-spacing: .12em;
    white-space: nowrap;
  }
  html.static-experience .hero-offer__secondary {
    min-height: 44px;
    font-size: 13px;
    white-space: nowrap;
  }
  html.static-experience .hero-offer__reassurance { margin-top: 14px; }
  html.static-experience .hero-offer__story {
    display: block;
    max-width: 350px;
    margin-top: 12px;
  }
  html.static-experience .persistent-cta {
    left: auto;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    max-width: 218px;
    padding-inline: 12px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  /* The static fallback remains available on desktop and through the explicit
     ?motion=reduce phone override. A phone in Low Power Mode/Reduce Motion
     still receives the requested cinematic; do not hide its loaded media. */
  html:not(.phone-cinematic-experience) .dive { min-height: 100dvh; height: auto; background: #17181a url("assets/video/satellite-dive.poster-mobile.jpg") center/cover no-repeat; }
  html:not(.phone-cinematic-experience) .dive__stage { position: relative; min-height: 100dvh; }
  html:not(.phone-cinematic-experience) .dive__video,
  html:not(.phone-cinematic-experience) .walk__video,
  html:not(.phone-cinematic-experience) .statbeat,
  html:not(.phone-cinematic-experience) .arrive,
  html:not(.phone-cinematic-experience) .walklayer,
  html:not(.phone-cinematic-experience) .hud { display: none !important; }
  html:not(.phone-cinematic-experience) .hero-offer { position: relative; min-height: 100dvh; }
  html:not(.phone-cinematic-experience) .story-control { display: none; }
  html:not(.phone-cinematic-experience) .sold__track { transform: none !important; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  html:not(.phone-cinematic-experience) .dive { background-image: url("assets/video/satellite-dive.poster-mobile-v2.jpg"); }
}

.phone-story-debug {
  position: fixed;
  z-index: 500;
  top: calc(env(safe-area-inset-top) + 74px);
  right: 8px;
  width: min(244px, calc(100vw - 16px));
  box-sizing: border-box;
  padding: 9px 10px;
  border: 1px solid rgba(208, 174, 112, .9);
  border-radius: 6px;
  background: rgba(8, 10, 13, .9);
  color: #f4e5c4;
  font: 600 13px/1.38 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .01em;
  white-space: pre;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
}
