/* ============================================
   Jessica Newman Real Estate — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color */
  --cream:        #efe8dd;
  --cream-soft:   #e6ddd0;
  --cream-line:   #cdbfa5;
  --charcoal:     #121212;
  --charcoal-soft:#171717;
  --charcoal-line:#2a2a2a;
  --bronze:       #8b6a42;
  --bronze-deep:  #6b4f30;
  --bronze-light: #b08f5f;
  --text-dark:    #201d18;
  --text-dark-mute: #675f54;
  --text-light:   #f5f3ef;
  --text-light-mute: #c8c3bc;

  /* Type */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Radii / shadow */
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-card: 0 20px 50px -20px rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--bronze);
  display: block;
  margin-bottom: 0.5rem;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-dark { background: var(--charcoal); color: var(--cream); }
.btn-dark:hover { background: var(--bronze-deep); }
.btn-light { background: var(--cream); color: var(--charcoal); }
.btn-light:hover { background: var(--bronze-light); }
.btn-outline { background: transparent; border-color: var(--text-light-mute); color: var(--text-light); }
.btn-outline:hover { border-color: var(--bronze-light); color: var(--bronze-light); }
.btn-outline-dark { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline-dark:hover { border-color: var(--bronze-deep); color: var(--bronze-deep); }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Roofline divider — echoes the JN monogram's house shape */
.roofline {
  width: 56px;
  height: 28px;
  margin: 0 0 24px;
}
.roofline svg { width: 100%; height: 100%; display: block; }
.roofline.center { margin-left: auto; margin-right: auto; }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 22, 19, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--charcoal-line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text { font-family: var(--font-display); color: var(--text-light); line-height: 1.1; }
.nav-logo-text .l1 { display: block; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; }
.nav-logo-text .l2 { display: block; font-size: 0.6rem; letter-spacing: 0.15em; color: var(--bronze-light); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bronze-light); }
.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--cream); display: block; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
}
.mobile-nav a.btn-light { color: var(--charcoal); }
.mobile-nav a.btn-light:hover { color: var(--charcoal); }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  min-height: 88vh;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--text-dark);
}
.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  font-weight: 600;
  margin: 20px 0 6px;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-copy p.desc {
  max-width: 40ch;
  color: var(--text-dark-mute);
  margin-bottom: 28px;
}
.hero-visual {
  position: relative;
  background: linear-gradient(155deg, #4a3a28 0%, #1a1613 60%);
  overflow: hidden;
}
.hero-visual .placeholder-note {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light-mute);
  font-size: 0.8rem;
  padding: 40px;
  border: 1px dashed var(--charcoal-line);
  margin: 16px;
}

/* ============ HOMEPAGE HERO (dedicated, image-overlay style — not shared with .hero) ============ */
.home-hero-scroll-wrapper {
  position: relative;
  height: 170vh;
}
.home-hero-sticky-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  background-image: url(../images/hero-desktop.jpg);
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.home-hero-sticky-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,8,7,0.85) 0%, rgba(10,8,7,0.68) 38%, rgba(10,8,7,0.3) 60%, rgba(10,8,7,0.08) 80%);
}
.home-hero-copy {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  max-width: 540px;
  padding: 0 64px;
  color: var(--text-light);
}
.home-hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 18px;
}
.home-hero-copy h1 { color: var(--text-light); font-size: clamp(2rem, 3.4vw, 2.8rem); text-shadow: 0 2px 24px rgba(0,0,0,0.4); font-family: var(--font-display); font-weight: 500; line-height: 1.15; }
.home-hero-copy .accent-rule { width: 64px; height: 2px; background: var(--bronze); margin: 22px 0; border: none; }
.home-hero-copy .home-hero-sub { color: var(--cream); font-family: var(--font-body); font-weight: 400; font-size: 1.1rem; }
.home-hero-copy .desc { color: var(--text-light-mute); margin-top: 14px; max-width: 46ch; }
.home-hero-copy .btn-bronze { background: var(--bronze); color: #1a1310; border-color: var(--bronze); }
.home-hero-copy .btn-bronze:hover { background: var(--bronze-deep); }

/* ============ FEATURE STRIP ============ */
.feature-strip {
  background: var(--charcoal);
  padding: 64px 0;
  position: relative;
  z-index: 3;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  padding: 0 32px;
  border-left: 1px solid var(--charcoal-line);
  color: var(--text-light);
}
.feature-item:first-child { border-left: none; }
.feature-item svg { width: 32px; height: 32px; stroke: var(--bronze-light); margin-bottom: 16px; }
.feature-item h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.feature-item p { font-size: 0.9rem; color: var(--text-light-mute); }

/* ============ SPLIT SECTION ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-media {
  background: linear-gradient(160deg, #c9b896 0%, #ece2d1 100%);
  position: relative;
  min-height: 480px;
}
.split-copy {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.split-copy p { color: var(--text-dark-mute); margin-bottom: 16px; max-width: 46ch; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ============ WHY CHOOSE / 3-UP ============ */
.why-section { padding: 90px 0; background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-card {
  background: var(--charcoal);
  color: var(--text-light);
  padding: 40px 32px;
  border-radius: var(--radius-md);
}
.why-card .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bronze-light);
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.why-card p { color: var(--text-light-mute); font-size: 0.95rem; }

/* ============ CITY INTRO / COPY BLOCK ============ */
.copy-block { padding: 80px 0; }
.copy-block .intro { max-width: 720px; }
.copy-block h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }
.copy-block .lede { font-size: 1.1rem; color: var(--text-dark-mute); }

