/* ============================================================================
   Sarah Andersen — Snowflake & Taylor AZ Realtor
   Aesthetic: opulent, elegant, quietly feminine luxury real estate.
   Navy + gold on ivory, with soft blush / dusty-blue accents.
   Mobile-first, WCAG-AA contrast, generous sizing for a 40–65 audience.
   ============================================================================ */

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
  --navy:        #0B2545;
  --navy-soft:   #14355f;
  --gold:        #C6A15B;
  --gold-deep:   #A9843F;
  --ivory:       #FBF8F2;
  --ivory-2:     #F4EEE3;
  --dusty-blue:  #7C99B4;
  --blush:       #E8D6D1;
  --ink:         #23272E;
  --ink-muted:   #55606E;
  --white:       #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 40px rgba(11, 37, 69, 0.10);
  --shadow-card: 0 6px 24px rgba(11, 37, 69, 0.08);
  --gold-line: linear-gradient(90deg, transparent, var(--gold), transparent);
  --transition: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ── Reset / base ─────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;            /* large body for older eyes */
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: 0.2px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1rem; }
strong { font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Off-screen upward (not sideways) — left:-999px caused phantom horizontal scroll
   on narrow phones because overflow-x:hidden is on body, not the scrolling html. */
.skip-link {
  position: fixed; left: 8px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5ch;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-align: center; line-height: 1.2; min-height: 54px; /* big tap targets */
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--dusty-blue); outline-offset: 3px; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; min-height: 60px; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(198, 161, 91, 0.35); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; box-shadow: 0 12px 30px rgba(169, 132, 63, 0.45); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.28);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 24px; }
.logotype { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.logotype-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.logotype-tag { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

.main-nav { display: none; gap: 26px; }
.main-nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width var(--transition);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-cta { flex-direction: column; gap: 0; padding: 10px 22px; min-height: 52px; }
.btn-cta-label { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }
.btn-cta-phone { font-size: 1.05rem; font-weight: 700; }

/* Hamburger */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--navy); transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Collapsible mobile menu — max-height collapse (reliably hides ALL links,
   unlike grid 0fr which only sizes the first row). Closed by default. */
.mobile-nav {
  overflow: hidden; max-height: 0;
  transition: max-height var(--transition);
  background: var(--ivory); border-top: 0 solid rgba(198,161,91,0.25);
}
.mobile-nav.open { max-height: 80vh; overflow-y: auto; border-top-width: 1px; }
.mobile-nav > a {
  display: block; padding: 15px 24px; line-height: 1.3; font-size: 1.05rem;
  border-bottom: 1px solid rgba(11,37,69,0.06); font-weight: 500; color: var(--ink);
}
.mobile-nav > a:last-child { border-bottom: 0; }
.mobile-nav > a[aria-current="page"] { color: var(--gold-deep); font-weight: 600; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-ivory-2 { background: var(--ivory-2); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy::before, .section-navy::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--gold-line); opacity: 0.5;
}
.section-navy::before { top: 0; } .section-navy::after { bottom: 0; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { font-size: 1.15rem; color: var(--ink-muted); }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep); margin-bottom: 0.6rem;
}
.eyebrow.gold { color: var(--gold); }
.on-navy { color: #fff; }
.on-navy-muted { color: rgba(255,255,255,0.72); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(198,161,91,0.28), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(124,153,180,0.35), transparent 55%),
    linear-gradient(160deg, #0B2545 0%, #123059 55%, #0B2545 100%);
}
/* Subtle gold topographic-feel lines placeholder (pure CSS — swap for a photo later) */
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(198,161,91,0.05) 0 1px, transparent 1px 46px);
  pointer-events: none;
}
.hero-inner { position: relative; padding: clamp(72px, 12vw, 148px) 0 clamp(64px, 10vw, 120px); max-width: 900px; }
.hero-eyebrow { color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-size: 0.82rem; font-weight: 600; margin-bottom: 1rem; }
.hero-title { color: #fff; margin-bottom: 1.2rem; }
.hero-subhead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: rgba(255,255,255,0.86); max-width: 680px; margin-bottom: 2rem; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 2.4rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 0; }
.hero-badges li { position: relative; padding-left: 22px; font-size: 0.95rem; color: rgba(255,255,255,0.82); }
.hero-badges li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }

