/* =============================================
   CYPRESS STREET PROPERTY — DESIGN SYSTEM
   Aesthetic: Dark Luxury Real Estate Editorial
   ============================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

/* ---- DESIGN TOKENS ---- */
:root {
  --bg:           #FAF7F2;
  --bg-2:         #F0EBE1;
  --bg-3:         #E8E0D4;
  --bg-card:      #F2EBE0;
  --text:         #1A1208;
  --text-2:       #6B5B45;
  --text-3:       #8B7355;
  --gold:         #8B6914;
  --gold-light:   #C8A96E;
  --gold-dim:     rgba(139, 105, 20, 0.12);
  --gold-border:  rgba(139, 105, 20, 0.25);
  --border:       rgba(26, 18, 8, 0.10);
  --white:        #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --nav-h:        72px;
  --section-gap:  120px;
  --container:    1280px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
  --duration:     0.65s;
}

/* ---- BODY ---- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }

p { color: var(--text-2); }
strong { color: var(--text); font-weight: 500; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }

/* ---- LAYOUT UTILITIES ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--gold-border);
}

.section-headline {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 48px;
  color: var(--text);
}
.section-headline.centered { text-align: center; }
.section-headline em { font-style: italic; color: var(--gold-light); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}
.btn-gold:hover::after { background: rgba(255, 255, 255, 0.12); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200, 169, 110, 0.3); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
  background: var(--gold-dim);
}

.btn-large { padding: 18px 48px; font-size: 0.9rem; }

/* ======================================================
   NAVIGATION
   ====================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  background: #FAF7F2;
  border-bottom: 1px solid rgba(26, 18, 8, 0.10);
}

.nav.scrolled {
  background: #FAF7F2;
  box-shadow: 0 2px 12px rgba(26, 18, 8, 0.08);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.nav-logo {
  height: 34px;
  width: auto;
  filter: brightness(0);
  opacity: 0.80;
  display: block;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--text); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
  padding: 9px 20px;
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px 40px 24px;
}
.nav-mobile a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}
.nav-mobile a:last-child { border-bottom: none; color: var(--gold); }
.nav-mobile.open { display: flex; }

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.28) 0%, transparent 30%, rgba(10,10,10,0.08) 55%, rgba(10,10,10,0.65) 100%),
    linear-gradient(to right, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.2) 45%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.eyebrow-tag {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 5px 12px;
  color: var(--gold-light);
}

.eyebrow-sep { color: var(--text-3); }

.hero-headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.hero-h1-top {
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 300;
  color: rgba(240, 234, 224, 0.95);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}

.hero-h1-bottom {
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: -0.01em;
  line-height: 0.95;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.65s forwards;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(240, 234, 224, 0.75);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.8s forwards;
}

.hero-pills {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(10,10,10,0.52);
  border: 1px solid rgba(240,234,224,0.14);
  backdrop-filter: blur(16px);
  width: fit-content;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.95s forwards;
}

.hero-pill {
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pill-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(240, 234, 224, 0.95);
  line-height: 1;
}
.pill-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 234, 224, 0.50);
}
.hero-pill-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(240, 234, 224, 0.15);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 1.1s forwards;
}

.hero-address {
  position: absolute;
  bottom: 32px;
  left: 40px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 234, 224, 0.45);
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}
.hero-scroll-cue span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 234, 224, 0.4);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(200,169,110,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ======================================================
   OVERVIEW / EXECUTIVE SUMMARY
   ====================================================== */
.overview {
  background: var(--bg-2);
  position: relative;
  z-index: 2;
}
.overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

