/* ============================================================
   Yisel Leyva — Leyva & Co. Properties
   Shared stylesheet (mobile-first, no build step)

   Look: airy ivory + pale mist, pastel beige anchors, a muted gold accent.
   Type: Cormorant Garamond (display) + Jost (light geometric sans).
   Home is a centered, link-forward "bio" layout; inner pages are editorial.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --paper: #F8F6F0;
  --paper-deep: #EFEBE0;
  --mist: #E7EEEE;
  --mist-deep: #D3E0E0;
  --surface: #FFFFFF;
  --ink: #1C2624;
  --ink-soft: #414D49;
  --ink-faint: #56625D;

  /* Brand palette: Carbon #33363A · Gray #7D8287 · Light gray #E7E7E7 · Beige #DCC8B0 · Gold #D4AF37 · black · white */
  --carbon: #33363A;        /* text on beige, links, focus rings */
  --gray: #7D8287;          /* form-field borders */

  --beige: #DCC8B0;         /* the pastel anchor: primary buttons, CTA band, footer */
  --beige-deep: #CDB595;    /* hover */
  --beige-tint: #EEE4D8;    /* soft hover fills */

  --gold: #B4965A;          /* decoration only (lines, dots) */
  --gold-deep: #7A5B1B;     /* text-safe gold on ivory/white */
  --gold-on-beige: #654A12; /* text-safe gold on beige (gold-deep is only 3.9:1 there) */
  --gold-tint: #F0E8D3;

  --accent: var(--carbon);
  --accent-deep: var(--carbon);

  --line: #E1DCCD;
  --line-strong: #CBC4B0;
  --field-border: var(--gray);
  --danger: #9C3D2E;
  --danger-tint: #F6E7E3;
  --success: #2F5D3A;
  --success-tint: #E6EFE7;

  --on-dark: #F3F1EA;       /* text on carbon (dark buttons) */

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Jost", "Avenir Next", Avenir, "Century Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 72rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(28, 38, 36, 0.05), 0 4px 14px rgba(28, 38, 36, 0.05);
  --shadow-md: 0 2px 6px rgba(28, 38, 36, 0.06), 0 14px 34px rgba(28, 38, 36, 0.09);
  --header-h: 4.5rem;
}

/* ---------- Reset-ish base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a {
  color: var(--accent-deep);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--gold-deep); }

ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold-tint); color: var(--ink); }

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tint { background: var(--mist); }

.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow { margin-bottom: 0.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

h2 { font-size: clamp(2rem, 4.2vw, 2.85rem); }
h3 { font-size: 1.55rem; }

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
}

.grid { display: grid; gap: 1.5rem; }

@media (min-width: 40rem) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 60rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--beige);
  color: var(--carbon);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus { top: 0; color: var(--carbon); }

/* ---------- Placeholders (intentional, styled) ---------- */
.placeholder {
  font-style: italic;
  font-weight: inherit;
  letter-spacing: 0.01em;
}
.placeholder-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--beige); border-color: var(--beige); color: var(--carbon); }
.btn--primary:hover { background: var(--beige-deep); border-color: var(--beige-deep); color: var(--carbon); }

.btn--secondary { background: transparent; border-color: var(--carbon); color: var(--carbon); }
.btn--secondary:hover { background: var(--beige-tint); border-color: var(--carbon); color: var(--carbon); }

/* Solid button for the beige CTA band, where a beige .btn--primary would disappear */
.btn--dark { background: var(--carbon); border-color: var(--carbon); color: var(--on-dark); }
.btn--dark:hover { background: #000; border-color: #000; color: var(--on-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.97);
  border-bottom: 1px solid var(--line);
}
/* a touch wider than page content so the Spanish nav + toggle + CTA fit on one line */
.site-header .container { max-width: 76rem; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.6rem;
}

.wordmark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-mark {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: #000;
}
.wordmark-text { display: flex; flex-direction: column; }
@media (max-width: 22.5rem) { .wordmark-mark { display: none; } }
.wordmark-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
}
.wordmark-sub {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-deep);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--mist); }
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }

