/* MHE brand fonts — self-hosted */
@font-face { font-family: 'Maison Neue'; src: url('fonts/MaisonNeue-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Maison Neue'; src: url('fonts/MaisonNeue-Book.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Maison Neue'; src: url('fonts/MaisonNeue-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Maison Neue'; src: url('fonts/MaisonNeue-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Perfectly Nineties'; src: url('fonts/PerfectlyNineties-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Perfectly Nineties'; src: url('fonts/PerfectlyNineties-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Maison Neue Mono'; src: url('fonts/MaisonNeueMono.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }

/* ============================================
   GLOBAL CSS — Matthew Hoult Estates Tenant Guide
   v4 design system — recovered from browser memory
   ============================================ */

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

:root {
  --paper: #F4EFE6;
  --chalk: #FAF7F0;
  --mist: #E9E1D3;
  --stone: #D9CFBE;
  --taupe: #8A8073;
  --olive: #4A4C39;
  --olive-dark: #4A4C39;
  --coffee: #5F564B;
  --espresso: #2A2119;
  --ink: #23201B;
  --bg: var(--paper);
  --bg-alt: var(--chalk);
  --bg-card: var(--chalk);
  --text: var(--ink);
  --text-mid: #5F564B;
  --text-light: #6E655A;
  --accent: var(--olive-dark);
  --accent-hover: var(--ink);
  --accent-soft: rgba(74, 76, 57, 0.08);
  --border: rgba(35, 32, 27, 0.22);
  --border-light: rgba(35, 32, 27, 0.10);
  --hairline: #D9CFBE;
  --hairline-soft: #DDD1BE;
  --white: #FAF7F0;
  --success: #55603F;
  --warning: #8F441F;
  --terracotta: #A8552E;
  --terracotta-text: #8F441F;
  --serif: 'Maison Neue', -apple-system, 'Helvetica Neue', sans-serif;
  --sans: 'Maison Neue', -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'Maison Neue Mono', 'SF Mono', monospace;
  --step-00: 0.6875rem;
  --step-0: 0.8125rem;
  --step-1: 1rem;
  --step-2: 1.25rem;
  --step-3: 1.625rem;
  --step-4: 2.5rem;
  --step-5: 4.5rem;
  --step-6: 7.5rem;
  --site-max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(3rem, 6vw, 5.25rem);
  --btn-pill-height: 44px;
  --btn-pill-padding-x: 1.55rem;
  --radius: 0;
  --radius-sm: 0;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration-fast: 180ms;
  --duration-medium: 650ms;
  --duration-slow: 1100ms;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
  padding-bottom: 0;
  padding-top: 54px;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- TYPOGRAPHY --- */

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* optical left alignment: pull display glyphs' side bearing back to the text/button edge */
h1, h2 { margin-left: -0.04em; }

h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.98;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

h1 em, h2 em, h3 em { font-style: normal; font-weight: 300; color: var(--olive-dark); }

p {
  margin-bottom: 0.85rem;
  color: var(--text-mid);
  line-height: 1.62;
}

strong { color: var(--text); font-weight: 500; }

a {
  color: inherit;
  text-decoration: none;
  text-decoration-color: var(--hairline);
  text-underline-offset: 0.22em;
}

/* --- MHE ICON SYSTEM PILOT --- */

.mhe-glyph,
.mhe-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--olive-dark);
}

.mhe-glyph {
  width: 24px;
  height: 24px;
}

.mhe-glyph svg,
svg.mhe-glyph,
.mhe-status svg,
svg.mhe-status,
.summary-icon svg,
.agent-benefit-icon svg,
.card-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.mhe-status {
  width: 18px;
  height: 18px;
}

.mhe-status svg,
svg.mhe-status {
  width: 18px;
  height: 18px;
}

.mhe-status--positive {
  color: var(--olive-dark);
}

.mhe-status--negative {
  color: #96422F;
}

.mhe-status--neutral {
  color: var(--stone);
}

.summary-icon {
  color: var(--olive-dark);
}

.summary-icon svg {
  width: 18px;
  height: 18px;
}

.nav-toggle svg,
.menu-close svg,
.chat-fab svg {
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-loading {
  pointer-events: none;
  opacity: 0.72;
  cursor: wait;
}

.eyebrow, .section-label, .audience-callout {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 2.25rem;
}

/* --- LAYOUT --- */

.container {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad { padding: var(--section-y) 0; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.narrow-col {
  max-width: min(820px, calc(100vw - 2 * var(--gutter)));
  margin: 0 auto;
}

.hairline-top { border-top: 1px solid var(--hairline-soft); }
.hairline-bottom { border-bottom: 1px solid var(--hairline-soft); }
.hairline-box { border: 1px solid var(--hairline-soft); }

/* --- NAVIGATION --- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline-soft);
  height: 54px;
  display: flex;
  align-items: center;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 6px;
  color: var(--text);
}

.site-nav .container {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav .nav-brand img { height: 26px; width: auto; }

/* --- NAV OVERLAY --- */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-soft), visibility 0.4s;
}

.nav-overlay.active, .nav-overlay.open { opacity: 1; visibility: visible; }

.nav-overlay-close {
  position: absolute;
  top: 16px;
  right: var(--gutter);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-overlay-logo {
  position: absolute;
  top: clamp(2rem, 5vw, 3.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  z-index: 1;
}

.nav-overlay-logo img {
  display: block;
  width: 28px;
  height: auto;
}

.nav-overlay-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.nav-overlay-links a {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--duration-fast);
  position: relative;
  display: inline-block;
}

.nav-overlay-links a::after {
  content: "";
  position: absolute;
  bottom: -0.02em;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-overlay-links a:hover { color: var(--text); }
.nav-overlay-links a:hover::after { width: 100%; }
.nav-overlay-links a.active { color: var(--text-light); font-weight: 500; }
.nav-overlay-links a.active::after { width: 100%; }

.nav-overlay-search { margin-top: 2rem; text-align: center; }

.nav-overlay-search a {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
}

/* --- HERO SECTIONS --- */

.banner-hero {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--hairline-soft);
  overflow: hidden;
}

.banner-hero--photo {
  min-height: clamp(420px, 62vh, 680px);
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(90deg, rgba(35, 32, 27,0.72) 0%, rgba(35, 32, 27,0.46) 42%, rgba(35, 32, 27,0.16) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position, 72% center);
  color: var(--chalk);
}

.banner-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, 72% center);
}

.banner-hero--media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(35, 32, 27,0.72) 0%, rgba(35, 32, 27,0.46) 42%, rgba(35, 32, 27,0.16) 100%);
  pointer-events: none;
}

.banner-hero--photo .hero-eyebrow,
.banner-hero--photo .eyebrow,
.banner-hero--photo h1,
.banner-hero--photo .lead {
  color: var(--chalk);
  text-shadow: 0 1px 24px rgba(0,0,0,0.24);
}

.banner-hero--photo .hero-eyebrow,
.banner-hero--photo .eyebrow,
.banner-hero--photo .lead,
.banner-hero--photo .hero-photo-credit {
  color: var(--chalk);
}

.banner-hero .container {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.banner-hero .hero-eyebrow, .banner-hero .eyebrow {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2.25rem;
}

.banner-hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--text);
  max-width: 22ch;
}

.banner-hero .lead {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-mid);
  max-width: 560px;
  margin-top: 1.5rem;
  line-height: 1.55;
}

.banner-hero .hero-photo-credit {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 0.625rem;
  color: var(--text-light);
  z-index: 2;
}

.banner-hero.banner-hero--photo .hero-eyebrow,
.banner-hero.banner-hero--photo .eyebrow,
.banner-hero.banner-hero--photo h1,
.banner-hero.banner-hero--photo .lead {
  color: var(--chalk);
  text-shadow: 0 1px 24px rgba(0,0,0,0.34);
}

.banner-hero.banner-hero--photo .hero-eyebrow,
.banner-hero.banner-hero--photo .eyebrow,
.banner-hero.banner-hero--photo .lead,
.banner-hero.banner-hero--photo .hero-photo-credit {
  color: var(--chalk);
}

@media (max-width: 640px) {
  .banner-hero { padding: clamp(4rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
}

/* --- LEGAL PAGES --- */

.legal-hero {
  background: var(--paper);
}

.legal-updated {
  margin-top: 0.9rem;
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

.legal-section {
  padding: clamp(3.75rem, 7vw, 6.5rem) 0;
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 780px);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.legal-shell > *,
.legal-content {
  min-width: 0;
}

.legal-aside {
  position: sticky;
  top: 86px;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-soft);
}

.legal-aside p {
  margin: 0;
  font-size: var(--step-00);
  line-height: 1.65;
  color: var(--text-light);
}

.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  margin: clamp(3rem, 5vw, 4.25rem) 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: clamp(1.65rem, 3vw, 2.2rem) 0 0.65rem;
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.72;
  color: var(--text-mid);
}

.legal-content p {
  margin: 0 0 1.05rem;
}

.legal-content ul {
  margin: 0.8rem 0 1.6rem;
  padding-left: 1.15rem;
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.legal-content strong {
  color: var(--text);
  font-weight: 700;
}

.legal-content a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-scroll {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.legal-meta-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: var(--step-00);
  color: var(--text-light);
}

.legal-meta-note strong {
  color: var(--text-light);
}

.legal-cta {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  text-align: center;
}

.legal-cta h2 {
  max-width: 14ch;
  margin: 0 auto 1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--text);
}

.legal-cta p {
  max-width: 44ch;
  margin: 0 auto;
  color: var(--text-mid);
  line-height: 1.6;
}

.legal-cta__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.legal-cta__links .btn {
  min-width: 180px;
  justify-content: center;
}

@media (max-width: 900px) {
  .legal-shell {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .legal-section {
    padding: clamp(3rem, 10vw, 4.5rem) 0;
  }

  .legal-content h2 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }
}

/* --- LEGACY FOOTER (kept for compatibility) --- */

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-top .footer-brand { font-size: inherit; }

.footer-top .footer-brand img {
  max-width: 200px;
  height: auto;
  margin-bottom: 12px;
  filter: grayscale(1);
}

.footer-top .footer-brand p {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 4px;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

footer .footer-col h4 {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
footer .footer-col li { margin-bottom: 0.6rem; }

footer .footer-col li a {
  font-size: 0.875rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--duration-fast);
}

footer .footer-col li a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline-soft);
  gap: 2rem;
}

.footer-bottom-left p {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2px;
}

.footer-bottom-links { display: flex; gap: 1.5rem; }

.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--text-light);
  text-decoration: none;
}

.footer-bottom-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}

