/* ===== Dream Home with Jess ===== */

:root {
  --cream: #F5F0E6;
  --cream-2: #EFE7D6;
  --brown: #3E3026;
  --brown-2: #2C2118;
  --brown-3: #574536;
  --white: #FCF8F0;
  --gold: #D4AF6E;
  --gold-2: #B8915A;

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Inter", system-ui, sans-serif;
  --script: "Dancing Script", "Playfair Display", cursive;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 9rem;

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ----- Typography utilities ----- */
.display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0;
}
.display em { font-style: italic; font-weight: 500; }
.display--md {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.02;
}
.display--cream { color: var(--white); }

.caps {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--brown-3);
  margin: 0 0 1.25rem 0;
  font-size: 0.7rem;
}
.eyebrow--gold { color: var(--gold); }

.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: var(--brown);
  margin: 1.25rem 0 0 0;
}
.lede em { font-style: italic; color: var(--brown-3); }
.lede--sub { color: var(--brown-3); font-size: clamp(1rem, 1.1vw, 1.1rem); }

.rule {
  width: 60px; height: 1px; background: var(--gold);
  margin: 1.75rem 0 0 0;
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--brown-3);
  margin-top: 2rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.05rem 1.85rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn--cream {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
}
.btn--cream:hover {
  background: var(--gold);
  color: var(--brown);
  border-color: var(--gold);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(252,248,240,0.5);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(252,248,240,0.08);
}
.btn--brown {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}
.btn--brown:hover { background: var(--brown-2); }
.btn--full { width: 100%; padding: 1.2rem 1.5rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  animation: kenBurns 22s ease-out forwards;
  transform-origin: center;
}
@keyframes kenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(44,33,24,0.55) 0%, rgba(44,33,24,0.25) 35%, rgba(44,33,24,0.75) 100%),
    linear-gradient(90deg, rgba(44,33,24,0.45) 0%, rgba(44,33,24,0) 60%);
}
.hero__nav, .hero__content, .hero__scroll {
  position: relative; z-index: 2;
}
.hero__nav {
  display: flex; justify-content: space-between; align-items: center;
}
.hero__brand img { height: 56px; width: auto; }
.hero__handle .caps {
  color: var(--white);
  border-bottom: 1px solid rgba(252,248,240,0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.hero__handle:hover .caps { border-color: var(--gold); }

.hero__content {
  max-width: 880px;
  margin-bottom: clamp(2rem, 6vh, 5rem);
}
.kicker {
  color: var(--gold);
  margin: 0 0 1.5rem 0;
}
.hero h1.display {
  font-size: clamp(3rem, 8.5vw, 7rem);
  line-height: 0.96;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--white);
  opacity: 0.95;
  margin: 0 0 2.5rem 0;
  max-width: 560px;
  line-height: 1.45;
}
.hero__ctas {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
}
.hero__scroll {
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--white); opacity: 0.7;
  font-size: 0.65rem;
}
.hero__scroll-line {
  width: 60px; height: 1px; background: var(--white); display: inline-block;
}

/* =========================================================
   MEET JESS
   ========================================================= */
.meet {
  background: var(--cream);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.meet__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.meet__photo {
  position: relative;
}
.meet__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 30%;
}
.meet__photo-tag {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  background: var(--white);
  color: var(--brown);
  padding: 0.55rem 0.95rem;
  font-size: 0.6rem;
}
.meet__text { padding-right: clamp(0, 2vw, 1.5rem); }
.meet__text .display em { color: var(--brown-3); }

/* Stats */
.stats {
  max-width: var(--maxw);
  margin: clamp(4rem, 8vw, 6rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(62,48,38,0.18);
  border-bottom: 1px solid rgba(62,48,38,0.18);
}
.stat {
  padding: 2.5rem 1.25rem;
  border-right: 1px solid rgba(62,48,38,0.12);
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1;
  color: var(--brown);
  letter-spacing: -0.02em;
}
.stat__pct {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
  font-size: 0.7em;
}
.stat__lbl {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.62rem;
  color: var(--brown-3);
}

/* =========================================================
   PRAISE / TESTIMONIALS
   ========================================================= */
.praise {
  background: var(--cream);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  border-top: 1px solid rgba(62,48,38,0.08);
}
.praise__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(3rem, 5vw, 4rem);
  text-align: center;
}
.praise__head em { color: var(--brown-3); }
.praise__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.quote {
  margin: 0;
  padding: 2.5rem 1.5rem 0;
  position: relative;
  border-top: 1px solid rgba(62,48,38,0.15);
}
.quote__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: 5rem;
  line-height: 0.6;
  position: absolute;
  top: 0.8rem; left: 1.4rem;
}
.quote blockquote {
  margin: 0 0 1.5rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.02rem, 1.1vw, 1.15rem);
  line-height: 1.55;
  color: var(--brown);
}
.quote figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brown-3);
  letter-spacing: 0.02em;
}

/* =========================================================
   SERVICES (dark)
   ========================================================= */
.services {
  background: var(--brown);
  color: var(--white);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.services__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}
.services__head em { color: var(--gold); }
.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(252,248,240,0.15);
}
.service {
  background: var(--brown);
  padding: clamp(2rem, 4vw, 3.25rem);
}
.service__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1.5rem;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 0 0 0.9rem 0;
  letter-spacing: -0.01em;
  color: var(--white);
}
.service p {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: rgba(252,248,240,0.78);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 38ch;
}

/* =========================================================
   AREAS
   ========================================================= */
