/* ============================================
   JANECEK HOMES - DESIGN SYSTEM
   ============================================ */

:root {
  /* Colors */
  --black: #0A0A0A;
  --charcoal: #141414;
  --graphite: #1F1F1F;
  --bone: #F5F1EA;
  --cream: #FFFFFF;
  --white-soft: #F4F1EB;
  --gold: #C9A567;
  --gold-light: #E0C088;
  --gold-dark: #8E6F3F;
  --stone: #A8A39A;
  --line: rgba(201, 165, 103, 0.35);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1440px;
  --gutter: clamp(1.5rem, 4vw, 3.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.display-xl { font-size: clamp(2.75rem, 7vw, 5.5rem); }
.display-lg { font-size: clamp(2.25rem, 5.5vw, 4rem); }
.display-md { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.display-sm { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }

.body-lg { font-size: 1.0625rem; line-height: 1.7; }
.body { font-size: 1rem; }
.body-sm { font-size: 0.875rem; }

em, .accent { font-style: italic; color: var(--gold-light); }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.light-section { background: var(--bone); color: var(--charcoal); }
.light-section .eyebrow { color: var(--gold-dark); }
.light-section .stone { color: var(--stone); }

.hairline {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.hairline-gold {
  height: 1px;
  background: var(--gold);
  width: 60px;
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  letter-spacing: 0.22em;
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  letter-spacing: 0.22em;
}

.btn-outline-light {
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline-light:hover {
  background: var(--cream);
  color: var(--black);
}

.link-gold {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 300ms ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.link-gold:hover {
  gap: 0.9rem;
  border-bottom-color: var(--gold);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--gutter);
  transition: all 400ms ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 64px;
}
.nav-logo img {
  height: 100%;
  width: auto;
  display: block;
}
.nav.scrolled .nav-logo {
  height: 52px;
  transition: height 400ms ease;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding: 0.5rem 0;
  transition: color 300ms ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 300ms ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all 300ms ease;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  padding: 0.7rem 0;
  transition: color 300ms ease;
}
.mobile-menu a:hover { color: var(--gold); }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.15) 40%,
    rgba(10,10,10,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content .eyebrow {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.5s forwards;
  color: var(--cream);
}

.hero-content .hero-sub {
  font-size: 1.0625rem;
  color: var(--cream);
  max-width: 540px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}
.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cream);
  text-transform: uppercase;
}
.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

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

/* Smaller hero variant for inner pages */
.hero-inner {
  height: 70vh;
  min-height: 500px;
  padding-bottom: 5rem;
}

/* ============================================
   GRID & SECTIONS
   ============================================ */

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

.grid-2-asym {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}
.section-header .eyebrow { margin-bottom: 1.25rem; }
.section-header h2 { margin-bottom: 1.5rem; }

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   IMAGES
   ============================================ */

.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-frame:hover img {
  transform: scale(1.04);
}

.img-tall { aspect-ratio: 3 / 4; }
.img-wide { aspect-ratio: 4 / 3; }
.img-square { aspect-ratio: 1 / 1; }
.img-cinema { aspect-ratio: 16 / 9; }

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--charcoal);
  border: 1px solid transparent;
  transition: border-color 400ms ease;
  cursor: pointer;
  display: block;
}
.card:hover {
  border-color: var(--gold);
}
.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.card:hover .card-image img {
  transform: scale(1.05);
}
.card-body {
  padding: 1.75rem;
}
.card-body .eyebrow {
  margin-bottom: 0.75rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--cream);
}
.card-specs {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: var(--stone);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
}
.card-specs span { color: var(--cream); }

/* ============================================
   PROCESS STEPS
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 1.2rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  background: var(--bone);
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.6;
}

/* ============================================
   STATS
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--cream);
}
.footer ul {
  list-style: none;
}
.footer li {
  margin-bottom: 0.75rem;
}
.footer a {
  font-size: 0.875rem;
  color: var(--stone);
  transition: color 300ms ease;
}
.footer a:hover { color: var(--gold); }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1rem;
  max-width: 380px;
  line-height: 1.3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--stone);
  flex-wrap: wrap;
  gap: 1rem;
}

.social-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-row a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 300ms ease;
}
.social-row a:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--black);
  border-top: 1px solid var(--gold);
  padding: 0.75rem;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 400ms ease;
}
.mobile-cta.visible {
  opacity: 1;
  transform: translateY(0);
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 0.9rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================
   INTERACTIVE LOT MAP
   ============================================ */

.lot-map-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.lot-map {
  background: var(--charcoal);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.lot-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.lot-svg {
  cursor: pointer;
  transition: all 300ms ease;
}
.lot-svg.available {
  fill: rgba(184, 147, 90, 0.15);
  stroke: var(--gold);
  stroke-width: 1.5;
}
.lot-svg.available:hover {
  fill: rgba(184, 147, 90, 0.5);
}
.lot-svg.reserved {
  fill: rgba(245, 241, 234, 0.1);
  stroke: var(--stone);
  stroke-width: 1;
  cursor: not-allowed;
}
.lot-svg.sold {
  fill: rgba(107, 102, 94, 0.3);
  stroke: var(--stone);
  stroke-width: 1;
  cursor: not-allowed;
}
.lot-svg.selected {
  fill: var(--gold);
  stroke: var(--gold-light);
  stroke-width: 2;
}
.lot-label {
  font-size: 8px;
  fill: var(--cream);
  font-family: var(--font-body);
  font-weight: 500;
  pointer-events: none;
  text-anchor: middle;
}

.lot-detail {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.lot-detail-empty {
  text-align: center;
  color: var(--stone);
  font-style: italic;
  padding: 3rem 1rem;
}
.lot-detail-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.lot-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.lot-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.lot-status.available { color: var(--gold); }
.lot-status.available .dot { background: var(--gold); }
.lot-status.reserved { color: var(--stone); }
.lot-status.reserved .dot { background: var(--stone); }

.lot-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.lot-info-row:last-of-type { border-bottom: none; }
.lot-info-row .label { color: var(--stone); }
.lot-info-row .value { color: var(--cream); }

.lot-photo {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite);
}
.lot-photo img { width: 100%; height: 100%; object-fit: cover; }

.lot-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.lot-filter {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 300ms ease;
}
.lot-filter:hover, .lot-filter.active {
  border-color: var(--gold);
  color: var(--gold);
}

.legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 0.5rem; }
.legend-swatch {
  width: 14px; height: 14px; border: 1px solid;
}
.legend-swatch.available { background: rgba(184, 147, 90, 0.3); border-color: var(--gold); }
.legend-swatch.reserved { background: rgba(245, 241, 234, 0.1); border-color: var(--stone); }
.legend-swatch.sold { background: rgba(107, 102, 94, 0.3); border-color: var(--stone); }