/* --- BUTTONS --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  min-height: var(--btn-pill-height);
  padding: 0 var(--btn-pill-padding-x);
  border: 1px solid var(--ink);
  border-radius: 0;
  line-height: 1;
  background: transparent;
  color: var(--text);
  transition:
    background-color 240ms cubic-bezier(0.2, 0.65, 0.2, 1),
    border-color 240ms cubic-bezier(0.2, 0.65, 0.2, 1),
    letter-spacing 240ms cubic-bezier(0.2, 0.65, 0.2, 1),
    color 240ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.btn:hover {
  background: var(--chalk);
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary { background: transparent; border-color: var(--ink); color: var(--text); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }

.btn-secondary { background: transparent; border-color: var(--ink); color: var(--text); }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }

.btn-text { background: transparent; border: none; color: var(--text); padding: 0; min-height: auto; font-weight: 600; }
.btn-text:hover { color: var(--olive); background: transparent; border: none; }

.btn-charcoal { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.btn-charcoal:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--chalk); }

.btn-white-outline {
  background: var(--chalk);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-white-outline:hover,
.btn-white-outline:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--chalk);
}

.btn-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: var(--btn-pill-height);
  padding: 0 var(--btn-pill-padding-x);
  border: 1px solid;
  border-radius: 0;
  line-height: 1;
  background: transparent;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 240ms cubic-bezier(0.2, 0.65, 0.2, 1),
    color 240ms cubic-bezier(0.2, 0.65, 0.2, 1),
    transform 240ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.btn-outlined:hover { background: var(--ink); color: var(--chalk); }

.btn-outlined .arrow {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentcolor;
  position: relative;
}

.btn-outlined .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid;
  border-top: 1px solid;
  transform: rotate(45deg);
}

.lead-form-btn, .share-btn, .referral-submit-btn { border-radius: 0; }

.cta-group {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

/* --- CTA BAR --- */

.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #2A2119;
  border-top: 1px solid rgba(250, 247, 240, 0.08);
  height: 54px;
}

.cta-bar-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-bar-info { display: flex; align-items: center; gap: 16px; }

.cta-bar-info a {
  color: var(--chalk);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.cta-bar-info a:hover { color: var(--white); text-decoration: none; }

.cta-bar-divider { color: rgba(250, 247, 240, 0.25); font-size: 0.75rem; }

.cta-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 1rem;
  background: transparent;
  color: var(--chalk);
  border: 1px solid rgba(250, 247, 240, 0.28);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background 0.3s, border-color 0.3s, transform 240ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.cta-bar-btn:hover { background: var(--olive-dark); border-color: var(--olive-dark); text-decoration: none; }

@media (max-width: 640px) {
  .cta-bar-info { display: none; }
  .cta-bar-inner { justify-content: center; }
  .cta-bar-btn { width: 100%; justify-content: center; padding: 0 1rem; font-size: 0.68rem; }
}

/* --- SECTIONS --- */

section { position: relative; }

.section-hairline { border-top: 1px solid var(--hairline-soft); }

.section-dark { background: var(--olive-dark); color: var(--chalk); }
.section-dark h2, .section-dark h3 { color: var(--chalk); }
.section-dark p { color: var(--chalk); }

.section-espresso { background: var(--espresso); color: var(--chalk); }
.section-espresso h2 { color: var(--chalk); }
.section-espresso p { color: var(--chalk); }

.section-chalk { background: var(--chalk); }

/* --- SPLIT HERO --- */

.split-hero {
  min-height: min(82vh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--hairline-soft);
}

.split-hero > * + * { border-left: 1px solid var(--hairline-soft); }

.split-hero__image { position: relative; overflow: hidden; background: var(--mist); }

.split-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.88) brightness(1.04);
}

.split-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.split-hero__copy .eyebrow { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.split-hero__copy h1 { max-width: 14ch; margin-bottom: clamp(1.2rem, 2vw, 1.8rem); }
.split-hero__copy p { max-width: 42ch; font-size: var(--step-1); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.split-hero__copy .cta-group { margin-top: 0.5rem; }

@media (max-width: 900px) {
  .split-hero { grid-template-columns: 1fr; min-height: auto; }
  .split-hero > * + * { border-left: 0; border-top: 1px solid var(--hairline-soft); }
  .split-hero__image { min-height: 50vh; }
}

/* --- MANIFESTO --- */

.manifesto { padding: clamp(5rem, 10vw, 10rem) var(--gutter); text-align: center; }

.manifesto__statement {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.08;
  max-width: 22ch;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  color: var(--text);
}

.manifesto__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.manifesto__pillar-icon { width: 32px; height: 32px; margin: 0 auto 1rem; color: var(--taupe); }

.manifesto__pillar-title {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.manifesto__pillar-text { font-size: var(--step-0); color: var(--text-mid); max-width: 28ch; margin: 0 auto; }

@media (max-width: 640px) {
  .manifesto__pillars { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* --- TIMELINE --- */

.timeline-section {
  background: var(--olive-dark);
  color: var(--chalk);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(4rem, 10vw, 8rem);
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  max-width: var(--site-max);
  margin: 0 auto;
}

.timeline-section h2 { color: var(--chalk); letter-spacing: -0.045em; }
.timeline-section p { color: var(--chalk); }

.timeline { position: relative; display: grid; gap: 3.5rem; }

.timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 1px;
  background: rgba(250, 247, 240, 0.42);
}

.timeline__item { position: relative; padding-left: 2.5rem; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--chalk);
  outline: var(--chalk) solid 1px;
  outline-offset: 0.22rem;
}

.timeline__item-title {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk);
  margin-bottom: 0.5rem;
}

.timeline__item-text { font-size: var(--step-0); color: var(--chalk); }

@media (max-width: 900px) {
  .timeline-section { grid-template-columns: 1fr; gap: 3rem; }
}

/* --- QUOTE PAUSE --- */

.quote-pause {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  text-align: center;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.quote-pause__text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.28;
  max-width: 46ch;
  margin: 0 auto 1.5rem;
  color: var(--text);
}

.quote-pause__source {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* --- PROOF WALL (TESTIMONIALS) --- */

.proof-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--chalk);
}

.proof-wall__card {
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter);
  border-right: 1px solid var(--hairline-soft);
}

.proof-wall__card:last-child { border-right: 0; }

.proof-wall__card p {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.34;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.proof-wall__source {
  font-size: var(--step-00);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

@media (max-width: 900px) {
  .proof-wall { grid-template-columns: 1fr; }
  .proof-wall__card { border-right: 0; border-bottom: 1px solid var(--hairline-soft); }
  .proof-wall__card:last-child { border-bottom: 0; }
}

/* --- ACCORDION --- */

.accordion-section {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  padding: var(--section-y) var(--gutter);
  max-width: var(--site-max);
  margin: 0 auto;
}

.accordion-section__heading h2 { margin-bottom: 1.5rem; }

.accordion-list { display: grid; gap: 0; border-top: 1px solid var(--hairline-soft); }

.accordion-item {
  border: 0;
  border-bottom: 1px solid var(--hairline-soft);
  background: transparent;
}

.accordion-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 1.8vw, 1.35rem) 0.15rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--taupe);
  transition: transform 220ms var(--ease-soft);
}

.accordion-item[open] summary::after { content: "\2212"; }

.accordion-item .details-content {
  padding: 0 0.15rem clamp(1rem, 2vw, 1.5rem);
  max-width: 62ch;
}

.accordion-item .details-content p { font-size: var(--step-1); color: var(--text-mid); }

@media (max-width: 900px) {
  .accordion-section { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- NARRATIVE --- */

.narrative {
  padding: clamp(3.75rem, 7.5vw, 6.75rem) var(--gutter);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.narrative .eyebrow { margin-bottom: 1.5rem; }
.narrative h2 { max-width: 18ch; margin: 0 auto 2rem; }
.narrative__image { max-width: 480px; margin: 2rem auto; overflow: hidden; }
.narrative__image img { width: 100%; display: block; filter: contrast(0.88) saturate(0.72); }
.narrative p { max-width: 52ch; margin: 0 auto 1rem; }

/* --- TYPE COLLAGE --- */

.type-collage {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
  color: var(--paper);
  min-height: 32rem;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) clamp(3rem, 6vw, 4rem);
}

.type-collage__word {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 14rem);
  line-height: 0.82;
  font-weight: 400;
  white-space: nowrap;
  font-style: normal;
}

.type-collage__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 4rem);
}

.type-collage__strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.6) contrast(0.86);
}

.type-collage__text {
  max-width: 52ch;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: rgba(244, 241, 234, 0.72);
  font-size: var(--step-1);
}

@media (max-width: 640px) {
  .type-collage__strip { grid-template-columns: repeat(2, 1fr); }
}

/* --- IMAGE UTILITIES --- */

.image-editorial { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) contrast(0.88) saturate(0.72); }
.image-mono { filter: grayscale(1) contrast(0.86) brightness(1.04); }
.image-faded { opacity: 0.86; filter: contrast(0.82) saturate(0.58); }

.image-reveal { clip-path: inset(0 0 100%); transition: clip-path 1200ms var(--ease-out); }
.image-reveal.visible { clip-path: inset(0); }

/* --- SCROLL ANIMATIONS --- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }
.reveal-delay-4 { transition-delay: 480ms; }

.line-draw { width: 0; height: 1px; background: var(--hairline); transition: width 800ms var(--ease-out); }
.line-draw.visible { width: 100%; }

/* --- FACT CARD --- */

.fact-card {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  padding: 16px 18px;
  margin: 16px 0;
}

.fact-card p { margin-bottom: 6px; }
.fact-card p:last-child { margin-bottom: 0; }

.fact-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.fact-copy { max-width: 62ch; font-size: var(--step-1); color: var(--text-mid); }

/* --- ARTICLE TABLE --- */

.article-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--chalk);
  font-size: 0.86rem;
}

.article-table th {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--step-00);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--hairline-soft);
  color: var(--text-mid);
}

.article-table tr:nth-child(2n) td { background: rgba(35, 32, 27, 0.024); }

.article-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.article-table-wrap .article-table {
  width: max-content;
  min-width: 100%;
}

@media (max-width: 760px) {
  .article-table-wrap {
    padding-bottom: 6px;
  }

  .article-table-wrap .article-table {
    min-width: 560px;
  }
}

/* --- CHECKLIST --- */

.checklist { list-style: none; padding: 0; }

.checklist li {
  padding: 0.65rem 0 0.65rem 2rem;
  border-bottom: 1px solid var(--hairline-soft);
  position: relative;
  color: var(--text-mid);
  font-size: var(--step-1);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 14px;
  height: 14px;
  border: 1px solid var(--hairline);
}

/* --- SITE FOOTER (v4) --- */

.site-footer {
  background: var(--espresso);
  color: var(--chalk);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(1.5rem, 3vw, 2rem);
}

.footer-inner { max-width: var(--site-max); margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.footer-col-title {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.5);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  color: var(--chalk);
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--chalk); }

