/* Live-site theme layer for the Explore Gainesville GA prototype.
   Drawn from the rendered Lofty theme (header layout6, footer layout5)
   and Shannon's custom TFR homepage CSS, Nov 23, 2026.
   Fonts: Montserrat (nav, UI, buttons) and Georgia/Arial (section headlines
   and body, as used in the live homepage custom sections).
   Colors: navy #10233F / #142544, gold #D5AC63, header hover #B89342. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Montserrat-400.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Montserrat-500.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Montserrat-700.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/CormorantGaramond-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/CormorantGaramond-600.woff2") format("woff2");
}

:root {
  --navy: #10233F;
  --navy-2: #142544;
  --navy-3: #1c3358;
  --gold: #D5AC63;
  --gold-hover: #B89342;
  --gold-dk: #7a4e0e;
  --cream: #F6F3EC;
  --paper: #FBF9F4;
  --footer-bg: #E8E5E1;
  --ink: #1b1f29;
  --muted: #4a5263;
  --line: #d9d3c7;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
  --ui: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--white);
}

/* ---------- Header (live layout6 feel) ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 0;
  position: relative;
  z-index: 800;
}
.site-header .header-bar {
  width: min(100% - 2rem, 75rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.4rem;
  padding: 0.35rem 0;
}
.site-header .wrap { display: contents; }
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 240px;
}
.nav-toggle {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(213, 172, 99, 0.7);
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: auto;
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] { background: var(--navy-3); color: var(--gold); }

.site-nav { width: 100%; }
.site-nav .head-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0.85rem;
  display: none;
  flex-direction: column;
  gap: 0;
}
.site-nav.is-open .head-menu { display: flex; }

.site-nav .top-link,
.site-nav .head-menu > li > a.top-link {
  color: var(--white);
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  padding: 0.65rem 0.2rem;
  border-bottom: none;
  line-height: 1.3;
}
.site-nav .top-link:hover,
.site-nav .top-link[aria-current="page"] { color: var(--gold-hover); }

.has-child { position: relative; }
.has-child .submenu-toggle {
  display: inline-flex;
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0.45rem;
  padding: 0.3rem 0.4rem;
  font-size: 0.85rem;
}
.submenu {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.5rem 0.85rem;
  display: none;
  background: transparent;
}
.has-child.is-open > .submenu,
.has-child:focus-within > .submenu { display: block; }
.submenu a {
  color: #e8edf4;
  text-decoration: none;
  font-family: var(--ui);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  display: block;
  padding: 0.4rem 0.2rem;
}
.submenu a:hover { color: var(--gold); }

@media (min-width: 1100px) {
  .nav-toggle,
  .has-child .submenu-toggle { display: none; }
  .site-nav { width: auto; }
  .site-nav .head-menu,
  .site-nav.is-open .head-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.15rem;
    padding: 0;
  }
  .site-nav .top-link { padding: 1.5rem 0; }
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 16.5rem;
    background: var(--navy-2);
    padding: 0.55rem 0;
    box-shadow: 0 10px 28px rgba(9, 23, 45, 0.28);
    z-index: 900;
    display: none;
  }
  .has-child:hover > .submenu,
  .has-child:focus-within > .submenu,
  .has-child.is-open > .submenu { display: block; }
  .submenu a { padding: 0.45rem 1rem; }
}

/* ---------- Buttons (live TFR treatment) ---------- */
.btn,
.tfr-button {
  font-family: var(--ui);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 5px;
  border-width: 2px;
}
.btn:hover,
.tfr-button-gold:hover {
  background: #e2c56b;
  border-color: #e2c56b;
}

/* Interior page title band */
.hero {
  background: var(--navy-2);
  padding: 2.75rem 0 2.9rem;
}
.hero h1 {
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.hero .eyebrow {
  font-family: var(--ui);
  color: var(--gold);
}

/* Soften cards and map chrome so they don't read as inserted apps */
.card {
  border: 0;
  box-shadow: none;
  background: transparent;
  border-top: 3px solid var(--gold);
  padding-top: 0;
}
.card-body { padding: 0.9rem 0 1.2rem; }
.map-frame {
  border: 0;
  border-radius: 0;
}
body:not(.home) .map-frame {
  outline: 1px solid rgba(16, 35, 63, 0.12);
}

/* Leaflet, restyled to the site palette */
.leaflet-container {
  font-family: var(--sans);
  background: #d6ddd0;
}
.leaflet-control-zoom a,
.leaflet-bar a,
.leaflet-bar a:hover {
  background: var(--navy-2) !important;
  color: var(--gold) !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: 16px !important;
}
.leaflet-control-attribution {
  font-family: var(--ui);
  font-size: 10px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--muted) !important;
}
.area-marker {
  background: var(--navy) !important;
  color: #fff !important;
  border: 1px solid var(--gold) !important;
  border-radius: 2px !important;
  font-family: var(--ui) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(9, 23, 45, 0.28);
}

