/* ============================================================
   Virginia Zanti, REALTOR® — "Gulf at dusk"
   Ink navy · warm sand · sunset gold. Fraunces + Archivo.
   Motif: the horizon line (thin gold rule + setting sun disc).
   ============================================================ */

:root {
  --ink: #0a1826;
  --ink-2: #0f2236;
  --ink-3: #14293f;
  --sand: #ede3d0;
  --cream: #faf6ee;
  --gold: #c9a25e;
  --gold-deep: #a97f3c;
  --mist: #93a5b5;        /* on dark backgrounds only */
  --mist-dark: #566878;   /* muted text on cream/white — WCAG-AA */
  --line: rgba(201, 162, 94, 0.35);
  --shadow: 0 20px 50px rgba(4, 12, 22, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.center { text-align: center; }

/* ---------- The horizon-line eyebrow (the motif) ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow-line {
  flex: none;
  width: 44px;
  height: 1px;
  background: var(--gold);
  position: relative;
}
.eyebrow-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}
.eyebrow.dark { color: var(--gold-deep); }
.eyebrow.dark .eyebrow-line, .eyebrow.dark .eyebrow-line::before { background: var(--gold-deep); }
.eyebrow.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: #d8b476; box-shadow: 0 10px 28px rgba(201, 162, 94, 0.35); }
.btn-ghost {
  border-color: rgba(237, 227, 208, 0.55);
  color: var(--sand);
  background: rgba(10, 24, 38, 0.25);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--sand); background: rgba(10, 24, 38, 0.45); }
.btn-navy {
  background: var(--ink);
  color: var(--sand);
}
.btn-navy:hover { background: var(--ink-3); box-shadow: 0 10px 28px rgba(10, 24, 38, 0.3); }
.btn-full { width: 100%; font-size: 1.05rem; padding: 1.1rem; border: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(10, 24, 38, 0.96);
  box-shadow: 0 1px 0 rgba(201, 162, 94, 0.25);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark { text-decoration: none; color: var(--sand); line-height: 1.15; }
.wordmark-name {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wordmark-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.15rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links .nav-call {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  opacity: 1;
}
.nav-links .nav-call:hover { background: var(--gold); color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 34px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--sand);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--sand);
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 24, 38, 0.55) 0%, rgba(10, 24, 38, 0.25) 55%, rgba(10, 24, 38, 0.05) 100%),
    linear-gradient(180deg, rgba(10, 24, 38, 0.6) 0%, rgba(10, 24, 38, 0.4) 36%, rgba(10, 24, 38, 0.75) 66%, rgba(8, 17, 28, 0.95) 100%);
}
.hero-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 9rem 1.5rem 4.5rem;
}
.hero .eyebrow {
  text-shadow: 0 1px 8px rgba(4, 12, 22, 0.9);
}
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 350;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(4, 12, 22, 0.75), 0 2px 44px rgba(4, 12, 22, 0.65);
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero-sub {
  margin-top: 1.6rem;
  max-width: 54ch;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(4, 12, 22, 0.8), 0 1px 22px rgba(4, 12, 22, 0.6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.hero-proof {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  max-width: 46ch;
}
.hero-proof blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--sand);
}
.hero-proof strong { color: var(--gold); font-style: normal; }
.hero-proof figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- Proof band ---------- */
.proofband {
  background: var(--ink);
  color: var(--sand);
  border-top: 1px solid var(--line);
}
.proofband-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.proofstat { text-align: center; position: relative; }
.proofstat + .proofstat::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line);
}
.proofstat-big {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.proofstat-small {
  font-size: 0.85rem;
  color: var(--mist);
  letter-spacing: 0.04em;
}

/* ---------- Generic sections ---------- */
.section { padding: 6.5rem 0; }
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 1.4rem;
}
.section p { max-width: 62ch; }

/* ---------- Split layout (Sell / Buy) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 4rem;
  align-items: center;
}
.split.reverse .split-copy { order: 2; }
.split.reverse .split-media { order: 1; }
.split-copy p { margin-bottom: 1.1rem; }
.steps {
  margin: 1.8rem 0 2.2rem;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.1rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.4rem;
  max-width: 56ch;
}
.steps li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-deep);
}
.split-media {
  position: relative;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.split-media figcaption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist-dark);
}
.split-media::after {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: -1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  pointer-events: none;
  z-index: -1;
}
.inline-quote {
  border-left: 2px solid var(--gold);
  padding-left: 1.3rem;
  margin: 1.8rem 0 2.2rem;
}
.inline-quote blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.inline-quote figcaption {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Valuation ---------- */
.valuation {
  position: relative;
  padding: 6.5rem 0;
  color: var(--sand);
  isolation: isolate;
  background: var(--ink);
}
.valuation-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 24, 38, 0.92), rgba(10, 24, 38, 0.86)),
    url("https://images.unsplash.com/photo-1505118380757-91f5f5632de0?w=1600&q=70&auto=format") center / cover no-repeat;
}
.valuation-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 4rem;
  align-items: start;
}
.valuation-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.valuation-head p { color: rgba(237, 227, 208, 0.85); max-width: 44ch; }
.val-form {
  background: var(--cream);
  color: var(--ink);
  padding: 2.4rem;
  border-radius: 3px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.field { margin-bottom: 1.15rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 0.4rem;
}
.field .opt { color: var(--mist-dark); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cfc4ad;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 162, 94, 0.22);
}
.field input.invalid { border-color: #b3502e; }
.form-thanks {
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-thanks h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
}
.form-thanks p { max-width: 40ch; margin: 0 auto; }
.form-thanks a { color: var(--gold-deep); font-weight: 600; text-decoration: none; }
.form-thanks a:hover { text-decoration: underline; }

.form-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--mist-dark);
  text-align: center;
}
.form-alt {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  text-align: center;
}
.form-alt a { color: var(--gold-deep); font-weight: 600; text-decoration: none; }
.form-alt a:hover { text-decoration: underline; }

