/* ==========================================================================
   M. Justin Davis Real Estate — Site styles
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 1.15em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: .8rem 1.2rem;
  font-size: var(--step--1);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout primitives ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--warm { background: var(--bg-warm); }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: var(--ink-on-dark); }
:is(.section--dark, .cta-band) :is(h1, h2, h3, h4) { color: #fff; }
:is(.section--dark, .cta-band) p { color: var(--ink-on-dark-muted); }
:is(.section--dark, .cta-band) a:not(.btn) { color: var(--gold-300); }

.stack > * + * { margin-top: 1.15rem; }
.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold); flex: none;
}
.center .eyebrow { justify-content: center; }
:is(.section--dark, .cta-band) .eyebrow { color: var(--gold-300); }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 60ch;
}
:is(.section--dark, .cta-band) .lede { color: var(--ink-on-dark-muted); }

.rule { width: 46px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }
.center .rule { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 1.05rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--navy); box-shadow: var(--shadow); }

.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-tint); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold-300); background: rgba(255,255,255,.05); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.2rem 2.4rem; font-size: var(--step-0); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: .25rem;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow:hover { gap: .85rem; color: var(--gold-ink); }
.link-arrow::after { content: "→"; font-size: 1.05em; line-height: 1; }
:is(.section--dark, .cta-band) .link-arrow { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 20px rgba(18,40,75,.09); }

.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 82px;
}
.brand-link { display: inline-flex; align-items: center; flex: none; }
.brand-link img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 480px) { .brand-link img { height: 32px; } }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-size: var(--step--1); font-weight: 500; letter-spacing: .04em;
  color: var(--ink); text-decoration: none; padding: .4rem 0;
  position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--navy); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  font-size: var(--step--1); font-weight: 600; color: var(--navy);
  text-decoration: none; letter-spacing: .02em; white-space: nowrap;
}
.header-phone:hover { color: var(--gold-ink); }
.header-cta .btn { padding: .8rem 1.4rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: .5rem; margin-right: -.5rem; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 82px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem var(--gutter) 2rem;
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    max-height: calc(100dvh - 82px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block; width: 100%;
    padding: 1rem 0; border-bottom: 1px solid var(--line-soft);
    font-size: var(--step-0);
  }
  .nav-list a::after { display: none; }
  .header-cta { flex-direction: column; align-items: stretch; margin-top: 1.5rem; gap: .75rem; }
  .header-phone { text-align: center; padding: .5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--ink-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,22,44,.95) 0%, rgba(14,31,59,.86) 42%, rgba(18,40,75,.55) 100%),
    radial-gradient(120% 90% at 15% 100%, rgba(205,163,73,.16), transparent 62%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(5rem, 13vw, 10.5rem);
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }

.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero__lede { font-size: var(--step-1); color: rgba(239,243,248,.82); max-width: 46ch; }
.hero .eyebrow { color: var(--gold-300); }

.hero__proof {
  list-style: none; padding: 2rem 0 0;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  border-top: 1px solid var(--line-dark);
  display: grid; gap: 1.6rem;
}
.hero__proof li { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.hero__proof-icon {
  flex: none; width: 24px; height: 24px; color: var(--gold); margin-top: .1rem;
}
.hero__proof-icon svg { width: 100%; height: 100%; display: block; }

/* min-width:0 lets this shrink inside its column instead of forcing overflow */
.hero__proof-body { min-width: 0; }

.hero__proof-label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-1); line-height: 1.15; color: #fff;
  margin-bottom: .35rem;
}
.hero__proof-note {
  display: block; font-size: var(--step--2);
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(239,243,248,.60); line-height: 1.45;
}

/* Three columns only where the hero's text column is genuinely wide enough.
   Between 980px and 1150px the hero splits into two columns, which narrows this
   side — so there we stay stacked rather than cram three columns in. */