/* Area panel: site language, not app chrome */
.area-sheet {
  border: 0;
  border-left: 4px solid var(--gold);
  box-shadow: 0 16px 40px rgba(9, 23, 45, 0.18);
  border-radius: 0;
  padding: 1.5rem 1.5rem 1.75rem;
}
.area-sheet h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-size: 2rem;
}
.sheet-close {
  font-family: var(--ui);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  border-radius: 5px;
}

/* Footer (live beige panel) */
.site-footer {
  background: var(--footer-bg);
  color: #1b1f29;
  padding: 2.75rem 0 2rem;
}
.site-footer a { color: var(--navy); }
.site-footer a:hover { color: var(--gold-hover); }
.site-footer .tagline {
  color: var(--navy);
  font-weight: 700;
  font-style: normal;
  font-family: var(--ui);
  letter-spacing: 0.02em;
}
.site-footer .source { color: #3d4450; }
.footer-logo {
  display: block;
  margin-bottom: 0.85rem;
}
.footer-logo img {
  height: 64px;
  width: auto;
  max-width: 240px;
}

/* ---------- Homepage flow ---------- */
body.home { background: #fff; }

/* Hero uses the live dusk aerial and TFR gradient */
#tfr-home-hero {
  min-height: 38rem;
}
#tfr-home-hero .home-hero-media img { object-position: center 55%; }
#tfr-home-hero .photo-credit {
  position: static;
  display: block;
  margin: 1.25rem 0 0;
  text-align: left;
  max-width: 36rem;
  color: #d7dbe3;
  text-shadow: none;
}

/* Map band: full-bleed, no boxed frame */
.map-band {
  position: relative;
  background: var(--navy-2);
  color: #f0f3f8;
  padding: 0 0 0;
}
.map-band .map-intro {
  width: min(100% - 2rem, 46rem);
  margin: 0 auto;
  padding: 3.5rem 0 1.5rem;
  position: relative;
  z-index: 2;
}
.map-band .map-intro h2 { color: #fff; }
.map-band .map-intro .lede { color: #d7dbe3; }
.map-band .map-intro .eyebrow { color: var(--gold); }
.map-band .gold-rule { background: var(--gold); }
.map-band .map-block { width: 100%; }
body.home .map-frame-simple {
  min-height: 28rem;
  height: min(78vh, 40rem);
  border: 0;
  background: #1a2a40;
}
body.home .map-preview {
  background:
    linear-gradient(180deg, rgba(9, 23, 45, 0.55), rgba(9, 23, 45, 0.42)),
    #1a2a40;
  color: #f0f3f8;
  gap: 1rem;
}
body.home .map-preview .static-areas { display: none; }
body.home .map-preview .eyebrow { color: var(--gold); }
body.home .map-note,
.map-band .map-note {
  width: min(100% - 2rem, 70rem);
  margin: 0.65rem auto 0;
  color: #c5ccd6;
}
.map-band .area-fallback-wrap {
  background: #fff;
  padding: 2.25rem 0 4rem;
  color: var(--ink);
}
.map-band .area-fallback-wrap .fallback-heading { color: var(--navy); }
.map-band .area-fallback-wrap .fallback-intro { color: var(--muted); }

/* New construction: full-bleed photo band, typographic teasers */
.nc-band {
  position: relative;
  isolation: isolate;
  min-height: 28rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.nc-band-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.nc-band-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.nc-band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 23, 45, 0.88) 0%,
    rgba(9, 23, 45, 0.62) 48%,
    rgba(9, 23, 45, 0.28) 100%
  );
}
.nc-band-copy {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 2.75rem;
  max-width: 42rem;
}
.nc-band h2 { color: #fff; }
.nc-band p { color: #f0f3f8; }
.nc-band .photo-credit { color: #d7dbe3; }
.teaser-row {
  display: grid;
  gap: 1.75rem;
  padding: 2.5rem 0 4rem;
  background: #fff;
}
@media (min-width: 800px) {
  .teaser-row { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
.teaser-row article { border-top: 3px solid var(--gold); padding-top: 1rem; }
.teaser-row h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}
.teaser-row h3 a { text-decoration: none; }
.teaser-row .meta { margin: 0; color: var(--muted); }
.teaser-row .price { font-weight: 700; color: var(--navy); margin: 0.4rem 0 0; }
.teaser-row .asof { font-size: 0.75rem; color: var(--muted); margin: 0; }
.teaser-count-line {
  width: min(100% - 2rem, 70rem);
  margin: 0 auto;
  padding: 2rem 0 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* About: already photo-led; give it more air and no boxed feel */
#about-shannon { background: #fff; padding: 5rem 0; }

/* Filters on the finder: quieter */
.filters {
  border: 0;
  border-top: 3px solid var(--gold);
  background: var(--cream);
}

@media (max-width: 767px) {
  #tfr-home-hero { padding-bottom: 2.75rem; }
  .logo img { height: 46px; max-width: 190px; }
  .site-header .header-bar { min-height: 4.4rem; }
}

/* ===== Match the live homepage render more closely ===== */
#tfr-home-hero {
  --navy: #142544;
  --gold: #c9a744;
}
#tfr-home-hero .tfr-tagline { color: #f3d785; border-left-color: #c9a744; }
#tfr-home-hero .tfr-button-gold,
#tfr-home-hero .tfr-button-gold:hover {
  background: #c9a744;
  border-color: #c9a744;
  color: #142544;
}
#tfr-home-hero .tfr-button-gold:hover { background: #e2c56b; border-color: #e2c56b; }
#tfr-home-hero .home-hero-media img { object-position: center 48%; }

/* Hamburger, like the live header */
.nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
}
.nav-toggle .menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.nav-toggle:hover { background: transparent; }
.nav-toggle:hover .menu-bar,
.nav-toggle[aria-expanded="true"] .menu-bar { background: #c9a744; }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
}

/* Meet Shannon — live tfr-meet-shannon treatment */
#about-shannon {
  --tfr-navy: #142544;
  --tfr-gold: #c9a744;
  --tfr-text: #354052;
  background: #ffffff;
  color: var(--tfr-text);
  padding: 90px 28px;
  box-sizing: border-box;
}
#about-shannon .tfr-about-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 68px;
  align-items: center;
}
#about-shannon .tfr-about-photo { position: relative; margin: 0; }
#about-shannon .tfr-about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 4px;
}
#about-shannon .tfr-about-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 18px;
  right: -18px;
  top: 18px;
  bottom: -18px;
  border: 2px solid var(--tfr-gold);
  border-radius: 4px;
}
#about-shannon .tfr-about-photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--muted);
}
#about-shannon .tfr-about-label {
  margin: 0 0 16px;
  color: #7a4e0e;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
