/* ============================================
   JOHNNY FONTANA — Luxury Real Estate
   Art Direction: Inspired by jenngilson.com
   Dark/cream alternating, centered editorial,
   sharp corners, gold accents, formal luxury
   ============================================ */

/* --- Type Scale --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);
}

/* --- Spacing (4px base) --- */
:root {
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* --- Radius, Transitions, Content Widths --- */
:root {
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
  --radius-full: 0px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* --- Fonts --- */
@font-face {
  font-family: 'NOIR et BLANC';
  src: url('./assets/NOIRetBLANC_medium_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NOIR et BLANC';
  src: url('./assets/NOIRetBLANC_Med_Bold_Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
:root {
  --font-display: 'NOIR et BLANC', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

/* =============================================
   COLOR PALETTE
   Inspired by jenngilson.com:
   - Dark charcoal backgrounds
   - Warm cream/linen content sections
   - Gold/champagne accent
   ============================================= */

/* Dark base (default) */
:root, [data-theme="dark"] {
  --color-bg:             #1a1a18;
  --color-surface:        #222220;
  --color-surface-2:      #2a2a27;
  --color-surface-offset: #1e1e1c;
  --color-surface-offset-2: #262624;
  --color-surface-dynamic: #303030;
  --color-divider:        #3a3a37;
  --color-border:         #444440;

  --color-text:           #f0ece4;
  --color-text-muted:     #a8a49c;
  --color-text-faint:     #6a6760;
  --color-text-inverse:   #1a1a18;

  /* Cream for alternating sections */
  --color-cream:          #f5efe6;
  --color-cream-text:     #2a2825;
  --color-cream-muted:    #6b6860;

  /* Gold accent */
  --color-primary:        #b8973a;
  --color-primary-hover:  #a6862f;
  --color-primary-active: #917425;
  --color-primary-highlight: #2e2920;

  --color-error:          #d1636e;
  --color-success:        #6daa45;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
}

/* Light mode */
[data-theme="light"] {
  --color-bg:             #f5efe6;
  --color-surface:        #ffffff;
  --color-surface-2:      #efe8dd;
  --color-surface-offset: #ebe4d9;
  --color-surface-offset-2: #e3dbd0;
  --color-surface-dynamic: #ddd5ca;
  --color-divider:        #d4ccc1;
  --color-border:         #c5bcb0;
  --color-text:           #2a2825;
  --color-text-muted:     #6b6860;
  --color-text-faint:     #9e9a92;
  --color-text-inverse:   #f5efe6;
  --color-cream:          #1a1a18;
  --color-cream-text:     #f0ece4;
  --color-cream-muted:    #a8a49c;
  --color-primary:        #8b6914;
  --color-primary-hover:  #745610;
  --color-primary-active: #5d440b;
  --color-primary-highlight: #f0e8d4;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.08);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.1);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.14);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:             #f5efe6;
    --color-surface:        #ffffff;
    --color-surface-2:      #efe8dd;
    --color-text:           #2a2825;
    --color-text-muted:     #6b6860;
    --color-text-faint:     #9e9a92;
    --color-text-inverse:   #f5efe6;
    --color-cream:          #1a1a18;
    --color-cream-text:     #f0ece4;
    --color-cream-muted:    #a8a49c;
    --color-primary:        #8b6914;
    --color-primary-hover:  #745610;
  }
}

/* =============================================
   GLOBAL STYLES
   ============================================= */
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* =============================================
   HEADER / NAV — jenngilson-style
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition: box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .header-inner { padding-inline: var(--space-8); }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
}
.logo-link:hover { color: var(--color-primary); }
.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: var(--space-1);
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: var(--space-5);
}
@media (min-width: 768px) { .desktop-nav { display: flex; } }

.desktop-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding-bottom: var(--space-1);
  position: relative;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease-out);
}
.desktop-nav a:hover { color: var(--color-text); }
.desktop-nav a:hover::after { width: 100%; }
.desktop-nav a.active { color: var(--color-primary); }
.desktop-nav a.active::after { width: 100%; }

/* Schedule A Call nav button — gold filled, sharp corners */
.nav-cta {
  background: var(--color-primary);
  color: var(--color-text-inverse) !important;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  transition: background var(--transition-interactive);
}
.nav-cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse) !important;
}
.nav-cta::after { display: none !important; }

