/* ==========================================================================
   Zone Property Group — zonepropertygroup.com
   Private Property Acquisitions

   Palette and typography follow the Website Blueprint V2 visual direction.
   Structure: hairline rules and hanging labels rather than stacked cards.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Blueprint palette */
  --warm-white: #f7f8fa;
  --mist: #e3eaf0;
  --ink: #222a33;
  --navy: #1f3b56;
  --slate: #657b91;
  --white: #ffffff;

  /* Derived tones */
  --navy-deep: #16293c;
  --navy-soft: #2b4e6e;
  --slate-light: #8b9dae;
  --rule: rgba(31, 59, 86, 0.16);
  --rule-strong: rgba(31, 59, 86, 0.32);
  --rule-light: rgba(227, 234, 240, 0.22);
  --focus: #b9d2e6;

  /* Type */
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.35rem, 1.35rem + 3.6vw, 4.35rem);
  --fs-h1: clamp(2.05rem, 1.3rem + 2.9vw, 3.5rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.75vw, 2.55rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-micro: 0.8125rem;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.75rem, 7vw, 7.5rem);
  --measure: 34rem;
  --max: 76rem;

  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.16;
  letter-spacing: -0.012em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-soft); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }
li { margin-bottom: 0.5em; }

strong { font-weight: 600; }

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

/* The `hidden` attribute must beat any component display rule (.btn sets
   inline-flex, which would otherwise win on specificity). */
[hidden] { display: none !important; }
.u-hidden { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--gutter);
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-size: var(--fs-small);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--white); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 54rem; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--mist { background: var(--mist); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--mist); }
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy a { color: var(--white); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--slate); font-size: var(--fs-lead); }
.section--navy .section-head p { color: var(--mist); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--slate);
  max-width: 38rem;
}
.section--navy .lead { color: var(--mist); }

.prose { max-width: var(--measure); }
.prose > * + h2 { margin-top: 2.25em; }
.prose > * + h3 { margin-top: 1.9em; }

/* Eyebrow — sentence-case italic serif, not a tracked-out caps label */
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.15rem);
  color: var(--slate);
  margin: 0 0 0.9rem;
  display: block;
}
.hero .eyebrow { color: #ffffff; }

/* Hairline rule with a hanging serif index — the site's structural motif */
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list > li,
.rule-list > div {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.35rem clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}
.rule-list > li:last-child,
.rule-list > div:last-child { border-bottom: 1px solid var(--rule); }
.rule-list dt,
.rule-list .rule-term {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.rule-list dd,
.rule-list .rule-desc {
  margin: 0;
  color: var(--slate);
  max-width: 34rem;
}
.section--navy .rule-list > li,
.rule-list > div { border-color: var(--rule-light); }
.section--navy .rule-list dt,
.section--navy .rule-list .rule-term { color: var(--white); }
.section--navy .rule-list dd,
.section--navy .rule-list .rule-desc { color: var(--mist); }

@media (max-width: 640px) {
  .rule-list > li,
.rule-list > div { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* Plain hairline bullet list */
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li {
  border-top: 1px solid var(--rule);
  padding: 0.9rem 0 0.9rem 0;
  margin: 0;
  color: var(--ink);
}
.list-plain li:last-child { border-bottom: 1px solid var(--rule); }
.section--navy .list-plain li { border-color: var(--rule-light); color: var(--mist); }

.columns-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 clamp(1.5rem, 4vw, 3.5rem);
}
@media (min-width: 780px) {
  .columns-2 { grid-template-columns: 1fr 1fr; }
}

/* Split: text beside an image panel */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse .split__media { order: -1; }
}
.split__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--white); }