@media (min-width: 800px) and (max-width: 979.98px), (min-width: 1150px) {
  .hero__proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0; align-items: stretch;
  }
  .hero__proof li {
    flex-direction: column; gap: .85rem; min-width: 0;
    padding-inline: clamp(.9rem, 1.6vw, 1.4rem);
  }
  .hero__proof li:first-child { padding-left: 0; }
  .hero__proof li:last-child { padding-right: 0; }
  .hero__proof li + li { border-left: 1px solid var(--line-dark); }
  /* Slightly smaller so the longest label still holds one line in a column */
  .hero__proof-label { font-size: var(--step-0); }
  /* Tighter tracking helps the longest caption sit on one line. It is allowed
     to wrap if it must — never force nowrap here, it overflows the column. */
  .hero__proof-note { letter-spacing: .06em; }
}

/* Hero card (quick lead form) */
.hero-card {
  background: rgba(255,255,255,.98);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  color: var(--ink-body);
}
.hero-card h2 { font-size: var(--step-2); margin-bottom: .35em; }
.hero-card .hint { font-size: var(--step--1); color: var(--ink-body); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card h3 { font-size: var(--step-1); margin-bottom: .5em; }
.card p { font-size: var(--step--1); color: var(--ink-muted); }
.card__foot { margin-top: auto; padding-top: 1.5rem; }
a.card, .card--link { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-300);
}

.card__icon {
  width: 46px; height: 46px; margin-bottom: 1.4rem;
  display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold-600); flex: none;
}
.card__icon svg { width: 22px; height: 22px; }

