/* ============================================================
   Jason Aguirre Group — luxury editorial real estate
   Display: Cormorant Garamond   ·   UI/Body: Jost
   Palette: warm ivory · charcoal ink · antique gold
   All photography uses background-image over a solid fallback,
   so a missing image degrades to an elegant tone — never broken.
   ============================================================ */

:root {
  --paper:    #FBF8F2;
  --ivory:    #F4EFE5;
  --sand:     #EDE6D8;
  --ink:      #1A1714;
  --char:     #242019;
  --ink-soft: #565047;
  --stone:    #8B8175;
  --gold:     #A98A5C;
  --gold-deep:#8A6E43;
  --gold-soft:#C9B189;
  --line:     #E4DBCD;
  --line-dk:  rgba(244,239,229,.16);
  --white:    #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --nav-h: 76px;

  --shadow: 0 18px 50px rgba(26,23,20,.13);
  --shadow-sm: 0 8px 24px rgba(26,23,20,.08);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.06; letter-spacing: .005em; }
h1 { font-size: clamp(2.9rem, 6.5vw, 5.6rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
p { color: var(--ink-soft); }
em { font-style: italic; }
strong { color: var(--ink); font-weight: 500; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-soft); }
.script { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-deep); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.center { text-align: center; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); line-height: 1.75; }
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1.2rem; }
.rule { width: 54px; height: 1px; background: var(--gold); border: 0; margin: 1.4rem 0; }
.rule.center { margin-inline: auto; }
.bg-ivory { background: var(--ivory); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #D9D2C7; }

/* ---------- buttons (squared, tracked — editorial) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans); font-size: .76rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 1.05rem 2rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: transparent; color: var(--gold-deep); border-color: var(--gold); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-solid-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-solid-light:hover { background: transparent; color: #fff; }

.textlink {
  font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: .6rem; padding-bottom: .35rem;
  border-bottom: 1px solid var(--gold); transition: gap .25s ease, color .25s ease;
}
.textlink:hover { gap: .95rem; color: var(--gold-deep); }
.textlink svg { width: 15px; height: 15px; }

/* ============================================================
   NAV  (fixed; transparent over hero, solid when scrolled)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter);
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--sans); font-weight: 500; font-size: 1.02rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; transition: color .3s ease; }
.brand-sub { font-family: var(--sans); font-size: .56rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.66); margin-top: 3px; transition: color .3s ease; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.92); position: relative; padding: .4rem 0; transition: color .25s ease;
}
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold-soft); transition: width .28s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.nav-links a.tag { color: var(--gold-soft); letter-spacing: .12em; }

.nav-right { display: flex; align-items: center; gap: 1.6rem; }
.nav-phone { font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .08em; color: #fff; transition: color .25s ease; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }

/* scrolled / solid state */
.nav.scrolled { background: var(--paper); border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(26,23,20,.05); }
.nav.scrolled .brand-name, .nav.scrolled .nav-phone { color: var(--ink); }
.nav.scrolled .brand-sub { color: var(--stone); }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav.scrolled .nav-links a.tag { color: var(--gold-deep); }
.nav.scrolled .nav-toggle { color: var(--ink); }

/* ============================================================
   HERO  (full-bleed image, scrim, centered serif)
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background-color: #221E18;
  background-image: linear-gradient(180deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,.28) 38%, rgba(20,17,14,.72) 100%),
                    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
}
.hero-inner { max-width: 940px; margin-inline: auto; padding: calc(var(--nav-h) + 2rem) var(--gutter) 4rem; text-align: center; color: #fff; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--gold-soft); margin-bottom: 1.6rem; }
.hero h1 { color: #fff; max-width: 16ch; margin-inline: auto; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-sub { margin: 1.8rem auto 0; max-width: 50ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.9); font-weight: 300; }
.hero-actions { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.hero-scroll .line { width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.6), transparent); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(2.5rem,5vw,3.5rem) 1.5rem; text-align: center; border-right: 1px solid var(--line-dk); }
.stat:last-child { border-right: 0; }
.stat .figure { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.4rem); color: #fff; line-height: 1.1; }
.stat .figure .accent { color: var(--gold-soft); }
.stat .label { font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin-top: .8rem; }

/* ============================================================
   INTRO / ABOUT  (image + text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative; aspect-ratio: 4/5; background-color: var(--sand);
  background-size: cover; background-position: center; box-shadow: var(--shadow);
}
.split-media.tall { aspect-ratio: 3/4; }
.split-media .tag-float {
  position: absolute; bottom: 0; left: 0; background: var(--ink); color: var(--paper);
  padding: 1.3rem 1.6rem; max-width: 78%;
}
.split-media .tag-float .q { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.3; color: #fff; }
.split-media .tag-float .by { font-family: var(--sans); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin-top: .7rem; }
.split-text p + p { margin-top: 1.1rem; }
.split-text .btn, .split-text .textlink { margin-top: 2rem; }

/* ============================================================
   FEATURED LISTINGS
   ============================================================ */
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3.2rem; }
.listing { background: var(--paper); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.bg-ivory .listing, .bg-sand .listing { background: var(--white); }
.listing:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.listing-media { position: relative; aspect-ratio: 4/3; background-color: var(--sand); background-size: cover; background-position: center; overflow: hidden; }
.listing-badge {
  position: absolute; top: 1rem; left: 1rem; background: rgba(26,23,20,.86); color: #fff;
  font-family: var(--sans); font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding: .45rem .8rem;
}
.listing-badge.coming { background: var(--gold); }
.listing-badge.pending { background: #6E6157; }
.listing-body { padding: 1.5rem 1.5rem 1.7rem; }
.listing-price { font-family: var(--serif); font-weight: 600; font-size: 1.85rem; color: var(--ink); line-height: 1; }
.listing-meta { display: flex; gap: 1.1rem; margin: .9rem 0 1rem; font-family: var(--sans); font-size: .8rem; letter-spacing: .03em; color: var(--ink-soft); }
.listing-meta span { display: flex; align-items: center; gap: .35rem; }
.listing-meta b { color: var(--ink); font-weight: 500; }
.listing-addr { font-family: var(--sans); font-size: .85rem; color: var(--stone); line-height: 1.5; padding-top: 1rem; border-top: 1px solid var(--line); }
.listings-cta { text-align: center; margin-top: 3.2rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3.2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 2.4rem 1.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s ease; }
.service:hover { background: var(--paper); }
.bg-ivory .service:hover { background: var(--white); }
.service .num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold-deep); }
.service h3 { margin: 1rem 0 .7rem; }
.service p { font-size: .92rem; line-height: 1.65; }