.overview-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.overview-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-2);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-2);
  padding: 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.highlight-item:hover {
  border-color: var(--gold-border);
  background: var(--gold-dim);
}
.highlight-dot {
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.overview-metrics {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.metric-card {
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-top: none;
  border-left: 2px solid transparent;
  background: var(--bg-card);
  transition: border-color 0.3s ease, border-left-color 0.3s ease, background 0.3s ease;
}
.metric-card:first-child { border-top: 1px solid var(--border); }
.metric-card:hover {
  border-color: var(--gold-border);
  border-left-color: var(--gold);
  background: rgba(200, 169, 110, 0.04);
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-unit {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 400;
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ======================================================
   AERIAL OVERVIEW WITH BOUNDARIES
   ====================================================== */
.aerial-overview {
  position: relative;
  background: var(--bg);
  padding: 0 40px var(--section-gap);
}

.aerial-wrapper {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(26, 18, 8, 0.10), 0 1px 4px rgba(26, 18, 8, 0.06);
  border: 1px solid var(--border);
}

/* SVG boundary overlay — coordinates map to % of image (viewBox 0 0 100 100) */
.aerial-boundary-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-poly {
  fill: rgba(255, 210, 60, 0.14);
  stroke: rgb(255, 210, 60);
  stroke-width: 2.5px;
  vector-effect: non-scaling-stroke;
}

.site-poly-label {
  font-size: 2.4px;
  fill: rgba(255, 225, 80, 1);
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0.1em;
  /* Dark outline so text pops against both light and dark backgrounds */
  paint-order: stroke fill;
  stroke: rgba(0, 0, 0, 0.65);
  stroke-width: 0.4px;
  stroke-linejoin: round;
}

.aerial-base-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.aerial-wrapper:hover .aerial-base-img { transform: scale(1.02); }

/* (site label overlays removed — parcel boundaries now drawn on Leaflet map) */

/* Aerial image reveal on scroll */
[data-aerial-reveal] .aerial-base-img {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}

[data-aerial-reveal].aerial-overlay-revealed .aerial-base-img {
  opacity: 1;
  transform: scale(1);
}

.aerial-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(250, 247, 242, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 10px 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.aerial-total { color: var(--gold); }

/* ======================================================
   PROPERTY DETAILS
   ====================================================== */
.property { background: var(--bg); }

.sites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 80px;
  background: var(--border);
}

.site-card {
  background: var(--bg-card);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.site-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.site-card:hover::before { transform: scaleX(1); }

.site-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.site-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}
.site-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}

.site-size-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.site-size-display span {
  font-size: 1.5rem;
  color: var(--gold);
}

.site-dims-display {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.spec-table tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}
.spec-table tr:last-child { border-bottom: none; }
.spec-table tr:hover { background: var(--bg-3); }
.spec-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: left;
  padding: 12px 0;
  width: 45%;
}
.spec-table td {
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 12px 0;
  text-align: right;
}

.site-image-thumb {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.site-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.site-card:hover .site-image-thumb img { transform: scale(1.04); }

/* Development Uses */
.uses-section {
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.uses-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 40px;
}

.uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.use-card {
  background: var(--bg-card);
  padding: 48px 40px;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.use-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.use-card:hover { background: var(--bg-3); }
.use-card:hover::after { transform: scaleX(1); }

.use-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 28px;
  color: var(--gold);
  padding: 12px;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.use-card:hover .use-icon {
  background: rgba(200, 169, 110, 0.15);
  border-color: var(--gold);
}
.use-icon svg { width: 100%; height: 100%; }

.use-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}

.use-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ======================================================
   GALLERY
   ====================================================== */
.gallery {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gallery .container { margin-bottom: 40px; }
.gallery .section-headline { margin-bottom: 0; }

/* Gallery Carousel */
.gallery-carousel {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  user-select: none;
  box-shadow: 0 4px 32px rgba(26, 18, 8, 0.10), 0 1px 4px rgba(26, 18, 8, 0.06);
  border: 1px solid var(--border);
  overflow: hidden;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  background: var(--bg-3);
}

.carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}
.carousel-slide:hover img { transform: scale(1.03); }
.carousel-slide:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* Expand hint on hover */
.carousel-slide::after {
  content: 'Expand ↗';
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  background: rgba(10,10,10,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 14px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.carousel-slide:hover::after { opacity: 1; }

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: calc(50% - 32px); /* offset upward to avoid footer overlap */
  transform: translateY(-50%);
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(200,169,110,0.3);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.carousel-btn:hover {
  background: rgba(200,169,110,0.2);
  border-color: var(--gold);
  color: var(--gold);
}
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* Footer: counter + thumbnails */
.carousel-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.carousel-counter {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.carousel-thumbs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.carousel-thumbs::-webkit-scrollbar { display: none; }

.carousel-thumb {
  flex: 0 0 56px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.carousel-thumb:hover { opacity: 0.75; }
.carousel-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 5, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-3);
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(20,20,20,0.85);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  z-index: 201;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1rem;
}
.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}
.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}

/* ======================================================
   LOCATION
   ====================================================== */
.location {
  background: var(--bg);
  padding-bottom: var(--section-gap);
  isolation: isolate;
}

.location-intro {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 0;
}

.location-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: var(--border);
  margin-top: 60px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(26, 18, 8, 0.10), 0 1px 4px rgba(26, 18, 8, 0.06);
  overflow: hidden;
}

.proximity-panel {
  background: var(--bg-card);
  padding: 40px;
}

.proximity-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 400;
}

.proximity-list { display: flex; flex-direction: column; }

.prox-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.prox-item:last-child { border-bottom: none; }

.prox-dist {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
  min-width: 52px;
  line-height: 1.2;
  flex-shrink: 0;
}

.prox-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.prox-desc {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.4;
}

.map-panel {
  position: relative;
  display: flex;
  flex-direction: column;
}

.map-view-toggle {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.map-view-btn {
  flex: 1;
  padding: 11px 20px;
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.map-view-btn:last-child { border-right: none; }
.map-view-btn:hover { color: var(--text-2); background: rgba(255,255,255,0.02); }
.map-view-btn.active {
  color: var(--gold);
  background: rgba(200, 169, 110, 0.06);
  border-bottom: 2px solid var(--gold);
  margin-bottom: -1px;
}

.map-embed {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
  display: block;
  filter: grayscale(40%) invert(10%) brightness(0.85) contrast(1.1);
}

/* ---- Leaflet Map ---- */
#mapLeaflet {
  flex: 1;
  width: 100%;
  min-height: 320px;
  display: block;
}

.leaflet-container {
  background: var(--bg-2) !important;
  font-family: var(--font-body) !important;
}

.leaflet-popup-content-wrapper {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 2px !important;
  box-shadow: 0 4px 20px rgba(26, 18, 8, 0.14) !important;
  padding: 0 !important;
  color: var(--text) !important;
}

.leaflet-popup-content {
  margin: 14px 18px !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  color: var(--text-2) !important;
}

.leaflet-popup-tip-container { display: none !important; }

.leaflet-popup-close-button {
  color: var(--text-3) !important;
  font-size: 16px !important;
  top: 6px !important;
  right: 10px !important;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: none !important;
}

.leaflet-control-zoom a {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-2) !important;
  line-height: 28px !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 16px !important;
}

.leaflet-control-zoom a:hover {
  background: var(--gold-dim) !important;
  color: var(--gold) !important;
  border-color: var(--gold-border) !important;
}

.leaflet-control-zoom-in {
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.leaflet-control-zoom-out {
  border-radius: 0 !important;
}

.leaflet-control-attribution {
  background: rgba(250, 247, 242, 0.88) !important;
  color: var(--text-3) !important;
  font-size: 9px !important;
  padding: 2px 6px !important;
}

.leaflet-control-attribution a {
  color: var(--text-3) !important;
}

.map-property-pin {
  width: 18px;
  height: 18px;
  background: var(--gold);
  border: 3px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(200, 169, 110, 0.55);
  animation: pinPulse 2.5s ease-in-out infinite;
}

@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(200, 169, 110, 0.55); }
  50%       { box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.3), 0 0 28px rgba(200, 169, 110, 0.8); }
}

