/* ================================================
   7702 N Silvercrest Way — Marketing Site
   Editorial · quiet luxury · desert neutrals
   ================================================ */

:root {
  --bg: #f4efe8;          /* bone */
  --bg-2: #ebe4d9;        /* slightly deeper sand */
  --bg-dark: #1a1714;     /* near-black warm */
  --ink: #1a1714;
  --ink-2: #3a342c;
  --ink-3: #6b6258;
  --ink-mute: #8a8278;
  --rule: rgba(26,23,20,0.14);
  --rule-2: rgba(26,23,20,0.08);
  --accent: #b87a4a;      /* warm terracotta */
  --accent-2: #c9b89a;
  --paper-tint: rgba(255, 246, 230, 0.92);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --pad-x: clamp(24px, 5vw, 88px);
  --max-w: 1440px;
}

/* ================================================
   PRIVATE WING — collection cards + lightbox
   ================================================ */
.wing {
  padding: clamp(80px, 10vh, 140px) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.wing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: 56px;
}
@media (max-width: 1100px) { .wing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .wing-grid { grid-template-columns: 1fr; } }

.collection {
  appearance: none;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: grid;
  grid-template-rows: auto auto;
  gap: 22px;
  padding: 0;
}
.coll-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.coll-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1), filter 0.6s;
}
.collection:hover .coll-thumb img { transform: scale(1.04); filter: brightness(1.04); }

/* offset stacked cards behind the thumb to telegraph "more inside" */
.coll-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stack-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.stack-card.s2 {
  right: -10px; bottom: -10px;
  width: 38%; aspect-ratio: 4/3;
  z-index: -1;
  transform: translateY(0) rotate(2deg);
}
.stack-card.s3 {
  right: -18px; bottom: -18px;
  width: 32%; aspect-ratio: 4/3;
  z-index: -2;
  transform: rotate(4deg);
  opacity: 0.7;
}
.collection:hover .stack-card.s2 { transform: translate(4px,4px) rotate(3deg); }
.collection:hover .stack-card.s3 { transform: translate(8px,8px) rotate(6deg); }