/* ============================================================
   COMMUNITIES (image tiles)
   ============================================================ */
.communities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3.2rem; }
.community {
  position: relative; aspect-ratio: 5/6; background-color: var(--char);
  background-size: cover; background-position: center; overflow: hidden; display: flex; align-items: flex-end;
}
.community::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.05) 30%, rgba(20,17,14,.78) 100%); transition: background .35s ease; z-index: 1; }
.community::after { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; background-image: inherit; transform: scale(1); transition: transform .6s ease; z-index: 0; }
.community:hover::before { background: linear-gradient(180deg, rgba(20,17,14,.2) 10%, rgba(20,17,14,.82) 100%); }
.community-label { position: relative; z-index: 2; padding: 1.6rem; width: 100%; }
.community-label .name { font-family: var(--serif); font-size: 1.6rem; color: #fff; line-height: 1; }
.community-label .meta { font-family: var(--sans); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin-top: .5rem; }
.communities-cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   PATH (process — order carries meaning)
   ============================================================ */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.4rem; }
.step { position: relative; }
.step .pnum { font-family: var(--serif); font-size: 3.2rem; font-weight: 500; color: var(--gold-soft); line-height: 1; }
.bg-ink .step .pnum { color: var(--gold); }
.step .pdiv { width: 36px; height: 1px; background: var(--gold); margin: 1.1rem 0; }
.step h3 { margin-bottom: .6rem; }
.bg-ink .step h3 { color: #fff; }
.step p { font-size: .92rem; line-height: 1.65; }
.bg-ink .step p { color: rgba(217,210,199,.78); }

/* ============================================================
   CONTACT + A2P FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info .rule { margin: 1.4rem 0 1.8rem; }
.contact-list { margin-top: 2.2rem; display: grid; gap: 1.5rem; }
.contact-list .ci { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci .lbl { font-family: var(--sans); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .35rem; }
.contact-list .ci .val, .contact-list .ci a { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); line-height: 1.3; }
.contact-list .ci a:hover { color: var(--gold-deep); }
.contact-list .ci .val.sm { font-size: 1.05rem; }

.form-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.8rem, 3.5vw, 3rem); box-shadow: var(--shadow-sm); }
.bg-ivory .form-card, .bg-sand .form-card { background: var(--white); }
.form-card .form-eyebrow { margin-bottom: .8rem; }
.form-card h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: .5rem; }
.form-card .form-note { font-size: .92rem; color: var(--stone); margin-bottom: 2rem; }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: .55rem; }
.field label .opt { color: var(--stone); }
.field input, .field textarea {
  width: 100%; padding: .85rem 0; border: 0; border-bottom: 1px solid var(--line-strong, var(--line));
  border-bottom: 1px solid #D8CFBE; background: transparent; color: var(--ink); font-size: 1rem;
  transition: border-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #B3AB9D; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 70px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }

/* consent — each checkbox label is its own CTA disclosure;
   NO third-party language here (that lives in the Privacy Policy) */
.consent-block { margin: 1.8rem 0 1.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.consent { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1rem; }
.consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 19px; height: 19px; flex: none; margin-top: 2px; border: 1.5px solid var(--gold); background: transparent; cursor: pointer; position: relative; transition: background .15s ease; }
.consent input[type="checkbox"]:checked { background: var(--gold); }
.consent input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent label { font-family: var(--sans); font-size: .82rem; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.consent label .lead { color: var(--ink); font-weight: 500; }

.form-fine { font-size: .76rem; color: var(--stone); line-height: 1.6; margin-top: 1.4rem; }
.form-fine a { color: var(--gold-deep); border-bottom: 1px solid var(--gold-soft); }
.form-fine a:hover { color: var(--ink); }
.form-card .btn { width: 100%; justify-content: center; margin-top: .4rem; }

.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; }
.form-success .mark { width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.4rem; color: var(--gold-deep); }
.form-success .mark svg { width: 26px; height: 26px; }
.form-success h3 { margin-bottom: .5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(217,210,199,.62); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.footer .wrap { padding-bottom: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dk); }
.footer .brand { margin-bottom: 1.4rem; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: var(--gold-soft); }
.footer-blurb { font-size: .92rem; color: rgba(217,210,199,.6); max-width: 36ch; line-height: 1.7; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.6rem; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line-dk); display: grid; place-items: center; color: rgba(217,210,199,.7); transition: border-color .25s ease, color .25s ease; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold-soft); }
.footer-social svg { width: 17px; height: 17px; }
.footer h4 { font-family: var(--sans); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.3rem; font-weight: 500; }
.footer-col a, .footer-col p { display: block; font-family: var(--sans); font-size: .9rem; color: rgba(217,210,199,.68); margin-bottom: .7rem; line-height: 1.5; }
.footer-col a:hover { color: #fff; }

.footer-legal { padding: 2.2rem 0; border-bottom: 1px solid var(--line-dk); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: center; text-align: center; }
.footer-legal a { font-family: var(--sans); font-size: .74rem; letter-spacing: .04em; color: rgba(217,210,199,.7); }
.footer-legal a:hover { color: var(--gold-soft); }
.footer-bottom { padding: 1.8rem 0 2.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.footer-bottom span { font-family: var(--sans); font-size: .76rem; color: rgba(217,210,199,.45); }
.footer-bottom .legal-links { display: flex; gap: 1.4rem; }
.footer-bottom .legal-links a { color: rgba(217,210,199,.62); }
.footer-bottom .legal-links a:hover { color: var(--gold-soft); }
.footer .disclosure { font-size: .72rem; color: rgba(217,210,199,.4); line-height: 1.7; padding-bottom: 2.5rem; max-width: 80ch; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero { background: var(--ink); color: #EFEAE0; padding: calc(var(--nav-h) + clamp(2.5rem,5vw,4rem)) 0 clamp(2.5rem,5vw,3.5rem); }
.legal-hero h1 { color: #fff; font-size: clamp(2.4rem,5vw,3.8rem); }
.legal-hero .eyebrow { margin-bottom: 1.2rem; }
.legal-hero .eff { font-family: var(--sans); margin-top: 1.2rem; font-size: .82rem; letter-spacing: .04em; color: rgba(239,234,224,.65); }
.legal-body { max-width: 760px; margin-inline: auto; padding-block: clamp(3.5rem,6vw,5rem); }
.legal-body h2 { font-size: clamp(1.6rem,2.6vw,2.1rem); margin: 2.8rem 0 1rem; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { margin: 1.8rem 0 .7rem; }
.legal-body p { margin-bottom: 1.1rem; }
.legal-body ul { margin: 0 0 1.3rem 1.3rem; }
.legal-body li { margin-bottom: .55rem; }
.legal-body a { color: var(--gold-deep); border-bottom: 1px solid var(--gold-soft); }
.legal-body a:hover { color: var(--ink); }
.callout { background: var(--ivory); border-left: 2px solid var(--gold); padding: 1.4rem 1.6rem; margin: 1.8rem 0; }
.callout p { margin: 0; color: var(--ink); font-size: 1rem; }
.callout p strong { color: var(--gold-deep); }
.back-link { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 2.4rem; padding-bottom: .35rem; border-bottom: 1px solid var(--gold); }
.back-link:hover { gap: .9rem; color: var(--gold-deep); }
.back-link svg { width: 15px; height: 15px; }

/* ============================================================
   MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .listings { grid-template-columns: repeat(2, 1fr); }
  .communities { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-dk); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem;
    position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--paper);
    padding: 1.8rem var(--gutter) 2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .nav-links.open a { color: var(--ink-soft); }
  .nav-toggle { display: inline-flex; }
  .nav-phone { display: none; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse .split-media, .split-media { order: -1; }
  .split-media { aspect-ratio: 4/3; max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .listings { grid-template-columns: 1fr; }
  .communities { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line-dk); }
  .stat:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