.btn--secondary { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn--secondary:hover { background: #56697d; border-color: #56697d; color: var(--white); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--rule-strong); }
.btn--outline:hover { border-color: var(--navy); background: rgba(31, 59, 86, 0.05); color: var(--navy); }

.btn--onNavy { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--onNavy:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); }

.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1.9rem;
}
.btn-row--tight { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
  flex-shrink: 0;
}
.wordmark__name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.wordmark__sub {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.22rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
/* The nav carries its own CTA for the mobile menu only; on desktop the CTA
   lives in .header-actions, so hide the duplicate. */
.nav > .btn { display: none; }

.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link:hover { color: var(--navy); border-bottom-color: var(--rule-strong); }
.nav__link[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-actions .btn { padding: 0.75rem 1.25rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 18px; height: 10px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--primary { display: none; }

  .nav {
    position: fixed;
    inset: 4.75rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.75rem;
    max-height: calc(100dvh - 4.75rem);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .nav[data-open="true"] { opacity: 1; transform: none; visibility: visible; }

  .nav__link {
    padding: 1rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav__link[aria-current="page"] { border-bottom-color: var(--navy); }
  .nav > .btn { display: inline-flex; margin-top: 1.25rem; width: 100%; }
}

/* Persistent mobile call/CTA bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  gap: 0.6rem;
}
.mobile-bar a {
  flex: 1 1 0;
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.8rem 0.5rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.mobile-bar__call { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.4); }
.mobile-bar__cta { background: var(--white); color: var(--navy); }

@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 4.5rem; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: #1f3b56;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero h1,
.hero p,
.hero .eyebrow {
  color: #ffffff;
  text-shadow: 0 1px 18px rgba(31, 59, 86, 0.35);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(31, 59, 86, 0.75);
}
@media (min-width: 860px) {
  .hero::after {
    background: linear-gradient(
      105deg,
      rgba(31, 59, 86, 0.82) 0%,
      rgba(31, 59, 86, 0.72) 48%,
      rgba(31, 59, 86, 0.58) 100%
    );
  }
}

.hero__inner {
  padding-block: clamp(4.25rem, 11vw, 9rem);
  max-width: 46rem;
}
.hero--home .hero__inner { padding-block: clamp(5rem, 14vw, 11rem); }
.hero .btn--light {
  background: #ffffff;
  color: #1f3b56;
  border-color: #ffffff;
}
.hero .btn--light:hover {
  background: #e3eaf0;
  border-color: #e3eaf0;
  color: #1f3b56;
}
.hero .btn--onNavy {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.hero .btn--onNavy:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}
.hero--compact .hero__inner { padding-block: clamp(3.25rem, 8vw, 5.5rem); }

.hero h1 {
  color: var(--white);
  font-size: var(--fs-display);
  margin-bottom: 0.55em;
}
.hero--inner h1 { font-size: var(--fs-h1); }
.hero p { color: #ffffff; font-size: var(--fs-lead); max-width: 36rem; }
.hero p a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.15rem;
}
.hero__phone:hover { border-bottom-color: var(--white); color: var(--white); }

/* --------------------------------------------------------------------------
   7. Pathway selector
   -------------------------------------------------------------------------- */
.pathways { background: var(--white); border-bottom: 1px solid var(--rule); }
.pathways__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .pathways__grid { grid-template-columns: 1fr 1fr; }
  .pathway + .pathway { border-left: 1px solid var(--rule); border-top: 0; }
}

.pathway {
  display: block;
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.25rem, 3.5vw, 3rem);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.25s var(--ease);
}
.pathway + .pathway { border-top: 1px solid var(--rule); }
.pathway:hover { background: var(--mist); color: var(--ink); }
.pathway__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1.35rem;
  background: var(--mist);
}
.pathway__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.pathway:hover .pathway__media img { transform: scale(1.03); }
.pathway h3 { margin-bottom: 0.5rem; }
.pathway p { color: var(--slate); font-size: var(--fs-small); margin-bottom: 1.2rem; }
.pathway__cue {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 0.15rem;
}
.pathway:hover .pathway__cue { border-bottom-color: var(--navy); }

/* --------------------------------------------------------------------------
   8. Process (a genuine sequence — numbering earns its place here)
   -------------------------------------------------------------------------- */
.process { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process > li {
  counter-increment: step;
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0 clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  margin: 0;
}
.process > li:last-child { border-bottom: 1px solid var(--rule); }
.process > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--slate);
  padding-top: 0.2rem;
}
.process h3 { margin-bottom: 0.35rem; }
.process p { color: var(--slate); margin: 0; }
.section--navy .process > li { border-color: var(--rule-light); }
.section--navy .process > li::before { color: var(--slate-light); }
.section--navy .process p { color: var(--mist); }

