/* ============================================================
   HERO SYSTEM — Keith Jones Sr
   ------------------------------------------------------------
   Canonical hero classes (use ONE of these going forward):

     .hero          — Premium homepage hero (skyline + portrait
                      + animated pan). Markup uses .hero-copy
                      with .role / .hero-lede / .hero-actions /
                      .quick-proof. Used on: index.html

     .area-hero     — Interior content-page hero (skyline gradient,
                      no portrait, no animation). SAME inner markup
                      as .hero (.hero-copy, .role, .hero-lede,
                      .hero-actions, .quick-proof). Used on:
                      about, blog, buyers, sellers, short-sales,
                      resources, local-places, post.

     .pillar-hero   — Program-guide / topic-pillar hero (navy +
                      radial overlays, NO image). Inner markup uses
                      <div class="container"> with .top-line, .lede,
                      .hero-cta > a.primary/a.ghost. Used on the 9
                      hometown-hero / VA / FHA / Teacher /
                      Firefighter / Police / Nurse / USDA / EMS
                      program guides. .duval-hero is an alias of
                      this (see below).

     .page-hero     — Lightweight legacy hero used by contact,
                      home-value, and 404. Defined in common.css.
                      Same .container markup as .pillar-hero but
                      uses .crumb instead of .top-line. Kept
                      separate because common.css is shimmed only
                      for those 3 legacy pages.

   ALIASED (share rules with a canonical class):

     .duval-hero    — alias of .pillar-hero (same markup, same
                      visual). One per-class override below keeps
                      the slightly larger H1 + padding it had.

   INTENTIONALLY UNTOUCHED:

     .idx-market-hero — Tied to the IDX widget rendering on
                        listings.html / listing.html. DO NOT
                        modify; it is scoped inline in those
                        two files only.

   FUTURE MIGRATION (when ready to fully unify):
   - Replace `class="duval-hero"` → `class="pillar-hero"` in
     duval-county.html (and delete the alias selectors here).
   - Replace `class="page-hero"` → `class="pillar-hero"` in
     contact / home-value / 404 (and rename .crumb → .top-line).
     Then remove the .page-hero block from common.css.
   - That collapses the system to TWO heroes: .hero (homepage +
     interior content pages via .area-hero alias) and .pillar-hero.

   VARIANT MODIFIERS (forward-compatible — use these instead of
   inventing new class names):
     .hero.hero--centered    — center text alignment
     .hero.hero--no-image    — suppress skyline / portrait bg
   ============================================================ */