.coll-meta { display: flex; flex-direction: column; gap: 10px; }
.coll-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.coll-name {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}
.coll-name .coll-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
}
.coll-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 520px;
  margin-top: 4px;
}
.coll-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 8px;
}
.coll-cta .arr { transition: transform 0.4s; display: inline-block; }
.collection:hover .coll-cta .arr { transform: translateX(6px); }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 11, 0.96);
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: clamp(20px, 4vh, 56px) clamp(16px, 5vw, 80px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-close {
  position: absolute;
  top: 24px; right: 28px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px; height: 44px;
  font-size: 24px; line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}
.lb-close:hover { background: rgba(255,255,255,0.12); }
.lb-counter {
  position: absolute;
  top: 32px; left: clamp(16px, 5vw, 80px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.lb-title {
  position: absolute;
  top: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}
.lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 56px 0 24px;
  position: relative;
  overflow: hidden;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation: lbFade 0.5s ease;
}
@keyframes lbFade { from { opacity: 0; transform: scale(0.99); } to { opacity: 1; transform: none; } }
.lb-stage .lb-cap {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.4);
  padding: 6px 16px;
  white-space: nowrap;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 52px; height: 52px;
  font-size: 28px; line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
}
.lb-nav:hover { background: rgba(255,255,255,0.12); }
.lb-prev { left: clamp(16px, 3vw, 40px); }
.lb-next { right: clamp(16px, 3vw, 40px); }
.lb-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 16px;
}
.lb-thumbs button {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 78px; height: 56px;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 0.3s, outline 0.3s;
  outline: 1px solid transparent;
}
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumbs button:hover { opacity: 0.8; }
.lb-thumbs button.active { opacity: 1; outline-color: var(--accent); }
@media (max-width: 700px) {
  .lb-title { display: none; }
  .lb-thumbs button { width: 56px; height: 40px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
em { font-style: italic; font-family: var(--serif); font-weight: 400; }

/* ================================================
   NAV
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--pad-x);
  transition: background 0.5s ease, backdrop-filter 0.5s ease, padding 0.4s ease;
}
.nav.scrolled {
  background: rgba(244, 239, 232, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-2);
  padding: 14px var(--pad-x);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mark {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav.hero-mode .nav-mark { color: rgba(255,255,255,0.92); }
.mark-num { font-weight: 500; }
.mark-divider { width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.mark-name { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0.02em; text-transform: none; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  border-bottom: none;
  color: var(--ink-2);
  transition: color 0.3s;
  position: relative;
}
.nav.hero-mode .nav-links a { color: rgba(255,255,255,0.85); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 15px;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  color: #fff;
}
.hero-img-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.kenburns {
  animation: kenburns 22s ease-out forwards;
  transform-origin: 60% 60%;
}
@keyframes kenburns {
  0%   { transform: scale(1.08) translate(-1%, 1%); }
  100% { transform: scale(1.00) translate(0, 0); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse at 30% 70%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-text {
  position: absolute;
  left: var(--pad-x);
  bottom: 14vh;
  z-index: 2;
  max-width: 720px;
}
.hero-eyebrow-top {
  position: absolute;
  top: clamp(96px, 12vh, 132px);
  left: var(--pad-x);
  z-index: 3;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1.2s 0.2s forwards;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(184, 122, 74, 0.7);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(72px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .reveal {
  display: inline-block;
  transform: translateY(110%);
  animation: lineReveal 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) forwards;
}
.hero-title .italic { font-style: italic; padding-left: 0.4em; }
@keyframes lineReveal {
  to { transform: translateY(0); }
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 56px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 1.2s 1.1s forwards;
}
@media (max-width: 720px) {
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
}
.meta-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.meta-val {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: 40px;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.85;
  animation: fadeUp 1.2s 1.4s backwards;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #fff, transparent);
  background-size: 100% 200%;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}

.hero-price {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1.2s 1.6s forwards;
  display: flex; align-items: center; gap: 16px;
}
.price-label { opacity: 0.7; }
.price-val { color: var(--accent-2); }
@media (max-width: 900px) { .hero-price { display: none; } }

/* ================================================
   STATS
   ================================================ */
.stats {
  padding: 140px var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stats-intro { max-width: 920px; margin-bottom: 96px; }
.stats-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.stats-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 820px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat {
  padding: 56px 24px 56px 0;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; }
@media (max-width: 820px) { .stat:nth-child(2) { border-right: none; } }
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stat-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 8px;
}

.stats-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 56px;
  margin-top: 56px;
}
.amen-row {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
}
.amen-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ================================================
   ARCHITECTURE
   ================================================ */
.architecture {
  padding: 100px var(--pad-x) 140px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-head { max-width: 920px; margin-bottom: 80px; }
.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.section-num.light { color: rgba(255,255,255,0.6); }
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.section-body {
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
  color: var(--ink-2);
}
.section-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.section-body a:hover { border-bottom-color: var(--accent); }

.arch-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}
@media (max-width: 900px) { .arch-figures { grid-template-columns: 1fr; } }
.arch-fig.fig-large { grid-column: 1 / -1; }

.arch-fig figcaption {
  display: flex; gap: 18px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fig-num { white-space: nowrap; }
.fig-text { font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--ink-2); }

.fig-img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.parallax-fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translateY(0);
  transition: transform 0.1s linear;
  will-change: transform;
}
.fig-large .fig-img-wrap { aspect-ratio: 16 / 9; }
.fig-small .fig-img-wrap { aspect-ratio: 16 / 9; }

/* ================================================
   INTERIOR
   ================================================ */
.interior {
  background: var(--bg-dark);
  color: #ece6dc;
  padding: 140px var(--pad-x);
}
.section-head-light { color: #ece6dc; }
.section-head-light .section-num { color: rgba(236,230,220,0.55); }
.section-head-light .section-body { color: rgba(236,230,220,0.75); }
.section-head-light .section-body a { color: #ece6dc; border-bottom-color: rgba(236,230,220,0.25); }

.interior-feature {
  max-width: var(--max-w);
  margin: 80px auto 0;
}
.feature-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}
.feature-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Interior gallery — dining, kitchen island, great-room view.
   contain so we never crop, with image-driven aspect ratios. */
.interior-gallery {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .interior-gallery { grid-template-columns: 1fr; gap: 40px; }
}
.ig-item { margin: 0; }
.ig-img-wrap {
  position: relative;
  background: #0e0a06;
  overflow: hidden;
}
.ig-tall .ig-img-wrap { aspect-ratio: 2351 / 2500; }
.ig-wide .ig-img-wrap { aspect-ratio: 2800 / 1489; grid-column: 1 / -1; }
.ig-wide { grid-column: 1 / -1; }
.ig-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.ig-item figcaption {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 24px;
  margin-top: 18px;
}
.ig-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 4px;
}
.ig-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: #cbc2b3;
  max-width: 520px;
}
.feature-caption {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 32px;
  margin-top: 28px;
  max-width: 800px;
}
.caption-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(236,230,220,0.5);
  padding-top: 4px;
}
.caption-text {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: rgba(236,230,220,0.92);
  font-weight: 300;
}
.caption-text strong {
  font-weight: 500;
  font-style: italic;
  color: #ece6dc;
}