/* ============================================
   FORMS
   ============================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.6rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 300ms ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--stone);
  font-size: 0.875rem;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item:nth-child(4n+1) { aspect-ratio: 3 / 4; }
.gallery-item:nth-child(5n) { aspect-ratio: 1 / 1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================
   PLACEHOLDER MARKERS
   ============================================ */

.placeholder-note {
  position: relative;
}
.placeholder-note::before {
  content: 'PLACEHOLDER';
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: rgba(10,10,10,0.8);
  padding: 0.3rem 0.6rem;
  z-index: 2;
  pointer-events: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .steps::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .lot-map-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-2-asym { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
  .hero { padding-bottom: 5rem; min-height: 600px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.gold { color: var(--gold); }
.cream { color: var(--cream); }
.stone-text { color: var(--stone); }

/* ============================================
   EDITORIAL ELEMENTS (the un-AI bits)
   ============================================ */

/* Grain overlay - adds analog texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Vertical edge label (running up the side of sections) */
.edge-label {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: left center;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* Section number marker - big, faint, sits behind content */
.section-marker {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 1;
  color: var(--graphite);
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-marker.light { color: rgba(184, 147, 90, 0.08); }

/* Diamond/cross divider - echoes the logo */
.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}
.diamond-divider .line {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 120px;
}
.diamond-divider svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* Cross mark (logo motif) */
.cross-mark {
  display: inline-block;
  width: 12px;
  height: 12px;
}

/* Editorial column with hanging indent */
.editorial-column {
  max-width: 580px;
}
.editorial-column p {
  font-size: 1.0625rem;
  line-height: 1.75;
}
.editorial-column .drop {
  float: left;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.85;
  padding: 0.4rem 0.6rem 0 0;
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

/* Stacked headline (display + small label) */
.stack-headline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stack-headline .label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Issue / Vol identifier */
.identifier {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.identifier::before,
.identifier::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Image plate with caption */
.plate {
  position: relative;
}
.plate-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
}

/* Quote block - large editorial pull */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.35;
  color: var(--cream);
  position: relative;
  padding-left: 3rem;
}
.pull-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1px;
  height: calc(100% - 1rem);
  background: var(--gold);
}

/* Spec list - replaces generic stats */
.spec-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.spec-list .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-list .label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}
.spec-list .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
}

/* Overlapping image composition */
.compose {
  position: relative;
  min-height: 720px;
}
.compose-img-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 60%;
  z-index: 1;
}
.compose-img-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  z-index: 2;
  border: 8px solid var(--black);
}
.compose-img-1 img,
.compose-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compose-tag {
  position: absolute;
  top: 60%;
  right: 0;
  z-index: 3;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  background: var(--black);
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold);
}

@media (max-width: 720px) {
  .compose { min-height: 520px; }
  .pull-quote { padding-left: 1.5rem; font-size: 1.25rem; }
  .edge-label { display: none; }
  .section-marker { font-size: 6rem; opacity: 0.5; }
  .editorial-column .drop { font-size: 3rem; }
}

/* ============================================
   PAGE HEADER (inner pages - consistent luxury treatment)
   ============================================ */

.jh-page-header {
  position: relative;
  height: 70vh;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.jh-page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.jh-page-header-bg img,
.jh-page-header-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.riviera-hero .jh-page-header-bg::after {
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.12) 40%, rgba(10,10,10,0.48) 100%);
}
.riviera-hero .jh-page-header-content { text-shadow: 0 2px 26px rgba(0,0,0,0.6); }
.jh-page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.2) 35%, rgba(10,10,10,0.85) 100%);
}
.jh-page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(4rem, 8vw, 6.5rem);
}
.jh-page-header-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}
.jh-page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  line-height: 1;
  color: #fff;
  max-width: 900px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.4s forwards;
}
.jh-page-header h1 em {
  color: var(--gold);
  font-style: italic;
}
.jh-page-header-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #fff;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

/* ============================================
   INLINE CONTACT FORM (luxury treatment)
   ============================================ */

.inline-form-section {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--black);
  overflow: hidden;
}

.inline-form-section.on-image {
  padding: 0;
}

.inline-form-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.inline-form-bg img,
.inline-form-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inline-form-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.75) 50%, rgba(10,10,10,0.6) 100%);
}
.contact-sunset .inline-form-bg::after {
  background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.52) 44%, rgba(10,10,10,0.34) 100%);
}

.inline-form-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
}