@media (max-width: 560px) {
  .process > li { grid-template-columns: 2.5rem minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   9. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); max-width: 48rem; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: 0;
  padding: 1.35rem 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  line-height: 1.35;
}
.faq__icon {
  flex: 0 0 auto;
  width: 14px; height: 14px;
  position: relative;
  margin-top: 0.4rem;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--slate);
  transition: transform 0.25s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; right: 0; height: 1.5px; margin-top: -0.75px; }
.faq__icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }

.faq__a {
  overflow: hidden;
  height: 0;
  transition: height 0.28s var(--ease);
}
.faq__a-inner { padding: 0 0 1.4rem; color: var(--slate); max-width: 40rem; }

/* --------------------------------------------------------------------------
   10. Comparison table
   -------------------------------------------------------------------------- */
.compare { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--rule);
}
@media (min-width: 860px) { .compare__col + .compare__col { border-left: 0; } }
@media (max-width: 859px) { .compare__col + .compare__col { border-top: 0; } }
.compare__col h3 { margin-bottom: 0.65rem; }
.compare__col p { color: var(--slate); margin: 0; }

.callout {
  border-left: 2px solid var(--navy);
  padding: 0.35rem 0 0.35rem 1.35rem;
  margin: 2rem 0 0;
  max-width: 40rem;
}
.callout p { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin: 0; }

/* Disclosure / fine print */
.disclosure {
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
  margin-top: 2.5rem;
  font-size: var(--fs-small);
  color: var(--slate);
  max-width: 44rem;
}
.section--navy .disclosure { border-color: var(--rule-light); color: var(--mist); }

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--navy); color: var(--mist); }
.cta-band h2 { color: var(--white); max-width: 22ch; }
.cta-band p { color: var(--mist); font-size: var(--fs-lead); max-width: 36rem; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--mist);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--fs-small);
}
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule-light);
}
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer__statement { color: var(--mist); max-width: 34rem; margin: 1.25rem 0 0; }
.site-footer .wordmark__name { color: var(--white); }
.site-footer .wordmark__sub { color: var(--slate-light); }

.footer__heading {
  font-family: var(--sans);
  font-size: var(--fs-micro);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin: 0 0 1rem;
  font-weight: 600;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 0.65rem; }

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: space-between;
  align-items: center;
  color: var(--slate-light);
  font-size: var(--fs-micro);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-shell {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 48rem;
}

