.walk-embed {
  --bg: #090909;
  --bg-soft: #111111;
  --ink: #f6f1e8;
  --ink-dim: rgba(246, 241, 232, 0.62);
  --ink-faint: rgba(246, 241, 232, 0.18);
  --gold: #c4a36a;
  --gold-soft: rgba(196, 163, 106, 0.85);
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(10, 10, 10, 0.5);
  --glass-border: rgba(255, 255, 255, 0.14);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --nav-h: 72px;
  --pad: clamp(20px, 4vw, 56px);
}

.walk-embed, .walk-embed *, .walk-embed *::before, .walk-embed *::after { box-sizing: border-box; }
.walk-embed, .walk-embed { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
.walk-embed { scroll-behavior: auto; }
.walk-embed {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.walk-embed img { max-width: 100%; display: block; }
.walk-embed button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.walk-embed a { color: inherit; text-decoration: none; }

.walk-embed .scroll-root { position: relative; }
.walk-embed .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.walk-embed .photos { position: absolute; inset: 0; z-index: 1; isolation: isolate; }
.walk-embed .photo {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.walk-embed .photo.is-on {
  visibility: visible;
  will-change: opacity, transform;
}
.walk-embed .photo img, .walk-embed .photo .frame {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transform-origin: center center;
}
.walk-embed .photo.is-contain {
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh 8vw;
}
.walk-embed .photo.is-contain img, .walk-embed .photo.is-contain .frame {
  width: auto;
  height: auto;
  max-width: min(1100px, 88vw);
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #fff;
}

/* Gradients sit above the photo, below UI */
.walk-embed .veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 1;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 34%, rgba(0, 0, 0, 0.05) 58%, rgba(0, 0, 0, 0.48) 100%);
}
.walk-embed .veil.is-hero {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.42) 36%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.5) 100%);
}

/* NAV */
.walk-embed .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0) 100%);
}
.walk-embed .nav a, .walk-embed .nav .brand, .walk-embed .nav .addr, .walk-embed .nav .nav-cta {
  pointer-events: auto;
}
.walk-embed .nav .brand, .walk-embed .nav .addr, .walk-embed .nav .nav-cta {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.walk-embed .nav .addr { opacity: 0.8; text-align: center; }
.walk-embed .nav .nav-cta {
  border: 1px solid var(--line);
  padding: 8px 16px;
  letter-spacing: 0.18em;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.walk-embed .nav .nav-cta:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.walk-embed .preview-pill {
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  left: var(--pad);
  z-index: 50;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  padding: 4px 9px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

/* HERO TYPE */
.walk-embed .hero-copy {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 12px) var(--pad) 96px;
  overflow: hidden;
}
.walk-embed .hero-giant {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -52%);
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(5.5rem, 22vw, 16rem);
  letter-spacing: 0.18em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  max-width: 100vw;
  overflow: hidden;
}
.walk-embed .headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin: 0 0 28px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.walk-embed .headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.walk-embed .hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

/* GLASS CARD */
.walk-embed .glass {
  pointer-events: auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  padding: 22px 24px 20px;
  min-width: min(300px, 100%);
  max-width: 340px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.walk-embed .glass .facts div strong { white-space: nowrap; }
.walk-embed .glass .kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.walk-embed .glass h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}
.walk-embed .glass .sub {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0 0 16px;
}
.walk-embed .glass .facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.walk-embed .glass .facts div span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 3px;
}
.walk-embed .glass .facts div strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
}
.walk-embed .glass .cta {
  display: inline-block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.walk-embed .glass .cta:hover { border-bottom-color: var(--gold); }
.walk-embed .glass .phone {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* FEATURE CARDS that pop during the tour */
.walk-embed .cards-layer {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  padding: calc(var(--nav-h) + 24px) var(--pad) 88px;
}
.walk-embed .feature-card {
  position: absolute;
  max-width: 340px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  padding: 22px 24px 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  bottom: 120px;
}
.walk-embed .feature-card.is-left { left: var(--pad); }
.walk-embed .feature-card.is-right { right: var(--pad); left: auto; }
.walk-embed .feature-card.is-in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.walk-embed .feature-card .eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.walk-embed .feature-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 10px;
  line-height: 1.1;
}
.walk-embed .feature-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  font-weight: 300;
}