.neighboring {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-line);
  font-size: 0.95rem;
  color: var(--text-dark-mute);
}
.neighboring strong { color: var(--text-dark); }

/* ============ FAQ ACCORDION ============ */
.faq-section { padding: 80px 0; background: var(--cream-soft); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--cream-line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-q .icon { font-size: 1.3rem; color: var(--bronze); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding: 0 4px 24px; color: var(--text-dark-mute); max-width: 65ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(rgba(10,8,7,0.82), rgba(10,8,7,0.82)), url(../images/cta-shadow-texture.jpg);
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.cta-band p { color: var(--text-light-mute); margin-bottom: 32px; }

/* ============ FOOTER ============ */
.site-footer { background: linear-gradient(rgba(10,8,7,0.85), rgba(10,8,7,0.85)), url(../images/footer-texture.jpg); background-size: cover; background-position: center; color: var(--text-light); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--charcoal-line);
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bronze-light);
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col p, .footer-col a {
  display: block;
  color: var(--text-light-mute);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--bronze-light); }
.footer-logo img { height: 44px; margin-bottom: 16px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--text-light-mute); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--text-light-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--text-light-mute); }
.footer-bottom a:hover { color: var(--bronze-light); }

/* ============ MOBILE STICKY CALL BAR ============ */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--charcoal);
  border-top: 1px solid var(--charcoal-line);
}
.mobile-call-bar .row { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-call-bar a {
  text-align: center;
  padding: 16px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}
.mobile-call-bar a:first-child { border-right: 1px solid var(--charcoal-line); background: var(--bronze-deep); }

/* ============ FORM ============ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.contact-form-col { padding: 72px 64px; background: var(--cream); }
.contact-info-col { padding: 72px 64px; background: linear-gradient(rgba(10,8,7,0.88), rgba(10,8,7,0.88)), url(../images/contact-door-texture.jpg); background-size: cover; background-position: center; color: var(--text-light); }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-dark-mute);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--cream-line);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-status { margin-top: 16px; font-size: 0.9rem; }
.form-status.error { color: #a3402f; }
.form-status.success { color: #4a6b4a; }
.map-embed { margin-top: 32px; border: 1px solid var(--charcoal-line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.info-row { margin-bottom: 24px; }
.info-row .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bronze-light); margin-bottom: 6px; }
.info-row .value { font-family: var(--font-display); font-size: 1.15rem; }
.gbp-badge {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 20px;
  border: 1px solid var(--charcoal-line);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ============ COMMUNITIES / CITY GRID ============ */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.city-card {
  background: var(--charcoal);
  color: var(--text-light);
  padding: 32px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, background 0.2s ease;
}
.city-card:hover { background: var(--bronze-deep); transform: translateY(-4px); }
.city-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.city-card p { color: var(--text-light-mute); font-size: 0.85rem; }
.city-card:hover p { color: var(--cream); }

/* ============ THANK YOU ============ */
.ty-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--charcoal);
  color: var(--text-light);
  padding: 40px 24px;
}
.ty-hero h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 20px; }
.ty-hero p { color: var(--text-light-mute); max-width: 50ch; margin: 0 auto 32px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; order: -1; }
  .hero-copy { padding: 48px 24px; }
  .home-hero-scroll-wrapper {
    height: 170vh;
  }
  .home-hero-sticky-bg {
    position: sticky;
    top: 0;
    height: 100vh;
    background-image: url(../images/hero-mobile-v3.jpg);
    background-size: cover;
    background-position: center center;
  }
  .home-hero-sticky-bg::after {
    background: linear-gradient(to left, rgba(10,8,7,0.9) 0%, rgba(10,8,7,0.75) 35%, rgba(10,8,7,0.35) 62%, rgba(10,8,7,0.05) 85%);
  }
  .home-hero-copy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 38vh 20px 0;
  }
  .home-hero-copy > * { max-width: 78%; margin-right: 0; }
  .home-hero-copy h1 { text-align: right; }
  .home-hero-copy .home-hero-sub { text-align: right; }
  .home-hero-copy .desc { text-align: right; }
  .home-hero-copy .accent-rule { margin-left: auto; margin-top: 22px; }
  .home-hero-copy .hero-cta-row { justify-content: flex-end; margin-top: 0; }
  .home-hero-eyebrow { display: none; }
  .feature-strip { z-index: auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .feature-item { border-left: none; padding: 0 16px; }
  .split { grid-template-columns: 1fr; }
  .split-copy { padding: 48px 24px; }
  .split-media { min-height: 280px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form-col, .contact-info-col { padding: 48px 24px; }
  .city-grid { grid-template-columns: 1fr 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 54px; }
  .nav-cta.btn { display: none; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr; }
}
