/* Rebecca Entwisle · Realtor · RE/MAX Real Estate
   Palette: warm cream, deep sage, near-black ink
   Type: Playfair Display (display) + Inter (body), self-hosted */

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f6f3ec;
  --cream-2: #efeadf;
  --ink: #21251f;
  --ink-soft: #4a4f46;
  --sage: #3e5142;
  --sage-deep: #2c3a2f;
  --sage-mist: #e2e7db;
  --line: rgba(33, 37, 31, 0.16);
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.re-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.re-skip:focus { left: 0; }

.re-wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- top bar ---------- */

.re-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.re-top.is-scrolled { border-bottom-color: var(--line); }

.re-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.re-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.re-mark span { color: var(--sage); }

.re-nav { display: flex; align-items: center; gap: 1.6rem; }

.re-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.re-nav a:hover { color: var(--sage); }

.re-nav .re-nav-cta {
  color: var(--cream);
  background: var(--sage);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.re-nav .re-nav-cta:hover { background: var(--sage-deep); color: var(--cream); }

.re-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.re-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- hero ---------- */

.re-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.re-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}

.re-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(246, 243, 236, 0.94) 0%, rgba(246, 243, 236, 0.72) 30%, rgba(246, 243, 236, 0) 60%),
    linear-gradient(to top, rgba(246, 243, 236, 0.85) 0%, rgba(246, 243, 236, 0) 24%);
}

.re-hero-inner {
  position: relative;
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  padding-top: 6.5rem;
}

.re-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.1rem;
}

.re-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 12ch;
}

.re-hero-promise {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-top: 1.2rem;
}

.re-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  align-items: center;
}

.re-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.re-btn-solid { background: var(--sage); color: var(--cream); }
.re-btn-solid:hover { background: var(--sage-deep); }
.re-btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.re-btn-ghost:hover { background: var(--ink); color: var(--cream); }

.re-hero-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- shared section rhythm ---------- */

.re-block { padding-block: clamp(4.5rem, 10vw, 7.5rem); }

.re-h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.re-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- promise ---------- */

.re-promise { background: var(--cream); text-align: center; }

.re-promise blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.3;
  max-width: 22ch;
  margin-inline: auto;
}
.re-promise blockquote strong { font-style: italic; font-weight: 400; color: var(--sage); }

.re-promise p {
  max-width: 56ch;
  margin: 1.8rem auto 0;
  color: var(--ink-soft);
}

.re-rule {
  width: 56px;
  height: 2px;
  background: var(--sage);
  border: 0;
  margin: 0 auto 2rem;
}

/* ---------- split sections (photo + text) ---------- */

.re-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.re-split.re-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

.re-photo {
  border-radius: 2px;
  overflow: hidden;
}
.re-photo img { width: 100%; height: auto; }

.re-split .re-eyebrow { margin-bottom: 0.9rem; }
.re-split .re-h2 { margin-bottom: 1.2rem; }
.re-split p + p { margin-top: 1rem; }
.re-split p { color: var(--ink-soft); }
.re-split p strong { color: var(--ink); }

.re-creds {
  list-style: none;
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.re-creds li {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.45);
}

/* ---------- how she works ---------- */

.re-how { background: var(--sage-mist); }

.re-how-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.re-how-head .re-h2 { margin-top: 0.6rem; }

.re-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.re-steps { display: grid; gap: 0; }

.re-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}
.re-step:last-child { border-bottom: 1px solid var(--line); }

.re-step-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--sage);
  min-width: 2.6rem;
}

.re-step h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.re-step p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- proof ---------- */

.re-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.re-story {
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
}
.re-story:last-of-type { border-bottom: 1px solid var(--line); }
.re-story h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.re-story p { color: var(--ink-soft); }

.re-market {
  margin-top: 2rem;
  background: var(--sage);
  color: var(--cream);
  border-radius: 2px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.re-market h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.re-market-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.re-market-stats div strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
}
.re-market-stats div span { font-size: 0.86rem; opacity: 0.85; }
.re-market-src { font-size: 0.8rem; opacity: 0.75; }

