/* ============================================================
   editorial.css - serif-editorial design layer
   Loaded ONLY by the 9 marketing pages (services/buyers, services/sellers,
   areas/index, 6 community pages) AFTER style.css and experience.css.
   Every selector is scoped to body.editorial so nothing leaks to the rest
   of the site. Consumes brand vars from style.css (:root).
   Type: Fraunces (display serif, loaded per-page via <link>) over Inter body.
   Signature component: the .ledger, an unboxed typographic index that
   replaces the old .why-grid emoji cards. NO visitor-facing copy may live
   in this file (the long-dash deploy gate only scans HTML).
   ============================================================ */

/* ---- Type layer ---- */
body.editorial h1,
body.editorial h2,
body.editorial h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 540;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
body.editorial h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
body.editorial .section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}
/* Guard: the scroll-story overlay label sits on navy; keep it light gold
   (experience.css sets this but loses to the rule above on order). */
body.editorial .story__heading .section-label {
  color: var(--gold);
}
body.editorial .section-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
}

/* ---- Hero refinements ---- */
body.editorial .exp-hero .hero-content {
  max-width: 820px;
}
body.editorial .exp-hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  font-weight: 480;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
body.editorial .exp-hero .exp-hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
}
body.editorial .exp-hero .exp-hero-rule {
  width: 88px;
  height: 2px;
  border-radius: 0;
  background: var(--gold);
}
body.editorial .exp-hero .breadcrumb,
body.editorial .exp-hero .breadcrumb a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- Intro prose ---- */
body.editorial .editorial-intro {
  max-width: 720px;
  margin: 2rem auto 0;
}
body.editorial .editorial-intro p {
  font-size: 1.08rem;
  line-height: 1.9;
  margin: 0;
}
body.editorial .editorial-intro p + p {
  margin-top: 1.4rem;
}

/* ---- The ledger (replaces .why-grid emoji cards) ----
   Unboxed typographic index: a short gold rule that draws in on reveal,
   a serif heading, prose. Services pages add a gold small-caps category
   eyebrow above the rule; area pages carry no eyebrow. */
body.editorial .ledger {
  max-width: 820px;
  margin: 3rem auto 0;
}
body.editorial .ledger-item {
  padding: 2.75rem 0 0;
}
body.editorial .ledger-item:first-child {
  padding-top: 1rem;
}
body.editorial .ledger-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
}
body.editorial .ledger-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0.85rem 0 1.1rem;
  transform-origin: left center;
}
body.editorial .ledger-item h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
  margin-bottom: 0.6rem;
}
body.editorial .ledger-item p {
  max-width: 64ch;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
}
/* Rule draw-in rides the existing reveal system: scroll-story.js adds .in
   to each .reveal-up and sets an inline transition-delay stagger on group
   children; inherit pulls that stagger onto the rule. Without JS (no
   html.exp-js) the rule is simply drawn. */
html.exp-js body.editorial .ledger-rule {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
  transition-delay: inherit;
}
html.exp-js body.editorial .reveal-up.in .ledger-rule {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  html.exp-js body.editorial .ledger-rule {
    transition: none;
  }
}

/* ---- About split (area pages): copy beside a tall photo that rises
   over the hero's bottom edge, in the style of editorial community pages. ---- */
body.editorial .editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
/* Photo bleeds from its column to the right viewport edge and rides sticky
   alongside the copy. (min(1200px,100vw) mirrors .container's max-width;
   1.5rem mirrors its padding.) */
body.editorial .editorial-split-photo {
  margin: -7rem calc((min(1200px, 100vw) - 100vw) / 2 - 1.5rem) 0 0;
  position: sticky;
  top: 96px;
  align-self: start;
  z-index: 2;
}
body.editorial .editorial-split-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
body.editorial .editorial-split-copy .editorial-intro {
  margin: 1.5rem 0 0;
  max-width: 60ch;
}

/* ---- Ledger layout (area pages): a sticky companion photo rides
   alongside the six entries as they scroll past. ---- */
body.editorial .ledger-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  margin: 3rem auto 0;
}
body.editorial .ledger-layout .ledger {
  max-width: none;
  margin: 0;
}
body.editorial .ledger-layout .ledger-item:first-child {
  padding-top: 0.5rem;
}
/* Mirrors the About photo: bleeds from its column to the LEFT viewport edge. */
body.editorial .ledger-photo {
  position: sticky;
  top: 96px;
  margin: 0.5rem 0 0 calc((min(1200px, 100vw) - 100vw) / 2 - 1.5rem);
}
body.editorial .ledger-photo img {
  width: 100%;
  height: auto;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-lg);
}

/* ---- Full-bleed photo band with a coordinate caption ---- */
body.editorial .photo-band {
  position: relative;
  overflow: hidden;
}
body.editorial .photo-band img {
  width: 100%;
  height: clamp(360px, 72vh, 760px);
  object-fit: cover;
  display: block;
}
body.editorial .photo-band-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4rem 0 1.75rem;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0) 0%, rgba(17, 24, 39, 0.72) 100%);
}
body.editorial .photo-band-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.35rem;
}
body.editorial .photo-band-caption p {
  margin: 0;
  color: var(--white);
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.4;
}