/* ── About ────────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.about-signature { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-deep); margin: 0.4rem 0 1.4rem; }
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(160deg, var(--navy), var(--navy-soft));
  color: rgba(255,255,255,0.7); text-align: center; border-radius: var(--radius);
  border: 2px solid var(--gold); box-shadow: var(--shadow-soft); padding: 24px;
}
.photo-placeholder span { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.photo-placeholder small { font-size: 0.72rem; letter-spacing: 0.5px; opacity: 0.7; }
.photo-portrait { aspect-ratio: 4 / 5; }

/* ── Stats / count-up ─────────────────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.stat-tile {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(198,161,91,0.35);
  border-radius: var(--radius); padding: 30px 20px; text-align: center;
  backdrop-filter: blur(2px);
}
.stat-value {
  font-family: var(--serif); font-weight: 700; color: var(--gold);
  font-size: clamp(2.4rem, 6vw, 3.5rem); line-height: 1; display: block; margin-bottom: 8px;
}
.stat-label { font-size: 0.82rem; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.stats-note { text-align: center; margin-top: 34px; font-size: 0.9rem; }

/* ── Areas ────────────────────────────────────────────────────────────────── */
.areas-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; margin: 0 auto 40px; }
.areas-chips li {
  font-weight: 500; font-size: 0.98rem; padding: 10px 22px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--blush); color: var(--navy); box-shadow: var(--shadow-card);
}
.welcome-band {
  max-width: 780px; margin: 0 auto 52px; text-align: center;
  background: linear-gradient(180deg, rgba(232,214,209,0.35), rgba(232,214,209,0.12));
  border: 1px solid var(--blush); border-radius: var(--radius); padding: 22px 28px; font-size: 1.1rem;
}
.welcome-band em { font-style: normal; color: var(--gold-deep); font-weight: 600; }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-card); border-top: 3px solid var(--gold); transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.why-icon { font-size: 2rem; margin-bottom: 10px; }
.why-card h3 { color: var(--navy); }
.why-card p { color: var(--ink-muted); margin: 0; }