.map-lm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 1px 5px rgba(0,0,0,0.22);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.map-lm:hover { transform: scale(1.25); box-shadow: 0 2px 8px rgba(0,0,0,0.28); }

.lm-retail   { background: #EFF6FF; border-color: #3B82F6; color: #1D4ED8; }
.lm-medical  { background: #FEF2F2; border-color: #EF4444; color: #B91C1C; }
.lm-highway  { background: #F3F4F6; border-color: #6B7280; color: #374151; }
.lm-district { background: #FFF8E6; border-color: var(--gold); color: var(--gold); }

.map-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.map-link:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ======================================================
   CONTACT
   ====================================================== */
.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-2);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 1.8;
}

.brokers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  max-width: 800px;
  margin: 0 auto 80px;
}

.broker-card {
  background: var(--bg-card);
  padding: 48px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  transition: background 0.2s ease;
}
.broker-card:hover { background: var(--bg-3); }

.broker-avatar {
  width: 72px;
  height: 72px;
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
  overflow: hidden;
}
.broker-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.broker-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}
.broker-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.broker-firm {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 20px;
}

.broker-contacts { display: flex; flex-direction: column; gap: 10px; }

.broker-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.broker-contact-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold);
}
.broker-contact-link:hover { color: var(--gold-light); }

/* Inquiry Form */
.inquiry-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px;
  position: relative;
}

