/* ==========================================================================
   Hannah Hayworth · Oakwyn Realty — Shared Stylesheet
   Editorial / Luxury Presence-style real estate site
   Neutral palette (swap --accent + --ink when branding arrives)
   ========================================================================== */

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

:root {
  /* Palette — terracotta / clay / cream (character-home warm) */
  --bg: #f6efe2;          /* soft cream */
  --bg-alt: #eadfc9;      /* warmer sand */
  --surface: #fbf7ec;     /* off-white with warmth */
  --ink: #2a1c14;         /* warm dark brown */
  --ink-2: #4a3629;
  --muted: #7a6a5b;
  --line: #d0be9e;        /* warm sand */
  --line-soft: #e5d9c0;
  --accent: #b8593e;      /* terracotta */
  --accent-soft: #d68e7a; /* soft clay pink */
  --hero-overlay: rgba(42, 28, 20, 0.62);

  /* Typography — Fraunces (variable serif with warmth & character) */
  --serif: "Fraunces", "Playfair Display", Garamond, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 920px;
  --radius: 0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 14px 32px rgba(0,0,0,0.10);
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

button { font: inherit; cursor: pointer; }

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { margin-bottom: 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 62ch;
}

/* Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 28px;
}

section { padding-block: clamp(72px, 9vw, 120px); }

.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--ink);
  color: #d8d2c5;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 { color: #ffffff; }

.section-dark .eyebrow { color: var(--accent-soft); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .lede { margin-inline: auto; }

.section-tight { padding-block: clamp(48px, 6vw, 80px); }

/* Decorative thin rule */
.rule {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--accent);
  margin: 24px auto 32px;
  opacity: 0.7;
}

/* Header / Navigation
   ========================================================================== */
.site-header {
  background: rgba(246, 239, 226, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 60;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 18px;
  gap: 24px;
}

.nav-left { justify-self: start; }
.nav-center { justify-self: center; }
.nav-right {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  line-height: 1.2;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--serif);
  color: var(--ink);
  text-align: center;
}

.brand-name {
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.brand-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

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

.nav-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: 6px;
  position: relative;
}

.nav-links a:hover { color: var(--accent); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}

.nav-phone {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms;
}
.nav-phone:hover { color: var(--accent); }

.nav-email {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  font-weight: 400;
  text-decoration: none;
  transition: color 180ms;
}
.nav-email:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--ink);
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  transition: all var(--transition);
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #ffffff;
}

.btn-light {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-light:hover {
  background: #ffffff;
  color: var(--ink);
}

.link-arrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  display: inline-block;
}

.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    linear-gradient(135deg, #3d2a1f 0%, #2a1c14 100%);
  padding-block: 120px 96px;
  overflow: hidden;
}

/* Video backdrop — fills the hero, sits behind everything */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Subtle Ken Burns idle animation while video loads (in case of missing file) */
  animation: hero-idle 12s ease-in-out infinite alternate;
}

@keyframes hero-idle {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

/* Darkening overlay on top of video so any future text stays legible */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,10,4,0.15) 0%, rgba(20,10,4,0.45) 60%, rgba(20,10,4,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

/* Placeholder note shown when there's no video file yet */
.hero-placeholder-note {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: 0.04em;
  pointer-events: none;
  text-align: center;
  padding: 24px;
}

/* Respect users who prefer less motion — pause the video */
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }
}

.hero-portrait {
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #5c4030, #3d2a1f);
  border: 1px solid rgba(255,255,255,0.25);
  margin-inline: auto;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-name {
  display: block;
}

.hero-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}

.hero-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all var(--transition);
}

.hero-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Socials strip above the "Meet Hannah" intro
   ========================================================================== */
.intro-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.intro-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink-3, rgba(42,28,20,0.25));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2, #5a463b);
  transition: all var(--transition);
}

.intro-socials a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.intro-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Page header (smaller hero for inner pages)
   ========================================================================== */
.page-header {
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    linear-gradient(135deg, #3d2a1f 0%, #2a1c14 100%);
  color: #ffffff;
  padding-block: clamp(100px, 12vw, 160px);
  text-align: center;
}

.page-header h1 {
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 16px;
}

.page-header .lede {
  color: rgba(255,255,255,0.85);
  margin-inline: auto;
}

/* Page header with photo backdrop (About / Portfolio / Moving pages) — matches
   the visual language of the home page hero-video treatment. */
.page-header.has-image {
  position: relative;
  overflow: hidden;
  background: #2a1c14; /* fallback while image loads */
  padding-block: clamp(120px, 16vw, 200px);
}
.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,10,4,0.35) 0%, rgba(20,10,4,0.55) 60%, rgba(20,10,4,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-header.has-image .container {
  position: relative;
  z-index: 2;
}

/* Split section (Selling / Buying)
   ========================================================================== */
.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-cta > div {
  padding: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 64px);
  text-align: center;
}