.inline-form-pitch {
  max-width: 480px;
}
.inline-form-pitch .label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: block;
}
.inline-form-pitch h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 2rem;
}
.inline-form-pitch h3 em {
  color: var(--gold);
}
.inline-form-pitch p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--cream);
  margin-bottom: 2rem;
}
.inline-form-direct {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.8;
}
.inline-form-direct a {
  color: var(--gold);
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.inline-form {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
}
.inline-form-field {
  display: flex;
  flex-direction: column;
  position: relative;
}
.inline-form-field.full {
  grid-column: 1 / -1;
}
.inline-form-field label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.inline-form-field input,
.inline-form-field select,
.inline-form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 165, 103, 0.5);
  padding: 0.5rem 0 0.75rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  transition: border-color 350ms ease;
}
.inline-form-field input::placeholder,
.inline-form-field textarea::placeholder {
  color: var(--stone);
  font-style: italic;
  opacity: 0.5;
}
.inline-form-field input:focus,
.inline-form-field select:focus,
.inline-form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.inline-form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23B8935A' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.5rem;
  cursor: pointer;
}
.inline-form-field select option {
  background: var(--charcoal);
  color: var(--cream);
}
.inline-form-field textarea {
  min-height: 90px;
  resize: vertical;
  font-family: var(--font-body);
  font-size: 1rem;
}

.inline-form-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 1rem;
}
.inline-form-submit .fine-print {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}
.inline-form-submit button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 350ms ease;
}
.inline-form-submit button:hover {
  background: var(--gold-light);
  letter-spacing: 0.28em;
}

/* Mobile collapse */
@media (max-width: 1024px) {
  .inline-form-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 720px) {
  .inline-form {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .inline-form-field.full {
    grid-column: 1;
  }
}

/* ============================================
   VIDEO HERO
   ============================================ */

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   COMMUNITY PAGE TABS (Villas + Riviera)
   ============================================ */

.jh-tabs-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--black);
}

.jh-tabs-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.jh-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.jh-tab-btn {
  background: transparent;
  border: none;
  color: var(--stone);
  padding: 1.5rem 2rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: color 350ms ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.jh-tab-btn:hover {
  color: var(--cream);
}

.jh-tab-btn.active {
  color: var(--gold);
}

.jh-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.jh-tab-panel {
  display: none;
}

.jh-tab-panel.active {
  display: block;
  animation: fadeUp 600ms ease;
}

/* COMMUNITY INFO PANEL */
.jh-community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.jh-community-grid h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
}

.jh-community-grid h3 em {
  color: var(--gold);
  font-style: italic;
}

.jh-community-grid p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 1.5rem;
}

.jh-community-grid p.secondary {
  color: var(--stone);
}

.jh-community-glance {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: clamp(2rem, 3vw, 2.75rem);
}

.jh-community-glance h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.jh-community-glance ul {
  list-style: none;
}

.jh-community-glance li {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: #fff;
}

.jh-community-glance li:last-child {
  border-bottom: none;
}

.jh-community-glance li .lbl {
  color: var(--stone);
}

.jh-community-glance li .val {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.0625rem;
}

/* FAQ ACCORDION */
.jh-faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.jh-faq-item {
  border-bottom: 1px solid var(--line);
}

.jh-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.75rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.3;
  transition: color 350ms ease;
}

.jh-faq-q:hover {
  color: var(--gold);
}

.jh-faq-q .plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 400ms ease;
}

.jh-faq-q .plus::before,
.jh-faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--gold);
  left: 50%;
  top: 50%;
}

.jh-faq-q .plus::before {
  width: 16px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.jh-faq-q .plus::after {
  width: 1px;
  height: 16px;
  transform: translate(-50%, -50%);
  transition: transform 400ms ease;
}

.jh-faq-item.open .jh-faq-q .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.jh-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms ease, padding 500ms ease;
}

.jh-faq-item.open .jh-faq-a {
  max-height: 600px;
  padding-bottom: 1.75rem;
}

.jh-faq-a p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--stone);
  max-width: 720px;
}

/* FLOORPLAN CARDS */
.jh-fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.jh-fp-card {
  background: var(--charcoal);
  border: 1px solid transparent;
  transition: border-color 400ms ease, transform 400ms ease;
  cursor: pointer;
}

.jh-fp-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.jh-fp-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite);
}

.jh-fp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.jh-fp-card:hover .jh-fp-card-img img {
  transform: scale(1.05);
}

.jh-fp-card-body {
  padding: 2rem;
}

.jh-fp-card-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.jh-fp-card h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.jh-fp-card-specs {
  list-style: none;
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--stone);
}

.jh-fp-card-specs li {
  display: flex;
  justify-content: space-between;
}

.jh-fp-card-specs li span:last-child {
  color: #fff;
}

.jh-fp-card-total {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.jh-fp-card-total span:first-child {
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.jh-fp-card-total span:last-child {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.25rem;
}

.jh-fp-card-link {
  display: block;
  margin-top: 1.25rem;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* SITE MAP */
.jh-sitemap {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.jh-sitemap-figure {
  margin: 0;
}

/* Aerial: cinematic photo banner, full width */
.jh-sitemap-banner {
  width: 100%;
  height: clamp(240px, 32vw, 400px);
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid var(--line);
}

.jh-sitemap-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}

.jh-sitemap-banner:hover img {
  transform: scale(1.03);
}

/* Plats: transparent document maps sitting directly on the dark spine */
.jh-sitemap-plat {
  overflow: hidden;
  padding: 0 clamp(0.5rem, 2vw, 2rem);
}

.jh-sitemap-plat img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.jh-sitemap-caption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--stone);
}

.jh-sitemap-disclaimer {
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--stone);
  font-style: italic;
  max-width: 720px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .jh-community-grid { grid-template-columns: 1fr; }
  .jh-fp-grid { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 720px) {
  .jh-fp-grid { grid-template-columns: 1fr; }
  .jh-tab-btn { padding: 1.25rem 1.25rem; font-size: 10px; letter-spacing: 0.18em; }
}

/* ============================================
   TEAM SECTION (About page)
   ============================================ */

.jh-team {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(6rem, 11vw, 10rem);
  background: var(--black);
}
.jh-team-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

/* Section header */
.jh-team-header {
  max-width: 720px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.jh-team-header .eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.jh-team-header h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
}
.jh-team-header h2 em {
  color: var(--gold);
  font-style: italic;
}
.jh-team-header p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--stone);
  max-width: 560px;
}