#about-shannon h2 {
  margin: 0 0 22px;
  color: var(--tfr-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
#about-shannon .tfr-about-rule {
  width: 66px;
  height: 4px;
  margin: 0 0 28px;
  background: var(--tfr-gold);
}
#about-shannon .tfr-about-lead {
  margin: 0 0 20px;
  color: var(--tfr-navy);
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}
#about-shannon .tfr-about-copy p {
  margin: 0 0 18px;
  color: var(--tfr-text);
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}
#about-shannon .tfr-about-highlight {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-left: 4px solid var(--tfr-gold);
  background: #f5f7fa;
  color: var(--tfr-navy);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}
@media (max-width: 767px) {
  #about-shannon { padding: 48px 24px 64px; }
  #about-shannon .tfr-about-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  #about-shannon .tfr-about-photo {
    width: 82%;
    max-width: 320px;
    margin: 0 auto;
  }
  #about-shannon .tfr-about-photo img {
    aspect-ratio: 4 / 4.4;
    object-position: center 20%;
  }
  #about-shannon .tfr-about-photo::after {
    left: 10px;
    right: -10px;
    top: 10px;
    bottom: -10px;
  }
  #tfr-home-hero .tfr-actions { flex-direction: column; }
  #tfr-home-hero .tfr-button { width: 100%; }
}

/* Hide old about-grid rules if leftover markup is gone */

/* ---- Fixes: menus stay closed; credit in flow; tighter mobile hero ---- */
.site-nav .submenu,
.site-nav .has-child > .submenu {
  display: none !important;
}
@media (max-width: 1099px) {
  .site-nav .has-child.is-open > .submenu {
    display: block !important;
  }
}
@media (min-width: 1100px) {
  .site-nav .submenu,
  .site-nav .has-child > .submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 16.5rem;
    background: var(--navy-2);
    padding: 0.55rem 0;
    box-shadow: 0 10px 28px rgba(9, 23, 45, 0.28);
    z-index: 900;
  }
  .site-nav .has-child:hover > .submenu,
  .site-nav .has-child:focus-within > .submenu {
    display: block !important;
  }
}

#tfr-home-hero .photo-credit {
  position: static !important;
  display: block;
  margin: 1rem 0 0;
  text-align: left;
  max-width: 36rem;
  color: #d7dbe3;
  text-shadow: none;
  font-size: 0.7rem;
}

@media (max-width: 767px) {
  #tfr-home-hero {
    min-height: 0;
    padding: 28px 22px 36px;
  }
  #tfr-home-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(30px, 8.2vw, 40px);
    line-height: 1.12;
  }
  #tfr-home-hero .tfr-description {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.55;
  }
  #tfr-home-hero .tfr-tagline {
    margin-bottom: 18px;
    font-size: 16px;
  }
  #tfr-home-hero .tfr-button {
    min-height: 48px;
    font-size: 14px;
  }
  #tfr-home-hero .photo-credit { margin-top: 0.85rem; }
  .logo img { height: 46px; max-width: 190px; }
  .site-header .header-bar { min-height: 4.1rem; }
}