/* ---------- About ---------- */
.about {
  background: var(--ink);
  color: var(--sand);
  padding: 6.5rem 0;
}
.about-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}
.about-portrait img {
  width: 240px;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--ink-2);
}
.about h2 { color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.about-quote {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--sand);
  margin: 1.4rem 0 1.8rem;
  max-width: 46ch;
}
.about-quote-attr {
  display: block;
  margin-top: 0.7rem;
  font-family: "Archivo", sans-serif;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.cred-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: rgba(237, 227, 208, 0.9);
  font-size: 0.98rem;
}
.cred-list li {
  padding-left: 1.5rem;
  position: relative;
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); }
.reviews h2 { max-width: none; }
.review-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.4rem;
}
.review-card {
  background: #fff;
  border: 1px solid #e6dcc8;
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.review-card blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-2);
  flex: 1;
}
.review-card figcaption {
  font-weight: 600;
  font-size: 0.92rem;
}
.review-card figcaption span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-dark);
  margin-top: 0.2rem;
}
.review-source {
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--mist-dark);
}

/* ---------- Area / contact ---------- */
.area {
  background: var(--ink-2);
  color: var(--sand);
  padding: 6.5rem 0;
}
.area-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 4rem;
  align-items: center;
}
.area h2 { color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1.6rem; }
.contact-block { font-style: normal; }
.contact-block p { margin-bottom: 1.1rem; line-height: 1.7; }
.contact-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}
.contact-link:hover { text-decoration: underline; }
.area-towns {
  font-size: 0.92rem;
  color: var(--mist);
  margin-bottom: 2rem;
  max-width: 50ch;
}
.area-towns strong { color: var(--sand); }
.area-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 3px;
  box-shadow: var(--shadow);
  filter: saturate(0.85);
}

/* ---------- Footer ---------- */
.footer {
  background: #071220;
  color: var(--mist);
  padding: 2.6rem 0;
  font-size: 0.85rem;
}
.footer-inner { text-align: center; display: grid; gap: 0.7rem; }
.footer-name { color: var(--sand); letter-spacing: 0.04em; }
.eho {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 4px;
  color: var(--mist);
}
.footer-credit { font-size: 0.75rem; opacity: 0.75; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(7, 18, 32, 0.97);
  border-top: 1px solid var(--line);
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.mobile-bar a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 0.5rem;
  border-radius: 2px;
}
.mobile-bar-call {
  color: var(--sand);
  border: 1px solid rgba(237, 227, 208, 0.45);
}
.mobile-bar-val {
  background: var(--gold);
  color: var(--ink);
}

/* ---------- Reveal (motion that whispers) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- Mobile: designed, not shrunk ---------- */
@media (max-width: 900px) {
  .split, .split.reverse, .valuation-inner, .area-inner, .about-inner {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .split.reverse .split-copy { order: 1; }
  .split.reverse .split-media { order: 2; }
  .split-media img { aspect-ratio: 16 / 10; }
  .about-inner { text-align: left; }
  .about-portrait { justify-self: start; }
}

@media (max-width: 720px) {
  body { padding-bottom: 64px; }
  .mobile-bar { display: flex; }
  .section, .valuation, .about, .area { padding: 4.5rem 0; }
  .nav-inner { padding: 0.85rem 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    min-height: 100svh;
    width: min(78vw, 320px);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px rgba(4, 12, 22, 0.5);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.15rem; }
  .nav { background: rgba(10, 24, 38, 0.96); }
  .hero-content { padding: 8rem 1.1rem 5.5rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-proof { margin-top: 2.2rem; }
  .proofband-inner { grid-template-columns: 1fr; gap: 1.4rem; padding: 2rem 1.1rem; }
  .proofstat + .proofstat::before {
    left: 30%; right: 30%; top: -0.7rem; bottom: auto;
    width: auto; height: 1px;
  }
  .proofstat { text-align: left; display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }
  .proofstat-big { font-size: 1.25rem; margin: 0; }
  .section-inner { padding: 0 1.1rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .val-form { padding: 1.6rem 1.3rem; }
  .area-map iframe { height: 320px; }
  .split-media::after { display: none; }
}