.footer-brand {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: rgba(250, 247, 240, 0.12);
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.footer-legal {
  border-top: 1px solid rgba(250, 247, 240, 0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.72rem;
  color: rgba(250, 247, 240, 0.38);
}

.footer-legal a { color: rgba(250, 247, 240, 0.38); text-decoration: none; }
.footer-legal a:hover { color: var(--chalk); }

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* --- OBSIDIAN BODY/FOOTER --- */

html, body { background: var(--bg); }
main { background: var(--bg); }

.site-footer, body > footer.site-footer {
  background: #2A2119;
  color: var(--chalk);
  margin: 0;
  padding: clamp(4rem, 6vw, 5.75rem) var(--gutter) calc(clamp(2.25rem, 3vw, 2.75rem) + 70px);
}

.site-footer .footer-inner { width: 100%; max-width: var(--site-max); margin: 0 auto; }

.site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 2.1fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  margin: 0 0 clamp(3rem, 6vw, 4.75rem);
}

.site-footer .footer-brand {
  margin: 0;
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.site-footer .footer-logo-link {
  display: inline-block;
  max-width: min(230px, 76vw);
  margin: 0 0 clamp(1.4rem, 2.6vw, 2rem);
}

.site-footer .footer-brand img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  margin: 0;
  opacity: 0.88;
  filter: invert(1) grayscale(1) brightness(1.28) contrast(0.86);
}

.site-footer .footer-brand p {
  margin: 0 0 0.45rem;
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.site-footer .footer-brand p:first-of-type { color: var(--chalk); }
.site-footer .footer-brand-services { max-width: 22rem; }
.site-footer a { color: inherit; }
.site-footer .footer-brand a, .site-footer .footer-legal a { text-decoration: none; }

.site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.site-footer .footer-col-title, .site-footer .footer-col h4 {
  margin: 0 0 1.35rem;
  color: rgba(250, 247, 240, 0.5);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer .footer-col-title-secondary { margin-top: clamp(1.7rem, 3vw, 2.25rem); }

.site-footer .footer-col a, .site-footer .footer-col li a {
  display: block;
  margin: 0 0 0.72rem;
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.42;
  text-decoration: none;
  transition: color var(--duration-fast), transform var(--duration-fast);
}

.site-footer .footer-col a:hover, .site-footer .footer-col li a:hover,
.site-footer .footer-brand a:hover, .site-footer .footer-legal a:hover {
  color: rgba(250, 247, 240, 0.96);
}

.site-footer .footer-col a:hover { transform: translateX(2px); }

.site-footer .footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: end;
  border-top: 1px solid rgba(250, 247, 240, 0.12);
  padding-top: clamp(1.35rem, 2.4vw, 1.85rem);
  color: rgba(250, 247, 240, 0.42);
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.55;
}

.site-footer .footer-legal-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2rem;
  max-width: 58rem;
}

.site-footer .footer-legal-copy span { display: inline-block; }
.site-footer .footer-legal-copy span:nth-child(3) { flex-basis: 100%; max-width: 56rem; }

.site-footer .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1.5rem;
  white-space: nowrap;
}

.site-footer .footer-legal-links a { color: rgba(250, 247, 240, 0.42); }

.site-footer .footer-compliance {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  padding-top: 0.85rem;
  margin-top: 0.35rem;
  border-top: 1px solid rgba(250, 247, 240, 0.08);
  color: rgba(250, 247, 240, 0.5);
  font-size: 0.68rem;
}

.site-footer .footer-eho {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer .footer-eho svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.site-footer .footer-eho svg .eho-shape {
  fill: none;
  stroke: var(--chalk);
  stroke-width: 2;
}

.site-footer .footer-eho svg .eho-bar {
  fill: var(--chalk);
}

.site-footer .footer-compliance-broker,
.site-footer .footer-compliance-disclaimer {
  color: rgba(250, 247, 240, 0.5);
  max-width: 62rem;
}

@media (max-width: 900px) {
  .site-footer .footer-top, .site-footer .footer-legal { grid-template-columns: 1fr; }
  .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-legal-links { justify-content: flex-start; white-space: normal; }
}

@media (max-width: 560px) {
  .site-footer .footer-links { grid-template-columns: 1fr; }
}

/* --- INLINE CTA --- */

.inline-cta {
  border: 1px solid var(--hairline-soft);
  background: var(--chalk);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.inline-cta h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); margin-bottom: 0.75rem; }
.inline-cta p { max-width: 48ch; margin: 0 auto 1.5rem; }

/* --- CTA BAND DARK --- */

.cta-band-dark {
  background: var(--espresso);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  text-align: center;
}

.cta-band-dark h2 { color: var(--chalk); margin-bottom: 1rem; }
.cta-band-dark p { color: var(--chalk); max-width: 52ch; margin: 0 auto 2rem; }
.cta-band-dark .btn-secondary { border-color: rgba(250, 247, 240, 0.38); color: var(--chalk); background: transparent; }
.cta-band-dark .btn-secondary:hover { background: rgba(250, 247, 240, 0.1); border-color: rgba(250, 247, 240, 0.7); }
.cta-band-dark .btn-primary { background: var(--chalk); border-color: var(--chalk); color: var(--ink); }
.cta-band-dark .btn-primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); color: var(--chalk); }

/* --- ABOUT EDITORIAL --- */

.about-editorial {
  display: grid;
  grid-template-columns: minmax(340px, 0.52fr) minmax(0, 1fr);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--chalk);
}

.about-editorial__portrait {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--hairline-soft);
  background: var(--mist);
}

.about-editorial__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1) contrast(0.88) brightness(1.04);
}

.about-editorial__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(3rem, 6vw, 5rem);
}

.about-editorial__copy .eyebrow { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.about-editorial__copy h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 0.88; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.about-editorial__copy p { max-width: 52ch; font-size: var(--step-1); margin-bottom: 0.85rem; }

@media (max-width: 900px) {
  .about-editorial { grid-template-columns: 1fr; }
  .about-editorial__portrait { border-right: 0; border-bottom: 1px solid var(--hairline-soft); min-height: 50vh; }
}

/* --- IMAGE STRIP --- */

.image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--hairline-soft);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.image-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.3) contrast(0.88) saturate(0.68);
  display: block;
}

/* --- ACCESSIBILITY --- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--chalk);
  color: var(--text);
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }

/* --- FORM INPUTS --- */

.phone-input-wrap { display: flex; gap: 8px; align-items: stretch; }

.phone-code {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  flex-shrink: 0;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.8125rem;
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 0.2s;
}

.phone-code:focus { outline: none; border-color: var(--accent); }
.phone-input-wrap input[type="tel"] { flex: 1; width: auto; }

/* --- COOKIE BANNER --- */

.cookie-banner {
  position: fixed;
  bottom: 70px;
  left: 20px;
  right: 20px;
  max-width: 420px;
  background: var(--chalk);
  border: 1px solid var(--hairline-soft);
  padding: 24px;
  z-index: 120;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  display: none;
}

.cookie-banner p { font-size: 0.8125rem; margin-bottom: 8px; }
.cookie-banner .cookie-learn { margin-bottom: 16px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }

.cookie-btns { display: flex; gap: 8px; }

.cookie-btn {
  flex: 1;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: 0.2s;
}

.cookie-accept { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
.cookie-decline { background: transparent; color: var(--text); }
.cookie-banner.show { display: block; }
.cookie-accept:hover { background: var(--terracotta); }
.cookie-decline:hover { background: var(--mist); }

/* --- CHAT WIDGET --- */

.chat-bubble {
  position: fixed;
  bottom: 72px;
  right: var(--gutter);
  z-index: 90;
  width: 52px;
  height: 52px;
  background: var(--olive-dark);
  border: 1px solid rgba(250, 247, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(35, 34, 29, 0.18);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.chat-bubble:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(35, 34, 29, 0.24); }
.chat-bubble svg { width: 22px; height: 22px; color: var(--chalk); }

.chat-panel {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 380px;
  height: 500px;
  background: var(--chalk);
  border: 1px solid var(--hairline-soft);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  z-index: 91;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.25s;
  overflow: hidden;
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline-soft);
}

.chat-header-main { min-width: 0; flex: 1; }

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  padding: 0;
  background: var(--paper);
  border: 1px solid rgba(104, 102, 80, 0.2);
  box-shadow: 0 2px 8px rgba(35, 34, 29, 0.08);
}

.chat-header-title {
  font-weight: 650;
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-header-sub {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 2px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-header-actions { display: flex; gap: 8px; }

.chat-header-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px;
  display: flex;
  transition: color 0.2s;
}

.chat-header-btn:hover { color: var(--text); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, rgba(246, 244, 239, 0.72), rgba(250, 247, 240, 0.92));
}

.chat-msg {
  width: fit-content;
  max-width: min(78%, 292px);
  padding: 11px 15px 12px;
  border-radius: 22px;
  font-size: 0.875rem;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  box-shadow: 0 1px 2px rgba(35, 34, 29, 0.05);
}

.chat-msg-bot {
  background: #ECE7DF;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.chat-msg-user {
  background: var(--olive-dark);
  color: var(--chalk);
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  box-shadow: 0 2px 8px rgba(88, 87, 65, 0.18);
}

.chat-typing {
  width: fit-content;
  display: flex;
  gap: 4px;
  padding: 12px 15px;
  align-self: flex-start;
  background: #ECE7DF;
  border-radius: 22px 22px 22px 6px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-light);
  animation: chatDot 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-quick-actions { display: flex; gap: 8px; padding: 8px 20px; flex-wrap: wrap; }

.chat-quick-btn {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 7px 11px;
  border-radius: 0;
  border: 1px solid var(--border);
  background: var(--chalk);
  color: var(--text-mid);
  cursor: pointer;
  transition: 0.2s;
}

.chat-quick-btn:hover { border-color: var(--accent); color: var(--accent); }

.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--hairline-soft);
  background: rgba(250, 247, 240, 0.96);
}

.chat-input {
  flex: 1;
  min-width: 0;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  background: var(--paper);
  color: var(--text);
  outline: none;
}

.chat-input:focus { border-color: rgba(92, 107, 79, 0.34); background: var(--chalk); }
.chat-input::placeholder { color: var(--text-light); }

.chat-send {
  width: 38px;
  height: 38px;
  background: var(--olive-dark);
  color: var(--chalk);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  flex: 0 0 auto;
  transition: background 0.2s, transform 0.2s;
}

.chat-send:hover { background: var(--ink); transform: translateY(-1px); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* --- SCHEDULING WIDGET --- */

.sched-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(35, 32, 27, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
}

.sched-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.sched-card {
  background: var(--chalk);
  border: 1px solid var(--hairline-soft);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.sched-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  z-index: 2;
  padding: 4px;
}

.sched-close:hover { color: var(--text); }

.sched-header {
  text-align: center;
  padding: 32px 28px 20px;
  border-bottom: 1px solid var(--hairline-soft);
}

.sched-header h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 4px;
}

.sched-header p { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 0; }

.sched-body { padding: 20px 28px 28px; position: relative; min-height: 300px; }

.sched-step { display: none; }
.sched-step.active { display: block; animation: schedFadeIn 0.25s ease; }