/* Mobile / tablet: collapsed only when JS is available */
@media (max-width: 63.99rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav li a {
    display: block;
    padding: 0.85rem 0.25rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .site-nav li a:hover { color: var(--gold-deep); }
  .site-nav .btn { width: 100%; }
}

@media (min-width: 64rem) {
  .site-nav { display: flex; align-items: center; gap: 1.5rem; }
  .site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
  }
  .site-nav li a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding-block: 0.4rem;
    border-bottom: 1.5px solid transparent;
  }
  .site-nav li a:hover { color: var(--ink); }
  .site-nav li a[aria-current="page"] {
    color: var(--ink);
    border-bottom-color: var(--gold);
  }
  .site-nav .btn { padding: 0.65rem 1.3rem; font-size: 0.92rem; white-space: nowrap; }
  .site-nav li a, .lang-switch a { white-space: nowrap; }
}
/* Mid-width desktops: keep the links + language toggle; the consultation CTA lives in the page itself */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .site-nav > .btn { display: none; }
  .site-nav ul { gap: 1.25rem; }
}

/* ---------- Language switch (EN | ES) ---------- */
.lang-switch {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}
.lang-switch a {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink-soft);
}
.lang-switch a:hover { background: var(--mist); color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--beige); color: var(--carbon); }
@media (max-width: 63.99rem) {
  .site-nav .lang-switch { margin: 0 0 0.9rem; }
  .lang-switch a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1.2rem; font-size: 0.8rem; }
}

/* ---------- Home: centered "bio" hero ---------- */
.bio-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(48rem 26rem at 50% -8%, var(--mist) 0%, transparent 70%),
    var(--paper);
}
.bio-inner { display: flex; flex-direction: column; align-items: center; }

.bio-cluster {
  position: relative;
  width: min(100%, 16.5rem);
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}
@media (min-width: 40rem) { .bio-cluster { width: 17.5rem; } }

.bio-blob {
  position: absolute;
  background: var(--mist-deep);
  opacity: 0.9;
}
/* Soft organic shapes that will hold property photography (see README) */
.bio-blob--1 { width: 26%; height: 24%; top: 2%;  left: 10%; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: var(--mist-deep); }
.bio-blob--2 { width: 20%; height: 20%; top: 0%;  left: 56%; border-radius: 50% 50% 44% 56% / 60% 45% 55% 40%; background: var(--gold-tint); }
.bio-blob--3 { width: 30%; height: 28%; top: 14%; right: 0;  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; background: var(--beige); }
.bio-blob--4 { width: 24%; height: 26%; bottom: 8%; left: 0;  border-radius: 60% 40% 45% 55% / 45% 55% 45% 55%; background: var(--gold-tint); }
.bio-blob--5 { width: 22%; height: 20%; bottom: 0; right: 12%; border-radius: 42% 58% 50% 50% / 55% 40% 60% 45%; background: var(--mist-deep); }
.bio-blob--6 { width: 12%; height: 12%; bottom: 20%; right: 2%; border-radius: 50%; background: var(--gold); opacity: 0.55; }

