:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --surface-2: #ede7db;
  --glass: rgba(250, 248, 243, 0.88);
  --glass-strong: rgba(255, 253, 249, 0.96);
  --hero-glass: rgba(16, 24, 21, 0.76);
  --line: rgba(21, 30, 25, 0.11);
  --line-strong: rgba(21, 30, 25, 0.22);
  --ink: #151e19;
  --ink-dim: #46544c;
  --ink-muted: #5d6c63;
  --amber: #b85d19;
  --amber-bright: #e29d56;
  --amber-hover: #9f4f13;
  --amber-soft: rgba(184, 93, 25, 0.10);
  --amber-ink: #ffffff;
  --pine: #1e4b38;
  --pine-soft: rgba(30, 75, 56, 0.08);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

::selection {
  background: rgba(184, 93, 25, 0.20);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: light;
  scrollbar-color: rgba(21, 30, 25, 0.28) var(--bg);
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

/* Floating Daylight Glass Top Navigation */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100vw - 28px));
  z-index: 40;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(21, 30, 25, 0.12);
  box-shadow: 0 12px 32px rgba(21, 30, 25, 0.10);
}

.nav-inner {
  padding: 9px 11px 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(184, 93, 25, 0.45);
}

.brand-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--ink-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(21, 30, 25, 0.06);
}

.nav-links a.nav-cta {
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
}
.nav-links a.nav-cta:hover {
  background: var(--amber-hover);
  color: var(--amber-ink);
}

/* First Viewport: Sunlit Full-Bleed Live 3D Coastal Hero */
.hero-stage {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 660px;
  max-height: 920px;
  overflow: hidden;
  background: #1a2420;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.04) contrast(1.04) saturate(1.06);
}

.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.hero-map.ready {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 24, 21, 0.10) 0%, rgba(16, 24, 21, 0) 28%, rgba(16, 24, 21, 0.12) 58%, rgba(15, 22, 19, 0.80) 100%),
    linear-gradient(90deg, rgba(15, 22, 19, 0.62) 0%, rgba(15, 22, 19, 0.18) 46%, rgba(15, 22, 19, 0) 74%);
}

.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  pointer-events: none;
  padding: 0 28px 30px;
}

.hero-overlay-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: end;
}

.hero-overlay-inner > *,
.hero-copy,
.hero-hud {
  min-width: 0;
}

.hero-copy {
  pointer-events: auto;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.95rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(10, 15, 13, 0.42);
}

.hero-lead {
  margin: 0 0 22px;
  max-width: 56ch;
  font-size: clamp(0.98rem, 1.25vw, 1.06rem);
  color: rgba(250, 248, 243, 0.92);
  text-shadow: 0 2px 14px rgba(10, 15, 13, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--amber-ink);
  box-shadow: 0 10px 24px rgba(184, 93, 25, 0.24);
}
.btn-primary:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(250, 248, 243, 0.90);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-glass:hover {
  background: #ffffff;
  border-color: var(--amber);
}

/* Floating Hero Interactive HUD */
.hero-hud {
  pointer-events: auto;
  justify-self: end;
  width: min(440px, 100%);
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 44px rgba(12, 18, 15, 0.24);
  color: var(--ink);
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.76rem;
}

.hud-title {
  font-weight: 700;
  color: var(--ink);
}

.hud-price {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.hud-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-proof img {
  width: 64px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
}

.hero-proof-copy {
  flex: 1;
  min-width: 0;
}

.hero-proof-copy strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-proof-copy span {
  display: block;
  font-size: 0.71rem;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-proof-btn {
  appearance: none;
  flex: none;
  border: 0;
  border-radius: 999px;
  padding: 6px 11px;
  background: var(--amber);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease;
}

.hero-proof-btn:hover {
  background: var(--amber-hover);
}

.hud-presets button {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.70);
  color: var(--ink-dim);
  padding: 7px 6px;
  border-radius: 9px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}
.hud-presets button:hover {
  color: var(--ink);
  border-color: var(--amber);
  background: #ffffff;
}
.hud-presets button.active {
  background: var(--pine);
  color: #ffffff;
  border-color: var(--pine);
}

.hud-sun-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  margin-bottom: 4px;
  color: var(--ink-dim);
}
.hud-sun-row strong {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.hud-hud-range,
.sim-field input[type="range"] {
  width: 100%;
  accent-color: var(--amber);
  cursor: pointer;
}

.hud-hint {
  margin: 8px 0 0;
  font-size: 0.7rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
}

/* Editorial Sections */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 76px 28px;
}

.section-header {
  max-width: 68ch;
  margin-bottom: 30px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.section-header p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink-dim);
}

/* Founder Story Section */
.story-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.story-narrative {
  padding: 36px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f1ebe0 100%);
  border: 1px solid rgba(184, 93, 25, 0.22);
  box-shadow: 0 14px 36px rgba(21, 30, 25, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.story-narrative h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.story-narrative p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.64;
  color: var(--ink-dim);
}

.story-beats {
  display: grid;
  gap: 12px;
}