.form-progress { margin-bottom: 2.25rem; }
.form-progress__track {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.form-progress__seg {
  flex: 1;
  height: 3px;
  background: var(--mist);
  border-radius: 2px;
  transition: background-color 0.3s var(--ease);
}
.form-progress__seg[data-state="done"],
.form-progress__seg[data-state="current"] { background: var(--navy); }
.form-progress__label {
  font-size: var(--fs-micro);
  color: var(--slate);
  letter-spacing: 0.02em;
}

.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset__legend {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--navy);
  padding: 0;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.fieldset__intro { color: var(--slate); font-size: var(--fs-small); margin-bottom: 1.85rem; }

.field { margin-bottom: 0.9rem; }
.field__label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.field__hint {
  display: block;
  font-weight: 400;
  color: var(--slate);
  font-size: var(--fs-micro);
  margin-top: 0.2rem;
}
.req { color: var(--navy); font-weight: 600; }

.input,
.select,
.textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.textarea { min-height: 7.5rem; resize: vertical; line-height: 1.55; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23657b91' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 59, 86, 0.12);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: #a4362f; }

/* The error line always occupies its space, so showing or clearing a message
   never shifts the layout under the pointer. */
.field__error {
  display: block;
  visibility: hidden;
  min-height: 1.15rem;
  font-size: var(--fs-micro);
  line-height: 1.15rem;
  color: #a4362f;
  margin: 0.35rem 0 0;
  font-weight: 500;
}
.field__error[data-visible="true"] { visibility: visible; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1.25rem;
}
@media (min-width: 620px) {
  .field-grid--2 { grid-template-columns: 1fr 1fr; }
  .field-grid--3 { grid-template-columns: 1.6fr 0.8fr 0.8fr; }
}

/* Choice controls */
.choices { display: grid; gap: 0.5rem; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .choices--2 { grid-template-columns: 1fr 1fr; }
  .choices--3 { grid-template-columns: repeat(3, 1fr); }
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  font-size: var(--fs-small);
  line-height: 1.45;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.choice:hover { border-color: var(--navy); }
.choice input { margin: 0.2rem 0 0; accent-color: var(--navy); flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--navy); background: rgba(31, 59, 86, 0.05); }
.choice:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }

.consent { display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.consent .choice { align-items: flex-start; }

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}
.form-nav__right { display: flex; gap: 0.75rem; margin-left: auto; }

.form-microcopy {
  font-size: var(--fs-micro);
  color: var(--slate);
  margin-top: 1.5rem;
  max-width: 44rem;
}

.form-alert {
  border-left: 2px solid #a4362f;
  background: rgba(164, 54, 47, 0.06);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-small);
  color: #7d2a24;
}
.form-alert p { margin: 0; max-width: none; }

.conditional { display: none; }
.conditional[data-visible="true"] { display: block; }

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Short inquiry card — Sell a Property */
.inquiry-card {
  background: #f7f8fa;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 44rem;
  margin-inline: auto;
}
.inquiry-card h2 {
  margin-bottom: 0.35em;
}
.inquiry-card > p {
  color: var(--slate);
  margin-bottom: 1.75rem;
}
.inquiry-card .form-nav,
.inquiry-card .btn {
  margin-top: 0.75rem;
}

/* 3-step review modal */
body.review-modal-open { overflow: hidden; }

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4.5rem 1rem 1.5rem;
}
.review-modal[hidden] { display: none; }

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 59, 86, 0.72);
}

.review-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(52rem, 100%);
  max-height: calc(100vh - 6rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.review-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid var(--rule);
  flex: 0 0 auto;
}
.review-modal__head h2 {
  font-size: var(--fs-h3);
  margin: 0;
  color: var(--navy);
}
.review-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.75rem;
  line-height: 1;
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
  flex: 0 0 auto;
}
.review-modal__close:hover { color: var(--ink); }
.review-modal__close:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.review-modal__body {
  overflow: auto;
  padding: 0 0 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.review-modal__body .form-shell {
  border: 0;
  max-width: none;
  padding-top: 1.25rem;
}

@media (max-width: 720px) {
  .review-modal {
    padding: 0;
    align-items: stretch;
  }
  .review-modal__dialog {
    width: 100%;
    max-height: none;
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .review-modal__body {
    padding-bottom: 5.5rem;
  }
}

/* --------------------------------------------------------------------------
   14. Utility pages
   -------------------------------------------------------------------------- */
.page-head {
  background: var(--mist);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--rule);
}
.page-head h1 { margin-bottom: 0.45rem; }
.page-head p { color: var(--slate); margin: 0; }

.legal h2 { font-size: var(--fs-h3); margin-top: 2.5rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { color: var(--ink); }
.legal .updated { color: var(--slate); font-size: var(--fs-small); }

.status {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding-block: var(--section-y);
}
.status__inner { max-width: 40rem; }
.status h1 { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   15. Motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal[data-revealed="true"] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .faq__a { transition: none; }
}

/* --------------------------------------------------------------------------
   16. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { background: #fff; color: #000; }
  .hero__media, .hero::after { display: none; }
  .hero h1, .hero p { color: #000; }
}