.split-cta .split-a { background: var(--bg-alt); }
.split-cta .split-b { background: var(--ink); color: #d8d2c5; }
.split-cta .split-b h2 { color: #ffffff; }
.split-cta .split-b .eyebrow { color: var(--accent-soft); }

.split-cta h2 { margin-bottom: 10px; }
.split-cta h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  color: inherit;
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.split-cta .btn-light:hover { color: var(--ink); }

/* Feature row (image / text)
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 112px); }

.feature-row.reverse .feature-media { order: 2; }

.feature-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(140deg, #d9c1a5 0%, #b89678 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.feature-media.wide { aspect-ratio: 16/10; }

.feature-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.4);
  pointer-events: none;
  z-index: 2;
}

.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  z-index: 1;
}

.feature-text h2 { margin-bottom: 20px; }
.feature-text p { color: var(--ink-2); }

/* Carousel (Notable Sales / Testimonials) — using horizontal scroll
   ========================================================================== */
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  margin-bottom: 24px;
  scrollbar-color: var(--accent) var(--line-soft);
}

.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: var(--line-soft); }
.carousel::-webkit-scrollbar-thumb { background: var(--accent); }

.listing-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.listing-card .media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, #d9c1a5, #a67e5b);
  position: relative;
}

.listing-card .media .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.listing-card .body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.listing-card .price {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 500;
}

.listing-card .addr {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.4;
}

.listing-card .meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.listing-card .view {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}

.testimonial-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card .quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-2);
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  /* Truncate to 7 lines on the home-page carousel; testimonials page shows full */
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.2s;
}

.testimonial-card.is-expanded .quote {
  -webkit-line-clamp: unset;
  display: block;
}

/* Testimonials page — always show full text (no truncation) */
.testimonials-full .testimonial-card .quote {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

.testimonial-card .read-more {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0 0;
  margin-top: -4px;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms;
}
.testimonial-card .read-more:hover {
  border-bottom-color: var(--accent);
}
.testimonial-card .read-more[hidden] {
  display: none;
}

.testimonial-card .cite {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.carousel-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-actions button {
  background: none;
  border: 1px solid var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ink);
  transition: all var(--transition);
}

.carousel-actions button:hover {
  background: var(--ink);
  color: #ffffff;
}

/* Pull quote
   ========================================================================== */
.pull-quote {
  background: var(--ink);
  color: #ffffff;
  text-align: center;
}

.pull-quote .container { max-width: 880px; }

.pull-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
}

.pull-quote .attr {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-top: 28px;
  display: block;
}

/* Values list (numbered)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 56px;
}

.value-item {
  position: relative;
  padding-left: 64px;
}

.value-num {
  position: absolute;
  left: 0;
  top: -8px;
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}

.value-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.value-item p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}

/* Two-tile CTA (Browse Homes / Home Valuation)
   ========================================================================== */
.tile-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.tile-cta a {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #3d2a1f, #5c4030);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition: all var(--transition);
}

.tile-cta a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,0.5);
  transition: background var(--transition);
}

.tile-cta a:hover::before { background: rgba(20,20,20,0.25); }

.tile-cta a span {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Neighborhoods grid
   ========================================================================== */
.neighborhoods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hood-card {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, #d9c1a5, #8b5f42);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  overflow: hidden;
  color: #ffffff;
  /* button reset so it looks like the old anchor tile */
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  width: 100%;
}

.hood-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.05));
  z-index: 1;
}

.hood-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 500ms ease;
}
.hood-card:hover .hood-card-bg {
  transform: scale(1.06);
}

.hood-card .label {
  position: relative;
  z-index: 1;
}

