/* =============================================================
   ELEVATE REAL ESTATE / Global Stylesheet
   Brand: olive primary, navy structural, gold/beige warmth
   ============================================================= */

:root {
  /* Brand */
  --olive: #8c8f5a;
  --olive-dark: #6f7246;
  --olive-darker: #565838;
  --olive-tint: #f1f1e8;
  --olive-tint-2: #e8e9d8;

  --navy: #1b2a47;
  --navy-2: #2a3a5a;
  --navy-light: #4a5a78;

  --gold: #c9a961;
  --beige: #e8d9b5;
  --beige-soft: #f5efe0;
  --earth: #8b5e3c;

  /* Neutrals */
  --bg: #f8f7ee;
  --bg-alt: #f1f1e8;
  --bg-cream: #faf8f0;
  --white: #ffffff;

  --ink: #1a1a1a;
  --ink-2: #3d3d38;
  --muted: #6b6b6b;
  --muted-2: #9a9a92;
  --line: #e5e3d8;
  --line-soft: #efede3;

  --shadow-sm: 0 1px 2px rgba(30, 32, 20, 0.04);
  --shadow-md:
    0 4px 16px rgba(30, 32, 20, 0.06), 0 1px 3px rgba(30, 32, 20, 0.04);
  --shadow-lg:
    0 16px 48px rgba(30, 32, 20, 0.08), 0 4px 12px rgba(30, 32, 20, 0.04);
  --shadow-xl:
    0 32px 80px rgba(30, 32, 20, 0.12), 0 8px 24px rgba(30, 32, 20, 0.06);

  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;

  --max: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}

.serif {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* =============================================================
   NAVIGATION (shared)
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  background: rgba(248, 247, 238, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  color: var(--olive-darker);
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .brand-tagline { display: none; }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  padding: 6px 0;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.nav-label {
  /* Matches .brand-tagline ("Whole Living") for a paired feel with the CTA */
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  color: var(--olive-darker);
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}
.nav-cta-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;            /* tight pairing: label · squiggle · button */
  flex-shrink: 0;
}
.nav-squiggle {
  color: var(--olive);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.nav-links a:hover {
  color: var(--olive-dark);
}
.nav-links a.current {
  color: var(--olive-dark);
}
.nav-links a.current::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--olive);
}
.nav-cta {
  background: var(--olive-darker);
  color: var(--white) !important;
  padding: 11px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--olive);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .mobile-toggle {
    display: block;
  }
  .nav-cta-group {
    display: none;
  }
}

/* =============================================================
   GLOBAL TYPOGRAPHY HELPERS
   ============================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-dark);
  font-weight: 600;
}
.eyebrow.dark {
  color: var(--olive);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--olive);
}

.h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.h2 em {
  font-style: italic;
  color: var(--olive);
  font-weight: 300;
}
.h2.on-dark {
  color: var(--white);
}
.h2.on-dark em {
  color: var(--beige);
}

.h3 {
  font-family: "Fraunces", serif;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--olive-darker);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--olive);
}
.btn-olive {
  background: var(--olive-darker);
  color: var(--white);
}
.btn-olive:hover {
  background: var(--olive);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--olive-dark);
  border-color: var(--olive-tint-2);
}
.btn-ghost:hover {
  background: var(--olive-tint);
  border-color: var(--olive);
}
.btn-on-dark {
  background: var(--white);
  color: var(--olive-darker);
}
.btn-on-dark:hover {
  background: var(--beige);
}
.btn-large {
  padding: 17px 28px;
  font-size: 15px;
}
.btn .arrow {
  transition: transform 0.2s;
  display: inline-block;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* =============================================================
   SECTIONS
   ============================================================= */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 32px;
}
.section.tight {
  padding: 60px 32px;
}
.section.flush-top {
  padding-top: 0;
}
.section.flush-bottom {
  padding-bottom: 0;
}

.cta-band {
  background: linear-gradient(135deg, var(--olive-darker) 0%, #3d3e24 100%);
  color: var(--white);
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--beige) 0%, var(--gold) 100%);
}
.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* =============================================================
   SECTION BACKGROUND SYSTEM / 3-color alternating rhythm
   White / Tan / Dark Olive. Use `section.bg-section-*` to ensure
   higher specificity than any single-class rules in per-page <style>.
   ============================================================= */