@keyframes schedFadeIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.sched-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.sched-cal-arrow { background: none; border: none; cursor: pointer; color: var(--text-light); padding: 4px; }
.sched-cal-arrow:hover { color: var(--text); }
.sched-cal-arrow svg { width: 16px; height: 16px; }

.sched-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }

.sched-cal-grid .sched-day-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  padding: 8px 0;
}

.sched-day {
  padding: 10px 0;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--text);
  cursor: pointer;
  transition: 0.15s;
}

.sched-day:hover { background: var(--accent-soft); }
.sched-day.disabled { color: var(--stone); cursor: default; }
.sched-day.disabled:hover { background: transparent; }
.sched-day.selected { background: var(--olive-dark); color: var(--chalk); font-weight: 600; }
.sched-day.today { font-weight: 700; }

.sched-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 16px;
  padding: 0;
}

.sched-back:hover { color: var(--text); }
.sched-back svg { width: 14px; height: 14px; }

.sched-date-label {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.sched-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.sched-time-btn {
  padding: 10px;
  border: 1px solid var(--hairline-soft);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--text);
  cursor: pointer;
  transition: 0.15s;
}

.sched-time-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.sched-time-btn.selected { background: var(--olive-dark); color: var(--chalk); border-color: var(--olive-dark); font-weight: 600; }

.sched-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--accent-soft);
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}

.sched-summary svg { width: 16px; height: 16px; stroke: var(--accent); flex-shrink: 0; }

.sched-field { margin-bottom: 16px; }

.sched-field label {
  display: block;
  font-size: var(--step-00);
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sched-field input, .sched-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.2s;
}

.sched-field input:focus, .sched-field textarea:focus { outline: none; border-color: var(--accent); }

.sched-error { border-color: #E53935 !important; }

.sched-submit {
  width: 100%;
  min-height: var(--btn-pill-height);
  padding: 0 var(--btn-pill-padding-x);
  background: var(--olive-dark);
  color: var(--chalk);
  border: none;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.sched-submit:hover { background: var(--ink); }

/* --- RESPONSIVE --- */

@media (max-width: 640px) {
  :root { --gutter: 1.15rem; --section-y: clamp(3rem, 8vw, 5rem); }
  h1 { font-size: clamp(3rem, 7.5vw, 6rem); }
  h2 { font-size: clamp(1.65rem, 8vw, 2.8rem); }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 70px; height: calc(100vh - 100px); }
}

/* --- SUBPAGE EXPANDABLE SECTIONS --- */

details:not(.faq-item):not(.accordion-item) {
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
}

details:not(.faq-item):not(.accordion-item) summary {
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

details:not(.faq-item):not(.accordion-item) summary::-webkit-details-marker { display: none; }

details:not(.faq-item):not(.accordion-item) summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--taupe);
  margin-left: auto;
  transition: transform 220ms var(--ease-soft);
}

details:not(.faq-item):not(.accordion-item)[open] summary::after { content: "\2212"; }

details:not(.faq-item):not(.accordion-item) .details-content {
  padding: 0 18px 16px;
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.55;
}

details:not(.faq-item):not(.accordion-item) .details-content p { font-size: 0.8125rem; margin-bottom: 8px; }
details:not(.faq-item):not(.accordion-item) .details-content p:last-child { margin-bottom: 0; }
details:not(.faq-item):not(.accordion-item) .details-content ul { margin: 4px 0 8px 16px; font-size: 0.8125rem; color: var(--text-mid); }
details:not(.faq-item):not(.accordion-item) .details-content li { margin-bottom: 4px; }

.summary-icon {
  width: 28px;
  height: 28px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-icon svg { width: 14px; height: 14px; stroke: var(--accent); }

/* --- FACT VALUE + GRID --- */

.fact-value {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

.facts-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

/* --- ALERT --- */

.alert {
  background: var(--chalk);
  border: 1px solid var(--mist);
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 0.8125rem;
  color: var(--text-mid);
}

.alert-danger {
  background: var(--chalk);
  border-color: var(--stone);
}

/* --- BLOCKQUOTE --- */

blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin: 16px 0;
  background: var(--accent-soft);
}

blockquote p {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 0;
}

.testimonial-cell blockquote,
.proof-wall__card blockquote {
  border-left: 0;
  background: transparent;
  padding: 0;
}

/* --- JUMP LINKS --- */

.jump-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
  max-width: var(--site-max);
}

.jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 1 170px;
  min-width: 150px;
  min-height: 44px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition:
    background-color 200ms cubic-bezier(0.2, 0.65, 0.2, 1),
    border-color 200ms cubic-bezier(0.2, 0.65, 0.2, 1),
    color 200ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.jump-link:hover,
.jump-link:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--chalk);
  text-decoration: none;
}

/* --- FACT TABLE --- */

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.8125rem;
}

.fact-table th {
  text-align: left;
  padding: 8px 12px;
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-mid);
}

.fact-table tr:last-child td { border-bottom: none; }

/* --- SEASON TABLE --- */

.season-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  font-size: 0.8125rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.season-table th {
  background: var(--accent-soft);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.season-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--border-light);
  color: var(--text-mid);
  vertical-align: top;
}

.season-table tr:nth-child(even) td { background: var(--bg-alt); }

.season-label { font-weight: 600; color: var(--text); white-space: nowrap; }

/* --- AMENITY CARDS --- */

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  left: 50%;
  width: 100vw;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0 -50vw;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--paper);
}

.amenity-card {
  min-height: clamp(240px, 23vw, 310px);
  background: var(--paper);
  border-right: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  padding: clamp(2rem, 3.8vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.amenity-card:nth-child(3n) { border-right: 0; }
.amenity-card:nth-last-child(-n+3) { border-bottom: 0; }

.amenity-icon {
  width: 32px;
  height: 32px;
  margin-bottom: clamp(1.4rem, 2.6vw, 2rem);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenity-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.amenity-card strong {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink);
}

.amenity-card span {
  display: block;
  max-width: 35ch;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.55;
  color: var(--text-mid);
}

/* --- DETAILS GRID (subpage expandable sections in grid layout) --- */

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--hairline-soft);
  border-radius: 0;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  background: transparent;
  overflow: hidden;
}

/* --- TAB PANEL (left tabs + right content, contained width) --- */
/* Replaces the details-grid pattern site-wide on subpages.
   Contained inside the parent container (not viewport-breakout).
   Mobile: stacks tabs above the content pane. */

.tab-panel {
  display: grid;
  grid-template-columns: clamp(220px, 28vw, 340px) 1fr;
  border: 1px solid var(--hairline-soft);
  margin-top: clamp(1.5rem, 3vw, 2rem);
  min-height: 240px;
  background: transparent;
  overflow: hidden;
}