.hood-card h3 {
  color: #ffffff;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.hood-card small {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Form
   ========================================================================== */
.form {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field { display: flex; flex-direction: column; }

.field label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.consent {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

.consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

/* Info list (Contact)
   ========================================================================== */
.info-list {
  display: grid;
  gap: 32px;
}

.info-list dt {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}

.info-list dd {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.4;
}

.info-list dd small {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Newsletter strip
   ========================================================================== */
.newsletter {
  background: var(--bg-alt);
  text-align: center;
}

.newsletter form {
  display: flex;
  max-width: 520px;
  margin: 24px auto 0;
  gap: 0;
}

.newsletter input {
  flex: 1;
  border: 1px solid var(--ink);
  border-right: none;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--surface);
}

.newsletter button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.newsletter button:hover { background: var(--accent); border-color: var(--accent); }

/* Process steps (Buyers/Sellers)
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process-step {
  counter-increment: step;
  position: relative;
  padding-top: 56px;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
}

.process-step h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #b5ad9d;
  padding-block: 80px 32px;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-grid h4 {
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: #b5ad9d; }
.footer-grid a:hover { color: var(--accent-soft); }

.footer-brand .brand-name { color: #ffffff; font-size: 1.6rem; }
.footer-brand .brand-sub { color: var(--accent-soft); }

.footer-brand p {
  color: #8a8273;
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 30ch;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #5a5247;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #b5ad9d;
  letter-spacing: 0.05em;
}

.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.footer-socials a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

/* Testimonial star rating (used above each quote) */
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--accent);
  line-height: 0;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.footer-brokerage {
  text-align: right;
}

.footer-brokerage .oakwyn {
  display: inline-block;
  border: 1px solid #5a5247;
  padding: 14px 22px;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-brokerage p {
  color: #8a8273;
  font-size: 0.78rem;
  margin-top: 12px;
  max-width: 32ch;
  margin-left: auto;
}

.footer-bottom {
  border-top: 1px solid #3a342b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #8a8273;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto auto;
  }
  .nav-center { grid-column: 1; justify-self: start; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-top: 1px solid var(--line-soft);
    padding: 20px 28px;
    gap: 0;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding-block: 14px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-toggle { display: inline-flex; }
  .nav-phone, .nav-email { display: none; }

  .split-cta { grid-template-columns: 1fr; }
  .tile-cta { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-media { order: 0; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .neighborhoods { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brokerage { text-align: left; }
  .footer-brokerage p { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
  .neighborhoods { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .newsletter input { border-right: 1px solid var(--ink); border-bottom: none; }
}

/* Listing card / portfolio card photos — fill the media box */
.listing-card .media img,
.portfolio-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Sharpen aggressively upscaled thumbnails a touch */
  image-rendering: -webkit-optimize-contrast;
}


/* ========================================================================
   Contact widget — floating chat-style button + popup form
   ======================================================================== */
.cw-wrap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  font-family: var(--sans);
}

.cw-button {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(184, 89, 62, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms cubic-bezier(0.34, 1.35, 0.55, 1), box-shadow 200ms;
  z-index: 2;
}
.cw-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(184, 89, 62, 0.48);
}
.cw-button:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

.cw-button .cw-icon-chat,
.cw-button .cw-icon-close {
  transition: opacity 180ms, transform 220ms;
}
.cw-button .cw-icon-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-45deg) scale(0.8);
}
.cw-button-open .cw-icon-chat {
  opacity: 0;
  transform: rotate(45deg) scale(0.8);
}
.cw-button-open .cw-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.cw-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(20, 10, 4, 0.28), 0 4px 12px rgba(20, 10, 4, 0.08);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 200ms ease, transform 260ms cubic-bezier(0.34, 1.25, 0.55, 1);
  overflow: hidden;
}
.cw-panel-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cw-header {
  background: var(--ink);
  color: #ffffff;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.cw-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.cw-subtitle {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cw-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms, background 180ms;
}
.cw-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.cw-form {
  padding: 20px 22px 18px;
}
.cw-field {
  display: block;
  margin-bottom: 14px;
}
.cw-field span {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 5px;
  font-weight: 500;
}
.cw-field span em {
  font-style: normal;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  font-weight: 400;
  text-transform: none;
  margin-left: 4px;
}
.cw-field input,
.cw-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(42, 28, 20, 0.15);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  background: #ffffff;
  transition: border-color 150ms, background 150ms;
  box-sizing: border-box;
}
.cw-field input:hover,
.cw-field textarea:hover {
  border-color: rgba(42, 28, 20, 0.3);
}
.cw-field input:focus,
.cw-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
}
.cw-field textarea {
  resize: vertical;
  min-height: 74px;
  font-family: var(--sans);
  line-height: 1.5;
}

.cw-submit {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  border: none;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  margin-top: 6px;
  transition: background 200ms;
}
.cw-submit:hover {
  background: var(--ink);
}

.cw-note {
  margin-top: 14px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--ink-2);
}
.cw-note a {
  color: var(--accent);
  border-bottom: 1px solid rgba(184, 89, 62, 0.3);
  transition: border-color 180ms;
}
.cw-note a:hover {
  border-bottom-color: var(--accent);
}

.cw-success {
  padding: 44px 22px 34px;
  text-align: center;
}
.cw-check {
  width: 58px;
  height: 58px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cw-success h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 8px;
  font-size: 1.3rem;
}
.cw-success p {
  color: var(--ink-2);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .cw-wrap {
    right: 16px;
    bottom: 16px;
  }
  .cw-button {
    width: 56px;
    height: 56px;
  }
  .cw-panel {
    width: calc(100vw - 32px);
    right: 0;
  }
}

/* ========================================================================
   Neighbourhood detail modal
   ======================================================================== */
.hood-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--sans);
}
.hood-modal.is-open {
  display: flex;
}
.hood-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 4, 0.72);
  backdrop-filter: blur(4px);
}
.hood-modal-panel {
  position: relative;
  background: #ffffff;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(20, 10, 4, 0.5);
  display: flex;
  flex-direction: column;
  animation: hood-modal-in 260ms cubic-bezier(0.34, 1.25, 0.55, 1);
}
@keyframes hood-modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hood-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms, transform 180ms;
}
.hood-modal-close:hover {
  background: #ffffff;
  transform: scale(1.05);
}
.hood-modal-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg, #d9c1a5, #8b5f42);
}
.hood-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hood-modal-body {
  padding: 32px 36px 40px;
}
.hood-modal-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.hood-modal-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.15;
}
.hood-modal-desc {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 560px) {
  .hood-modal-body { padding: 24px 22px 30px; }
  .hood-modal-heading { font-size: 1.6rem; }
  .hood-modal-desc { font-size: 0.98rem; }
}
