/* ============================================================
   11276 SE 32nd Lane — Luxury Property Site
   Editorial luxury aesthetic. Cream + ink + bronze.
   ============================================================ */

:root {
  --bg: #faf7f2;
  --bg-alt: #f3eee5;
  --bg-deep: #1f1d1a;
  --bg-darker: #14120f;
  --ink: #1a1815;
  --ink-soft: #4a463f;
  --ink-muted: #8a8276;
  --rule: #d9d2c3;
  --bronze: #8b6f47;
  --bronze-deep: #6b5535;
  --bronze-glow: #d9c5a7;
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  display: inline-block;
}
.eyebrow-light { color: rgba(255,255,255,0.85); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bronze);
  margin-bottom: 1.2rem;
}

p { color: var(--ink-soft); font-size: 1.05rem; }

em {
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.4rem clamp(1.5rem, 4vw, 3rem);
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 1rem; padding-bottom: 1rem;
  box-shadow: 0 1px 0 var(--rule);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: white;
  transition: color 0.4s ease;
  line-height: 1.1;
}
.nav.scrolled .nav-brand { color: var(--ink); }
.nav-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
  font-weight: 500;
}
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  transition: color 0.3s ease, opacity 0.3s ease;
  position: relative;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:not(.nav-cta):hover { color: var(--bronze); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--bronze);
  transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--bronze);
  color: white !important;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--bronze);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.nav-cta:hover {
  background: var(--bronze-deep);
  border-color: var(--bronze-deep);
  transform: translateY(-1px);
}

@media (max-width: 880px) {
  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: white;
}
.hero-img {
  position: absolute; inset: 0;
  background-image: url('images/photo-46.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0.75) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
.hero h1 {
  margin-top: 0.9rem;
  font-weight: 300;
  color: white;
  max-width: 16ch;
  animation: fadeUp 1.2s 0.6s both;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--bronze-glow);
}
.hero .eyebrow { animation: fadeUp 1.2s 0.4s both; }
.hero-meta {
  font-size: 0.95rem;
  opacity: 0.92;
  letter-spacing: 0.02em;
  margin-top: 1.4rem;
  font-weight: 400;
  animation: fadeUp 1.2s 0.8s both;
  color: rgba(255,255,255,0.88);
}
.hero-price {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  color: var(--bronze-glow);
  margin-top: 1rem;
  letter-spacing: 0.01em;
  animation: fadeUp 1.2s 0.9s both;
}
.hero-stats {
  display: flex; gap: 2.8rem;
  font-family: var(--serif);
  animation: fadeUp 1.2s 1s both;
}
.hero-stats .stat { text-align: right; }
.hero-stats .num {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
  color: white;
}
.hero-stats .lbl {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0.8;
  font-weight: 500;
}
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  z-index: 2;
  animation: fadeUp 1.5s 1.4s both, bounce 2.5s 2.4s infinite;
  font-weight: 500;
}
.scroll-cue::after {
  content: ''; display: block;
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.5);
  margin: 0.7rem auto 0;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-stats .stat { text-align: left; }
  .hero-stats .num { font-size: 1.7rem; }
  .scroll-cue { display: none; }
}

/* ============ STAT STRIP ============ */
.stat-strip {
  background: var(--bg-deep);
  color: white;
  padding: 2.6rem clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.stat-strip .stat {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: 0 0.5rem;
}
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1;
  color: white;
}
.stat-strip .price-stat .num {
  color: var(--bronze-glow);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}
.stat-strip .lbl {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0.7rem;
  opacity: 0.6;
  font-weight: 500;
}
@media (max-width: 768px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0.5rem; }
  .stat-strip .stat:nth-child(2) { border-right: none; }
  .stat-strip .stat:nth-child(4) { border-right: none; }
}

/* ============ SECTIONS ============ */
section { padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 5vw, 4rem); }
.container { max-width: 1320px; margin: 0 auto; }
.container-narrow { max-width: 920px; margin: 0 auto; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head .eyebrow { margin-bottom: 0.8rem; }
.section-head h2 { max-width: 14ch; }
.section-head .lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ============ INTRO ============ */
.intro { background: var(--bg); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.intro-text h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.5rem; }
.intro-text p { margin-bottom: 1.2rem; line-height: 1.8; }
.intro-text p.lead {
  font-size: 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1.8rem;
  font-style: italic;
}
.intro-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.intro-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.intro-img:hover img { transform: scale(1.04); }
@media (max-width: 880px) {
  .intro-grid { grid-template-columns: 1fr; }
}

/* ============ EDITORIAL ============ */
.editorial {
  background: var(--bg-alt);
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.editorial .container { padding: 0 clamp(1.5rem, 5vw, 4rem); }
.feature-block {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse { grid-template-columns: 6fr 5fr; }
.feature-block.reverse .feature-img { order: 2; }
.feature-block.reverse .feature-text { order: 1; }

.feature-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.feature-img:hover img { transform: scale(1.05); }
.feature-text .eyebrow { margin-bottom: 1rem; }
.feature-text h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.feature-text p { line-height: 1.75; margin-bottom: 1rem; }

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1.8rem;
  border-top: 1px solid var(--rule);
}
.feature-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.feature-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--bronze);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 880px) {
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; }
  .feature-block.reverse .feature-img { order: 1; }
  .feature-block.reverse .feature-text { order: 2; }
}