.nav-phone {
  font-size: var(--text-xs);
  color: var(--color-primary) !important;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.nav-phone::after { display: none !important; }

.theme-toggle {
  padding: var(--space-2);
  color: var(--color-text-muted);
}
.theme-toggle:hover { color: var(--color-text); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  z-index: 99;
  background: var(--color-bg);
  padding: var(--space-8) var(--space-4);
  flex-direction: column;
  gap: var(--space-6);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: var(--text-lg);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
}
.mobile-menu a:hover { color: var(--color-primary); }

/* =============================================
   HERO — centered, editorial, full-viewport
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.12 0.01 60 / 0.72);
}
/* Split hero layout */
.hero-split {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-8) var(--space-4);
  min-height: 0;
}
@media (max-width: 767px) {
  .hero-split {
    flex-direction: column-reverse;
    text-align: center;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
  padding: var(--space-8) var(--space-4);
}

.hero-content--left {
  flex: 1;
  text-align: left;
  padding: 0;
  max-width: 600px;
}
@media (max-width: 767px) {
  .hero-content--left {
    text-align: center;
    max-width: 100%;
  }
}
.hero-content--left .hero-ctas {
  justify-content: flex-start;
}
@media (max-width: 767px) {
  .hero-content--left .hero-ctas { justify-content: center; }
}

/* Portrait cutout in hero */
.hero-portrait {
  flex-shrink: 0;
  width: 240px;
  align-self: flex-end;
}
@media (min-width: 768px) {
  .hero-portrait { width: 280px; }
}
@media (max-width: 767px) {
  .hero-portrait { width: 180px; }
}
.hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px oklch(0 0 0 / 0.4));
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.hero-tag {
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: #f0ece4;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}
.hero p {
  font-size: var(--text-base);
  color: #b0aca4;
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* =============================================
   BUTTONS — sharp corners, gold filled
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              border-color var(--transition-interactive);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-text-inverse);
}
.btn-outline {
  background: transparent;
  color: #f0ece4;
  border: 1px solid #f0ece4;
}
.btn-outline:hover {
  background: oklch(1 0 0 / 0.08);
  color: #f0ece4;
}
/* On cream backgrounds */
.cream-section .btn-outline {
  color: var(--color-cream-text);
  border-color: var(--color-cream-text);
}
.cream-section .btn-outline:hover {
  background: oklch(0 0 0 / 0.05);
}

/* =============================================
   VALUE BAR — checkmark row below hero
   ============================================= */
.value-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-5);
}
.value-bar-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.value-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.value-bar-check {
  color: var(--color-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}
.section-tag {
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
  line-height: 1.1;
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 55ch;
  margin-inline: auto;
}
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--color-primary);
  margin: var(--space-4) auto;
}

/* Cream section (alternating) */
.cream-section {
  background: var(--color-cream);
  color: var(--color-cream-text);
}
.cream-section .section-tag { color: var(--color-primary); }
.cream-section .section-title { color: var(--color-cream-text); }
.cream-section .section-subtitle { color: var(--color-cream-muted); }
.cream-section .offer-card {
  background: oklch(from var(--color-cream) l c h / 0.7);
  border-color: oklch(from var(--color-cream-text) l c h / 0.1);
}
.cream-section .offer-card h3 { color: var(--color-cream-text); }
.cream-section .offer-card p { color: var(--color-cream-muted); }
.cream-section .offer-icon { color: var(--color-primary); }
.cream-section .form-note { color: var(--color-cream-muted); }

/* =============================================
   PERSONAL INTRO — headshot + bio
   ============================================= */