section.bg-section-white { background: var(--white); }
section.bg-section-tan   { background: var(--bg); }
section.bg-section-olive {
  background: linear-gradient(135deg, var(--olive-darker) 0%, #3d3e24 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
section.bg-section-olive::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--beige) 0%, var(--gold) 100%);
  z-index: 2;
}
section.bg-section-olive > * { position: relative; z-index: 1; }

/* Text overrides inside olive sections */
section.bg-section-olive .eyebrow,
section.bg-section-olive .eyebrow.dark { color: var(--beige); }
section.bg-section-olive .h2,
section.bg-section-olive h2,
section.bg-section-olive h3 { color: var(--white); }
section.bg-section-olive .h2 em,
section.bg-section-olive h2 em { color: var(--beige); font-weight: 300; }
section.bg-section-olive p,
section.bg-section-olive .lede { color: rgba(255,255,255,0.85); }

/* Cards inside olive sections */
section.bg-section-olive .test-card,
section.bg-section-olive .sell-diff-card,
section.bg-section-olive .process-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
}
section.bg-section-olive .sell-diff-title,
section.bg-section-olive .process-title { color: var(--white); }
section.bg-section-olive .sell-diff-desc,
section.bg-section-olive .process-desc { color: rgba(255,255,255,0.82); }
section.bg-section-olive .sell-diff-icon { color: var(--beige); }
section.bg-section-olive .process-num { color: var(--beige); }
section.bg-section-olive .test-card:hover {
  background: rgba(255,255,255,0.10);
  box-shadow: none;
}
section.bg-section-olive .test-text { color: rgba(255,255,255,0.82); }
section.bg-section-olive .test-author-name { color: var(--white); }
section.bg-section-olive .test-author-role { color: var(--beige); }
section.bg-section-olive .test-quote-mark { color: rgba(232,217,181,0.35); }

/* Cards-on-white-section: slight off-white so they read against pure white */
section.bg-section-white .home-calc,
section.bg-section-white .team-card,
section.bg-section-white .faq-item,
section.bg-section-white .compare-card { background: var(--bg-cream); }

.section-head {
  margin-bottom: 64px;
  max-width: 64ch;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head .eyebrow {
  margin-bottom: 18px;
}
.section-head .h2 {
  margin-bottom: 18px;
}
.section-head .lede {
  max-width: 56ch;
}
.section-head.center .lede {
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================
   FOOTER (shared) / cream background, olive-accented
   ============================================================= */
.footer {
  background: var(--bg-cream);
  color: var(--ink-2);
  padding: 80px 32px 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive) 0%, var(--beige) 100%);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.footer-brand-block {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Center the footer logo over the tagline (scoped to footer; header .brand untouched) */
.footer-brand-block .brand { justify-content: center; }
.footer-contact { grid-column: 3; justify-self: end; }
@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-brand-block { grid-column: 1; }
  .footer-contact {
    grid-column: 1;
    justify-self: center;
    align-items: center;
  }
}
.footer-tagline {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 18px;
  margin-top: 18px;
  color: var(--ink-2);
  line-height: 1.4;
  font-weight: 300;
}
.footer-bottom {
  max-width: var(--max);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--olive-dark);
}
/* Build credit: own row under the copyright line (.footer-bottom is a
   space-between flex row, so flex-basis forces the wrap) */
.footer-credit {
  flex-basis: 100%;
  font-size: 11px;
  margin-top: 12px;
  color: var(--muted);
}
.footer-credit a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-credit a:hover {
  color: var(--olive-dark);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-contact a:hover { color: var(--olive-darker); }
.footer-contact-sep { display: none; }

/* =============================================================
   ANIMATION
   ============================================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.fade-up-1 {
  animation-delay: 0.05s;
}
.fade-up-2 {
  animation-delay: 0.15s;
}
.fade-up-3 {
  animation-delay: 0.25s;
}
.fade-up-4 {
  animation-delay: 0.35s;
}

@keyframes tick {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}
.value-tick {
  animation: tick 0.3s ease-out;
}

/* =============================================================
   PHOTO PLACEHOLDERS
   Gradient + stripe fallback for image slots. Remove the "photo"
   class from an element once a real <img> is placed inside it.
   ============================================================= */
.photo {
  background: linear-gradient(
    135deg,
    var(--olive-tint) 0%,
    var(--beige-soft) 100%
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-dark);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-lg);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 10px,
    rgba(140, 143, 90, 0.04) 10px,
    rgba(140, 143, 90, 0.04) 20px
  );
}
.photo span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  text-align: center;
}