/* Group hero image */
.jh-team-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--graphite);
}
.jh-team-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.jh-team-hero:hover img {
  transform: scale(1.02);
}
.jh-team-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.85) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.jh-team-hero-caption .label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}
.jh-team-hero-caption h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: #fff;
  line-height: 1.2;
  max-width: 540px;
}

/* Individual portrait cards */
.jh-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.jh-team-card {
  display: flex;
  flex-direction: column;
}
.jh-team-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--graphite);
  margin-bottom: 1.75rem;
  position: relative;
}
.jh-team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.jh-team-card:hover .jh-team-portrait img {
  transform: scale(1.04);
}
.jh-team-role {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.jh-team-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.jh-team-name em {
  color: var(--gold);
  font-style: italic;
}
.jh-team-bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--stone);
}

@media (max-width: 1024px) {
  .jh-team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .jh-team-grid { grid-template-columns: 1fr; }
  .jh-team-hero { aspect-ratio: 4 / 3; }
}

/* ============================================
   LEGAL PAGES (Terms, Privacy)
   ============================================ */

.jh-legal {
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(5rem, 9vw, 8rem);
  background: var(--black);
}
.jh-legal-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.jh-legal-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.jh-legal h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.25rem;
}
.jh-legal h1 em {
  color: var(--gold);
  font-style: italic;
}
.jh-legal-updated {
  font-size: 0.875rem;
  color: var(--stone);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.jh-legal-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.jh-legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: #fff;
  margin: clamp(2.5rem, 4vw, 3.5rem) 0 1.25rem;
}
.jh-legal h2 .num {
  color: var(--gold);
  font-style: italic;
  margin-right: 0.5rem;
}
.jh-legal h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.01em;
}
.jh-legal p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone);
  margin-bottom: 1.25rem;
}
.jh-legal p strong {
  color: #fff;
  font-weight: 600;
}
.jh-legal a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 165, 103, 0.4);
  transition: border-color 300ms ease;
}
.jh-legal a:hover {
  border-bottom-color: var(--gold);
}
.jh-legal ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.jh-legal ul li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--stone);
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.85rem;
}
.jh-legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}
.jh-legal-contact-box {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 2.75rem);
  background: var(--charcoal);
  border: 1px solid var(--line);
}
.jh-legal-contact-box h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 1rem;
}
.jh-legal-contact-box p {
  margin-bottom: 0.5rem;
}
.jh-legal-disclaimer {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--stone);
}

/* Footer legal links */
.footer-bottom .footer-legal-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-bottom .footer-legal-links a {
  color: var(--stone);
  font-size: inherit;
  transition: color 300ms ease;
}
.footer-bottom .footer-legal-links a:hover {
  color: var(--gold);
}
.footer-bottom .footer-legal-sep {
  color: var(--line);
}

/* ============================================
   COMPACT COMMUNITY CARD (homepage Villas)
   Smaller-footprint treatment for secondary community
   ============================================ */

.jh-compact-community {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: var(--black);
}
.jh-compact-community-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.jh-compact-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  border: 1px solid var(--line);
  background: var(--charcoal);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: border-color 400ms ease;
}
.jh-compact-card:hover {
  border-color: var(--gold);
}
.jh-compact-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite);
}
.jh-compact-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.jh-compact-card:hover .jh-compact-card-img img {
  transform: scale(1.05);
}
.jh-compact-card-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.jh-compact-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.75rem;
}
.jh-compact-card h3 em {
  color: var(--gold);
  font-style: italic;
}
.jh-compact-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--stone);
  margin-bottom: 1.25rem;
  max-width: 540px;
}
.jh-compact-card-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  display: inline-block;
}

@media (max-width: 720px) {
  .jh-compact-card { grid-template-columns: 1fr; }
}

/* ============================================
   FEATURED COMMUNITY - restrained editorial
   ============================================ */

.jh-riviera-feature {
  padding: clamp(6rem, 11vw, 10rem) 0;
  background: var(--black);
  text-align: center;
}
.jh-riviera-feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.jh-riviera-feature-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.jh-riviera-feature h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.jh-riviera-feature h2 em {
  color: var(--gold);
  font-style: italic;
}
.jh-riviera-feature-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--graphite);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.jh-riviera-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.jh-riviera-feature-img:hover img {
  transform: scale(1.02);
}
.jh-riviera-feature-bio {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 4vw, 3rem);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #fff;
}
.jh-riviera-feature-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: opacity 300ms ease;
}
.jh-riviera-feature-link:hover {
  opacity: 0.75;
}

/* ============================================================
   SHARED EDITORIAL COMPONENTS (promoted from homepage)
   spine bands, cinematic feature break, portfolio grid
   ============================================================ */

/* SPINE: the rigorous 50/50 row, repeated */
.jh-spine { padding: clamp(6rem, 11vw, 10rem) 0; }
.jh-spine-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.jh-spine.reverse .jh-spine-img { order: 2; }
.jh-spine.reverse .jh-spine-text { order: 1; }
.jh-spine-img {
  aspect-ratio: 4 / 5;
  background: var(--graphite);
  overflow: hidden;
}
.jh-spine-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.jh-spine-img:hover img { transform: scale(1.03); }
.jh-spine-text { max-width: 520px; }
.jh-spine-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.jh-spine-text h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 2rem;
}
.jh-spine-text h2 em { color: var(--gold); font-style: italic; }
.jh-spine-text p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #fff;
  margin-bottom: 1.5rem;
}
.jh-spine-text p.secondary { color: var(--stone); }
.jh-spine-text .jh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: gap 350ms ease, border-color 350ms ease;
}
.jh-spine-text .jh-link:hover { gap: 1rem; border-bottom-color: var(--gold); }

