/* ============================================================
   Eric Galpin Realtor The Blake Team Epique Realty — owned site
   Palette: near-black #0F0F0F, white, gold accent #C8AA69 only.
   Type: Playfair Display (display serif) + Inter (sans).
   ============================================================ */

:root {
  --ink: #0f0f0f;
  --ink-soft: #1a1a1a;
  --paper: #ffffff;
  --paper-warm: #faf8f5;
  --gold: #c8aa69;
  --bronze: #8a6d3b; /* deepened gold: AA-passing on light backgrounds */
  --gray-light: #bfbfbf;
  --gray-mid: #525252;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 14px; }
h3 { font-family: var(--sans); font-weight: 600; }

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-lede { color: var(--gray-mid); max-width: 640px; font-size: 1.05rem; }
.section-lede a { color: var(--ink); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 170, 105, 0.25);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand-logo { width: 104px; height: auto; }
.brand-name {
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.04em; white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--paper); text-decoration: none; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s;
}
.main-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.main-nav a.nav-cta {
  border: 1px solid var(--gold); padding: 8px 16px; color: var(--gold);
}
.main-nav a.nav-cta:hover { background: var(--gold); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--paper); overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-fallback, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-video { animation: hero-drift 40s ease-in-out infinite alternate; }
@keyframes hero-drift {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0.35) 45%, rgba(15,15,15,0.78) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 130px 24px 90px; max-width: 880px; }
.hero-logo { width: 160px; margin: 0 auto 26px; }
.eyebrow {
  font-size: 0.74rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.3rem); margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.22rem); color: #ece7dd; max-width: 640px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid var(--gold);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-outline { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.75); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Credential ---------- */
.credential {
  background: var(--ink); color: var(--paper); text-align: center;
  padding: 20px 24px; border-top: 1px solid rgba(200,170,105,0.25);
  font-size: 0.95rem; letter-spacing: 0.02em;
}
.credential .stars { color: var(--gold); letter-spacing: 0.18em; }
.credential .dot { color: var(--gold); padding: 0 6px; }

/* ---------- Browse ---------- */
.browse { padding: 96px 0 30px; background: var(--paper); }
.btn-group { margin: 46px 0 6px; }
.btn-group h3 {
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink); font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 16px;
}
.btn-group h3::after { content: ""; flex: 1; height: 1px; background: #e7e0d2; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  padding: 12px 20px; font-size: 0.74rem;
}
.btn-row .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }

/* ---------- Parallax / CTA bands ---------- */
.parallax-band {
  position: relative; background-size: cover; background-position: center;
  background-attachment: fixed; color: var(--paper); text-align: center;
  padding: 110px 24px; margin-top: 84px; overflow: hidden;
}
.parallax-band.tall { padding: 150px 24px; }
.band-shade { position: absolute; inset: 0; background: rgba(15,15,15,0.52); }
.band-shade.light { background: rgba(15,15,15,0.38); }
.band-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.band-content h2 { margin-bottom: 12px; }
.band-content p { color: #ece7dd; margin-bottom: 28px; }
.band-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.6vw, 2.4rem); line-height: 1.3; }

/* ---------- Statement ---------- */
.statement { padding: 110px 24px 20px; text-align: center; background: var(--paper); }
.statement-line {
  font-family: var(--serif); font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.2; color: var(--ink);
}
.statement-line::after {
  content: ""; display: block; width: 74px; height: 2px; background: var(--gold); margin: 30px auto 0;
}

/* ---------- Service options ---------- */
.sell { padding: 96px 0; background: var(--paper-warm); margin-top: 90px; }
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px; margin-top: 42px;
}
.card {
  background: var(--paper); border: 1px solid #e9e2d4; border-top: 3px solid var(--gold);
  padding: 30px 28px; transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(15,15,15,0.10); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.3; margin-bottom: 10px; }
.card p { color: var(--gray-mid); font-size: 0.98rem; }
.card-cta {
  display: inline-block; margin-top: 16px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px;
}
.card-cta:hover { color: var(--bronze); }

/* ---------- Areas ---------- */
.areas { padding: 96px 0; }
.town-list {
  list-style: none; margin-top: 36px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 28px;
}
.town-list li {
  font-family: var(--serif); font-size: 1.18rem; padding: 9px 2px;
  border-bottom: 1px solid #eee7d8;
}