/* ============ 3D WALKTHROUGH ============ */
.walkthrough { background: var(--bg); }

.walkthrough-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-darker);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.25);
}

.walkthrough-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  font-family: var(--sans);
  display: block;
}

.walkthrough-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.walkthrough-poster:hover img { transform: scale(1.04); }

.walkthrough-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,13,10,0.15) 0%, rgba(15,13,10,0.45) 100%);
  transition: background 0.4s ease;
  pointer-events: none;
}
.walkthrough-poster:hover .walkthrough-overlay {
  background: linear-gradient(180deg, rgba(15,13,10,0.25) 0%, rgba(15,13,10,0.55) 100%);
}

.walkthrough-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.85rem 1.8rem 0.85rem 0.85rem;
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.3);
}
.walkthrough-poster:hover .walkthrough-cta {
  transform: translate(-50%, -50%) scale(1.04);
  background: white;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.4);
}

.play-circle {
  width: 52px;
  height: 52px;
  background: var(--bronze);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s ease;
}
.walkthrough-poster:hover .play-circle { background: var(--bronze-deep); }

/* Subtle pulse to draw attention */
.play-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(139, 111, 71, 0.5);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

.play-circle svg {
  width: 22px;
  height: 22px;
  margin-left: 3px; /* optical centering of triangle */
}

.cta-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.cta-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 4px;
}
.cta-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* Iframe state — replaces the poster button after click */
.walkthrough-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 5;
  background: var(--bg-darker);
}

.walkthrough-note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
}
.walkthrough-note a {
  color: var(--bronze);
  border-bottom: 1px solid var(--bronze);
  transition: color 0.3s ease;
}
.walkthrough-note a:hover { color: var(--bronze-deep); }

@media (max-width: 600px) {
  .walkthrough-cta {
    padding: 0.7rem 1.4rem 0.7rem 0.7rem;
    gap: 0.9rem;
  }
  .play-circle { width: 44px; height: 44px; }
  .play-circle svg { width: 18px; height: 18px; }
  .cta-title { font-size: 1rem; }
}

/* ============ VIDEO ============ */
.video-section { background: var(--bg); }
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-darker);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.25);
}
.video-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 2;
}
/* Hide the iframe when the placeholder ID is still in place — JS handles this */
.video-frame.placeholder .video-iframe { display: none; }
.video-fallback {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex;
  align-items: center; justify-content: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.7)),
    url('images/photo-46.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 2rem;
}
.video-frame.placeholder .video-fallback { z-index: 3; }
.video-fallback-inner { max-width: 480px; }
.video-fallback h3 { margin: 0.6rem 0 1rem; color: white; }
.video-fallback a { transition: color 0.3s ease; }
.video-fallback a:hover { color: white; }

/* ============ GALLERY ============ */
.gallery-section { background: var(--bg); }
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.gallery-tab {
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 1rem 1.4rem;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  font-weight: 500;
}
.gallery-tab:hover { color: var(--ink); }
.gallery-tab.active { color: var(--ink); }
.gallery-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--bronze);
}
.gallery-tab .count {
  font-size: 0.62rem;
  margin-left: 0.4rem;
  opacity: 0.55;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 8px;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg-alt);
  animation: fadeIn 0.5s ease both;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gallery-item::after {
  content: '⤢';
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }

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

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; gap: 6px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-tab { padding: 0.8rem 0.85rem; font-size: 0.68rem; letter-spacing: 0.14em; }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 13, 10, 0.97);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  animation: lbFade 0.4s ease;
}
@keyframes lbFade {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 48px; height: 48px;
  cursor: pointer;
  font-size: 1.6rem;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.lightbox-close:hover, .lightbox-nav:hover {
  background: var(--bronze); border-color: var(--bronze);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-nav.prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ FLOOR PLANS ============ */
.floorplans { background: var(--bg-alt); }
.floorplan-frame {
  background: white;
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.15);
}
.floorplan-frame img { width: 100%; height: auto; }
.floorplan-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
  font-style: italic;
}