.story-beat {
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.story-beat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.story-num {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pine);
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--pine-soft);
  border: 1px solid rgba(30, 75, 56, 0.22);
}

.story-beat strong {
  font-family: var(--display);
  font-size: 1.08rem;
  color: var(--ink);
}

.story-beat p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-dim);
  line-height: 1.52;
}

/* Property Photo Gallery & Lightbox */
.estate-specs-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.estate-spec {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.estate-spec small {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.estate-spec strong {
  font-family: var(--mono);
  font-size: clamp(0.86rem, 1.02vw, 0.98rem);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.gallery-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: 224px 224px;
  gap: 12px;
}

.gallery-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.gallery-tile.featured {
  grid-row: 1 / 3;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-tile:hover img {
  transform: scale(1.03);
}

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 22, 19, 0.78) 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.gallery-count-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.estate-listing-note {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--ink-dim);
}

.estate-listing-note a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 700;
}
.estate-listing-note a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 22, 19, 0.92);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 18px 24px 24px;
  gap: 14px;
}
.lightbox[hidden] { display: none !important; }

.lightbox-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.lightbox-meta {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: rgba(250, 248, 243, 0.84);
}

.lightbox-close {
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}
.lightbox-close:hover {
  background: var(--amber);
  border-color: var(--amber);
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.lightbox-nav button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.lightbox-nav button:hover {
  border-color: var(--amber-bright);
  background: var(--amber);
}

/* Interactive Drag-to-Compare Before / After Stage */
.ba-shell {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(21, 30, 25, 0.09);
}

.ba-stage {
  position: relative;
  width: 100%;
  height: clamp(360px, 56vh, 560px);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}

.ba-layer {
  position: absolute;
  inset: 0;
}

.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-before-img {
  filter: saturate(0.70) brightness(0.95) contrast(0.96);
}

.ba-before {
  clip-path: inset(0 calc(100% - var(--pos, 52%)) 0 0);
}

.ba-badge {
  position: absolute;
  top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(14px);
}

.ba-badge-before {
  left: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid rgba(21, 30, 25, 0.14);
}

.ba-badge-after {
  right: 18px;
  background: var(--amber);
  color: #ffffff;
}

.ba-portal-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: min(340px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.96);
  color: var(--ink);
  font-size: 0.82rem;
  box-shadow: 0 12px 28px rgba(21, 30, 25, 0.22);
}

.ba-portal-card small {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.ba-portal-card strong {
  display: block;
  margin-bottom: 6px;
}

.ba-portal-card ul {
  margin: 0;
  padding-left: 16px;
  color: var(--ink-dim);
}

.ba-after-pills {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 440px;
}

.ba-after-pills span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(21, 30, 25, 0.16);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 52%);
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(21, 30, 25, 0.55);
  pointer-events: none;
  z-index: 6;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--amber);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 8px 24px rgba(21, 30, 25, 0.35);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 7;
  margin: 0;
}

.ba-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

.ba-footer strong {
  color: var(--ink);
}

/* Water & Solar Bento */
.sim-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(21, 30, 25, 0.06);
}

.sim-controls {
  display: grid;
  gap: 16px;
  align-content: start;
}

.sim-field label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.sim-field label span {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}

.sim-results {
  display: grid;
  gap: 16px;
  align-content: space-between;
}

.sim-ring-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.ring-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  flex: none;
}

.ring-svg {
  width: 86px;
  height: 86px;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(21, 30, 25, 0.12);
  stroke-width: 7;
}

.ring-fill {
  fill: none;
  stroke: var(--pine);
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}

.ring-val {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.sim-kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sim-kpi {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.sim-kpi small {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.sim-kpi strong {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.sim-verdict {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--pine-soft);
  border: 1px solid rgba(30, 75, 56, 0.22);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--pine);
}

/* Land Dossier Section */
.dossier-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.dossier-card {
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #ede7db 100%);
  border: 1px solid rgba(184, 93, 25, 0.26);
  box-shadow: 0 16px 40px rgba(21, 30, 25, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.dossier-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
}

.dossier-head strong {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--ink);
}

.dossier-head span {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
}

.dossier-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dossier-fact {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.dossier-fact small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.dossier-fact strong {
  font-family: var(--mono);
  font-size: 0.96rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.dossier-steps {
  padding: 30px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.dossier-steps h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
}

.step-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
  color: var(--ink-dim);
  font-size: 0.94rem;
}
.step-list strong {
  color: var(--ink);
}

/* Footer */
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 28px 46px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--ink-dim);
}

.site-footer a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 700;
}
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .brand-sub,
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .hero-overlay-inner,
  .story-shell,
  .sim-shell,
  .dossier-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy,
  .hero-hud {
    min-width: 0;
    max-width: 100%;
  }
  .hero-hud {
    justify-self: stretch;
  }
  .estate-specs-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px 180px;
  }
  .gallery-tile.featured {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .hud-presets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }
  .nav-inner {
    padding: 8px 10px 8px 16px;
  }
  .nav-links a.nav-cta {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .hero-stage {
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding-top: 76px;
  }
  .hero-overlay {
    position: relative;
    padding: 18px 16px 24px;
  }
  .hero-copy h1 {
    font-size: 1.95rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hud-top,
  .hud-hint {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .section {
    padding: 52px 16px;
  }
  .sim-shell,
  .story-narrative,
  .story-beat,
  .dossier-card,
  .dossier-steps {
    padding: 20px;
  }
  .sim-kpi-row,
  .dossier-facts,
  .estate-specs-strip,
  .gallery-bento {
    grid-template-columns: 1fr;
  }
  .gallery-bento {
    grid-template-rows: auto;
  }
  .gallery-tile.featured {
    grid-column: auto;
    grid-row: auto;
  }
  .gallery-tile {
    height: 210px;
  }
  .ba-portal-card {
    display: none;
  }
}

/* Interactive Media Suite: Floor Plan, Matterport 3D & Video Tour */
.media-suite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.media-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame.floorplan-bg {
  background: #f8f6f1;
  padding: 10px;
}

.media-frame.floorplan-bg img {
  object-fit: contain;
}

.media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-activate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border: 0;
  padding: 16px;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 22, 19, 0) 42%, rgba(15, 22, 19, 0.56) 100%);
  transition: background 0.18s ease;
}