:root {
  --ink: #15201f;
  --muted: #536260;
  --line: #dbe5df;
  --paper: #ffffff;
  --soft: #f3f7f4;
  --charcoal: #0f1a19;
  --teal: #087f7a;
  --teal-dark: #065c59;
  --sun: #f3bf3a;
  --shadow: 0 24px 70px rgba(15, 26, 25, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#services,
#markets,
#about,
#media,
#contact,
#specialties,
#valuation {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 223, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--charcoal);
  border-bottom: 4px solid var(--sun);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.main-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 12px 16px;
  color: #fff !important;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 74vh, 690px);
  padding: 46px max(20px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--charcoal);
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  inset: -2%;
  background:
    linear-gradient(90deg, rgba(8, 17, 17, 0.98) 0%, rgba(8, 17, 17, 0.84) 36%, rgba(8, 17, 17, 0.38) 68%, rgba(8, 17, 17, 0.1) 100%),
    url("images/jacksonville-skyline-bg.png") 45% center / 112% auto no-repeat;
  animation: jacksonville-pan 22s ease-in-out infinite alternate;
  transform: translate3d(0, 0, 0);
}

.hero::after {
  z-index: 1;
  left: auto;
  width: min(62vw, 820px);
  background: url("images/keith-jacksonville-hero.png") right center / auto 100% no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, #000 11%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  padding: 18px 0;
}

@keyframes jacksonville-pan {
  from {
    background-position: 41% center;
  }

  to {
    background-position: 55% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}

.role,
.section-heading span,
.story-copy span,
.leader-grid span,
.contact-grid span {
  display: block;
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .role {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.65rem;
  font-weight: 500;
  line-height: 0.94;
}

.hero-lede {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--charcoal);
  font-weight: 850;
}

.button.primary {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.quick-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 750;
}

.quick-proof span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  display: none;
}

.hero-media::before {
  position: absolute;
  inset: 26px -22px -22px 22px;
  z-index: -1;
  content: "";
  background: var(--sun);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: -18px;
  bottom: 24px;
  width: min(270px, calc(100% - 32px));
  padding: 18px;
  color: #fff;
  background: var(--teal-dark);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.intro-band {
  padding: 30px 0;
  color: #fff;
  background: var(--charcoal);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.intro-grid p {
  max-width: 840px;
  margin-bottom: 0;
  font-size: 1.32rem;
}

.intro-grid a {
  color: var(--sun);
  font-weight: 850;
}

.services-section,
.markets-section,
.media-section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 46px;
}

.section-heading.compact {
  grid-template-columns: 230px 1fr;
}

.section-heading h2,
.story-copy h2,
.leader-grid h2,
.contact-grid h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.7rem;
  font-weight: 500;
  line-height: 0.98;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 330px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.service-number {
  display: block;
  margin-bottom: 80px;
  color: var(--teal);
  font-weight: 900;
}

.service-grid h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.resource-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--charcoal);
}

.resource-strip a {
  padding: 18px 16px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
}

.resource-strip a:last-child {
  border-right: 0;
}

.resource-strip a:hover {
  background: var(--teal);
}

.story-section {
  padding: 96px 0;
  background: var(--soft);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.story-media img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  border: 12px solid #fff;
  box-shadow: var(--shadow);
}

.story-copy p {
  margin: 26px 0;
  color: var(--muted);
  font-size: 1.12rem;
}

blockquote {
  margin: 0;
  padding: 24px 0 0;
  border-top: 4px solid var(--sun);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1.08;
}

.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-area {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px;
  color: #fff;
  background: var(--charcoal);
}

.featured-area span {
  display: block;
  margin-bottom: 10px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-area h3 {
  max-width: 760px;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 500;
  line-height: 1;
}

.featured-area p {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.featured-area .button {
  white-space: nowrap;
}

.market-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.market-focus-grid article {
  min-height: 190px;
  padding: 24px;
  background: #fff;
}

.market-focus-grid h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.market-focus-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.market-list span {
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-weight: 750;
}

.specialties-section {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 26, 25, 0.98), rgba(6, 92, 89, 0.92)),
    url("images/jacksonville-skyline-bg.png") center / cover;
}

.specialties-section .section-heading span {
  color: var(--sun);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.specialty-grid article {
  min-height: 285px;
  padding: 26px;
  background: rgba(8, 17, 17, 0.76);
}

.specialty-grid span {
  display: block;
  margin-bottom: 58px;
  color: var(--sun);
  font-weight: 900;
}

.specialty-grid h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.24rem;
}

.specialty-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.lifestyle-panel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 38px;
  align-items: start;
  margin-top: 26px;
  padding: 28px;
  background: #fff;
  color: var(--ink);
}

.lifestyle-panel h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.lifestyle-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.lifestyle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lifestyle-tags span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.leader-section {
  padding: 86px 0;
  color: #fff;
  background: var(--teal-dark);
}

.leader-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 58px;
  align-items: start;
}

.leader-grid span,
.contact-grid span {
  color: var(--sun);
}