/* ---- Full-bleed video feature (areas index): the drone video fills the
   section; copy sits in a frosted glass panel with pill "bubble" chips. ---- */
body.editorial .video-feature {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(84vh, 800px);
  padding: clamp(4rem, 9vh, 6.5rem) 0;
}
body.editorial .video-feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.editorial .video-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(17, 24, 39, 0.72) 0%, rgba(17, 24, 39, 0.38) 55%, rgba(17, 24, 39, 0.12) 100%);
}
body.editorial .video-feature-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
body.editorial .video-feature-card {
  max-width: 600px;
  padding: 2.25rem 2.5rem;
  background: rgba(17, 24, 39, 0.48);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
}
body.editorial .video-feature-card .section-label {
  color: var(--gold-light);
}
body.editorial .video-feature-card h3 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 0.85rem;
}
body.editorial .video-feature-card p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.8;
}
body.editorial .video-feature-chips {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 780px;
}
body.editorial .video-feature-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  background: rgba(17, 24, 39, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}
body.editorial .video-feature-chips li::before {
  content: '\2713';
  color: var(--gold-light);
  font-weight: 700;
}
@supports not (backdrop-filter: blur(1px)) {
  body.editorial .video-feature-card,
  body.editorial .video-feature-chips li {
    background: rgba(17, 24, 39, 0.78);
  }
}
@media (max-width: 700px) {
  body.editorial .video-feature-card {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 900px) {
  body.editorial .editorial-split,
  body.editorial .ledger-layout {
    grid-template-columns: 1fr;
  }
  body.editorial .editorial-split-photo {
    order: -1;
    position: static;
    margin: -1.5rem -1.5rem 0;
  }
  body.editorial .editorial-split-photo img,
  body.editorial .ledger-photo img {
    border-radius: 0;
  }
  body.editorial .ledger-photo {
    position: static;
    margin: 0 -1.5rem;
  }
}

/* ---- FAQ: boxed accordion becomes a hairline list ----
   Class names unchanged (main.js accordion keys on .faq-question/.active). */
body.editorial .faq-list {
  margin-top: 2.5rem;
}
body.editorial .faq-item {
  border: 0;
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
  margin-bottom: 0;
  overflow: visible;
}
body.editorial .faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}
body.editorial .faq-question {
  background: transparent;
  padding: 1.4rem 0.25rem;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 560;
  font-size: 1.15rem;
  line-height: 1.35;
  gap: 1rem;
  transition: color var(--transition);
}
body.editorial .faq-question:hover,
body.editorial .faq-item.active .faq-question {
  background: transparent;
  color: var(--gold-dark);
}
body.editorial .faq-question::after {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
body.editorial .faq-answer {
  padding: 0 0.25rem 1.5rem;
}

/* ---- Live map framing ---- */
body.editorial .live-map-embed {
  border-radius: 4px;
  border: 1px solid var(--gray-200);
}
body.editorial .live-map-fallback {
  font-size: 0.9rem;
}

/* ---- Nearby areas: pills become editorial text links ---- */
body.editorial .nearby-areas {
  gap: 1rem 2.25rem;
  margin-top: 1.5rem;
}
body.editorial .nearby-areas a {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  padding: 0.15rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
}
body.editorial .nearby-areas a:hover {
  background: transparent;
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

/* ---- CTA band ---- */
body.editorial .cta-section h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.1rem;
}
body.editorial .cta-section p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---- Areas-index feature card (Orlando leads the grid) ---- */
body.editorial .area-photo-card--feature {
  grid-column: span 2;
  grid-row: span 2;
}
body.editorial .area-photo-card--feature picture,
body.editorial .area-photo-card--feature img {
  height: 100%;
}
body.editorial .area-photo-card--feature img {
  aspect-ratio: auto;
}
body.editorial .area-photo-card--feature h3 {
  font-size: 2.1rem;
}
body.editorial .area-photo-card--feature p {
  font-size: 1rem;
  max-width: 46ch;
}
body.editorial .area-photo-card--feature .area-photo-body {
  padding: 2.5rem 1.75rem 1.5rem;
}
body.editorial .area-photo-card h3 {
  letter-spacing: 0;
}
@media (max-width: 992px) {
  body.editorial .area-photo-card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  body.editorial .area-photo-card--feature picture,
  body.editorial .area-photo-card--feature img {
    height: auto;
  }
  body.editorial .area-photo-card--feature img {
    aspect-ratio: 16 / 9;
  }
  body.editorial .area-photo-card--feature h3 {
    font-size: 1.7rem;
  }
}
@media (max-width: 480px) {
  body.editorial .area-photo-card--feature img {
    aspect-ratio: 16 / 11;
  }
  body.editorial .area-photo-card--feature .area-photo-body {
    padding: 1.75rem 1.25rem 1.1rem;
  }
}