.media-activate:hover {
  background: linear-gradient(180deg, rgba(15, 22, 19, 0) 35%, rgba(15, 22, 19, 0.70) 100%);
}

.media-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: 0 8px 20px rgba(15, 22, 19, 0.28);
}

.media-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.media-card-body strong {
  font-family: var(--display);
  font-size: 1.04rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.media-card-body p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-dim);
  line-height: 1.48;
}

@media (max-width: 980px) {
  .media-suite-grid {
    grid-template-columns: 1fr;
  }
}

.story-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--pine);
  background: var(--pine-soft);
  border: 1px solid rgba(30, 75, 56, 0.18);
  flex: none;
}

.proof-jump-list {
  display: grid;
  gap: 10px;
}

.proof-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.proof-jump:hover {
  border-color: var(--amber);
  background: #ffffff;
  transform: translateY(-1px);
}

.proof-jump strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.proof-jump div span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-dim);
}

.proof-jump-tag {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Inspection & Buyer Brief Hub */
.enquire-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 24px;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(150deg, #ffffff 0%, #ede7db 100%);
  border: 1px solid rgba(184, 93, 25, 0.24);
  box-shadow: 0 16px 40px rgba(21, 30, 25, 0.06);
}

.enquire-intro h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.enquire-intro > p {
  margin: 0 0 18px;
  font-size: 0.96rem;
  color: var(--ink-dim);
}

.agent-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pine);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  flex: none;
}

.agent-meta {
  flex: 1;
  min-width: 180px;
}

.agent-meta strong {
  display: block;
  font-size: 0.94rem;
  color: var(--ink);
}

.agent-meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-dim);
}

.btn-share-link {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-share-link:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.enquire-preview-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(30, 75, 56, 0.28);
}

.enquire-preview-box small {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--pine);
  font-weight: 600;
  margin-bottom: 6px;
}

.enquire-preview-box p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink);
}

.enquire-builder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.enq-group {
  display: grid;
  gap: 8px;
}

.enq-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-dim);
}

.enq-pills,
.enq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.enq-pill,
.enq-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.enq-pill:hover,
.enq-chip:hover {
  border-color: var(--amber);
  color: var(--ink);
}

.enq-pill.active {
  background: var(--pine);
  border-color: var(--pine);
  color: #ffffff;
}

.enq-chip.active {
  background: var(--amber-soft);
  border-color: var(--amber);
  color: var(--amber);
}

.enq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.btn-glass-light {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-glass-light:hover {
  border-color: var(--amber);
  background: #ffffff;
}

.enq-feedback {
  font-size: 0.8rem;
  color: var(--pine);
  font-weight: 600;
  min-height: 1.2em;
}

/* Sticky Scroll Conversion Dock */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 120%);
  width: min(920px, calc(100vw - 24px));
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-cta.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(21, 30, 25, 0.14);
  box-shadow: 0 16px 38px rgba(21, 30, 25, 0.16);
}

.sticky-meta strong {
  font-family: var(--display);
  font-size: 0.94rem;
  color: var(--ink);
  margin-right: 8px;
}

.sticky-meta span {
  font-size: 0.8rem;
  color: var(--ink-dim);
}

.sticky-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-btns .btn {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .enquire-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .enquire-shell,
  .enquire-builder {
    padding: 18px;
  }
  .sticky-cta {
    bottom: 12px;
  }
  .sticky-meta {
    display: none;
  }
  .sticky-cta-inner {
    padding: 8px;
    justify-content: center;
  }
  .sticky-btns {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sticky-btns .btn {
    padding: 0 10px;
    font-size: 0.8rem;
  }
  .site-footer {
    padding-bottom: 84px;
  }
}