.leader-copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.14rem;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.credential-row strong {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.video-grid video {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  background: var(--charcoal);
}

.contact-section {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 26, 25, 0.94), rgba(15, 26, 25, 0.78)),
    url("images/keith-og.jpg") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.contact-card {
  padding: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card > a,
.contact-card > p {
  display: block;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 850;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  padding: 9px 11px;
  color: #fff;
  background: var(--teal);
  font-size: 0.84rem;
  font-weight: 850;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.area-hero {
  padding: 74px max(20px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 17, 17, 0.97), rgba(8, 17, 17, 0.74), rgba(8, 17, 17, 0.18)),
    url("images/jacksonville-skyline-bg.png") center / cover;
}

.area-hero h1 {
  max-width: 900px;
  color: #fff;
}

.area-hero p:not(.role) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

.area-hero .role {
  color: var(--sun);
}

/* ----- .pillar-hero (+ .duval-hero alias) — canonical in styles.css
   These rules used to live inline in 9 pillar pages + duval-county.html.
   Inline blocks are now redundant; they cascade to the same values
   thanks to source-order (inline <style> still wins if anyone tweaks
   it locally — that's by design while we transition). When all 10
   inline blocks are removed, this remains the single source of truth.
   Uses .container from common.css OR the local pages' own .container
   rule (max-width 1080px / padding 0 24px). */
.pillar-hero,
.duval-hero {
  position: relative;
  padding: 90px 0 70px;
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal) 0%, #08110f 100%);
  overflow: hidden;
}

.pillar-hero::before,
.duval-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle at 10% 30%, rgba(196, 52, 52, 0.18), transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(230, 200, 166, 0.10), transparent 45%);
  pointer-events: none;
}

.pillar-hero .container,
.duval-hero .container {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.pillar-hero .top-line,
.duval-hero .top-line {
  margin-bottom: 18px;
  color: #e8b8c0;
  font-family: Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pillar-hero h1,
.duval-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  font-weight: 400;
  line-height: 1.05;
}

.pillar-hero h1 em,
.duval-hero h1 em {
  color: #e8b8c0;
  font-style: italic;
}

.pillar-hero .lede,
.duval-hero .lede {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  line-height: 1.7;
}

.pillar-hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.pillar-hero .hero-cta a {
  display: inline-block;
  padding: 14px 26px;
  font-family: Inter, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}

.pillar-hero .hero-cta a.primary {
  color: var(--charcoal);
  background: #e8b8c0;
}

.pillar-hero .hero-cta a.primary:hover {
  background: #fff;
}

.pillar-hero .hero-cta a.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.pillar-hero .hero-cta a.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* .duval-hero per-variant overrides (preserves its slightly larger
   H1 + roomier padding from the original inline block) */
.duval-hero {
  padding: 96px 0 80px;
}

.duval-hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.02;
}

.duval-hero .lede {
  max-width: 720px;
  margin-top: 26px;
  font-size: 1.12rem;
}

/* ----- Forward-compatible hero variant modifiers ----- */
.hero.hero--centered .hero-copy,
.area-hero.hero--centered .hero-copy,
.pillar-hero.hero--centered .container,
.duval-hero.hero--centered .container {
  text-align: center;
  margin-inline: auto;
}

.hero.hero--no-image::before,
.hero.hero--no-image::after,
.area-hero.hero--no-image {
  background-image: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 750;
}

.breadcrumbs > *::after {
  margin-left: 8px;
  content: "/";
  color: rgba(255, 255, 255, 0.36);
}

.breadcrumbs > *:last-child::after {
  content: "";
}

.area-section {
  padding: 82px 0;
}

.area-copy {
  max-width: 860px;
}

.area-copy h2,
.area-section h2,
.area-dark h2,
.area-cta h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.3rem;
  font-weight: 500;
  line-height: 1;
}

.area-copy p,
.area-section > p,
.source-note {
  color: var(--muted);
}