/* ---------- areas ---------- */

.re-areas { background: var(--cream-2); }

.re-county-list {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
}
.re-county-list li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.re-county-list .re-county {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  min-width: 11rem;
}
.re-county-list .re-county-note { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- wide photo band ---------- */

.re-band img { width: 100%; height: clamp(280px, 55vw, 560px); object-fit: cover; object-position: 30% 20%; }

/* ---------- testimonials ---------- */

.re-kind-head { text-align: center; max-width: 44rem; margin-inline: auto; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.re-kind-head .re-h2 { margin: 0.6rem auto 1rem; }
.re-kind-head p { color: var(--ink-soft); }

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

.re-quote {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.re-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  flex: 1;
}
.re-quote figcaption {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---------- contact ---------- */

.re-contact { background: var(--sage-deep); color: var(--cream); }

.re-contact .re-eyebrow { color: #b9c7ae; }
.re-contact .re-h2 { color: var(--cream); }
.re-contact p { color: rgba(246, 243, 236, 0.82); }

.re-contact .re-photo img { width: 100%; }

.re-contact-list { list-style: none; margin-top: 2rem; display: grid; gap: 1.1rem; }
.re-contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1rem;
  border-top: 1px solid rgba(246, 243, 236, 0.2);
  padding-top: 1.1rem;
}
.re-contact-list .re-cl-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b9c7ae;
  min-width: 6.5rem;
}
.re-contact-list a { color: var(--cream); text-decoration: none; font-weight: 600; }
.re-contact-list a:hover { text-decoration: underline; }
.re-contact-list .re-cl-big { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }

.re-contact .re-cta-row { margin-top: 1.8rem; }
.re-contact .re-btn-solid { background: var(--cream); color: var(--sage-deep); }
.re-contact .re-btn-solid:hover { background: #fff; }
.re-contact .re-btn-ghost { border-color: rgba(246, 243, 236, 0.6); color: var(--cream); }
.re-contact .re-btn-ghost:hover { background: var(--cream); color: var(--sage-deep); }

/* ---------- footer ---------- */

.re-end { background: var(--ink); color: rgba(246, 243, 236, 0.72); font-size: 0.85rem; }
.re-end-inner { padding-block: 2.8rem; display: grid; gap: 1rem; }
.re-end strong { color: var(--cream); font-weight: 600; }
.re-end a { color: rgba(246, 243, 236, 0.85); }
.re-end-legal { line-height: 1.8; max-width: 72ch; }

/* ---------- 404 ---------- */

.re-lost {
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
}
.re-lost-inner { width: 100%; padding-block: 6rem; }
.re-lost h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}
.re-lost p { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 2rem; }

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .re-burger { display: block; }

  .re-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .re-nav.is-open { display: flex; }
  .re-nav a { padding: 0.8rem 0; font-size: 1.05rem; width: 100%; }
  .re-nav .re-nav-cta { text-align: center; margin-top: 0.6rem; padding: 0.85rem 1.1rem; }

  .re-top.is-open .re-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .re-top.is-open .re-burger span:nth-child(2) { opacity: 0; }
  .re-top.is-open .re-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .re-split, .re-split.re-flip, .re-how-grid, .re-proof-grid { grid-template-columns: 1fr; }
  .re-split .re-photo { order: -1; }
  .re-photo img { max-height: 72vh; object-fit: cover; object-position: 50% 15%; }
  .re-quotes { grid-template-columns: 1fr; }
  .re-market-stats { grid-template-columns: 1fr 1fr; }
  .re-county-list .re-county { min-width: 8.5rem; font-size: 1.1rem; }

  /* stacked hero: photo on top, text on cream below */
  .re-hero { min-height: 0; display: block; }
  .re-hero-img { position: relative; inset: auto; height: 58svh; object-position: 55% 20%; margin-top: 4.25rem; }
  .re-hero-veil { display: none; }
  .re-hero-inner { padding-top: 2.2rem; padding-bottom: 3rem; }
}

@media (max-width: 480px) {
  .re-market-stats { grid-template-columns: 1fr; }
  .re-cta-row .re-btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