/* ── Seller CTA band ──────────────────────────────────────────────────────── */
.seller-cta {
  margin-top: 48px; text-align: center; background: var(--navy);
  border-radius: var(--radius); padding: 40px 28px; color: #fff; box-shadow: var(--shadow-soft);
}
.seller-cta p { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 20px; }
.seller-cta strong { color: var(--gold); }

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 30px;
  box-shadow: var(--shadow-card); border-left: 3px solid var(--gold); position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-family: var(--serif); font-size: 4rem; color: var(--blush);
  position: absolute; top: 6px; right: 20px; line-height: 1;
}
.testimonial-stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 12px; }
.testimonial-quote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--navy); margin-bottom: 18px; }
.testimonial-meta { font-size: 0.9rem; color: var(--ink-muted); }
.testimonial-name { font-weight: 600; color: var(--ink); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white); border: 1px solid rgba(11,37,69,0.08); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 56px 22px 26px; position: relative;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.6rem; color: var(--gold-deep); transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 26px 24px; }
.faq-answer p { color: var(--ink-muted); margin: 0; }
.faq-answer a { color: var(--gold-deep); font-weight: 600; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.contact-call { margin: 14px 0 10px; }
.contact-email a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-soft); }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid rgba(11,37,69,0.2); border-radius: var(--radius-sm); background: var(--ivory);
  transition: border var(--transition), box-shadow var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,0.2);
}
.form-status { font-size: 0.95rem; font-weight: 600; margin: 12px 0 0; min-height: 1.2em; }
.form-status.success { color: #1f7a4d; }
.form-status.error { color: #b4432f; }
.form-fallback { font-size: 0.9rem; color: var(--ink-muted); margin: 14px 0 0; text-align: center; }
.form-fallback a { color: var(--gold-deep); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: #081b34; color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; }
.footer-name { font-family: var(--serif); font-size: 1.7rem; color: #fff; display: block; }
.footer-role { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.footer-nap { font-style: normal; margin-top: 16px; line-height: 1.9; }
.footer-nap a { color: var(--gold); font-weight: 600; font-size: 1.15rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.8); }
.footer-nav a:hover { color: var(--gold); }
.footer-areas h4 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.footer-areas p { font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.footer-legal { margin-top: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bar-inner { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ── Contact call + text buttons ──────────────────────────────────────────── */
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 12px; }
.btn-outline-navy { background: transparent; color: #fff; border-color: var(--gold); }
.btn-outline-navy:hover { background: var(--gold); color: var(--navy); }

/* ── Mobile sticky call / text / email bar ────────────────────────────────── */
.mobile-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; box-shadow: 0 -6px 20px rgba(11,37,69,0.25);
}
.mcb-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 11px 8px; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.3px;
  min-height: 58px; transition: background var(--transition);
}
.mcb-call  { background: var(--gold);  color: var(--navy); }
.mcb-text  { background: var(--navy);  color: #fff; border-left: 1px solid rgba(255,255,255,0.15); }
.mcb-email { background: var(--navy-soft); color: #fff; border-left: 1px solid rgba(255,255,255,0.15); }
.mcb-call:hover  { background: var(--gold-deep); color: #fff; }
.mcb-text:hover, .mcb-email:hover { background: var(--navy); }
.mcb-icon { font-size: 1.15rem; }

/* ── About card link (homepage) ───────────────────────────────────────────── */
.about-photo-link { position: relative; display: block; text-decoration: none; }
.about-photo-link .photo-placeholder { transition: transform var(--transition), box-shadow var(--transition); }
.about-photo-link:hover .photo-placeholder { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.about-photo-badge {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.9rem;
  padding: 9px 20px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-card);
}
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-outline-gold { background: transparent; color: var(--navy); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

/* ── Sub-page hero (About / Sell) ─────────────────────────────────────────── */
.subpage-hero {
  color: #fff; padding: clamp(56px, 9vw, 104px) 0 clamp(44px, 7vw, 84px);
  background:
    radial-gradient(900px 500px at 85% -20%, rgba(198,161,91,0.30), transparent 60%),
    linear-gradient(160deg, #0B2545 0%, #123059 60%, #0B2545 100%);
}
.subpage-hero .hero-title { color: #fff; margin-bottom: 0.6rem; }
.subpage-hero .hero-subhead { margin-bottom: 0; }
.subpage-hero-compact { padding-bottom: clamp(28px, 4vw, 44px); }

/* ── About page ───────────────────────────────────────────────────────────── */
.about-page-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.about-page-copy .lead-para { font-family: var(--serif); font-size: 1.5rem; line-height: 1.5; color: var(--navy); }
.about-page-copy em { font-style: italic; color: var(--gold-deep); }
.about-signature-para { font-size: 1.15rem; color: var(--ink); }

/* ── CTA band (About page) ────────────────────────────────────────────────── */
.cta-band { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-band-lead { font-size: 1.15rem; margin: 0.4rem auto 1.8rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band-note { margin-top: 18px; font-size: 0.95rem; }
.link-gold { color: var(--gold); font-weight: 600; text-decoration: underline; }

/* ── Sell / intake form ───────────────────────────────────────────────────── */
.form-page-wrap { max-width: 760px; margin: 0 auto; }
.intake-card, .sign-card, .thanks-card {
  background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-soft); border-top: 4px solid var(--gold);
}
.intake-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.4px; }
.intake-steps .step { color: var(--ink-muted); text-transform: uppercase; }
.intake-steps .step.active { color: var(--gold-deep); }
.intake-steps .step.done { color: var(--navy); }
.intake-steps .step.done::before { content: '\2713 '; color: #1f7a4d; }
.step-divider { flex: 1; height: 1px; background: rgba(11,37,69,0.15); }
.intake-title { margin-bottom: 0.3rem; }
.intake-sub { color: var(--ink-muted); margin-bottom: 1.6rem; }
.req-star { color: #b4432f; font-weight: 700; }

.form-fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.form-fieldset legend { font-size: 0.85rem; font-weight: 600; color: var(--navy); padding: 0; margin-bottom: 10px; }
.radio-row { display: flex; gap: 12px; }
.radio-pill {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(11,37,69,0.2); border-radius: var(--radius-sm); padding: 14px;
  cursor: pointer; font-weight: 600; color: var(--navy); background: var(--ivory);
  transition: border var(--transition), background var(--transition);
}
.radio-pill:has(input:checked) { border-color: var(--gold); background: rgba(198,161,91,0.14); box-shadow: 0 0 0 2px rgba(198,161,91,0.25); }
.radio-pill input { accent-color: var(--gold-deep); width: 18px; height: 18px; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3px; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid rgba(11,37,69,0.2); border-radius: var(--radius-sm);
  background: var(--ivory); transition: border var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,0.2);
}
.field-help { display: block; font-size: 0.78rem; color: var(--ink-muted); margin-top: 5px; }
.intake-legal { font-size: 0.82rem; color: var(--ink-muted); margin-top: 16px; line-height: 1.6; }
.intake-legal a { color: var(--gold-deep); }
.linklike { background: none; border: 0; color: var(--gold-deep); font: inherit; font-size: 0.82rem; cursor: pointer; text-decoration: underline; padding: 0; }

/* ── DocuSeal signing embed ───────────────────────────────────────────────── */
.docuseal-frame-wrap {
  width: 100%; border: 1px solid rgba(11,37,69,0.15); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--ivory); margin: 6px 0 4px;
}
#docuseal-frame { width: 100%; height: 72vh; min-height: 560px; border: 0; display: block; }

/* ── Thank-you card ───────────────────────────────────────────────────────── */
.thanks-card { text-align: center; }
.thanks-icon {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(31,122,77,0.12); color: #1f7a4d; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
}
.thanks-card .cta-band-actions { margin-top: 22px; }

/* ── Reveal-on-scroll ─────────────────────────────────────────────────────────
   The hidden state applies ONLY when JS is active (html.js added by main.js).
   If JS fails to load or an observer misfires, nothing is ever hidden — content
   is always visible. main.js also has a timed fallback that reveals everything. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in-view { opacity: 1 !important; transform: none !important; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (min-width: 620px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .footer-bar-inner { flex-direction: row; justify-content: space-between; }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .about-page-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
  .mobile-call-bar { display: none; }
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  body { padding-bottom: 0; }
}
@media (max-width: 899px) {
  /* room so the sticky call bar never covers footer content */
  .site-footer { padding-bottom: 84px; }
  /* The header's gold Call button broke on narrow screens (phone # wrapped to a
     blob). On mobile the persistent bottom Call/Text/Email bar handles contact,
     so the header is just logotype + menu — clean and compact. */
  .header-cta { display: none; }
  .header-inner { gap: 12px; padding: 12px 18px; }
  .logotype-name { font-size: 1.3rem; }
  .logotype-tag { font-size: 0.62rem; letter-spacing: 1px; }
}
/* Full-width, thumb-friendly CTAs on phones */
@media (max-width: 560px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn,
  .cta-band-actions .btn,
  .about-actions .btn,
  .contact-actions .btn,
  .seller-cta .cta-band-actions .btn { width: 100%; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-inner { padding-top: clamp(48px, 12vw, 96px); }
}

/* ── Motion / print ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .why-card:hover { transform: none; }
}