/* ============ LOCATION ============ */
.location {
  position: relative;
  padding: 0;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}
.location-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.location::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,13,10,0.45) 0%, rgba(15,13,10,0.85) 100%);
  z-index: 1;
}
.location-overlay {
  position: relative; z-index: 2;
  width: 100%;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.5rem, 5vw, 4rem);
}
.location-overlay h2 { margin-top: 0.8rem; max-width: 16ch; }
.location-overlay h2 em { color: var(--bronze-glow); }

.location-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 2.5rem;
}
.location-points .point { padding-right: 1rem; }
.point-num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--bronze-glow);
}
.point-lbl {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-top: 0.6rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .location-points { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}

/* ============ SCHOOLS ============ */
.schools { background: var(--bg); }
.schools-band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 2rem) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.schools-intro h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.schools-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.school-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.school-line:last-child { border-bottom: none; }
.school-line span {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
.school-line strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ink);
}
@media (max-width: 768px) {
  .schools-band { grid-template-columns: 1fr; }
  .school-line { grid-template-columns: 90px 1fr; }
  .school-line strong { font-size: 1.1rem; }
}

/* ============ SPECS ============ */
.specs { background: var(--bg-alt); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.spec-col h4 {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.2rem;
}
.spec-list {
  display: flex;
  flex-direction: column;
}
.spec-list > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
}
.spec-list > div:last-child { border-bottom: none; }
.spec-list dt {
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.spec-list dd { color: var(--ink); }
@media (max-width: 768px) {
  .specs-grid { grid-template-columns: 1fr; }
}

/* ============ CONTACT ============ */
.contact {
  background: var(--bg-deep);
  color: white;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
}

.contact-head {
  max-width: 800px;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.contact-head h2 em { color: var(--bronze-glow); }

.contact-actions {
  display: flex; flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary, .btn-outline {
  display: inline-block;
  padding: 1rem 1.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 1px solid;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--bronze);
  border-color: var(--bronze);
  color: white;
}
.btn-primary:hover {
  background: var(--bronze-deep);
  border-color: var(--bronze-deep);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: white;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: white;
  transform: translateY(-2px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* ===== Agent stack ===== */
.agents-stack {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.agent-card {
  background: var(--bg-darker);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border: 1px solid rgba(255,255,255,0.08);
}
.agent-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: white;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.agent-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-glow);
  font-weight: 500;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.agent-details { display: flex; flex-direction: column; }
.agent-details .row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: baseline;
}
.agent-details .row:last-child { border-bottom: none; }
.agent-details .row span:first-child {
  color: rgba(255,255,255,0.5);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.agent-details .row a {
  color: white;
  transition: color 0.3s ease;
  word-break: break-word;
}
.agent-details .row a:hover { color: var(--bronze-glow); }

/* ===== Form ===== */
.form-card {
  background: var(--bg-darker);
  padding: clamp(2rem, 4vw, 2.8rem);
  border: 1px solid rgba(255,255,255,0.08);
}
.inquiry-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
.form-row.two-col { grid-template-columns: 1fr 1fr; }
.inquiry-form label {
  display: flex; flex-direction: column;
  gap: 0.45rem;
}
.inquiry-form label > span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.inquiry-form label > span em {
  color: var(--bronze-glow);
  font-style: normal;
  margin-left: 2px;
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.85rem 1rem;
  color: white;
  font-family: var(--sans);
  font-size: 0.95rem;
  border-radius: 0;
  transition: border-color 0.3s ease, background 0.3s ease;
  width: 100%;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: rgba(255,255,255,0.07);
}
.inquiry-form textarea { resize: vertical; min-height: 100px; }
.inquiry-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23d9c5a7' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.inquiry-form select option { background: var(--bg-darker); color: white; }
.form-submit {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
}
.form-success {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(139, 111, 71, 0.15);
  border: 1px solid var(--bronze);
  color: white;
  font-size: 0.92rem;
  line-height: 1.6;
}
.form-success strong { color: var(--bronze-glow); display: block; margin-bottom: 0.3rem; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.hidden-field { display: none; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem) 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: white;
  line-height: 1.2;
}
.footer-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
  font-weight: 500;
}
.footer-meta { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 1rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: flex-end;
}
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--bronze-glow); }
.footer-fine {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 80ch;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ PRINT ============ */
@media print {
  .nav, .scroll-cue, .video-section, .lightbox { display: none !important; }
  body { background: white; }
}