.areas {
  background: var(--cream);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.areas__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.areas__head em { color: var(--brown-3); }
.areas__list {
  list-style: none;
  padding: 0;
  margin: clamp(2.5rem, 5vw, 4rem) auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  max-width: 900px;
}
.areas__list li {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--brown);
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(62,48,38,0.18);
  border-radius: 999px;
  transition: all 0.3s;
}
.areas__list li:hover {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}
.areas__pull {
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  max-width: 760px;
}
.areas__pull blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
  color: var(--brown);
  position: relative;
  padding-top: 2rem;
}
.areas__pull blockquote::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 1px;
  background: var(--gold);
}

/* =========================================================
   CTA SECTIONS
   ========================================================= */
.cta {
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.cta--dark { background: var(--brown); color: var(--white); }
.cta--cream { background: var(--cream-2); color: var(--brown); }

.cta__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.cta__inner--reverse { grid-template-columns: 0.95fr 1.05fr; }

.cta__copy { max-width: 520px; }
.cta__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  margin: 1.5rem 0 1rem 0;
  color: inherit;
  opacity: 0.9;
}
.cta__detail {
  font-size: 0.62rem;
  margin-top: 1.5rem;
  opacity: 0.7;
}
.cta--cream .cta__detail { opacity: 0.55; }

.cta__photo {
  margin-top: 2.5rem;
  position: relative;
  max-width: 360px;
}
.cta__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 25%;
}

/* ----- Forms ----- */
.form {
  display: grid;
  gap: 1rem;
}
.field {
  display: block;
}
.field .caps {
  display: block;
  font-size: 0.6rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  opacity: 0.7;
}
.form--light .field .caps {
  color: var(--brown);
  opacity: 0.7;
}
.field input,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  background: rgba(252,248,240,0.06);
  color: var(--white);
  border: 1px solid rgba(252,248,240,0.25);
  border-radius: 0;
  transition: all 0.25s;
  appearance: none;
}
.form--light .field input,
.form--light .field select {
  background: var(--white);
  color: var(--brown);
  border-color: rgba(62,48,38,0.2);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(252,248,240,0.12);
}
.form--light .field input:focus,
.form--light .field select:focus {
  background: var(--white);
  border-color: var(--gold-2);
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23D4AF6E' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
.form__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  margin: 0.5rem 0 0 0;
  opacity: 0.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  background: var(--brown-2);
  color: var(--white);
  padding: clamp(5rem, 10vw, 8rem) var(--gutter) 2.5rem;
}
.foot__sig {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.foot__hand {
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 7rem);
  color: var(--gold);
  line-height: 1;
  margin: 0;
}
.foot__sigsub {
  color: var(--white);
  opacity: 0.55;
  margin-top: 1rem;
  font-size: 0.7rem;
}

.foot__contact {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(252,248,240,0.12);
  border-bottom: 1px solid rgba(252,248,240,0.12);
}
.foot__link {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: color 0.25s;
}
.foot__link:hover .foot__big { color: var(--gold); }
.foot__link .caps {
  font-size: 0.6rem;
  opacity: 0.55;
}
.foot__big {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  color: var(--white);
  transition: color 0.25s;
  word-break: break-word;
}
.foot__big--sm { font-size: clamp(0.95rem, 1.3vw, 1.2rem); }

.foot__bottom {
  max-width: var(--maxw);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
.foot__logo { height: 40px; width: auto; opacity: 0.9; }
.foot__logo--real { height: 26px; }
.foot__disclaimer {
  text-align: center;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: rgba(252,248,240,0.5);
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__bg img { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .meet__inner,
  .cta__inner,
  .cta__inner--reverse {
    grid-template-columns: 1fr;
  }
  .praise__grid { grid-template-columns: 1fr; gap: 0; }
  .quote { padding: 2rem 0 1.5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid rgba(62,48,38,0.12); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(62,48,38,0.12); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .meet__text { padding-right: 0; }
  .foot__contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .foot__bottom { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; justify-items: center; }
}

@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }
  .hero { padding-top: 1.25rem; }
  .hero__brand img { height: 44px; }
  .hero__handle .caps { font-size: 0.6rem; letter-spacing: 0.22em; }
  .hero h1.display { font-size: clamp(2.75rem, 11vw, 4rem); }
  .hero__sub { font-size: 1.1rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.75rem 1rem; text-align: center; }
  .stat__lbl { letter-spacing: 0.22em; }
  .areas__list li { font-size: 1rem; padding: 0.4rem 1rem; }
  .areas__pull blockquote { font-size: 1.2rem; }
  .quote blockquote { font-size: 1rem; }
  .foot__bottom { gap: 2rem; }
  .meet__photo-tag { font-size: 0.55rem; letter-spacing: 0.22em; }
}

/* ============ IDX PROPERTY SEARCH ============ */
.search {
  background: var(--cream, #F5F0E6);
  padding: clamp(5rem, 9vw, 9rem) var(--gutter) clamp(3rem, 6vw, 6rem);
}
.search__inner {
  max-width: 1200px;
  margin: 0 auto 3rem;
  text-align: center;
}
.search__inner .eyebrow { color: var(--brown, #3E3026); margin-bottom: 1.25rem; }
.search__sub {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  color: var(--brown, #3E3026);
  max-width: 640px;
  margin: 1.5rem auto 0;
  line-height: 1.55;
  opacity: 0.85;
}
.search__frame {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(62, 48, 38, 0.12);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(62, 48, 38, 0.25);
  position: relative;
}
.search__frame iframe {
  width: 100%;
  height: 760px;
  display: block;
  border: 0;
  background: #fff;
}
.search__foot {
  max-width: 1280px;
  margin: 2rem auto 0;
  text-align: center;
}
.search__foot .small {
  color: var(--brown, #3E3026);
  opacity: 0.55;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}
@media (max-width: 960px) {
  .search__frame iframe { height: 640px; }
}
@media (max-width: 640px) {
  .search__frame iframe { height: 560px; }
  .search { padding: 4rem var(--gutter) 3rem; }
}