.walk-embed .caption {
  position: absolute;
  left: var(--pad);
  bottom: 32px;
  z-index: 9;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0;
  transition: opacity 0.4s ease;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.walk-embed .caption.is-on { opacity: 1; }

.walk-embed .scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.9;
  pointer-events: none;
}
.walk-embed .scroll-cue .chev {
  width: 14px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  position: relative;
}
.walk-embed .scroll-cue .chev::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2px;
  height: 6px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: walk-pulse 1.6s ease-in-out infinite;
}
@keyframes walk-pulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* PROGRESS RAIL */
.walk-embed .rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.55));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.walk-embed .rail button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.walk-embed .rail .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.walk-embed .rail button.is-on .dot, .walk-embed .rail button:hover .dot {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}
.walk-embed .rail .lbl {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.walk-embed .rail button:hover .lbl, .walk-embed .rail button.is-on .lbl {
  opacity: 1;
  transform: translateX(0);
  color: var(--ink);
}
.walk-embed .rail button.is-on .lbl { color: var(--gold); }

/* END PANEL (after last photo, still in sticky stage? we'll fade it in near the end) */
.walk-embed .end-panel {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.walk-embed .end-panel.is-on { opacity: 1; pointer-events: auto; }
.walk-embed .end-inner { text-align: center; max-width: 520px; }
.walk-embed .end-inner .kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.walk-embed .end-inner h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 12px;
  line-height: 1.1;
}
.walk-embed .end-inner p {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 28px;
}
.walk-embed .end-inner .phone-lg {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.walk-embed .end-inner .name {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Footer after the scroll, in case someone reaches the true end */

@media (max-width: 820px) {
  .walk-embed { --nav-h: 60px; --pad: 18px; }
  .walk-embed .nav .addr { display: none; }
  .walk-embed .nav .brand { letter-spacing: 0.12em; font-size: 10px; max-width: 50%; }
  .walk-embed .hero-copy { padding-bottom: 64px; }
  .walk-embed .hero-giant { font-size: clamp(4.2rem, 28vw, 9rem); letter-spacing: 0.08em; top: 36%; }
  .walk-embed .headline { font-size: clamp(1.85rem, 8.4vw, 2.4rem); max-width: 12ch; margin-bottom: 16px; }
  .walk-embed .hero-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .walk-embed .glass { max-width: 100%; width: 100%; padding: 16px 16px 14px; }
  .walk-embed .glass h2 { font-size: 1.25rem; }
  .walk-embed .glass .facts { gap: 8px 12px; padding: 10px 0; margin-bottom: 10px; }
  .walk-embed .feature-card, .walk-embed .feature-card.is-left, .walk-embed .feature-card.is-right {
    left: var(--pad);
    right: var(--pad);
    max-width: none;
    width: auto;
    bottom: 70px;
    padding: 16px 18px 14px;
  }
  .walk-embed .feature-card h3 { font-size: 1.4rem; }
  .walk-embed .rail {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 14px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    filter: none;
  }
  .walk-embed .rail .lbl { display: none; }
  .walk-embed .caption { display: none; }
  .walk-embed .scroll-cue { display: none; }
  .walk-embed .preview-pill { top: calc(var(--nav-h) + 4px); left: var(--pad); bottom: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .walk-embed .photo img, .walk-embed .photo .frame, .walk-embed .scroll-cue .chev::after { animation: none !important; transition: none !important; }
  .walk-embed .feature-card { transition: opacity 0.2s linear; transform: none; }
}

.walk-embed .photo[data-id="exterior"] img, .walk-embed .photo[data-id="exterior"] .frame { object-position: 42% 40%; }

@media (max-width: 820px) {
  .walk-embed .photo[data-id="exterior"] img, .walk-embed .photo[data-id="exterior"] .frame { object-position: 30% 36%; }
  .walk-embed .hero-giant { letter-spacing: 0.08em; }
}


/* Contrast tweaks (Wren review) */
.walk-embed .feature-card { background: rgba(20, 20, 20, 0.72); }
.walk-embed .feature-card p { color: #d8d8d8; }
.walk-embed .rail .dot { border-color: rgba(255, 255, 255, 0.7) !important; }
.walk-embed .rail button.is-on .dot { background: var(--gold); border-color: var(--gold) !important; }

.walk-embed .end-inner .agent-block { display: flex; flex-direction: column; align-items: inherit; margin-top: 18px; }
.walk-embed .end-inner .agent-block + .agent-block { margin-top: 22px; }
.walk-embed .glass .phone { display: block; }
/* Longer hero titles (e.g. "118 DUNN") */
.walk-embed .hero-giant { font-size: clamp(5.5rem, 22vw, 16rem); letter-spacing: 0.04em; white-space: nowrap; }


/* Embed on the listing page: sit under the site header, do not restyle the rest of the site. */
.walk-embed {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.01em;
  background: #000;
  overflow: visible;
  --site-header-h: 72px;
  --nav-h: 16px;
  min-height: calc(100vh - var(--site-header-h));
  min-height: calc(100dvh - var(--site-header-h));
}
.walk-embed h1,
.walk-embed h2,
.walk-embed h3,
.walk-embed p {
  color: inherit;
  margin: 0;
}
.walk-embed a {
  color: inherit;
  text-decoration: none;
}
.walk-embed .nav,
.walk-embed .preview-pill {
  display: none !important;
}
.walk-embed .stage {
  top: var(--site-header-h);
  height: calc(100vh - var(--site-header-h));
  height: calc(100dvh - var(--site-header-h));
}
.walk-embed .rail {
  position: absolute;
}
@media (max-width: 760px) {
  .walk-embed { --site-header-h: 62px; }
}
@media (max-width: 820px) {
  .walk-embed { --nav-h: 16px; }
}