.tab-buttons {
  border-right: 1px solid var(--hairline-soft);
  display: flex;
  flex-direction: column;
  background: transparent;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: clamp(0.875rem, 1.5vw, 1.25rem) clamp(1.25rem, 2.5vw, 2.5rem);
  border: none;
  border-bottom: 1px solid var(--hairline-soft);
  border-left: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: 0.01em;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.tab-btn:last-child { border-bottom: none; }

.tab-btn:hover {
  background: rgba(35, 32, 27, 0.02);
  color: var(--ink);
}

.tab-btn.active {
  background: var(--chalk);
  color: var(--ink);
  font-weight: 500;
  border-left-color: var(--olive-dark);
}

.tab-btn .summary-icon,
.tab-btn .tab-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tab-content {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
  background: var(--chalk);
}

.tab-pane {
  display: none;
  animation: tabFadeIn 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-pane.active { display: block; }

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-pane > *:first-child { margin-top: 0; }
.tab-pane > *:last-child { margin-bottom: 0; }

.tab-pane p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin: 0 0 0.65rem;
  line-height: 1.7;
}

.tab-pane p:last-child { margin-bottom: 0; }

.tab-pane ul,
.tab-pane ol {
  margin: 0.5rem 0 0.75rem 1.15rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.tab-pane li { margin-bottom: 0.35rem; }

.tab-pane strong { color: var(--text); }

@media (max-width: 900px) {
  .tab-panel {
    grid-template-columns: 1fr;
  }
  .tab-buttons {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--hairline-soft);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .tab-btn {
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    border-left: none;
    padding: 0.85rem 1.1rem;
    font-size: 0.75rem;
  }
  .tab-btn:last-child { border-bottom: 3px solid transparent; }
  .tab-btn.active {
    border-bottom-color: var(--olive-dark);
    border-left-color: transparent;
  }
  .tab-btn .summary-icon,
  .tab-btn .tab-icon { display: none; }
}

.details-grid > details {
  border: none;
  border-right: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  margin-bottom: 0;
  background: transparent;
}

.details-grid > details:nth-child(2n) { border-right: 0; }
.details-grid > details:nth-last-child(1):nth-child(odd) { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.details-grid > details:nth-last-child(-n+2):nth-child(even) { border-bottom: 0; }
.details-grid > details:nth-last-child(2):nth-child(odd) { border-bottom: 0; }

.details-grid > details summary {
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.details-grid > details .details-content {
  padding: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
}

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

.details-grid-3 > details:nth-child(2n) { border-right: 1px solid var(--hairline-soft); }
.details-grid-3 > details:nth-child(3n) { border-right: 0; }
.details-grid-3 > details:last-child:nth-child(3n) { grid-column: auto; border-bottom: 0; }
.details-grid-3 > details:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.details-grid-3 > details:last-child:nth-child(3n+2) { grid-column: span 2; }
.details-grid-3 > details:first-child:nth-last-child(3),
.details-grid-3 > details:first-child:nth-last-child(3) ~ details { border-bottom: 0; }
.details-grid-3 > details:nth-last-child(-n+3):nth-child(n+4) { border-bottom: 0; }

@media (max-width: 900px) {
  .details-grid, .details-grid-3 { grid-template-columns: 1fr; }
  .details-grid > details,
  .details-grid-3 > details { border-right: 0 !important; grid-column: auto !important; }
  .details-grid > details:last-child,
  .details-grid-3 > details:last-child { border-bottom: 0; }
}

/* --- DETAILS EXPAND ANIMATION (site-wide ease-in/out) --- */

/* Enable auto-value interpolation so height:0 -> auto animates smoothly. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Modern browsers: animate via ::details-content pseudo (Chrome 131+, Safari 18+). */
  details::details-content {
    height: 0;
    opacity: 0;
    overflow: clip;
    transition:
      content-visibility 0.35s allow-discrete,
      opacity 0.28s ease-in-out,
      height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  details[open]::details-content {
    height: auto;
    opacity: 1;
  }

  /* Fallback wrapper animation for details that use .details-content inner div. */
  details .details-content {
    transition: opacity 0.28s ease-in-out;
  }

  details[open] > summary + .details-content,
  details[open] > .details-content {
    opacity: 1;
  }

  /* Summary caret / chevron rotation on open. Matches existing summary markers. */
  details > summary {
    transition: background-color 0.2s ease-in-out;
  }

  details > summary::after,
  details > summary .summary-icon,
  details > summary .details-caret {
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

  details[open] > summary::after,
  details[open] > summary .summary-icon,
  details[open] > summary .details-caret {
    transform: rotate(180deg);
  }
}

/* --- PHOTO PLACEHOLDER --- */

.photo-placeholder {
  max-width: 600px;
  margin: clamp(1.5rem, 3vw, 2rem) auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.75rem;
  text-align: center;
  padding: 20px;
  line-height: 1.7;
}

.photo-placeholder--wide { max-width: 700px; aspect-ratio: 16/9; }

.photo-placeholder.photo-asset {
  padding: 0;
  overflow: hidden;
  min-height: auto;
  background: var(--bg-alt);
}

.photo-placeholder.photo-asset img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: inherit;
  object-fit: cover;
}

.editorial-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  margin: clamp(2rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3.5rem) -50vw;
  overflow: hidden;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--bg-alt);
}

.editorial-banner img {
  display: block;
  width: 100%;
  height: clamp(280px, 48vw, 620px);
  object-fit: cover;
  object-position: var(--image-position, center);
}

.editorial-banner--quiet img {
  filter: contrast(0.96) saturate(0.9);
}

/* --- CALLOUT BOX --- */

.callout-accent {
  --callout-resume-image: url("images/mhe-tg-002-rental-resume-mockup-close-v01.webp");
  --callout-movein-image: url("images/mhe-tg-022-movein-pack-mockup-close-v01.webp");
  --callout-bundle-image: url("images/mhe-tg-063-rental-bundle-hover-lap-v03.webp");
  --callout-complete-image: url("images/mhe-tg-061-complete-package-portal-bright-v04.webp");
  --callout-image: var(--callout-bundle-image);
  --callout-position: center;
  --callout-base-image: var(--callout-image);
  --callout-preview-image: var(--callout-base-image);
  --callout-base-position: var(--callout-position, center);
  --callout-preview-position: var(--callout-base-position);
  --callout-image-size: cover;
  --callout-preview-size: var(--callout-image-size);
  background: rgba(104,102,80,0.06);
  border: 1px solid rgba(104,102,80,0.15);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.callout-accent__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
}

.callout-accent__body {
  margin: 0 0 12px;
  font-size: 0.68rem;
  line-height: 1.6;
}

.callout-accent__link {
  margin: 0;
  font-size: 0.68rem;
}

.callout-accent__link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.callout-accent__meta {
  color: var(--text-light);
}

.callout-accent--cta {
  margin-bottom: 40px;
}

.callout-accent--cta .callout-accent__title {
  font-size: 1.25rem;
}

.callout-accent--image-banner,
.callout-accent--product-banner,
.callout-accent--cta:has(.product-pills) {
  width: 100vw;
  min-height: clamp(360px, 42vw, 620px);
  position: relative;
  left: 50%;
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem) -50vw;
  padding:
    clamp(3rem, 6vw, 5rem)
    max(var(--gutter), calc((100vw - var(--site-max)) / 2 + var(--gutter)));
  border-left: 0;
  border-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  color: var(--chalk);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.callout-accent--product-banner,
.callout-accent--cta:has(.product-pills) {
  --callout-position: right center;
  --callout-base-position: right center;
  --callout-preview-position: right center;
  --callout-image-size: auto 100%;
  --callout-preview-size: var(--callout-image-size);
}

@media (max-width: 700px) {
  .callout-accent--product-banner,
  .callout-accent--cta:has(.product-pills) {
    --callout-image-size: cover;
    --callout-base-position: center;
    --callout-preview-position: center;
  }
}

.callout-accent--image-banner::before,
.callout-accent--product-banner::before,
.callout-accent--cta:has(.product-pills)::before,
.callout-accent--image-banner::after,
.callout-accent--product-banner::after,
.callout-accent--cta:has(.product-pills)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.callout-accent--image-banner::before,
.callout-accent--product-banner::before,
.callout-accent--cta:has(.product-pills)::before {
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(35, 32, 27,0.9) 0%, rgba(35, 32, 27,0.72) 36%, rgba(35, 32, 27,0.26) 74%, rgba(35, 32, 27,0.1) 100%),
    linear-gradient(180deg, rgba(35, 32, 27,0.1), rgba(35, 32, 27,0.22)),
    var(--callout-base-image);
  background-size: cover, cover, var(--callout-image-size);
  background-position: center, center, var(--callout-base-position);
  background-repeat: no-repeat;
}

.callout-accent--image-banner::after,
.callout-accent--product-banner::after,
.callout-accent--cta:has(.product-pills)::after {
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(35, 32, 27,0.9) 0%, rgba(35, 32, 27,0.72) 36%, rgba(35, 32, 27,0.26) 74%, rgba(35, 32, 27,0.1) 100%),
    linear-gradient(180deg, rgba(35, 32, 27,0.1), rgba(35, 32, 27,0.22)),
    var(--callout-preview-image);
  background-size: cover, cover, var(--callout-preview-size);
  background-position: center, center, var(--callout-preview-position);
  background-repeat: no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s cubic-bezier(0.32, 0, 0.16, 1);
  will-change: clip-path;
}

.callout-accent--image-banner[data-callout-preview-active="true"]::after,
.callout-accent--product-banner[data-callout-preview-active="true"]::after,
.callout-accent--cta:has(.product-pills)[data-callout-preview-active="true"]::after,
.callout-accent--image-banner:has([data-checkout-product]:is(:hover, :focus-visible))::after,
.callout-accent--product-banner:has([data-checkout-product]:is(:hover, :focus-visible))::after,
.callout-accent--cta:has(.product-pills):has([data-checkout-product]:is(:hover, :focus-visible))::after {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .callout-accent--image-banner::after,
  .callout-accent--product-banner::after,
  .callout-accent--cta:has(.product-pills)::after {
    transition: none;
  }
}

.callout-accent--product-banner[data-product-preview="rental-resume"],
.callout-accent--cta:has([data-checkout-product="rental-resume"]:is(:hover, :focus-visible)) {
  --callout-preview-image: var(--callout-resume-image);
  --callout-preview-position: right center;
}

.callout-accent--product-banner[data-product-preview="move-in-pack"],
.callout-accent--cta:has([data-checkout-product="move-in-pack"]:is(:hover, :focus-visible)) {
  --callout-preview-image: var(--callout-movein-image);
  --callout-preview-position: right center;
}

.callout-accent--product-banner[data-product-preview="rental-bundle"],
.callout-accent--cta:has([data-checkout-product="rental-bundle"]:is(:hover, :focus-visible)) {
  --callout-preview-image: var(--callout-bundle-image);
  --callout-preview-position: right center;
}

.callout-accent--product-banner[data-product-preview="complete-rental-package"],
.callout-accent--cta:has([data-checkout-product="complete-rental-package"]:is(:hover, :focus-visible)) {
  --callout-preview-image: var(--callout-complete-image);
  --callout-preview-position: right center;
}

.callout-accent--image-banner > *,
.callout-accent--product-banner > *,
.callout-accent--cta:has(.product-pills) > * {
  position: relative;
  z-index: 1;
}

.callout-accent--image-banner .callout-accent__title,
.callout-accent--image-banner .callout-accent__body,
.callout-accent--product-banner .callout-accent__title,
.callout-accent--product-banner .callout-accent__body,
.callout-accent--cta:has(.product-pills) .callout-accent__title,
.callout-accent--cta:has(.product-pills) .callout-accent__body {
  max-width: min(560px, 100%);
  color: var(--chalk);
  text-shadow: 0 1px 24px rgba(0,0,0,0.34);
}

.callout-accent--image-banner .callout-accent__title,
.callout-accent--product-banner .callout-accent__title,
.callout-accent--cta:has(.product-pills) .callout-accent__title {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.callout-accent--image-banner .callout-accent__body,
.callout-accent--product-banner .callout-accent__body,
.callout-accent--cta:has(.product-pills) .callout-accent__body {
  font-size: clamp(0.86rem, 1.25vw, 1.05rem);
  line-height: 1.6;
  color: var(--chalk);
  margin-bottom: 1.5rem;
}

.callout-accent--image-banner .product-pills,
.callout-accent--product-banner .product-pills,
.callout-accent--cta:has(.product-pills) .product-pills {
  justify-content: flex-start;
  max-width: min(760px, 100%);
  margin-bottom: 0;
}

.callout-accent--image-banner .callout-accent__meta,
.callout-accent--product-banner .callout-accent__meta,
.callout-accent--cta:has(.product-pills) .callout-accent__meta {
  color: var(--chalk);
  margin-top: 1.2rem;
  text-shadow: 0 1px 18px rgba(0,0,0,0.34);
}

.callout-accent--image-banner .product-pill--filled,
.callout-accent--product-banner .product-pill--filled,
.callout-accent--cta:has(.product-pills) .product-pill--filled {
  background: var(--chalk);
  border-color: var(--chalk);
  color: var(--ink);
}

.callout-accent--image-banner .product-pill--outline,
.callout-accent--product-banner .product-pill--outline,
.callout-accent--cta:has(.product-pills) .product-pill--outline {
  border-color: var(--chalk);
  color: var(--chalk);
}

.callout-accent--image-banner .product-pill:hover,
.callout-accent--image-banner .product-pill:focus-visible,
.callout-accent--product-banner .product-pill:hover,
.callout-accent--product-banner .product-pill:focus-visible,
.callout-accent--cta:has(.product-pills) .product-pill:hover,
.callout-accent--cta:has(.product-pills) .product-pill:focus-visible {
  opacity: 1;
  background: var(--chalk);
  border-color: var(--chalk);
  color: var(--ink);
}

/* --- PRODUCT PILLS (CTA product links) --- */

.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-pill-height);
  min-width: min(230px, 100%);
  padding: 0 var(--btn-pill-padding-x);
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s;
}

.product-pill:hover { opacity: 0.8; }

.product-pill--outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.product-pill--filled {
  background: var(--accent);
  color: var(--chalk);
  border: 1px solid var(--accent);
}

/* --- EDITORIAL INSPECTION SECTIONS --- */

.editorial-overlap-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.editorial-overlap-section .container {
  display: grid;
  grid-template-columns: minmax(360px, 42vw) minmax(0, 1fr);
  grid-template-areas:
    "media intro"
    "media panel";
  align-items: stretch;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--paper);
}

.editorial-overlap-section .editorial-banner {
  grid-area: media;
  position: relative;
  left: auto;
  width: 100%;
  height: 100%;
  min-height: clamp(560px, 64vw, 760px);
  margin: 0;
  border: 0;
  border-right: 1px solid var(--hairline-soft);
  background: var(--bg-alt);
}

.editorial-overlap-section .editorial-banner img {
  height: 100%;
  min-height: inherit;
}