.intro-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 768px) {
  .intro-grid { grid-template-columns: 0.8fr 1.2fr; }
}
.intro-image {
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 400px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .intro-image { margin-inline: 0; }
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.cream-section .intro-content .btn-outline {
  color: var(--color-cream-text);
  border-color: var(--color-cream-text);
}
.cream-section .intro-content .btn-outline:hover {
  background: oklch(0 0 0 / 0.05);
}

/* =============================================
   LEAD MAGNETS — 3 OFFERS GRID
   ============================================= */
.offers-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
}
.offer-card {
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.offer-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.offer-icon {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.offer-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.offer-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  flex: 1;
  max-width: 36ch;
}

/* =============================================
   HOME VALUE FORM
   ============================================= */
.home-value-section {
  background: var(--color-cream);
  color: var(--color-cream-text);
}
.home-value-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 768px) {
  .home-value-grid { grid-template-columns: 1fr 1fr; }
}
.home-value-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.home-value-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-value-form-wrap {
  padding: var(--space-8);
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-divider);
}
.form-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.form-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.form-group { margin-bottom: var(--space-4); }
.form-group label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-1);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}
.form-group input::placeholder { color: var(--color-text-faint); }
.form-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr 1fr;
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
  text-align: center;
}
.form-success { display: none; text-align: center; padding: var(--space-8) var(--space-4); }
.form-success.show { display: block; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.form-success p { color: var(--color-text-muted); max-width: 40ch; margin-inline: auto; }

/* =============================================
   LISTINGS
   ============================================= */
.listings-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .listings-grid { grid-template-columns: repeat(3, 1fr); }
}
.listing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive);
}
.listing-card:hover { box-shadow: var(--shadow-md); }
.listing-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.listing-card:hover .listing-img img { transform: scale(1.04); }
.listing-details { padding: var(--space-5); }
.listing-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}
.listing-address {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.listing-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.listing-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Cream listings */
.cream-section .listing-card {
  background: #fff;
  border-color: oklch(from var(--color-cream-text) l c h / 0.08);
}
.cream-section .listing-details { color: var(--color-cream-text); }
.cream-section .listing-address { color: var(--color-cream-text); }
.cream-section .listing-meta { color: var(--color-cream-muted); }
.cream-section .listing-price { color: var(--color-primary); }

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1.2fr; }
}
.about-image {
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.cream-section .about-content h2 { color: var(--color-cream-text); }
.about-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}
.cream-section .about-content p { color: var(--color-cream-muted); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}
.cream-section .about-stats {
  border-top-color: oklch(from var(--color-cream-text) l c h / 0.12);
}
.cream-section .stat-label { color: var(--color-cream-muted); }
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =============================================
   NEIGHBORHOOD / TESTIMONIAL BANNER
   ============================================= */
.banner-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.banner-bg {
  position: absolute;
  inset: 0;
}
.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.12 0.01 60 / 0.7);
}
.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: var(--space-12) var(--space-4);
}
.banner-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: #f0ece4;
  margin-bottom: var(--space-4);
}
.banner-content p {
  font-size: var(--text-base);
  color: #b0aca4;
  margin-bottom: var(--space-6);
  line-height: 1.7;
  max-width: 55ch;
  margin-inline: auto;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.contact-info p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}
.cream-section .contact-info p { color: var(--color-cream-muted); }
.cream-section .contact-detail-icon { color: var(--color-primary); }
.contact-detail {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-5);
}
.contact-detail-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.contact-detail-text strong {
  display: block;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.sothebys-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
}
.sothebys-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =============================================
   SOCIAL LINKS
   ============================================= */
.contact-social,
.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.contact-social a,
.footer-social a {
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}
.contact-social a:hover,
.footer-social a:hover {
  color: var(--color-primary);
}
.cream-section .contact-social a {
  color: var(--color-cream-muted);
}
.cream-section .contact-social a:hover {
  color: var(--color-primary);
}
.footer-social {
  margin-top: 0;
}

/* =============================================
   FOOTER — dark, multi-column
   ============================================= */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.footer-text {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-links { display: flex; gap: var(--space-4); }
.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}
.footer-links a:hover { color: var(--color-text-muted); }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0 0 0 / 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  position: relative;
  color: var(--color-text);
}
.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { color: var(--color-text); }

/* =============================================
   SCROLL REVEAL (CSS-only)
   ============================================= */
.fade-in { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}
@keyframes reveal-fade { to { opacity: 1; } }

/* =============================================
   SPA PAGES
   ============================================= */
.page { display: none; }
.page.active { display: block; }