/* FEATURE BREAK: full bleed cinematic moment */
.jh-feature {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.jh-feature-bg { position: absolute; inset: 0; z-index: 0; }
.jh-feature-bg img, .jh-feature-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.jh-feature-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.9) 100%);
}
.feature-water .jh-feature-bg::after {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.18) 42%, rgba(10,10,10,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.2) 46%, rgba(10,10,10,0) 72%);
}
.jh-feature-content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 5rem clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.jh-feature-left h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.98;
  color: #fff;
  margin-bottom: 1.5rem;
}
.jh-feature-left h2 em { color: var(--gold); font-style: italic; }
.jh-feature-left p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #fff;
  max-width: 480px;
  margin-bottom: 2rem;
}
.jh-feature-right {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  padding: clamp(2rem, 3vw, 2.75rem);
}
.jh-feature-right h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
}
.jh-feature-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
}
.jh-feature-stat { padding: 1rem 0; border-top: 1px solid var(--line); }
.jh-feature-stat .lbl {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.5rem;
}
.jh-feature-stat .val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

/* PORTFOLIO band */
.jh-portfolio { padding: clamp(6rem, 11vw, 10rem) 0 0; }
.jh-portfolio-head {
  max-width: 1440px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  flex-wrap: wrap;
}
.jh-portfolio-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  color: #fff;
}
.jh-portfolio-head h2 em { color: var(--gold); font-style: italic; }
.jh-portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.jh-portfolio-grid > div { aspect-ratio: 3 / 4; overflow: hidden; background: var(--graphite); }
.jh-portfolio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s ease; }
.jh-portfolio-grid > div:hover img { transform: scale(1.05); }

/* VILLAS pillars: editorial 3-up */
.villas-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.villas-pillar {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.villas-pillar .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.villas-pillar h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.villas-pillar p { font-size: 0.9375rem; color: var(--stone); line-height: 1.75; }

@media (max-width: 1024px) {
  .jh-spine-inner { grid-template-columns: 1fr !important; gap: 2.5rem; }
  .jh-spine.reverse .jh-spine-img { order: 0; }
  .jh-spine.reverse .jh-spine-text { order: 0; }
  .jh-spine-img { aspect-ratio: 4 / 3; }
  .jh-feature-content { grid-template-columns: 1fr; }
  .jh-portfolio-grid { grid-template-columns: 1fr 1fr; }
  .villas-pillars { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 720px) {
  .jh-portfolio-grid { grid-template-columns: 1fr; }
  .jh-feature-stats { grid-template-columns: 1fr; }
}

/* Spine image variant for maps: full map visible, transparent, no crop */
.jh-spine-img.is-map {
  aspect-ratio: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.jh-spine-img.is-map img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: none;
}
.jh-spine-img.is-map:hover img { transform: none; }
.jh-spine-mapcaption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--stone);
}

/* ============================================================
   VILLAS - portfolio showcase components
   ============================================================ */

/* Legacy statement band */
.villas-legacy { padding: clamp(6rem, 11vw, 9rem) 0; text-align: center; }
.villas-legacy-inner { max-width: 880px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }
.villas-legacy h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.75rem;
}
.villas-legacy h2 em { color: var(--gold); font-style: italic; }
.villas-legacy p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--stone);
  max-width: 620px;
  margin: 0 auto;
}
.villas-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.villas-stat .val {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.65rem;
}
.villas-stat .lbl {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Body of Work feature split */
.legacy-feature { padding: 0; text-align: left; }
.legacy-feature::before { display: none; }
.legacy-feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: min(78vh, 760px); }
.legacy-feature-text { align-self: center; padding: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.legacy-feature-text .eyebrow { justify-content: flex-start; }
.legacy-feature-text p { color: #b9b3aa; max-width: 46ch; margin: 1.5rem 0 0; }
.villas-legacy.legacy-feature h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.12; }
.legacy-cta { margin-top: clamp(2.25rem, 4vw, 2.75rem); }
.legacy-feature-media { position: relative; overflow: hidden; }
.legacy-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.legacy-feature .villas-stats { justify-content: flex-start; flex-wrap: wrap; gap: clamp(1.75rem, 3vw, 2.5rem) 0; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.legacy-feature .villas-stat { flex: 0 0 50%; align-items: flex-start; text-align: left; padding: 0 1.75rem; border-left: 1px solid var(--line); }
.legacy-feature .villas-stat:nth-child(odd) { padding-left: 0; border-left: none; }
.legacy-pillars { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); padding-top: clamp(2.25rem, 4.5vw, 3.25rem); border-top: 1px solid var(--line); }
.legacy-pillar { padding: clamp(1rem, 2vw, 1.35rem) 0; border-bottom: 1px solid rgba(201, 165, 103, 0.16); }
.legacy-pillar:last-child { border-bottom: none; padding-bottom: 0; }
.legacy-pillar:first-child { padding-top: 0; }
.legacy-pillar h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.65rem); color: #f5f1ea; line-height: 1.12; margin-bottom: 0.4rem; }
.legacy-pillar p { color: #9a948c; font-size: 0.95rem; line-height: 1.55; max-width: 44ch; margin: 0; }
@media (max-width: 900px) {
  .legacy-feature-grid { grid-template-columns: 1fr; min-height: 0; }
  .legacy-feature-media { min-height: 56vw; order: -1; }
  .legacy-feature-text { padding: clamp(3rem, 9vw, 5rem) var(--gutter); }
}

/* Portfolio gallery: mosaic of completed homes */
.villas-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.villas-gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  aspect-ratio: 4 / 3;
}
.villas-gallery figure.feature { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.villas-gallery figure.wide { grid-column: span 2; }
.villas-gallery figure.tall { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.villas-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s cubic-bezier(0.4,0,0.2,1);
}
.villas-gallery figure:hover img { transform: scale(1.05); }
.villas-gallery figcaption {
  position: absolute;
  left: 1.1rem; bottom: 0.9rem;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: #fff;
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.villas-gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* Compact community-plan maps (supporting, not focal) */
.villas-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.villas-plan-figure { margin: 0; }
.villas-plan-figure img { width: 100%; height: auto; display: block; object-fit: contain; }
.villas-plan-figure figcaption {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--stone);
}

@media (max-width: 1024px) {
  .villas-gallery { grid-template-columns: repeat(2, 1fr); }
  .villas-gallery figure.feature,
  .villas-gallery figure.wide,
  .villas-gallery figure.tall { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .villas-gallery .gallery-intro { grid-column: span 2; grid-row: auto; padding: clamp(2rem, 7vw, 2.75rem) clamp(1.25rem, 5vw, 1.75rem); }
  .villas-plan-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Faint photographic backdrop for a map band */
.jh-spine.has-bg { position: relative; overflow: hidden; }
.jh-spine.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/villas-sunset-bg.jpg') center/cover no-repeat;
  opacity: 0.16;
  z-index: 0;
}
.jh-spine.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.28) 50%, rgba(10,10,10,0.58) 100%);
  z-index: 0;
}
.jh-spine.has-bg .jh-spine-inner { position: relative; z-index: 1; }