.editorial-overlap-card {
  grid-area: intro;
  position: relative;
  z-index: 2;
  width: auto;
  margin: 0;
  padding:
    clamp(2.25rem, 5vw, 4.5rem)
    max(var(--gutter), calc((100vw - var(--site-max)) / 2))
    clamp(1.5rem, 2.5vw, 2.25rem)
    clamp(2rem, 4vw, 4rem);
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--hairline-soft);
  box-shadow: none;
  backdrop-filter: none;
}

.editorial-overlap-card h2 {
  max-width: 11ch;
  margin-bottom: 0.9rem;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.editorial-overlap-card p {
  max-width: 58ch;
}

.editorial-overlap-card p:last-child {
  margin-bottom: 0;
}

.editorial-overlap-card--dark,
.editorial-overlap-card--dark h2,
.editorial-overlap-card--dark p,
.editorial-overlap-card--dark blockquote,
.editorial-overlap-card--dark blockquote p {
  color: var(--text);
}

.editorial-overlap-section .tab-panel,
.editorial-overlap-section .inspection-panel {
  grid-area: panel;
  align-self: stretch;
  margin: 0;
  border: 0;
  min-height: clamp(300px, 28vw, 420px);
  background: var(--paper);
}

.editorial-overlap-section .inspection-panel {
  display: flex;
  flex-direction: column;
  padding:
    clamp(1.6rem, 2.7vw, 2.5rem)
    max(var(--gutter), calc((100vw - var(--site-max)) / 2))
    clamp(2.25rem, 4vw, 4rem)
    clamp(2rem, 4vw, 4rem);
}

.inspection-eyebrow {
  margin: 0 0 clamp(1rem, 2vw, 1.4rem);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

.inspection-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline-soft);
}

.inspection-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: clamp(1.15rem, 2vw, 1.6rem);
  padding: clamp(1.6rem, 2.8vw, 2.25rem) 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.inspection-item .summary-icon,
.inspection-item .tab-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-dark);
}

.inspection-item .summary-icon svg,
.inspection-item .tab-icon svg {
  width: 20px;
  height: 20px;
}

.inspection-item h3 {
  margin: 0.35rem 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.inspection-item__copy p,
.inspection-item__copy ul,
.inspection-item__copy ol {
  margin: 0 0 0.45rem;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  line-height: 1.7;
  color: var(--text-mid);
}

.inspection-item__copy li { margin-bottom: 0.35rem; }
.inspection-item__copy li:last-child { margin-bottom: 0; }

.inspection-item__copy p:last-child,
.inspection-item__copy ul:last-child,
.inspection-item__copy ol:last-child {
  margin-bottom: 0;
}

.inspection-item__copy strong {
  color: var(--text);
  font-weight: 600;
}

.inspection-item__copy a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.editorial-overlap-section .tab-buttons {
  background: var(--paper);
}

.editorial-overlap-section .tab-content {
  display: flex;
  align-items: center;
  background: var(--paper);
}

.editorial-overlap-section .tab-pane p {
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
}

#when-to-search {
  padding-top: 0;
}

#when-to-search .search-overlap-card {
  position: relative;
  z-index: 2;
  margin-top: clamp(-7rem, -9vw, -4rem);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: rgba(250, 247, 240, 0.95);
  border: 1px solid var(--hairline-soft);
  box-shadow: none;
  backdrop-filter: blur(5px);
}

#avoiding-scams .scam-image-stack {
  position: relative;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(4rem, 7vw, 6rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

#avoiding-scams .scam-image-stack .editorial-banner {
  left: auto;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

#avoiding-scams .scam-image-stack .editorial-banner img {
  height: clamp(360px, 48vw, 640px);
  object-position: center 48%;
}

#avoiding-scams .scam-overlap-stats {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - (2 * var(--gutter))));
  margin: clamp(-5rem, -6.5vw, -3.25rem) auto 0;
  padding: 0;
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

#avoiding-scams .scam-overlap-stats .fact-card {
  background: rgba(250, 247, 240, 0.96);
  box-shadow: none;
  backdrop-filter: blur(5px);
  margin: 0;
  padding: clamp(1.15rem, 2.5vw, 1.7rem);
}

#avoiding-scams .scam-detail-panel {
  margin-top: 0;
}

.landlord-overlap-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.landlord-overlap-section .container {
  position: relative;
}

.landlord-overlap-heading {
  position: relative;
  width: min(820px, 100%);
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
  padding: 0;
  background: transparent;
}

.landlord-overlap-heading h2 {
  margin-bottom: 0.7rem;
}

.landlord-overlap-heading p {
  max-width: 58ch;
  margin: 0;
}

.landlord-image-quote {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--espresso);
}

.landlord-image-quote .editorial-banner {
  grid-area: 1 / 1;
  left: auto;
  width: 100%;
  height: clamp(440px, 44vw, 660px);
  margin: 0;
  border: 0;
}

.landlord-image-quote .editorial-banner img {
  height: 100%;
}

.landlord-image-quote blockquote {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding:
    clamp(2rem, 4vw, 4rem)
    clamp(2rem, 4vw, 3.4rem)
    clamp(2rem, 4vw, 4rem)
    max(var(--gutter), calc((100vw - var(--site-max)) / 2));
  background: linear-gradient(90deg, rgba(35, 32, 27, 0.68) 0%, rgba(35, 32, 27, 0.38) 52%, rgba(35, 32, 27, 0.06) 100%);
  border: 0;
  color: var(--chalk);
  text-align: left;
}

.landlord-image-quote blockquote p {
  max-width: 14ch;
  margin: 0;
  color: var(--chalk);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.landlord-image-quote blockquote::after {
  content: "Matthew's approach";
  display: block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk);
}

.landlord-overlap-panel,
.landlord-overlap-section .inspection-panel {
  width: min(100%, var(--site-max));
  margin: clamp(1.6rem, 3vw, 2.4rem) auto 0;
  background: var(--paper);
  border-top: 1px solid var(--hairline-soft);
}

.landlord-overlap-section .inspection-panel {
  padding: clamp(1.5rem, 3vw, 2.4rem) 0 0;
}

@media (max-width: 700px) {
  .editorial-overlap-section {
    padding: clamp(2.5rem, 8vw, 4rem) 0;
  }

  .editorial-overlap-section .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "intro"
      "panel";
  }

  .editorial-overlap-section .editorial-banner {
    min-height: clamp(320px, 78vw, 520px);
    border-right: 0;
    border-bottom: 1px solid var(--hairline-soft);
  }

  .editorial-overlap-card {
    padding: clamp(1.75rem, 7vw, 3rem) var(--gutter);
  }

  .editorial-overlap-card h2 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .editorial-overlap-section .inspection-panel {
    padding: clamp(1.6rem, 7vw, 2.6rem) var(--gutter) clamp(2.4rem, 8vw, 3.4rem);
    min-height: 0;
  }

  .inspection-item {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .inspection-item .summary-icon,
  .inspection-item .tab-icon {
    width: 30px;
    height: 30px;
  }

  #when-to-search .search-overlap-card {
    width: auto;
    margin-top: -2rem;
  }

  #avoiding-scams .scam-overlap-stats {
    width: auto;
    margin: -2rem var(--gutter) 0;
  }

  .landlord-overlap-heading {
    margin-bottom: 1.5rem;
  }

  .landlord-image-quote {
    grid-template-columns: 1fr;
  }

  .landlord-image-quote .editorial-banner {
    height: clamp(320px, 80vw, 500px);
    border-right: 0;
    border-bottom: 1px solid var(--hairline-soft);
  }

  .landlord-image-quote blockquote {
    padding: clamp(1.75rem, 7vw, 3rem) var(--gutter);
  }

  .landlord-image-quote blockquote p {
    max-width: 12ch;
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .landlord-overlap-section .inspection-panel {
    width: auto;
    margin: 1.5rem 0 0;
    padding: clamp(1.4rem, 7vw, 2.4rem) var(--gutter) clamp(2.2rem, 8vw, 3.2rem);
  }
}

/* --- LEAD FORM (shared across pages) --- */

.lead-section {
  background: var(--chalk);
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--hairline-soft);
}

.index-lead-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(760px, 92vh, 980px);
  display: flex;
  align-items: center;
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(35, 32, 27,0.54) 0%, rgba(35, 32, 27,0.5) 40%, rgba(35, 32, 27,0.68) 100%),
    url("images/nb-hermosa-beach-hero-v01.webp");
  background-size: cover;
  background-position: center 58%;
}

.index-lead-section .container {
  position: relative;
  z-index: 1;
}

.index-lead-section .narrative h2,
.index-lead-section .narrative p,
.index-lead-section .lead-form label,
.index-lead-section .form-note {
  color: var(--chalk);
  text-shadow: 0 1px 22px rgba(0,0,0,0.32);
}

.index-lead-section .narrative p,
.index-lead-section .form-note {
  color: var(--chalk);
}

.index-lead-section .lead-form input,
.index-lead-section .lead-form select {
  background: rgba(250, 247, 240,0.9);
  border-color: rgba(250, 247, 240,0.42);
  box-shadow: 0 16px 42px rgba(0,0,0,0.08);
}

.index-lead-section .lead-form input:focus,
.index-lead-section .lead-form select:focus {
  border-color: rgba(250, 247, 240,0.92);
}

/* Single source of truth for the bottom-of-page lead form.
   Spacing contract (do not override per page):
   - label to field: 0.35rem (5.6px)
   - field row to field row: 1rem (16px)
   - email field to submit button: 28px exactly
   - button to microcopy note: 0.75rem (12px)
   text-align: left neutralizes the centered .lead-section__inner
   wrapper used on subpages so labels/inputs render identically
   to index.html on every page. */
.lead-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Last field row: gap to the button is owned by the button alone. */
.lead-form .lead-form-row:last-of-type { margin-bottom: 0; }

.lead-form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.lead-form-group.full { grid-column: 1 / -1; }

.lead-form label {
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-align: left;
}

.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hairline-soft);
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
}

.lead-form input::placeholder { color: var(--text-light); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--olive-dark); }
.lead-form input.error { border-color: #C4453C; }

.lead-form .phone-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.lead-form .phone-input-wrap select {
  width: 72px;
  flex-shrink: 0;
  padding: 0.85rem 0.5rem;
}

.lead-form .phone-input-wrap input { flex: 1; }

.lead-form .btn-submit,
.lead-form-btn {
  /* display: flex takes the button out of inline layout so line-box
     whitespace can't add stray vertical space above it. 28px is the
     one deliberate email-to-button gap on every page. */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--btn-pill-height);
  margin-top: 28px;
  border-radius: 0;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 var(--btn-pill-padding-x);
  line-height: 1;
  cursor: pointer;
  transition: background-color 240ms, transform 240ms;
}

.lead-form .btn-submit:hover,
.lead-form-btn:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-1px);
}

.lead-form .form-note,
.lead-form-note {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  text-align: center;
}

.lead-section__inner {
  text-align: center;
}