/* =============================================================
   FORMS / INPUTS (shared with calc)
   ============================================================= */
.field {
  margin-bottom: 22px;
}
.field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.field-label label {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.field-label .hint {
  font-size: 12px;
  color: var(--muted-2);
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.input-wrap:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(140, 143, 90, 0.12);
}
.input-prefix,
.input-suffix {
  padding: 0 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  user-select: none;
}
.input-prefix {
  border-right: 1px solid var(--line-soft);
}
.input-suffix {
  border-left: 1px solid var(--line-soft);
}
.input-wrap input,
.input-wrap select {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 13px 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  width: 100%;
  -moz-appearance: textfield;
  appearance: textfield;
}
.input-wrap input::-webkit-outer-spin-button,
.input-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* =============================================================
   AGENT PROFILE PAGES
   ============================================================= */
.agent-hero { max-width: var(--max); margin: 0 auto; padding: 80px 32px 60px; }
.agent-hero-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  align-items: center;
}
@media (max-width: 820px) { .agent-hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.agent-hero-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
}
.agent-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-hero-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--olive-dark); font-weight: 600;
}
.agent-hero-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 64px); font-weight: 400;
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--ink); margin: 18px 0 14px;
}
.agent-hero-title {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--olive-dark); margin-bottom: 24px;
}
.agent-hero-intro {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4;
  color: var(--ink-2); margin: 0;
}

.agent-bio { max-width: 680px; margin: 0 auto; padding: 100px 32px; }
.agent-bio-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--olive-dark); font-weight: 600;
  margin-bottom: 14px; text-align: center;
}
.agent-bio-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.4vw, 36px); font-weight: 500;
  letter-spacing: -0.018em; color: var(--ink);
  text-align: center; margin: 0 0 48px;
}
.agent-bio-heading em { font-style: italic; color: var(--olive-dark); font-weight: 400; }
.agent-bio-body p {
  font-size: 17px; line-height: 1.7; color: var(--ink-2);
  margin: 0 0 20px;
}
.agent-bio-body p:last-child { margin-bottom: 0; }

.agent-contact { max-width: 560px; margin: 0 auto; padding: 80px 32px; text-align: center; }
.agent-contact-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--beige); margin-bottom: 14px;
}
.agent-contact-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.4vw, 36px); font-weight: 400;
  letter-spacing: -0.018em; color: var(--white);
  margin: 0 0 40px;
}
.agent-contact-heading em { font-style: italic; color: var(--beige); font-weight: 300; }
.agent-contact-row {
  display: flex; flex-direction: column; gap: 16px;
  margin: 0 auto; max-width: 420px;
}
.agent-contact-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg); padding: 18px 24px;
  text-decoration: none;
  display: flex; align-items: center; gap: 14px;
  justify-content: flex-start; text-align: left;
  color: var(--white);
  transition: background 0.15s, border-color 0.15s;
}
.agent-contact-item:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}
.agent-contact-icon { font-size: 18px; }
.agent-contact-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--beige); font-weight: 600;
  display: block; margin-bottom: 2px;
}
.agent-contact-value {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 500;
  color: var(--white); letter-spacing: -0.01em;
}

.agent-cta { max-width: 720px; margin: 0 auto; padding: 80px 32px; text-align: center; }
.agent-cta-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 400;
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 18px;
}
.agent-cta-heading em { font-style: italic; color: var(--olive-dark); font-weight: 300; }
.agent-cta-sub {
  font-size: 17px; line-height: 1.55; color: var(--ink-2);
  margin: 0 auto 32px; max-width: 52ch;
}
.agent-cta-back { margin-top: 28px; font-size: 13px; }
.agent-cta-back a { color: var(--olive-dark); text-decoration: none; font-weight: 500; }
.agent-cta-back a:hover { color: var(--olive-darker); text-decoration: underline; }