/* Hero comes alive: slow cinematic drift */
.jh-page-header.is-alive .jh-page-header-bg img {
  animation: jh-heroZoom 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes jh-heroZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .jh-page-header.is-alive .jh-page-header-bg img { animation: none; }
}

/* ---- Legacy statement: make it pop ---- */
.villas-legacy { position: relative; overflow: hidden; }
.villas-legacy-inner { position: relative; z-index: 1; }
/* warm radial glow for depth */
.villas-legacy::before {
  content: '';
  position: absolute;
  left: 50%; top: 36%;
  width: min(1100px, 130vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,165,103,0.13) 0%, rgba(201,165,103,0) 62%);
  z-index: 0; pointer-events: none;
}
/* bigger, more commanding statement */
.villas-legacy h2 { font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 1.08; }
/* stat bar with vertical gold dividers */
.villas-stats { gap: 0; }
.villas-stat {
  padding: 0 clamp(1.5rem, 4vw, 3.75rem);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
}
.villas-stat:first-child { border-left: none; }
.villas-stat .val { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
@media (max-width: 720px) {
  .villas-stats { gap: 1.5rem 0; }
  .villas-stat { flex: 0 0 50%; }
  .villas-stat:nth-child(odd) { border-left: none; }
}

/* keep the four stats on one row */
.villas-stats { flex-wrap: nowrap; }
.villas-stat { padding: 0 clamp(0.9rem, 2.5vw, 2.1rem); }
.villas-stat .val { font-size: clamp(1.9rem, 3.4vw, 2.9rem); white-space: nowrap; }
@media (max-width: 720px) {
  .villas-stats { flex-wrap: wrap; }
  .villas-stat { flex: 0 0 50%; padding: 0; }
}


/* ============ Riviera community toggle ============ */
.riviera-communities { position: relative; }
.riviera-communities.light-section .display { color: var(--charcoal); }
.riviera-communities.light-section .display em { color: var(--gold-dark); }
.riviera-communities.light-section .stone-text { color: #5f5b54; }
.riviera-communities.light-section .jh-spine-mapcaption { color: #837d73; }
.riviera-communities.light-section .jh-spine-eyebrow { color: var(--gold-dark); }
.riviera-communities.light-section .rc-tabs-lead .eyebrow { color: #8a857c; }
.riviera-communities.light-section .rc-tab { color: #8f8a80; }
.riviera-communities.light-section .rc-tab:hover { color: var(--charcoal); }
.riviera-communities.light-section .rc-tab.active { color: var(--charcoal); }
.riviera-communities.light-section .rc-panel-text p { color: #4a463f; }
.riviera-communities.light-section .jh-sitemap-disclaimer { color: #9a948c; }
.rc-tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(0.5rem, 3vw, 2.5rem);
  max-width: 1100px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.rc-tab {
  background: none; border: none; cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  color: var(--stone, #9a948c);
  letter-spacing: 0.02em;
  padding: 0 0 1rem; position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.rc-tab:hover { color: #e9e4dc; }
.rc-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gold, #c9a567); transform: scaleX(0); transform-origin: center;
  transition: transform 0.35s ease;
}
.rc-tab.active { color: #f5f1ea; }
.rc-tab.active::after { transform: scaleX(1); }

/* Editorial numbered tabs */
.rc-tab { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.rc-tab::before {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.28em; line-height: 1; color: #b9af9c;
  transition: color 0.3s ease, transform 0.3s ease;
}
.rc-tab:nth-child(1)::before { content: '01'; }
.rc-tab:nth-child(2)::before { content: '02'; }
.rc-tab:nth-child(3)::before { content: '03'; }
.rc-tab:nth-child(4)::before { content: '04'; }
.rc-tab:nth-child(5)::before { content: '05'; }
.rc-tab:nth-child(6)::before { content: '06'; }
.rc-tab:hover::before { color: var(--gold); }
.rc-tab.active::before { color: var(--gold); }
.rc-tab.active::after { height: 3px; }
/* Flagship tab: keeps Sixty-Seven emphasized regardless of build-order position */
.rc-tab.rc-tab-featured { color: var(--gold, #c9a567); }
.rc-tab.rc-tab-featured::before { content: 'Flagship'; letter-spacing: 0.22em; color: var(--gold, #c9a567); }
.riviera-communities.light-section .rc-tab.rc-tab-featured,
.riviera-communities.light-section .rc-tab.rc-tab-featured::before { color: var(--gold-dark); }
.rc-tab.rc-tab-featured::after { background: var(--gold, #c9a567); transform: scaleX(1); opacity: 0.35; }
.rc-tab.rc-tab-featured.active::after { opacity: 1; }
.riviera-communities.light-section .rc-tab { color: #79746b; }
.riviera-communities.light-section .rc-tab::before { color: #bcae95; }
.riviera-communities.light-section .rc-tab:hover::before,
.riviera-communities.light-section .rc-tab.active::before { color: var(--gold-dark); }

.rc-panel { display: none; }
.rc-panel.active { display: block; animation: rc-fade 0.5s ease; }
@keyframes rc-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.rc-intro {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.riviera-communities:not(.light-section) { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.rc-explore { padding-top: clamp(2.5rem, 5vw, 4rem); background: #e8e1d2; }
.rc-tabs-lead { text-align: center; margin-bottom: 1.4rem; }
.rc-tabs-lead .eyebrow { color: #8a847c; }
.rc-intro .eyebrow { justify-content: flex-start; }
.rc-intro-text p { max-width: 46ch; }
.rc-intro .rc-panel-map { width: auto; max-width: none; margin: 0; }
.rc-intro .rc-panel-map img { max-height: none; width: 100%; }
.rc-intro-media .jh-spine-mapcaption { margin-top: 1rem; text-align: left; }
@media (max-width: 820px) { .rc-intro { grid-template-columns: 1fr; gap: 1.75rem; } }
.rc-panel-grid {
  display: grid; grid-template-columns: 1.18fr 1fr;
  gap: clamp(2rem, 4.5vw, 4rem); align-items: center;
}
.rc-panel-map {
  width: 100%; max-width: none; margin: 0;
  border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  background: var(--ink, #110f0e);
  box-shadow: 0 24px 60px rgba(20, 16, 10, 0.16);
}
.rc-panel-map img { display: block; width: 100%; max-width: 100%; max-height: none; height: auto; }
.rc-panel-text { display: flex; flex-direction: column; align-items: flex-start; }
.rc-text-head { display: contents; }
.rc-panel-text .jh-spine-eyebrow { order: 1; margin-bottom: 1rem; }
.rc-panel-text h2 { order: 2; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.04; margin-bottom: 1.25rem; }
.rc-panel-text .rc-text-body { order: 3; }
.rc-panel-text .rc-text-body p { max-width: none; }
.rc-panel-text .rc-cta { order: 4; margin-top: 1.9rem; }
.rc-panel-text p { color: #b9b3aa; max-width: 52ch; }
.rc-stats {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 2rem;
  border-top: 1px solid var(--line); padding-top: 1.75rem;
}
.rc-cta { margin-top: 1.75rem; }
.rc-stat { padding: 0 clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line); }
.rc-stat:first-child { padding-left: 0; border-left: none; }
.rc-stat .rc-val { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--gold, #c9a567); line-height: 1; }
.rc-stat .rc-lbl { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8a847c; margin-top: 0.5rem; }

@media (max-width: 820px) {
  .rc-panel-grid { grid-template-columns: 1fr; gap: 2rem; }
  .rc-panel-text { grid-template-columns: 1fr; gap: 1.5rem; }
  .rc-tabs {
    gap: 1.5rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    -ms-overflow-style: none; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
            mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
  .rc-tabs::-webkit-scrollbar { display: none; }
  .rc-tab { font-size: 1.2rem; scroll-snap-align: start; flex: 0 0 auto; }
  /* On mobile, lead with the flagship so Sixty-Seven is visible first without scrolling.
     Desktop keeps the owner's build-order (source order). */
  .rc-tab-featured { order: -1; margin-right: 0.5rem; }
}

/* tighten community stat row to a single line */
.rc-stats { flex-wrap: nowrap; }
.rc-stat { padding: 0 clamp(0.75rem, 2vw, 1.5rem); }
.rc-stat .rc-val { font-size: clamp(1.35rem, 2.2vw, 1.9rem); white-space: nowrap; }
@media (max-width: 820px){ .rc-stats{ flex-wrap: wrap; gap: 1.25rem 0; } .rc-stat{ flex:0 0 50%; } .rc-stat:nth-child(odd){ border-left:none; padding-left:0; } }

/* per-community mini gallery */
.rc-mini { margin-top: clamp(2.5rem, 5vw, 4rem); }
.rc-mini-head { margin-bottom: 1.1rem; }
.rc-minigallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.rc-minigallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; }
.rc-minigallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.6s ease; }
.rc-minigallery figure:hover img { transform: scale(1.05); }
@media (max-width: 820px){ .rc-minigallery { grid-template-columns: 1fr 1fr; } }

/* Flat Irons richer 8-photo grid */
.rc-minigallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.rc-minigallery.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 820px){ .rc-minigallery.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px){ .rc-minigallery.cols-4 { grid-template-columns: 1fr 1fr; } }

/* Auto-advancing 3-up gallery slider (JS adds .rc-slider wrapper) */
.rc-slider { overflow: hidden; position: relative; --rc-gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.rc-slider .rc-minigallery,
.rc-slider .rc-minigallery.cols-4 {
  display: flex; flex-wrap: nowrap; gap: var(--rc-gap);
  grid-template-columns: none; will-change: transform;
}
.rc-slider .rc-minigallery figure { flex: 0 0 calc((100% - 2 * var(--rc-gap)) / 3); }
@media (max-width: 820px){
  .rc-slider .rc-minigallery figure { flex-basis: calc((100% - var(--rc-gap)) / 2); }
}

/* ---- Lightbox ---- */
.lb-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 9, 8, 0.96);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.lb-overlay.open { display: flex; opacity: 1; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 92vw; }
.lb-img {
  max-width: 92vw; max-height: 82vh; object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6); border-radius: 2px;
}
.lb-cap { color: #b9b3aa; font-size: 0.82rem; letter-spacing: 0.04em; text-align: center; }
.lb-counter {
  position: absolute; bottom: clamp(1rem, 3vw, 1.75rem); left: 50%; transform: translateX(-50%);
  color: #8a847c; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.lb-btn {
  position: absolute; background: none; border: none; color: #fff;
  cursor: pointer; line-height: 1; opacity: 0.7; transition: opacity 0.2s ease, color 0.2s ease;
  font-family: Georgia, 'Times New Roman', serif;
}
.lb-btn:hover { opacity: 1; color: var(--gold, #c9a567); }
.lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2.25rem); font-size: 2.5rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: clamp(2.5rem, 6vw, 4rem); padding: 0 clamp(0.5rem, 2vw, 1.5rem); }
.lb-prev { left: clamp(0.25rem, 2vw, 1.5rem); }
.lb-next { right: clamp(0.25rem, 2vw, 1.5rem); }
@media (max-width: 600px) {
  .lb-img { max-height: 72vh; }
  .lb-prev, .lb-next { font-size: 2.25rem; }
}

/* space between stacked paragraphs in community panels */
.rc-panel-text p + p { margin-top: 1.1rem; }

/* Craftsmanship gallery category filter (fade non-matching) */
.jh-craft-mosaic .jh-craft-tile { transition: transform 600ms cubic-bezier(0.4,0,0.2,1), opacity 0.45s ease, filter 0.45s ease; }
.jh-craft-tile.dimmed { opacity: 0.2; filter: saturate(0.5); pointer-events: none; }


/* ---- Lightbox: click-to-zoom cursor on content images ---- */
/* ABOUT: story video */
.ab-video { background: var(--black); padding: clamp(4rem,8vw,7rem) 0 clamp(2.5rem,5vw,4rem); }
/* Transition divider between video and team */
.ab-transition { background: var(--black); padding: clamp(1.5rem,4vw,3rem) 0; }
.ab-transition-inner { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.ab-transition-line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold-dark)); }
.ab-transition-inner .ab-transition-line:last-child { background: linear-gradient(90deg, var(--gold-dark), transparent); }
.ab-transition-mark { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); flex: 0 0 auto; }
.ab-video-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.ab-video-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem,4vw,3rem); }
.ab-video-head .eyebrow { color: var(--gold); }
.ab-video-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem,4.5vw,3.4rem); line-height: 1.08; margin-top: 0.6rem; }
.ab-video-head p { color: var(--stone); margin-top: 1rem; font-size: 1.05rem; }
.ab-video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 4px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--charcoal);
}
.ab-video-frame img.poster { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease, filter .6s ease; }
.ab-video-frame:hover img.poster { transform: scale(1.03); filter: brightness(0.9); }
.ab-video-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.15), rgba(10,10,10,0.45)); pointer-events: none; }
.ab-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 2; width: clamp(72px,8vw,104px); height: clamp(72px,8vw,104px);
  border-radius: 50%; background: rgba(201,165,103,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s ease; box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.ab-video-frame:hover .ab-video-play { transform: translate(-50%,-50%) scale(1.08); background: var(--gold); }
.ab-video-play svg { width: 38%; height: 38%; margin-left: 8%; fill: var(--black); }
.ab-video-label { position: absolute; left: clamp(1.25rem,3vw,2.5rem); bottom: clamp(1.25rem,3vw,2rem); z-index: 2; }
.ab-video-label .label { display: block; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); }
.ab-video-label h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem,2.4vw,1.9rem); color: var(--cream); margin-top: 0.3rem; }
.ab-video-frame.is-playing img.poster,
.ab-video-frame.is-playing .ab-video-play,
.ab-video-frame.is-playing .ab-video-label,
.ab-video-frame.is-playing::after { opacity: 0; pointer-events: none; }
.ab-video-frame iframe, .ab-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

.jh-spine-img img, .ab-story-img img, .ab-legacy-img img, .ab-diff-feature img,
.jh-craft-tile, .jh-team-grid img, .jh-portfolio-grid img, .gallery-grid img,
.rc-minigallery img, .villas-gallery img, .rc-panel-map img { cursor: zoom-in; }

/* Villas gallery: intro copy as an interlocking text panel within the mosaic */
.villas-gallery-section { padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.villas-gallery .gallery-intro {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 2.6vw, 3rem);
  background: var(--black);
}
.villas-gallery .gallery-intro .eyebrow { justify-content: flex-start; }
.villas-gallery .gallery-intro h3 { margin-bottom: 1.35rem; }
.villas-gallery .gallery-intro p { max-width: 42ch; }


/* ---- Gallery page: filterable grid with captions ---- */
.gallery-grid .gallery-item { aspect-ratio: 4 / 3; margin: 0; background: var(--graphite); }
.gallery-item .gallery-cap {
  position: absolute;
  left: 1rem; bottom: 0.85rem;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff;
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
  text-shadow: 0 1px 10px rgba(0,0,0,0.75);
  pointer-events: none;
}
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.55) 100%);
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.hide { display: none; }


/* ---- Gallery: Featured Homes (per-home walkthrough) ---- */
.featured-intro { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.featured-intro .eyebrow { justify-content: center; }
.featured-home { margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.featured-home:last-child { margin-bottom: 0; }
.featured-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.featured-home-eyebrow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.featured-home-head h3 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); line-height: 1.05; }
.featured-home-head h3 em { color: var(--gold); font-style: italic; }
.featured-home-media { display: flex; flex-direction: column; gap: 2px; }
.featured-home-lead { margin: 0; position: relative; overflow: hidden; aspect-ratio: 16 / 7; background: var(--graphite); }
.featured-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.featured-home-grid figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--graphite); }
.featured-home-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.4,0,0.2,1); cursor: zoom-in; }
.featured-home-media figure:hover img { transform: scale(1.04); }
.featured-home-media figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.5) 100%); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.featured-home-media figure:hover::after { opacity: 1; }
.featured-home-media figcaption { position: absolute; left: 1rem; bottom: 0.85rem; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; text-shadow: 0 1px 10px rgba(0,0,0,0.75); pointer-events: none; }
.featured-home-media figure:hover figcaption { opacity: 1; transform: translateY(0); }
@media (max-width: 1024px) {
  .featured-home-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-home-lead { aspect-ratio: 16 / 9; }
  .featured-home-head { align-items: flex-start; }
}