.lead-section__lede {
  margin-bottom: 32px;
  color: var(--text-mid);
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

#checklist.section-pad {
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

#checklist .fact-card {
  margin-bottom: 0;
}

#checklist + #get-started.lead-section {
  padding-top: 0;
  border-top: 0;
}

#checklist + #get-started.lead-section .callout-accent--cta:has(.product-pills) {
  margin-top: 0;
}

#checklist + #get-started.lead-section .callout-accent--cta.reveal:has(.product-pills) {
  opacity: 1;
  transform: none;
}

.lead-success {
  text-align: center;
  padding: 2rem 0;
}

.lead-success h3 {
  margin-top: 16px;
  font-family: var(--serif);
}

.lead-success p {
  color: var(--text-mid);
  margin-top: 8px;
}

@media (max-width: 640px) {
  .lead-form-row { grid-template-columns: 1fr; }
}

/* --- ARTICLES DIGEST / FILTERS --- */
.articles-index-section {
  padding-top: clamp(1.25rem, 2vw, 2rem);
  padding-bottom: 0;
}

.articles-index-section + #get-started.lead-section {
  padding-top: 0;
}

.articles-index-section + #get-started.lead-section .callout-accent--cta:has(.product-pills) {
  margin-top: 0;
}

.articles-index-section .filter-pills {
  justify-content: center;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.digest-inline {
  --digest-image: url("images/mhe-tg-058-articles-resource-library-hero-v01.webp");
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100vw;
  left: 50%;
  margin: 0 0 0 -50vw;
  padding: clamp(4rem, 7vw, 6rem) max(var(--gutter), calc((100vw - var(--site-max)) / 2));
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background:
    linear-gradient(90deg, rgba(250, 247, 240,0.94), var(--chalk) 48%, rgba(250, 247, 240,0.42)),
    var(--digest-image);
  background-size: cover;
  background-position: center;
}

.digest-inline > * {
  position: relative;
  z-index: 1;
}

.digest-inline h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
}

.digest-inline p:not(.eyebrow) {
  max-width: 44ch;
}

.digest-form {
  width: 100%;
}

.digest-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.digest-form input {
  width: 100%;
  min-height: var(--btn-pill-height);
  padding: 0 1rem;
  border: 1px solid var(--hairline-soft);
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.875rem;
}

.digest-form input:focus {
  outline: none;
  border-color: var(--olive-dark);
}

.digest-form input.error {
  border-color: #C4453C;
}

.digest-form button {
  min-height: var(--btn-pill-height);
  padding: 0 var(--btn-pill-padding-x);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 220ms, border-color 220ms, transform 220ms;
}

.digest-form button:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-1px);
}

.digest-form__note,
.digest-form__success {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--text-light);
}

.digest-form__success {
  color: var(--olive-dark);
  font-weight: 600;
}

.digest-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(35, 32, 27, 0.34);
}

.digest-popup.open {
  display: flex;
}

.digest-popup__panel {
  position: relative;
  width: min(100%, 520px);
  background: var(--chalk);
  border: 1px solid var(--hairline-soft);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 24px 70px rgba(35, 32, 27, 0.2);
}

.digest-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hairline-soft);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.digest-popup h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
}

.digest-popup p:not(.eyebrow) {
  max-width: 44ch;
}

.digest-popup .digest-form__row {
  grid-template-columns: 1fr 1fr;
}

.digest-popup .digest-form__row--email {
  grid-template-columns: 1fr;
}

.digest-popup .digest-form button {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .digest-inline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .articles-index-section {
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .digest-inline {
    padding: 3rem var(--gutter);
  }

  .digest-form__row {
    grid-template-columns: 1fr;
  }

  .digest-form button {
    width: 100%;
    justify-content: center;
  }

  .digest-popup .digest-form__row {
    grid-template-columns: 1fr;
  }
}

/* --- CHAT BOT LINK COLOR --- */

.chat-msg-bot a { color: var(--accent); }

/* --- SUBPAGE RESPONSIVE --- */

@media (max-width: 640px) {
  .facts-grid, .amenity-grid { grid-template-columns: 1fr; }
  .amenity-card,
  .amenity-card:nth-child(3n),
  .amenity-card:nth-last-child(-n+3) {
    border-right: 0;
    border-bottom: 1px solid var(--hairline-soft);
  }
  .amenity-card:last-child { border-bottom: 0; }
  .facts-grid-3 { grid-template-columns: 1fr; }
  .fact-table { font-size: 0.75rem; }
  .fact-table th, .fact-table td { padding: 6px 8px; }
  .season-table { font-size: 0.75rem; }
  .season-table th, .season-table td { padding: 8px 10px; }
}

/* --- GOLDEN RULE: Stats/prices in serif + ticker animation --- */
/* Any numeric or price display MUST render in the serif face regardless of
   page-level overrides. Locked with !important so subpage inline styles can't
   accidentally revert stats to sans. Times listed as concrete fallback. */

.stat,
.stat-serif,
.fact-value,
.stat-number,
.pain-number,
.product-hero-stat-value,
.pricing-col__price,
.th-price,
.hood-stat-value,
.hood-extra-stat-value,
.map-tooltip-stat-value,
.quiz-intro-stat-num,
.quiz-match-pct {
  font-family: var(--serif), 'Times New Roman', Times, serif !important;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums proportional-nums;
}

/* Prices carrying a currency prefix inside pricing cards / comparison tables
   already sized independently — keep leading behavior consistent. */
.pricing-col__price,
.th-price {
  line-height: 1;
}

@keyframes ticker-roll {
  0% { opacity: 0; transform: translateY(40%); }
  100% { opacity: 1; transform: translateY(0); }
}

.ticker-animated {
  display: inline-block;
  animation: ticker-roll 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ticker-animated span {
  display: inline-block;
  animation: ticker-roll 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ============================================
   NEIGHBORHOOD PAGE COMPONENTS (.nb-*)
   Shared across all /neighborhoods/*.html pages.
   ============================================ */

.nb-plate {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--chalk);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}
.nb-plate-label {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 12px;
}
.nb-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nb-plate--photo {
  background: var(--ink);
}
.nb-plate--full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-left: 0;
  border-right: 0;
  aspect-ratio: 21 / 8;
}
.nb-plate--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 32, 27,0.02), rgba(35, 32, 27,0.48));
  z-index: 1;
  pointer-events: none;
}
.nb-plate--photo .nb-plate-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--chalk);
  text-shadow: 0 1px 18px rgba(0,0,0,0.28);
}

.nb-intro p { max-width: 68ch; }
.nb-back { font-size: 0.8125rem; color: var(--text-mid); }

.nb-market-actions {
  border-bottom: 0;
  background: var(--chalk);
}

.nb-market-actions--secondary {
  border-top: 1px solid var(--hairline-soft);
}