.bio-portrait {
  position: absolute;
  inset: 11%;
  margin: 0;
  border-radius: 50%;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-md);
  background: linear-gradient(155deg, #F4EEDD 0%, #E6DCC2 100%);
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
}
.bio-portrait svg { width: 32%; height: auto; opacity: 0.6; }
.bio-portrait figcaption {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.bio-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

.bio-hero h1 {
  font-size: clamp(3rem, 9vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.bio-title {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.bio-title span { display: block; }
.bio-title .bio-sep { display: none; }
@media (min-width: 40rem) {
  .bio-title span { display: inline; }
  .bio-title .bio-sep { display: inline; }
}
.bio-tagline { max-width: 34rem; margin: 0 auto 1.25rem; font-size: 1.1rem; }

.bio-contact {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
}
.bio-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.bio-contact a:hover { background: var(--beige); border-color: var(--beige-deep); color: var(--carbon); transform: translateY(-2px); }
.bio-contact svg { width: 1.3rem; height: 1.3rem; }

.link-stack {
  list-style: none;
  width: 100%;
  max-width: 46rem;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 40rem) { .link-stack { grid-template-columns: 1fr 1fr; gap: 1rem; } }

.link-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 4.25rem;
  padding: 0.5rem 1.1rem 0.5rem 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.link-pill:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gold); color: var(--ink); }
.link-thumb {
  flex: none;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-thumb svg { width: 1.45rem; height: 1.45rem; }
.link-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.link-title { font-size: 1.05rem; font-weight: 500; }
.link-sub { font-size: 0.82rem; color: var(--ink-faint); }
.link-arrow { flex: none; width: 1.1rem; height: 1.1rem; color: var(--ink-faint); transition: transform 160ms ease, color 160ms ease; }
.link-pill:hover .link-arrow { transform: translateX(3px); color: var(--gold-deep); }

.bio-note { margin: 1.5rem 0 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Inner-page hero (light, centered) ---------- */
.page-hero {
  background: var(--mist);
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); font-weight: 500; max-width: 46rem; margin-inline: auto; }
.page-hero .lede { max-width: 40rem; margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 0.9rem; }
.page-hero .btn-row { margin-top: 1.9rem; justify-content: center; }
.page-hero .lang-block { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line-strong); }
.page-hero .lang-block h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }

/* ---------- Photo placeholder component ---------- */
.photo-placeholder {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 14rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  color: var(--ink-soft);
}
.photo-placeholder svg { width: 3rem; height: 3rem; opacity: 0.65; }
.photo-placeholder figcaption {
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 22rem;
  color: var(--ink);
}
.photo-placeholder--a { background: linear-gradient(150deg, #F4EEDD 0%, #E8DDC3 55%, #DCCB9F 100%); }
.photo-placeholder--b { background: linear-gradient(150deg, #EDF3F3 0%, #D3E1E1 55%, #B5CDCD 100%); }
.photo-placeholder--c { background: linear-gradient(150deg, #F5F5F5 0%, #E7E7E7 55%, #CDCFD1 100%); }
.photo-placeholder--frame { box-shadow: var(--shadow-md); border: 6px solid var(--surface); }

/* Real photography: swap a .photo-placeholder for this once images are supplied */
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-deep); }
.photo--frame { box-shadow: var(--shadow-md); border: 6px solid var(--surface); }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo--portrait img { aspect-ratio: 4 / 5; }

/* ---------- Editorial split: photo flush beside a soft panel ---------- */
.editorial {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.editorial-media { position: relative; margin: 0; min-height: 22rem; background: var(--paper-deep); overflow: hidden; }
.editorial-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* The logo file has its own black background, so show it whole and let the panel match */
.editorial-media--logo { background: #000; }
.editorial-media--logo img { object-fit: contain; object-position: center; }
@media (min-width: 40rem) and (max-width: 55.99rem) { .editorial-media { min-height: 30rem; } }
.editorial-body { padding: clamp(2rem, 5vw, 3.75rem); background: #FBF9F3; }
.editorial-body h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 56rem) {
  .editorial { grid-template-columns: 0.85fr 1.15fr; }
  .editorial-media { min-height: 32rem; }
  .editorial-body { display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1.65rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); }
.card .card-link {
  margin-top: auto;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card .card-link:hover { color: var(--gold-deep); }
.card .card-link svg { width: 1rem; height: 1rem; transition: transform 160ms ease; }
.card .card-link:hover svg { transform: translateX(3px); }

.card-icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}
.card-icon svg { width: 1.45rem; height: 1.45rem; }

/* ---------- Steps (numbered) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1.55rem; }
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.75rem;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote-card svg { width: 1.6rem; height: 1.6rem; color: var(--gold); }
.quote-card p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink-soft);
  margin: 0;
}
.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-top: auto;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--beige); color: var(--carbon); }
.cta-band-inner {
  padding-block: clamp(3.25rem, 6vw, 4.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 52rem) {
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}
.cta-band h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 0.35rem; }
.cta-band p { margin: 0; max-width: 34rem; }
.cta-band .btn-row { flex-shrink: 0; }

/* ---------- IDX / search placeholder ---------- */
.idx-placeholder {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.idx-placeholder svg {
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 auto 1rem;
  color: var(--gold-deep);
}
.idx-placeholder h2, .idx-placeholder h3 { font-size: 2rem; }
.idx-placeholder p { color: var(--ink-soft); max-width: 34rem; margin-inline: auto; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 1.25rem; }
.form-legend { margin: 0 0 1.25rem; font-size: 0.85rem; color: var(--ink-faint); }
.form-legend .req { color: var(--danger); font-weight: 700; }
.form-fallback { margin-top: 0.4rem; font-size: 0.9rem; font-weight: 400; }
@media (min-width: 40rem) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em; }
.field .req { color: var(--danger); font-weight: 700; }
.field .hint { font-size: 0.85rem; color: var(--ink-faint); font-weight: 400; }

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--carbon);
  box-shadow: 0 0 0 3px var(--beige);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.field-error {
  font-size: 0.85rem;
  color: var(--danger);
  font-weight: 500;
}

.form-status {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.form-status--success { background: var(--success-tint); border: 1px solid #BCD4C1; color: var(--success); }
.form-status--error { background: var(--danger-tint); border: 1px solid #E4C0B7; color: var(--danger); }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 0.4rem; font-size: 0.9rem; font-weight: 400; }
.form-status a { color: inherit; font-weight: 600; }
[hidden] { display: none !important; }

/* ---------- Contact page layout ---------- */
.contact-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60rem) {
  .contact-layout { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
}

/* ---------- Contact info blocks ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list svg { width: 1.3rem; height: 1.3rem; color: var(--gold-deep); flex-shrink: 0; margin-top: 0.2rem; }
.info-list .info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.info-list a { font-weight: 500; }

/* ---------- Community cards ---------- */
.community-card { overflow: hidden; padding: 0; }
.community-card .photo-placeholder { border: 0; border-radius: 0; min-height: 11rem; }
.community-card .card-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; height: 100%; }
.community-card .card-body p { color: var(--ink-soft); }

/* ---------- Split (media + text) ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--flip > :first-child { order: 2; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--beige); color: var(--carbon); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; } }
.site-footer .wordmark-sub { color: var(--gold-on-beige); }
.site-footer .wordmark-mark { border-color: var(--gold-deep); }
.footer-blurb { margin-top: 1rem; font-size: 0.98rem; max-width: 26rem; }

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-on-beige);
  margin: 0 0 1rem;
}
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-nav a { color: var(--carbon); text-decoration: none; font-weight: 400; }
.footer-nav a:hover { color: #000; text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--gold-on-beige); font-weight: 500; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; font-size: 0.98rem; }
.footer-contact .placeholder { color: var(--gold-on-beige); }
.footer-contact a { color: var(--carbon); text-underline-offset: 0.18em; }
.footer-contact a:hover { color: #000; }

.footer-legal {
  border-top: 1px solid rgba(51, 54, 58, 0.2);
  padding-block: 1.75rem 2.25rem;
  font-size: 0.84rem;
  line-height: 1.6;
}
.footer-legal p { margin: 0 0 0.85rem; }
.footer-legal .placeholder { color: var(--gold-on-beige); }
.equal-housing {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.equal-housing svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .link-pill, .bio-contact a { transition: none; }
}

/* ---------- Small helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.note {
  font-size: 0.88rem;
  color: var(--ink-faint);
  border-left: 3px solid var(--gold);
  padding-left: 0.9rem;
}