.area-kicker {
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-grid,
.reality-grid,
.quick-match-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.snapshot-grid article,
.reality-grid article,
.quick-match-grid article {
  padding: 24px;
  background: #fff;
}

.snapshot-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.snapshot-grid strong {
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
}

.snapshot-grid p,
.reality-grid p,
.quick-match-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.source-note {
  margin-top: 18px;
  font-size: 0.88rem;
}

.source-note a {
  color: var(--teal-dark);
  font-weight: 850;
}

.area-table {
  margin-top: 28px;
  border: 1px solid var(--line);
}

.area-table > div {
  display: grid;
  grid-template-columns: 0.65fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.area-table > div:last-child {
  border-bottom: 0;
}

.area-table span,
.area-table strong {
  padding: 18px;
  background: #fff;
}

.area-table-head span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.area-dark,
.area-cta {
  color: #fff;
  background: var(--charcoal);
}

.area-dark .area-kicker,
.area-cta span {
  color: var(--sun);
}

.area-dark .reality-grid {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.16);
}

.area-dark .reality-grid article {
  background: rgba(255, 255, 255, 0.06);
}

.area-dark .reality-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.quick-match-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.area-cta {
  padding: 86px 0;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.related-links a {
  padding: 16px;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  background: var(--soft);
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero,
  .story-grid,
  .leader-grid,
  .contact-grid,
  .featured-area,
  .section-heading,
  .section-heading.compact,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .service-grid,
  .market-focus-grid,
  .specialty-grid,
  .snapshot-grid,
  .reality-grid,
  .quick-match-grid,
  .related-links,
  .resource-strip,
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lifestyle-panel {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 73px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  h1 {
    font-size: 3.1rem;
    line-height: 0.98;
  }

  .section-heading h2,
  .story-copy h2,
  .leader-grid h2,
  .contact-grid h2,
  .area-copy h2,
  .area-section h2,
  .area-dark h2,
  .area-cta h2 {
    font-size: 2.55rem;
  }

  .intro-grid p,
  .hero-lede,
  .leader-copy p,
  .contact-grid p {
    font-size: 1.02rem;
  }

  blockquote {
    font-size: 1.65rem;
  }

  .hero {
    min-height: auto;
    background: var(--charcoal);
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 17, 17, 0.98) 0%, rgba(8, 17, 17, 0.9) 62%, rgba(8, 17, 17, 0.55) 100%),
      url("images/jacksonville-skyline-bg.png") 42% center / auto 100% no-repeat;
  }

  .hero::after {
    right: -40vw;
    width: 82vw;
    opacity: 0.72;
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
  }

  .hero-media::before {
    inset: 18px -10px -12px 14px;
  }

  .hero-note {
    right: 10px;
  }

  .service-grid,
  .market-focus-grid,
  .specialty-grid,
  .snapshot-grid,
  .reality-grid,
  .quick-match-grid,
  .related-links,
  .resource-strip,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .featured-area h3 {
    font-size: 1.8rem;
  }

  .featured-area .button {
    width: 100%;
    white-space: normal;
  }

  .area-hero {
    padding: 52px max(20px, calc((100vw - var(--max)) / 2));
    background:
      linear-gradient(90deg, rgba(8, 17, 17, 0.98), rgba(8, 17, 17, 0.84)),
      url("images/jacksonville-skyline-bg.png") 42% center / cover;
  }

  .pillar-hero,
  .duval-hero {
    padding: 64px 0 54px;
  }

  .duval-hero {
    padding: 70px 0 60px;
  }

  .pillar-hero .hero-cta a {
    width: 100%;
    text-align: center;
  }

  .area-table > div {
    grid-template-columns: 1fr;
  }

  .resource-strip a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .resource-strip a:last-child {
    border-bottom: 0;
  }

  .services-section,
  .markets-section,
  .media-section,
  .specialties-section,
  .story-section,
  .leader-section,
  .contact-section,
  .area-section,
  .area-cta {
    padding: 66px 0;
  }

  .service-grid article,
  .specialty-grid article,
  .market-focus-grid article {
    min-height: 250px;
  }

  .service-number,
  .specialty-grid span {
    margin-bottom: 42px;
  }

  .lifestyle-panel {
    padding: 22px;
  }

  .contact-card {
    padding: 22px;
  }
}