.form-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.form-field.full-width { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.form-field label span { color: var(--gold); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-3);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold-border);
  background: rgba(200, 169, 110, 0.03);
}
.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: #C0392B;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23706860' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-3);
  flex: 1;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 48px;
  position: absolute;
  inset: 0;
  background: var(--bg-card);
}
.form-success.visible { display: flex; }
.success-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
}
.form-success p {
  font-size: 1rem;
  color: var(--text-2);
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: #1A1208;
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  color: #6B5B45;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  display: block;
}
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-contact-quick {
  display: flex;
  gap: 24px;
}
.footer-contact-quick a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color 0.2s ease;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.footer-contact-quick a:hover { color: var(--gold); }

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.footer-address {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}

.footer-disclaimer {
  max-width: 860px;
  margin-bottom: 32px;
}
.footer-disclaimer p {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.7;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0.6;
}

/* ======================================================
   SCROLL REVEAL ANIMATIONS
   ====================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1100px) {
  .overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .overview-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }
  .metric-card { flex: 1 1 200px; border-top: 1px solid var(--border) !important; }
  .location-layout { grid-template-columns: 1fr; }
  .map-embed { min-height: 360px; }
}

@media (max-width: 900px) {
  :root { --section-gap: 80px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .sites-grid { grid-template-columns: 1fr; }
  .uses-grid { grid-template-columns: 1fr; }
  .brokers-grid { grid-template-columns: 1fr; }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.5rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .aerial-wrapper { width: calc(100% - 40px); }
  .aerial-overview { padding: 0 20px var(--section-gap); }
  .scroll-story { padding: 0 20px; }
  .gallery-carousel { margin: 0 20px; }
}

@media (max-width: 640px) {
  :root { --section-gap: 60px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-mobile { padding: 16px 20px 20px; }
  .hero-content { padding: 0 20px; padding-top: var(--nav-h); }
  .hero-address { left: 20px; display: none; }
  .hero-scroll-cue { display: none; }
  .hero-pills { flex-direction: column; gap: 0; width: 100%; }
  .hero-pill-sep { width: 100%; height: 1px; align-self: auto; }
  .hero-ctas { flex-direction: column; }
  .site-card { padding: 28px 24px; }
  .inquiry-form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .broker-card { padding: 28px 24px; }
  .carousel-thumb { flex: 0 0 48px; height: 32px; }
  .lightbox-prev { left: -50px; }
  .lightbox-next { right: -50px; }
  .aerial-caption { font-size: 0.55rem; padding: 8px 12px; gap: 12px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .lightbox-prev, .lightbox-next { display: none; }
}

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

/* ======================================================
   MARQUEE TICKER BAND
   ====================================================== */