/* ---------- About ---------- */
.about { background: var(--ink); color: var(--paper); padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption { font-size: 0.82rem; color: var(--gray-light); margin-top: 10px; font-style: italic; }
.about-text h2 { color: var(--paper); }
.about-text p { color: #ddd6c8; margin-bottom: 16px; }
.about-text .section-eyebrow { color: var(--gold); }
.about-stats { color: var(--paper) !important; font-weight: 400; border-left: 2px solid var(--gold); padding-left: 16px; }
.about-logo { width: 150px; margin-top: 14px; opacity: 0.95; }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; background: var(--paper); }
.qa { border-bottom: 1px solid #e9e2d4; padding: 6px 0; }
.qa summary {
  cursor: pointer; list-style: none; padding: 16px 34px 16px 0; position: relative;
  font-family: var(--serif); font-size: 1.22rem; font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--bronze); font-size: 1.5rem; font-family: var(--sans); font-weight: 300;
  transition: transform 0.25s;
}
.qa[open ] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { color: var(--gray-mid); padding: 0 0 20px; max-width: 680px; }
.qa p a { color: var(--ink); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; text-align: center; background: var(--paper-warm); }
.contact .section-lede { margin: 0 auto; }
.contact-lines { margin: 34px 0 8px; display: flex; flex-direction: column; gap: 6px; }
.contact-line {
  font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.2rem);
  text-decoration: none; color: var(--ink); transition: color 0.25s;
}
.contact-line:hover { color: var(--bronze); }
.contact-brokerage { color: var(--gray-mid); font-size: 0.95rem; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--gray-light); padding: 70px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; margin-bottom: 48px;
}
.footer-logo { width: 140px; margin-bottom: 18px; }
.footer-name { font-family: var(--serif); color: var(--paper); font-size: 1.12rem; margin-bottom: 10px; }
.footer-brand p { font-size: 0.92rem; margin-bottom: 4px; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-social a {
  color: var(--gray-light); text-decoration: none; font-size: 0.82rem;
  letter-spacing: 0.18em; text-transform: uppercase; transition: color 0.25s;
}
.footer-nav a:hover, .footer-social a:hover { color: var(--gold); }
.footer-social-label {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 2px;
}
.footer-legal { border-top: 1px solid rgba(200,170,105,0.25); padding-top: 26px; }
.footer-legal p { font-size: 0.8rem; margin-bottom: 8px; color: #9a958a; }
.footer-legal .credits { font-style: italic; }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .parallax-band { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .brand-name { display: none; }
  .brand-logo { width: 92px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 0.68rem; letter-spacing: 0.16em; }
  .hero-content { padding-top: 110px; }
  .hero-logo { width: 128px; }
  .btn { padding: 13px 22px; }
  .browse, .sell, .areas, .about, .faq, .contact { padding-top: 70px; padding-bottom: 70px; }
  .statement { padding-top: 76px; }
}

/* ---------- Focus states (visible keyboard focus) ---------- */
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}
.site-header a:focus-visible, .site-footer a:focus-visible,
.hero a:focus-visible, .credential a:focus-visible {
  outline-color: var(--gold);
}

/* ---------- Equal Housing Opportunity mark ---------- */
.footer-legal .eho { display: flex; gap: 14px; align-items: flex-start; }
.eho-mark { width: 36px; height: 36px; flex: none; color: var(--gold); margin-top: 1px; }
.eho strong { color: var(--gray-light); font-weight: 600; }

/* ---------- Intent hubs ---------- */
.hubs { background: var(--ink); padding: 62px 0; }
.hubs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.hub {
  display: block; text-decoration: none; color: var(--paper);
  border: 1px solid rgba(200, 170, 105, 0.35); padding: 30px 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.hub:hover { border-color: var(--gold); transform: translateY(-3px); background: #161511; }
.hub p { color: #cfc9bb; font-size: 0.97rem; }
.hub .hub-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.hub-name { font-size: 1.55rem; margin-bottom: 10px; color: var(--paper); }
.hub-link {
  display: inline-block; margin-top: 16px; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}

/* ---------- Hero film with sound (click-to-play) ---------- */
.btn { font-family: var(--sans); }
.btn-play { background: transparent; color: var(--gold); cursor: pointer; }
.btn-play:hover { background: var(--gold); color: var(--ink); }
.hero-film-wrap { position: absolute; inset: 0; z-index: 3; background: #000; }
.hero-film { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.film-close {
  position: absolute; top: 86px; right: 20px; z-index: 4; cursor: pointer;
  background: rgba(15, 15, 15, 0.85); color: #fff; border: 1px solid var(--gold);
  padding: 9px 15px; font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.film-close:hover { background: var(--gold); color: var(--ink); }

/* ---------- Anchor offset under fixed header ---------- */
#browse, #golf, #guides, #sell, #areas, #about, #faq, #contact { scroll-margin-top: 84px; }

/* ---------- Mobile sticky contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(15, 15, 15, 0.97); border-top: 1px solid rgba(200, 170, 105, 0.4);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    flex: 1; text-align: center; padding: 14px 8px; text-decoration: none;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--paper);
  }
  .mobile-bar a.mobile-call { background: var(--gold); color: var(--ink); }
  body { padding-bottom: 52px; }
}

/* Top action bar (Waterfront / Golf / Home Value) */
.top-actions { padding: 36px 0 4px; background: var(--paper); }
.top-actions-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.top-actions .btn { font-size: 1rem; padding: 14px 28px; }

/* Reviews band (bottom of homepage) */
.reviews-band { background: #fff; border-top: 1px solid #e7e0cf; padding: 44px 0; text-align: center; }
.reviews-band .stars { color: var(--gold); letter-spacing: 0.3em; font-size: 1.05rem; }
.reviews-band .reviews-line { margin: 10px 0 14px; font-size: 1.05rem; color: var(--ink); }
.reviews-band .rev-link { color: var(--ink); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.reviews-band .rev-link:hover { color: var(--gold); }


/* Resources hub */
.resources { padding: 84px 0 90px; background: #fff; border-top: 1px solid #e7e0cf; }
.resources .card h3 a { color: var(--ink); text-decoration: none; }
.resources .card h3 a:hover { color: var(--gold); }