.nb-market-actions__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 8rem) 0 0;
}
.nb-market-actions__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(190px, 0.28fr) minmax(260px, 0.52fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(var(--site-max), calc(100% - (2 * var(--gutter))));
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(3.25rem, 5vw, 5.5rem);
}
.nb-market-actions__header .hero-eyebrow {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--text-mid);
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.nb-market-actions__header h2 {
  margin-bottom: 0;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 0.95;
}
.nb-market-actions__header p {
  color: var(--text-mid);
  font-size: var(--step-1);
  margin-bottom: 0;
}
.nb-market-actions__portrait {
  aspect-ratio: 1 / 1;
  width: min(100%, 250px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  background: var(--bg);
}
.nb-market-actions__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}
.nb-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 0;
  background: transparent;
  gap: 0;
}
.nb-market-card {
  position: relative;
  min-height: 285px;
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--hairline-soft);
  overflow: hidden;
  transition: color 0.35s var(--ease-out);
}
.nb-market-card:last-child {
  border-right: 0;
}
.nb-market-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.42s var(--ease-out);
}
.nb-market-card > * {
  position: relative;
  z-index: 1;
}
.nb-market-card:hover,
.nb-market-card:focus-visible {
  color: var(--chalk);
  text-decoration: none;
}
.nb-market-card:hover::before,
.nb-market-card:focus-visible::before {
  transform: scaleX(1);
}
.nb-market-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -6px;
}
.nb-market-card--primary {
  box-shadow: none;
}
.nb-market-card__kicker {
  margin-bottom: clamp(1.1rem, 2vw, 1.65rem);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nb-market-card:hover .nb-market-card__kicker,
.nb-market-card:focus-visible .nb-market-card__kicker {
  color: var(--chalk);
}
.nb-market-card h3 {
  color: inherit;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 0.98;
  margin-bottom: 1rem;
}
.nb-market-card p {
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.55;
}
.nb-market-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 0 0.95rem;
  border: 1px solid currentColor;
  border-radius: 0;
  margin-top: 2.15rem;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nb-market-actions__note {
  width: min(var(--site-max), calc(100% - (2 * var(--gutter))));
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  padding: 0.75rem 0 0.85rem;
  color: var(--text-light);
  font-size: 0.72rem;
}

.nb-answer-block {
  background: var(--chalk);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.nb-answer-card {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  border: 1px solid var(--hairline-soft);
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.nb-answer-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.94;
}

.nb-answer-card p {
  margin: 0;
  color: var(--text-mid);
}

.nb-lifestyle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
  margin-top: 40px;
}
.nb-lifestyle-cell {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.nb-lifestyle-cell h3 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.nb-lifestyle-cell p {
  color: var(--text-mid);
  font-size: var(--step-1);
  margin: 0;
}

.nb-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.nb-stats .fact-card { text-align: center; }
.nb-attribution {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 16px;
}

.nb-magazine {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  background: var(--chalk);
}
.nb-magazine__intro {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.44fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.nb-magazine__intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 0.9;
}
.nb-magazine__intro p {
  color: var(--text-mid);
  font-size: var(--step-1);
}
.nb-magazine__meta {
  border-left: 1px solid var(--hairline-soft);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}
.nb-magazine__meta p {
  margin-bottom: 0.75rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--accent);
}
.nb-spot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline-soft);
}
.nb-spot-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-right: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--chalk);
  transition: color var(--duration-fast);
}
.nb-spot-card[style*="--spot-image"] {
  background-image: none;
  color: var(--text);
}
.nb-spot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.nb-spot-card > * {
  position: relative;
  z-index: 1;
}
.nb-spot-card:hover,
.nb-spot-card:focus-visible {
  color: var(--chalk);
  text-decoration: none;
  outline: none;
}
.nb-spot-card:hover::after,
.nb-spot-card:focus-visible::after {
  transform: scaleX(1);
}
.nb-spot-card:nth-child(4n) { border-right: 0; }
.nb-spot-card--feature {
  grid-column: span 2;
  min-height: 420px;
}
.nb-spot-card--dark {
  background: var(--chalk);
  color: var(--text);
}
.nb-spot-card__kicker {
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.nb-spot-card:hover .nb-spot-card__kicker,
.nb-spot-card:focus-visible .nb-spot-card__kicker {
  color: var(--chalk);
}
.nb-spot-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.75rem);
  line-height: 0.96;
  color: inherit;
}
.nb-spot-card:hover h3,
.nb-spot-card:focus-visible h3 {
  color: var(--chalk);
}
.nb-spot-card p {
  color: inherit;
  font-size: 0.9rem;
  line-height: 1.55;
}
.nb-spot-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}
.nb-spot-card__meta span {
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 0.34rem 0.72rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}
.nb-spot-card__link {
  margin-top: auto;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nb-source-note {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 1rem var(--gutter) 0;
  color: var(--text-light);
  font-size: 0.72rem;
}

.nb-guide-capture {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
  background-image:
    linear-gradient(90deg, rgba(35, 32, 27,0.84), rgba(35, 32, 27,0.72) 48%, rgba(35, 32, 27,0.54)),
    var(--capture-image, url("images/mhe-tg-053-coast-sunset-bg-art-editorial-v02.webp"));
  background-size: cover;
  background-position: var(--capture-position, center);
  color: var(--chalk);
}
.nb-guide-capture__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.56fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.nb-guide-capture h2 {
  color: var(--chalk);
  font-size: clamp(2.25rem, 6vw, 5.5rem);
  line-height: 0.92;
}
.nb-guide-capture h2 span {
  display: block;
}
.nb-guide-capture p {
  color: var(--chalk);
  font-size: var(--step-1);
}
.nb-guide-capture .digest-form {
  background: rgba(250, 247, 240, 0.06);
  border: 1px solid rgba(250, 247, 240, 0.14);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.nb-guide-capture .digest-form__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nb-guide-capture .digest-form__row--email {
  grid-template-columns: 1fr;
  margin-top: 10px;
}
.nb-guide-capture .digest-form input {
  background: rgba(250, 247, 240, 0.96);
}
.nb-guide-capture .digest-form button {
  width: 100%;
  margin-top: 10px;
}

.nb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.nb-tag {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nb-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.nb-related-card {
  --nb-related-image: url('images/nb-los-feliz-hero-v01.webp');
  --nb-related-pad: clamp(1.25rem, 2.5vw, 1.75rem);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  padding: 0;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nb-related-card::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-image: linear-gradient(180deg, rgba(28, 22, 18, 0.02), rgba(28, 22, 18, 0.12)), var(--nb-related-image);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-light);
  transform: scale(1);
  transition: transform 0.45s var(--ease-out);
}
.nb-related-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 16 / 10;
  background: rgba(35, 32, 27, 0.44);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nb-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-decoration: none;
}
.nb-related-card:hover::before {
  transform: scale(1.035);
}
.nb-related-card:hover::after,
.nb-related-card:focus-visible::after {
  opacity: 1;
}
.nb-related-image-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 16 / 10;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--chalk);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nb-related-card:hover .nb-related-image-title,
.nb-related-card:focus-visible .nb-related-image-title {
  opacity: 1;
  transform: translateY(0);
}
.nb-related-name {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: var(--nb-related-pad) var(--nb-related-pad) 0.5rem;
}
.nb-related-line {
  color: var(--text-mid);
  font-size: 0.8125rem;
  margin: 0 var(--nb-related-pad) 0.85rem;
}
.nb-related-rent {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: auto var(--nb-related-pad) var(--nb-related-pad);
}
.nb-related-rent .fact-value {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 4px;
  text-transform: none;
  letter-spacing: -0.02em;
}
.nb-related-card[href$="beverly-hills.html"] { --nb-related-image: url('images/nb-beverly-hills-hero-v01.webp'); }
.nb-related-card[href$="brentwood.html"] { --nb-related-image: url('images/nb-brentwood-hero-v01.webp'); }
.nb-related-card[href$="burbank.html"] { --nb-related-image: url('images/nb-burbank-hero-v01.webp'); }
.nb-related-card[href$="culver-city.html"] { --nb-related-image: url('images/nb-culver-city-hero-v01.webp'); }
.nb-related-card[href$="dtla.html"] { --nb-related-image: url('images/nb-dtla-hero-v01.webp'); }
.nb-related-card[href$="eagle-rock.html"] { --nb-related-image: url('images/nb-eagle-rock-hero-v01.webp'); }
.nb-related-card[href$="echo-park.html"] { --nb-related-image: url('images/nb-echo-park-hero-v02.webp'); }
.nb-related-card[href$="el-segundo.html"] { --nb-related-image: url('images/nb-el-segundo-hero-v01.webp'); }
.nb-related-card[href$="encino.html"] { --nb-related-image: url('images/nb-encino-hero-v01.webp'); }
.nb-related-card[href$="glendale.html"] { --nb-related-image: url('images/nb-glendale-hero-v01.webp'); }
.nb-related-card[href$="hermosa-beach.html"] { --nb-related-image: url('images/nb-hermosa-beach-hero-v01.webp'); }
.nb-related-card[href$="highland-park.html"] { --nb-related-image: url('images/nb-highland-park-hero-v01.webp'); }
.nb-related-card[href$="hollywood-dell.html"] { --nb-related-image: url('images/nb-hollywood-dell-hero-v01.webp'); }
.nb-related-card[href$="hollywood.html"] { --nb-related-image: url('images/nb-hollywood-hero-v01.webp'); }
.nb-related-card[href$="koreatown.html"] { --nb-related-image: url('images/nb-koreatown-hero-v01.webp'); }
.nb-related-card[href$="los-feliz.html"] { --nb-related-image: url('images/nb-los-feliz-hero-v01.webp'); }
.nb-related-card[href$="manhattan-beach.html"] { --nb-related-image: url('images/nb-manhattan-beach-hero-v01.webp'); }
.nb-related-card[href$="mar-vista.html"] { --nb-related-image: url('images/nb-mar-vista-hero-v02.webp'); }
.nb-related-card[href$="mid-wilshire.html"] { --nb-related-image: url('images/nb-mid-wilshire-hero-v01.webp'); }
.nb-related-card[href$="noho.html"] { --nb-related-image: url('images/nb-noho-hero-v01.webp'); }
.nb-related-card[href$="palms.html"] { --nb-related-image: url('images/nb-palms-hero-v01.webp'); }
.nb-related-card[href$="pasadena.html"] { --nb-related-image: url('images/nb-pasadena-hero-v01.webp'); }
.nb-related-card[href$="playa-vista.html"] { --nb-related-image: url('images/nb-playa-vista-hero-v01.webp'); }
.nb-related-card[href$="redondo-beach.html"] { --nb-related-image: url('images/nb-redondo-beach-hero-v01.webp'); }
.nb-related-card[href$="santa-monica.html"] { --nb-related-image: url('images/nb-santa-monica-hero-v01.webp'); }
.nb-related-card[href$="sherman-oaks.html"] { --nb-related-image: url('images/nb-sherman-oaks-hero-v02.webp'); }
.nb-related-card[href$="silver-lake.html"] { --nb-related-image: url('images/nb-silver-lake-hero-v01.webp'); }
.nb-related-card[href$="studio-city.html"] { --nb-related-image: url('images/nb-studio-city-hero-v02.webp'); }
.nb-related-card[href$="toluca-lake.html"] { --nb-related-image: url('images/nb-toluca-lake-hero-v01.webp'); }
.nb-related-card[href$="venice.html"] { --nb-related-image: url('images/nb-venice-hero-v01.webp'); }
.nb-related-card[href$="west-hollywood.html"] { --nb-related-image: url('images/nb-west-hollywood-hero-v01.webp'); }
.nb-related-card[href$="west-la-sawtelle.html"] { --nb-related-image: url('images/nb-west-la-sawtelle-hero-v01.webp'); }
.nb-related-card[href$="westwood.html"] { --nb-related-image: url('images/nb-westwood-hero-v01.webp'); }

.nb-final-cta {
  position: relative;
  overflow: hidden;
  background-color: var(--espresso);
  background-image:
    linear-gradient(90deg, rgba(28, 22, 18, 0.78), rgba(28, 22, 18, 0.62)),
    var(--nb-final-image);
  background-size: cover;
  background-position: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
}
.nb-final-cta h2 { color: var(--chalk); }
.nb-final-cta p { color: var(--chalk); }
.nb-final-cta .cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.nb-final-cta .btn-accent,
.nb-final-cta .btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-pill-height);
  padding: 0 var(--btn-pill-padding-x);
  border-radius: 0;
  font-family: var(--sans);
  font-size: var(--step-00);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 240ms, border-color 240ms, transform 240ms cubic-bezier(0.2, 0.65, 0.2, 1);
}
.nb-final-cta .btn-accent {
  border: 1px solid var(--olive-dark);
  background: var(--olive-dark);
  color: var(--chalk);
}
.nb-final-cta .btn-accent:hover {
  background: var(--chalk);
  color: var(--espresso);
  border-color: var(--chalk);
  transform: translateY(-1px);
}
.nb-final-cta .btn-light {
  border: 1px solid rgba(250, 247, 240, 0.32);
  background: transparent;
  color: var(--chalk);
}
.nb-final-cta .btn-light:hover {
  background: rgba(250, 247, 240, 0.1);
  border-color: rgba(250, 247, 240, 0.6);
  transform: translateY(-1px);
}

.small { font-size: 0.8125rem; color: var(--text-mid); }

@media (max-width: 900px) {
  .nb-answer-card { grid-template-columns: 1fr; }
  .nb-lifestyle { grid-template-columns: 1fr; }
  .nb-related { grid-template-columns: 1fr; }
  .nb-stats { grid-template-columns: repeat(2, 1fr); }
  .nb-market-actions__header,
  .nb-market-grid { grid-template-columns: 1fr; }
  .nb-market-actions__portrait {
    width: min(260px, 70vw);
  }
  .nb-market-card {
    border-right: 0;
    border-bottom: 1px solid var(--hairline-soft);
  }
  .nb-market-card:last-child {
    border-bottom: 0;
  }
  .nb-magazine__intro,
  .nb-guide-capture__inner { grid-template-columns: 1fr; }
  .nb-magazine__meta { border-left: 0; padding-left: 0; }
  .nb-spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-spot-card:nth-child(4n) { border-right: 1px solid var(--hairline-soft); }
  .nb-spot-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 480px) {
  .nb-stats { grid-template-columns: 1fr; }
  .nb-plate { aspect-ratio: 16 / 10; }
  .nb-spot-grid { grid-template-columns: 1fr; }
  .nb-spot-card,
  .nb-spot-card--feature {
    grid-column: auto;
    min-height: 260px;
    border-right: 0;
  }
  .nb-guide-capture .digest-form__row { grid-template-columns: 1fr; }
}

/* --- PRINT --- */

@media print {
  .site-nav, .cta-bar, .chat-bubble, .chat-panel, .menu-overlay, .sched-overlay, .cookie-banner { display: none !important; }
  body { padding: 0; background: white; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