.card--dark {
  background: var(--navy-900); border-color: rgba(255,255,255,.1); color: var(--ink-on-dark-muted);
}
.card--dark h3 { color: #fff; }
.card--dark .card__num { color: var(--gold); }
.card--dark p { color: var(--ink-on-dark-muted); }

.card--numbered { position: relative; }
.card__num {
  font-family: var(--font-display); font-size: var(--step-2);
  color: var(--gold-700); line-height: 1; margin-bottom: 1rem; display: block;
}

/* Path cards (buy / sell / value) */
.path-card {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.9rem, 3vw, 2.6rem);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.path-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.path-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.path-card:hover::before { transform: scaleX(1); }
.path-card h3 { margin-bottom: .4em; }
.path-card p { color: var(--ink-muted); font-size: var(--step--1); }
.path-card .link-arrow { margin-top: auto; padding-top: 1.75rem; align-self: flex-start; border: 0; }

/* ---------- Split feature ---------- */
.split {
  display: grid; gap: clamp(2.25rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
}

.figure-frame { position: relative; }
.figure-frame img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.figure-frame::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1;
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; font-size: var(--step--1); }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .2rem;
  border-radius: 50%; background: var(--gold-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CDA349' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
:is(.section--dark, .cta-band) .checklist li { color: var(--ink-on-dark-muted); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: var(--step-1);
  color: var(--gold-ink); letter-spacing: .06em;
}
.step::after {
  content: ""; position: absolute; top: 1.15rem; left: 3.1rem; right: 0; height: 1px;
  background: var(--line);
}
.steps--row .step:last-child::after { display: none; }
.step h3 { font-size: var(--step-1); margin-bottom: .4em; }
.step p { font-size: var(--step--1); color: var(--ink-muted); }
:is(.section--dark, .cta-band) .step p { color: var(--ink-on-dark-muted); }
:is(.section--dark, .cta-band) .step::after { background: var(--line-dark); }
:is(.section--dark, .cta-band) .step::before { color: var(--gold); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.quote {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  display: flex; flex-direction: column;
}
.quote__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem; line-height: .8; color: var(--steel);
  margin-bottom: .75rem; display: block;
}
.quote blockquote { margin: 0 0 1.5rem; font-size: var(--step-0); color: rgba(239,243,248,.9); }
.quote cite {
  margin-top: auto; font-style: normal;
  font-size: var(--step--2); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--gold-300);
}
.quote--light { background: var(--white); border-color: var(--line-soft); }
.quote--light blockquote { color: var(--ink-body); }
.quote--light cite { color: var(--gold-ink); }
.quote--light .quote__mark { color: var(--steel-300); }

/* ---------- Stats band ---------- */
.stats {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  text-align: center;
}
.stat dt {
  font-family: var(--font-display); font-size: var(--step-4);
  color: var(--gold-700); line-height: 1; margin-bottom: .5rem;
}
.stat dd {
  margin: 0; font-size: var(--step--2); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--ink-muted);
}
:is(.section--dark, .cta-band) .stat dd { color: rgba(239,243,248,.78); }
:is(.section--dark, .cta-band) .stat dt { color: var(--gold); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.field { display: grid; gap: .45rem; }
.field label {
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.field .req { color: var(--gold-ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: var(--step-0);
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312284B' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
  padding-right: 2.75rem; cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-tint);
}
.field input::placeholder, .field textarea::placeholder { color: #7C8AA0; }

.consent { display: flex; gap: .75rem; align-items: flex-start; }
.consent input { margin-top: .3rem; width: 17px; height: 17px; flex: none; accent-color: var(--gold-600); }
.consent label, .consent span { font-size: var(--step--1); color: var(--ink-body); line-height: 1.55; text-transform: none; letter-spacing: 0; font-weight: 400; }

.form-note { font-size: var(--step--1); color: var(--ink-muted); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status { display: none; border-radius: var(--radius-sm); padding: 1rem 1.15rem; font-size: var(--step--1); }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--gold-tint); border: 1px solid var(--gold-300); color: var(--navy); }
.form-status--err { background: #FDECEC; border: 1px solid #F0B7B7; color: #8C2020; }

.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Dark-section form */
:is(.section--dark, .cta-band) .field label { color: #FFFFFF; }
:is(.section--dark, .cta-band) .field .req { color: var(--gold-300); }
/* background-color, NOT the `background` shorthand — the shorthand resets
   background-repeat/size and makes the select arrow tile across the field. */
:is(.section--dark, .cta-band) .field :is(input, select, textarea) {
  background-color: rgba(255,255,255,.09); border-color: rgba(255,255,255,.32); color: #fff;
}
:is(.section--dark, .cta-band) .field :is(input, textarea)::placeholder { color: rgba(255,255,255,.60); }
:is(.section--dark, .cta-band) .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
:is(.section--dark, .cta-band) :is(.consent label, .consent span, .form-note) { color: rgba(239,243,248,.86); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--ink-on-dark);
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 85% 10%, rgba(205,163,73,.18), transparent 60%),
              radial-gradient(70% 90% at 5% 95%, rgba(128,158,173,.16), transparent 62%);
}
.cta-band h2 { color: #fff; }

/* ---------- Tool cards ---------- */
.tool-card { position: relative; }
.tool-card .badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: .62rem; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  font-weight: 600; padding: .35rem .6rem; border-radius: 100px;
}
.badge--soon { background: var(--steel-tint); color: var(--steel-800); }
.badge--live { background: var(--gold-tint); color: var(--gold-ink); }


/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.5rem 2.5rem 1.5rem 0;
  font-family: var(--font-display); font-size: var(--step-1); color: var(--ink);
  position: relative; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 14px; height: 14px;
  margin-top: -7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CDA349' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 2.5rem 1.75rem 0; }
.faq details p { font-size: var(--step--1); color: var(--ink-muted); }

/* ---------- Areas ---------- */
.area-list { list-style: none; margin: 0; padding: 0;
  display: grid; gap: .5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.area-list li {
  font-size: var(--step--1); padding: .55rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: .6rem;
}
.area-list li::before { content: ""; width: 5px; height: 5px; background: var(--gold); flex: none; }
:is(.section--dark, .cta-band) .area-list li { border-color: var(--line-dark); color: var(--ink-on-dark-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(239,243,248,.72); padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.footer-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer img.footer-logo {
  width: min(232px, 100%); height: auto; object-fit: contain; margin-bottom: 1.5rem;
}
.site-footer h4 {
  color: #fff; font-size: var(--step--2); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; margin-bottom: 1.25rem; font-family: var(--font-body); font-weight: 600;
}
.site-footer p { font-size: var(--step--1); color: rgba(239,243,248,.78); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-links a { font-size: var(--step--1); color: rgba(239,243,248,.72); text-decoration: none; }
.footer-links a:hover { color: var(--gold-300); }

.footer-contact { display: grid; gap: .6rem; margin-top: 1.25rem; }
.footer-contact a {
  color: #fff; text-decoration: none; font-size: var(--step--1);
  display: flex; gap: .6rem; align-items: center;
  min-width: 0; overflow-wrap: anywhere;
}
.footer-contact a:hover { color: var(--gold-300); }
.footer-contact svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

.social { display: flex; gap: .8rem; margin-top: 1.75rem; }
.social a {
  width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%;
  display: grid; place-items: center; color: rgba(239,243,248,.8);
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(205,163,73,.08); }
.social svg { width: 17px; height: 17px; }

.footer-legal {
  border-top: 1px solid var(--line-dark);
  padding-block: 2rem 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  align-items: center; justify-content: space-between;
  font-size: var(--step--2); color: rgba(239,243,248,.72);
}
.footer-legal p { font-size: var(--step--2); color: rgba(239,243,248,.72); margin: 0; max-width: 70ch; }
.footer-legal a { color: rgba(239,243,248,.7); }
.brokerage {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem 0; border-top: 1px solid var(--line-dark);
}
.brokerage img { height: 34px; width: auto; opacity: .9; }
.brokerage p { margin: 0; font-size: var(--step--2); color: rgba(239,243,248,.78); }
.eho { display: flex; align-items: center; gap: .6rem; }
.eho svg { width: 26px; height: 26px; color: rgba(239,243,248,.75); flex: none; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy); color: var(--ink-on-dark);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 120% at 92% 0%, rgba(205,163,73,.16), transparent 58%),
              radial-gradient(60% 100% at 0% 100%, rgba(128,158,173,.14), transparent 60%);
}
.page-hero h1 { color: #fff; font-size: var(--step-4); }
.page-hero .lede { color: rgba(239,243,248,.78); }
.breadcrumb { font-size: var(--step--2); letter-spacing: .08em; text-transform: uppercase;
  color: rgba(239,243,248,.72); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(239,243,248,.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); }

/* ---------- Prose (legal pages) ---------- */
.prose h2 { font-size: var(--step-2); margin-top: 2.5em; }
.prose h3 { font-size: var(--step-1); margin-top: 2em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; max-width: var(--measure); }
.prose li { margin-bottom: .5rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, a.card:hover, .path-card:hover { transform: none; }
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3.5rem); }
.mt-md { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.text-gold { color: var(--gold); }

@media print {
  .site-header, .site-footer, .btn, .nav { display: none !important; }
  body { color: #000; }
}

/* ---------- Testimonial slider ---------- */
.tslider { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }

/* No-JS / pre-init: every review is simply stacked and readable. */
.tslider__track { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }

.tslide {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.tslide__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem; line-height: .7; color: var(--steel);
  margin-bottom: 1.25rem;
}
.tslide blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.4;
  color: #fff;
  max-width: 34ch;
  text-wrap: pretty;
}
.tslide__author {
  margin-top: auto;
  font-size: var(--step--2);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-300);
  font-style: normal;
}
.tslide__meta {
  display: block; margin-top: .5rem;
  letter-spacing: .08em; color: rgba(239,243,248,.55);
}
.tslide__stars { display: flex; gap: .25rem; margin-bottom: 1.25rem; color: var(--gold); }
.tslide__stars svg { width: 15px; height: 15px; }

/* Activated by JS */
.tslider.is-ready .tslider__viewport { overflow: hidden; }
.tslider.is-ready .tslider__track {
  display: flex; gap: 0;
  transition: transform .55s var(--ease);
  align-items: stretch;
}
.tslider.is-ready .tslide { flex: 0 0 100%; min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  .tslider.is-ready .tslider__track { transition: none; }
}

.tslider__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-top: 1.75rem;
}
.tslider:not(.is-ready) .tslider__controls { display: none; }

.tslider__nav {
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line-dark); border-radius: 50%;
  background: transparent; color: rgba(239,243,248,.8);
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.tslider__nav:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); background: rgba(205,163,73,.08); }
.tslider__nav svg { width: 17px; height: 17px; }

.tslider__dots { display: flex; gap: .55rem; }
.tslider__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(239,243,248,.45); background: transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.tslider__dot[aria-selected="true"] { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }
.tslider__dot:hover { border-color: var(--gold-300); }