/* ================================================
   FIREPLACE FLICKER
   ================================================ */
.flicker {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
}
/* Position over the linear fireplace in interior-kitchen.jpg */
.flicker-kitchen {
  right: 4%; bottom: 32%;
  width: 22%; height: 6%;
}
/* Position over the centered fireplace in interior-grand.jpg */
.flicker-grand {
  left: 41%; top: 56%;
  width: 18%; height: 4%;
}
.flicker-night {
  left: 41%; top: 56%;
  width: 18%; height: 5%;
  filter: blur(0.5px) brightness(1.4);
}
.flame {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(255,170,80,0.55), rgba(255,120,40,0.25) 40%, transparent 70%);
  filter: blur(6px);
}
.flame.f1 { animation: flicker 1.6s ease-in-out infinite alternate; }
.flame.f2 { animation: flicker 1.1s ease-in-out infinite alternate-reverse; opacity: 0.7; }
.flame.f3 { animation: flicker 2.2s ease-in-out infinite; opacity: 0.5; transform: scaleX(0.9); }
@keyframes flicker {
  0%   { opacity: 0.6; transform: scaleY(0.95) translateY(0); }
  30%  { opacity: 0.85; transform: scaleY(1.04) translateY(-1px); }
  60%  { opacity: 0.7;  transform: scaleY(0.98) translateY(0); }
  100% { opacity: 0.92; transform: scaleY(1.06) translateY(-2px); }
}

/* ================================================
   THE VIEW — centerpiece
   ================================================ */
.view {
  background: #0d0c0a;
  color: #ece6dc;
  padding: 140px 0 160px;
  overflow: hidden;
}
.view-head {
  max-width: var(--max-w);
  margin: 0 auto 80px;
  padding: 0 var(--pad-x);
}
.view-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.view-line { display: block; }
.view-line em { color: var(--accent-2); }

.view-stage {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.stage-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.view-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.view-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: 50% 45%;
  will-change: transform;
}
/* a soft color grade that shifts as you scroll — daylight to warmer */
.view-grade {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 200, 130, 0) 30%, rgba(255, 170, 100, 0.18) 80%),
    linear-gradient(180deg, rgba(255,210,160,0.08), rgba(60,40,20,0.18));
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.view-photo.warmed .view-grade { opacity: 1; }

/* Landmark labels */
.landmark {
  position: absolute;
  z-index: 4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,0.7,0.2,1);
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 246, 230, 0.92);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.landmark.visible { opacity: 1; transform: translateY(0); }
.landmark-line {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, transparent, var(--accent-2));
  margin-bottom: 8px;
  margin-left: 0;
}
.landmark-tag { display: flex; flex-direction: column; gap: 3px; }
.tag-num { color: var(--accent-2); font-size: 9px; opacity: 0.85; }
.tag-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fff;
}
.tag-dist { font-size: 9px; opacity: 0.65; }

/* positioned over actual landmarks in interior-grand.jpg */
.landmark-camelback { left: 12%; top: 18%; }
.landmark-downtown  { left: 32%; top: 22%; }
.landmark-foothills { left: 72%; top: 20%; }

.view-caption {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  max-width: 1000px;
}
@media (max-width: 760px) { .view-caption { grid-template-columns: 1fr; gap: 16px; } }
.cap-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(236,230,220,0.55);
  padding-top: 6px;
}
.cap-body {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(236,230,220,0.92);
  text-wrap: pretty;
}