.marquee-band {
  background: #1A1208;
  overflow: hidden;
  padding: 11px 0;
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(200, 169, 110, 0.3);
  border-bottom: 1px solid rgba(200, 169, 110, 0.3);
  color: var(--gold-light);
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
  gap: 0;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 0 20px;
  flex-shrink: 0;
}

.marquee-sep {
  color: rgba(10, 10, 10, 0.35) !important;
  padding: 0 4px !important;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

/* ======================================================
   GRAIN OVERLAY
   ====================================================== */
/* ======================================================
   CTA BAND
   ====================================================== */
.cta-band {
  background: #1A1208;
  padding: 80px 48px;
}
.cta-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-tag {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.cta-band-address {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  color: #F0EAE0;
  margin-bottom: 10px;
  line-height: 1.2;
}
.cta-band-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: #6B5B45;
  letter-spacing: 1px;
}
.cta-band-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}
.btn-outline-gold {
  border: 1px solid rgba(200, 169, 110, 0.5);
  color: var(--gold-light);
  background: transparent;
  text-align: center;
}
.btn-outline-gold:hover {
  background: rgba(200, 169, 110, 0.08);
  border-color: var(--gold-light);
}
@media (max-width: 768px) {
  .cta-band { padding: 60px 24px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-right { width: 100%; }
}

/* ======================================================
   GRAIN OVERLAY
   ====================================================== */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9998;
}

/* ---- SCROLLYTELLING ---- */
.scroll-story-header {
  padding-top: var(--section-gap);
  padding-bottom: 48px;
}

.scroll-story-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
}

.scroll-story-lead {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 560px;
}

.scroll-story {
  position: relative;
  height: 600vh;
  background: var(--bg);
  padding: 0 40px;
}

.scroll-story-sticky {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex;
  overflow: hidden;
  max-width: var(--container);
  margin: 0 auto;
  box-shadow: 0 4px 32px rgba(26, 18, 8, 0.10), 0 1px 4px rgba(26, 18, 8, 0.06);
  border: 1px solid var(--border);
}

.scroll-story-video-panel {
  flex: 1;
  position: relative;
  background: var(--bg-3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.scroll-story-video {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 8px 40px rgba(26, 18, 8, 0.18), 0 2px 8px rgba(26, 18, 8, 0.10);
  border: 1px solid var(--border);
}

.scroll-story-video-overlay {
  position: absolute;
  bottom: 40px;
  left: 44px;
  right: 44px;
  color: var(--text-2);
}

.scroll-story-video-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.scroll-story-video-hint {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--text-2);
}

.scroll-story-video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
}

.scroll-story-video-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-light);
  transition: width 0.1s linear;
}

.scroll-story-data-panel {
  flex: 1;
  position: relative;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.story-chapter {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}

.story-chapter.active {
  opacity: 1;
  pointer-events: auto;
}

.chapter-tag {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.chapter-stat {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  margin-bottom: 20px;
}

.chapter-stat span {
  color: var(--gold);
  font-size: 0.55em;
}

.chapter-desc {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 440px;
}

.chapter-detail {
  max-width: 440px;
  border-left: 2px solid var(--gold-border);
  padding-left: 16px;
}

.chapter-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-3);
  line-height: 1.65;
}

.chapter-detail-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 5px;
}

.chapter-detail-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
}

@media (max-width: 768px) {
  .scroll-story { height: auto; }
  .scroll-story-sticky {
    position: relative;
    height: auto;
    flex-direction: column;
  }
  .scroll-story-video-panel {
    height: 50vh;
    flex: none;
  }
  .scroll-story-data-panel {
    position: relative;
    flex: none;
    height: auto;
    min-height: 60vh;
  }
  .story-chapter {
    position: relative;
    inset: auto;
    opacity: 1;
    padding: 40px 24px;
    display: none;
  }
  .story-chapter.active { display: flex; }
}