/* DAY → HOUR sequence */
.dayhour {
  margin-top: 160px;
  max-width: var(--max-w);
  margin-left: auto; margin-right: auto;
  padding: 0 var(--pad-x);
}
.dayhour-head { margin-bottom: 56px; max-width: 800px; }
.dayhour-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ece6dc;
}
.dayhour-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.dh-layer {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.dh-layer img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.dh-day { opacity: 1; }
.dh-day.active { opacity: 1; }
.dh-golden.active { opacity: 1; }
.dh-night.active { opacity: 1; }
.dh-tint {
  position: absolute; inset: 0;
  pointer-events: none;
}
.dh-tint-golden {
  background:
    linear-gradient(180deg, rgba(255, 170, 80, 0.18), rgba(220, 100, 60, 0.22)),
    radial-gradient(ellipse at 70% 40%, rgba(255, 200, 130, 0.35), transparent 60%);
  mix-blend-mode: overlay;
}
.dh-tint-night {
  background:
    linear-gradient(180deg, rgba(20, 28, 50, 0.55), rgba(10, 14, 28, 0.7)),
    radial-gradient(ellipse at 50% 65%, rgba(255, 140, 60, 0.18), transparent 50%);
}
/* tiny city lights twinkle */
.dh-citylights {
  position: absolute;
  /* Anchored over the distant valley visible through the right-side windows,
     well above the sectional and right of the dining area. */
  left: 57%; right: 20%;
  top: 32%;
  height: 6%;
  background-image:
    radial-gradient(1px 1px at 4% 55%,  #ffd089, transparent 50%),
    radial-gradient(1px 1px at 10% 30%, #ffe6a0, transparent 50%),
    radial-gradient(1px 1px at 16% 65%, #ffc070, transparent 50%),
    radial-gradient(1px 1px at 22% 40%, #ffd089, transparent 50%),
    radial-gradient(1px 1px at 28% 55%, #ffe6a0, transparent 50%),
    radial-gradient(1px 1px at 35% 35%, #ffc070, transparent 50%),
    radial-gradient(1px 1px at 42% 50%, #ffd089, transparent 50%),
    radial-gradient(1px 1px at 49% 65%, #ffe6a0, transparent 50%),
    radial-gradient(1px 1px at 56% 30%, #ffc070, transparent 50%),
    radial-gradient(1px 1px at 63% 55%, #ffd089, transparent 50%),
    radial-gradient(1px 1px at 70% 45%, #ffe6a0, transparent 50%),
    radial-gradient(1px 1px at 77% 60%, #ffc070, transparent 50%),
    radial-gradient(1px 1px at 84% 35%, #ffd089, transparent 50%),
    radial-gradient(1px 1px at 91% 50%, #ffe6a0, transparent 50%),
    radial-gradient(1px 1px at 97% 40%, #ffc070, transparent 50%);
  animation: twinkle 3.2s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes twinkle {
  0%   { opacity: 0.55; }
  50%  { opacity: 0.95; }
  100% { opacity: 0.7; }
}

.dh-track {
  position: absolute;
  left: 24px; right: 24px;
  bottom: 24px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}
.dh-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.dh-tick {
  position: relative;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding-bottom: 16px;
  transition: color 0.3s;
}
.dh-tick::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: translateX(-50%);
  transition: background 0.3s, transform 0.3s;
}
.dh-tick.active { color: #fff; }
.dh-tick.active::after { background: var(--accent); transform: translateX(-50%) scale(1.4); }
.dh-progress {
  position: absolute;
  left: 0; bottom: 8px;
  height: 1px;
  background: var(--accent);
  width: 0%;
  transition: width 0.7s ease;
}

/* ================================================
   SITE & LOCATION
   ================================================ */
.site {
  padding: 140px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .site-grid { grid-template-columns: 1fr; gap: 56px; } }

.site-map {
  aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.topo { display: block; width: 100%; height: 100%; }
.map-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--ink-2);
}
.map-label-bold {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--ink);
  font-weight: 600;
}
.map-label-sm {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: var(--ink-3);
}
.lot-ring-1 { animation: ringPulse 3s ease-in-out infinite; transform-origin: center; }
.lot-ring-2 { animation: ringPulse 3s 1s ease-in-out infinite; transform-origin: center; }
@keyframes ringPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

.site-blocks { display: flex; flex-direction: column; gap: 56px; }
.site-block {}
.block-num {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 64px;
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.block-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.site-block p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 480px;
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
  background: var(--bg-dark);
  color: #ece6dc;
  padding: 140px var(--pad-x) 80px;
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.contact-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(236,230,220,0.55);
  margin-bottom: 28px;
}
.contact-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 80px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding: 48px 0;
  border-top: 1px solid rgba(236,230,220,0.18);
  border-bottom: 1px solid rgba(236,230,220,0.18);
}
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; align-items: start; } }

.agent-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236,230,220,0.55);
  margin-bottom: 12px;
}
.agent-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.agent-bro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(236,230,220,0.75);
}

.agent-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.btn {
  padding: 18px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  color: #ece6dc;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  border-bottom: 1px solid currentColor;
  display: inline-block;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #c98a5a; border-color: #c98a5a; }
.btn-ghost:hover { background: rgba(236,230,220,0.1); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(236,230,220,0.12);
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* Offering band — full-width dark strip under the architect/interiors/realtor names */
.offering-band {
  margin-top: 48px;
  padding: 36px 40px;
  background: #0a0805;
  border: 1px solid rgba(236,230,220,0.10);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.offering-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(236,230,220,0.6);
}
.offering-val {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.01em;
  color: var(--accent-2);
}
@media (max-width: 600px) {
  .offering-band { padding: 28px 24px; }
}
.cg-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236,230,220,0.5);
  margin-bottom: 12px;
}
.cg-val {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}
.cg-val a { color: inherit; border-bottom: 1px solid rgba(236,230,220,0.25); }

.footer-mark {
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236,230,220,0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.dot-sep { opacity: 0.5; }

/* ================================================
   In-view fade
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fade-in.in { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================
   TWEAK CLASSES
   ================================================ */
body.anim-off .kenburns,
body.anim-off .flame,
body.anim-off .scroll-line,
body.anim-off .lot-ring-1,
body.anim-off .lot-ring-2,
body.anim-off .dh-citylights {
  animation: none !important;
}
body.anim-off .parallax-fig img { transform: scale(1.04) !important; }
body.anim-subtle .flame { animation-duration: 4s !important; }
body.anim-subtle .kenburns { animation-duration: 35s !important; }

body.hide-landmarks .landmark { display: none !important; }
body.hide-fireplace .flicker { display: none !important; }
body.hide-price .hero-price { display: none !important; }

/* ================================================
   TWEAKS PANEL
   ================================================ */
.tweaks-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 280px;
  background: rgba(20, 17, 14, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ece6dc;
  border: 1px solid rgba(236,230,220,0.15);
  z-index: 100;
  font-family: var(--sans);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tweaks-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tw-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(236,230,220,0.12);
}
.tw-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236,230,220,0.85);
}
.tw-close {
  background: transparent;
  border: none;
  color: rgba(236,230,220,0.6);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.tw-close:hover { color: #fff; }
.tw-body { padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.tw-section { display: flex; flex-direction: column; gap: 8px; }
.tw-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236,230,220,0.5);
}
.tw-radio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.tw-radio button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(236,230,220,0.06);
  color: rgba(236,230,220,0.7);
  border: 1px solid rgba(236,230,220,0.12);
  padding: 9px 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tw-radio button:hover { color: #fff; }
.tw-radio button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tw-toggle {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: rgba(236,230,220,0.85);
  cursor: pointer;
}
.tw-toggle input { accent-color: var(--accent); }


/* ================================================
   PLAN — construction area plan figure
   ================================================ */
.plan {
  padding: 140px var(--pad-x) 140px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: 1fr; gap: 56px; }
}
.plan-left { padding-top: 8px; }
.plan-title { margin-bottom: 28px; }
.plan-body { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 360px; }

.plan-figure { margin: 0; }
.figure-frame {
  position: relative;
  background: var(--bg-2);
  padding: 28px 28px 22px;
  border: 1px solid var(--rule);
}
.figure-corners .cnr {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--ink-3);
}
.cnr-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cnr-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.cnr-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.cnr-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.plan-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
.figure-cap {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.figure-cap .cap-tag { color: var(--ink); }
.figure-cap .cap-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
}

.plan-schedule { padding-top: 8px; }
.sched-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}
.sched-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.sched-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-2);
}
.sched-list .sched-name { font-style: italic; font-weight: 400; }
.sched-list .sched-val {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.sched-rule {
  display: block !important;
  height: 1px;
  background: var(--rule-2);
  margin: 4px 0;
}
.sched-total .sched-name { font-style: normal; color: var(--ink); font-size: 19px; }
.sched-total .sched-val { color: var(--accent); font-size: 13px; }

/* ================================================
   FEATURED SPACES — within Interior section
   ================================================ */
.spaces {
  max-width: var(--max-w);
  margin: 140px auto 0;
}
.spaces-head { margin-bottom: 64px; max-width: 720px; }
.spaces-head .section-num { color: rgba(236,230,220,0.55); margin-bottom: 20px; }
.spaces-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #ece6dc;
}
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(236,230,220,0.12);
  border: 1px solid rgba(236,230,220,0.12);
}
@media (max-width: 1024px) { .spaces-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .spaces-grid { grid-template-columns: 1fr; } }
.space {
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  transition: background 0.4s ease;
}
.space:hover { background: #20180f; }
.space-art {
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-bottom: 1px solid rgba(236,230,220,0.08);
}
.space-art svg { width: 100%; height: 100%; display: block; }
.space-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; }
.space-loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236,230,220,0.45);
}
.space-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #ece6dc;
}
.space-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(236,230,220,0.72);
}
.space-tags {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(236,230,220,0.08);
}
.space-tags li {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236,230,220,0.55);
  padding: 4px 8px;
  border: 1px solid rgba(236,230,220,0.14);
}
