/* ============================================================
   CAVMIR UI v4 — the 2026 layout layer (September 2026)
   Loaded AFTER main.css and any page stylesheet, so equal-specificity
   rules here win. Everything is scoped to body.v4 plus a family class:
     .v4-svc      services/*  (16 service pages)
     .v4-svchub   /services/
     .v4-dir      resource directories (booking-platforms, management-companies, pms-platforms)
     .v4-about    /about/
     .v4-pricing  /pricing/
     .v4-contact  /contact/
   What it does (web-standards §4a/§4b, one-content-edge, no-gold-font):
     - kills the centered 1680px frame and the 13% side margins: every
       .container is full-width with a ~40px gutter at 1920
     - long-form text lives in a reading column BESIDE a filled sticky rail
       (.v4-editorial / .v4-read / .v4-rail), never alone in dead margins
     - two-column section heads (title left, lede right) instead of stacked
       centered blocks
     - copper accents replace gold text, italics are removed, display type
       goes heavier and larger
   ============================================================ */

body.v4 {
  --v4-gutter: clamp(18px, 2vw, 40px);
  --v4-read: 740px;
  --v4-gap: clamp(28px, 3.4vw, 64px);
  --v4-cream: #FAF7F3;
  --v4-ink: #0A0A0A;
  --v4-line: rgba(10, 10, 10, 0.10);
  --v4-copper: #C26A3F;
  --v4-copper-soft: #E7A981;
  --v4-burg: #6B214B;
  --v4-burg-deep: #4a1635;
  --v4-burg-grad: linear-gradient(160deg, #7a2656 0%, #6B214B 48%, #4a1635 100%);
  /* main.css .container reads these two */
  --gutter: var(--v4-gutter);
  --container: none;
}

/* ---------- 1. Full-width frame ---------- */
body.v4 .container { max-width: none; padding-inline: var(--v4-gutter); }
body.v4 .container[style*="max-width"] { max-width: none !important; }
body.v4 .page-header-content { max-width: none; padding-bottom: clamp(40px, 5vw, 84px); }
body.v4 .breadcrumb .container { max-width: none; }
body.v4 .rel-index[style*="max-width"] { max-width: none !important; margin-inline: 0 !important; }

/* ---------- 2. No gold text, no italics ---------- */
body.v4 .section-eyebrow,
body.v4 .page-header-eyebrow,
body.v4 .hero-eyebrow,
body.v4 .rel-k,
body.v4 .stat-strip .stat-n,
body.v4 .biz-grid-section__eyebrow,
body.v4 .platform-matrix__eyebrow,
body.v4 .resource-related__eyebrow,
body.v4 .mgmt-section__eyebrow,
body.v4 .matrix-group__count,
body.v4 .biz-card__meta dt,
body.v4 .mgmt-card__meta dt,
body.v4 .mgmt-card__region,
body.v4 .biz-card__category { color: var(--v4-copper) !important; }
body.v4 .section-dark .section-eyebrow,
body.v4 .cta-section .section-eyebrow,
body.v4 .pricing-band .section-eyebrow,
body.v4 .parallax-section .section-eyebrow,
body.v4 .section-dark .stat-strip .stat-n,
body.v4 .parallax-section .stat-strip .stat-n { color: var(--v4-copper-soft) !important; }
body.v4 .section-eyebrow::before { background: currentColor; }
body.v4 .gold-divider { background: var(--v4-copper) !important; }
body.v4 .section-dark .gold-divider,
body.v4 .cta-section .gold-divider,
body.v4 .parallax-section .gold-divider,
body.v4 .pricing-band .gold-divider { background: var(--v4-copper-soft) !important; }
body.v4 .section-title em,
body.v4 .page-header h1 em,
body.v4 .cta-section h2 em,
body.v4 .hero h1 em,
body.v4 .compare__lead-title em,
body.v4 h1 > span[style*="font-editorial"],
body.v4 h2 > span[style*="font-editorial"] {
  font-style: normal !important;
  color: inherit !important;
  font-weight: 600 !important;
  font-family: var(--font-editorial) !important;
  letter-spacing: -0.01em;
}
body.v4 .faq-item > summary:hover,
body.v4 .rel-index a:hover .rel-k { color: var(--v4-copper); }
body.v4 .biz-card__features li::before,
body.v4 .biz-card__note { border-left-color: var(--v4-copper); color: inherit; }
body.v4 .biz-card__features li::before { color: var(--v4-copper); }
body.v4 .biz-card__note { background: var(--v4-cream); }
body.v4 .team-photo-wrap { border-color: var(--v4-copper); }
body.v4 .platforms-strip { border-top-color: var(--v4-copper); }

/* ---------- 3. Display type: bigger, heavier ---------- */
body.v4 .section-title {
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
}
body.v4 .section-body {
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  line-height: 1.7;
  opacity: 0.86;
  max-width: 62ch;
}
body.v4 .page-header { min-height: clamp(520px, 74vh, 860px); }
body.v4 .page-header h1 {
  font-size: clamp(2.6rem, 5.2vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.022em;
  max-width: 16ch;
}
body.v4 .page-header p { font-size: clamp(1.05rem, 1.2vw, 1.25rem); max-width: 58ch; }
body.v4 .page-header-eyebrow { font-size: 0.78rem; letter-spacing: 0.26em; margin-bottom: 18px; }
body.v4 .page-header-overlay {
  background:
    linear-gradient(to top, rgba(74, 22, 53, 0.96) 0%, rgba(107, 33, 75, 0.62) 42%, rgba(20, 8, 15, 0.18) 100%);
}

/* ---------- 4. Section head: title left, lede right ---------- */
body.v4 .v4-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  column-gap: var(--v4-gap);
  align-items: end;
  text-align: left !important;
  margin-bottom: clamp(28px, 3.2vw, 52px);
}
body.v4 .v4-head > span,
body.v4 .v4-head > .section-eyebrow { grid-column: 1; justify-content: flex-start !important; margin-bottom: 14px; text-align: left !important; }
body.v4 .v4-head > .section-title,
body.v4 .v4-head > h1,
body.v4 .v4-head > h2,
body.v4 .v4-head > h3 { grid-column: 1; margin: 0 !important; text-align: left !important; max-width: none; }
body.v4 .v4-head > .gold-divider { grid-column: 1; margin: 22px 0 0 !important; }
body.v4 .v4-head > .section-body,
body.v4 .v4-head > p {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  margin: 0 !important;
  max-width: 60ch;
  text-align: left !important;
}
body.v4 .v4-head > p + p,
body.v4 .v4-head > .section-body + .section-body { grid-row: 4; margin-top: 16px !important; }
body.v4 .v4-head > .btn, body.v4 .v4-head > div:not(.gold-divider) { grid-column: 2; grid-row: 4; justify-self: start; margin-top: 22px; }
body.v4 .v4-head--solo { display: block; }
@media (max-width: 900px) {
  body.v4 .v4-head { display: block; }
  body.v4 .v4-head > .gold-divider { margin: 18px 0 !important; }
  body.v4 .v4-head > .section-body { margin-top: 18px !important; }
}

/* ---------- 4b. Split: sticky head left, prose right (hub-style sections) ---------- */
body.v4 .v4-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  column-gap: var(--v4-gap);
  align-items: start;
}
body.v4 .v4-split__head { position: sticky; top: calc(var(--nav-h, 140px) + 24px); }
body.v4 .v4-split__head .section-title { max-width: 16ch; }
body.v4 .v4-split__body { min-width: 0; }
body.v4 .v4-split .prose-col { max-width: 760px; }
body.v4 .v4-split .prose-col p, body.v4 .v4-split .prose-col li { font-size: 17.5px; line-height: 1.75; }
body.v4 .v4-split .prose-col h3 { font-size: clamp(22px, 1.7vw, 28px); margin: 34px 0 12px; letter-spacing: -0.015em; }
body.v4 .v4-split .stat-strip { margin: 40px 0 0; }
@media (max-width: 1000px) {
  body.v4 .v4-split { display: block; }
  body.v4 .v4-split__head { position: static; margin-bottom: 28px; }
}

/* ---------- 5. Editorial grid: reading column + FILLED sticky rail ---------- */
body.v4 .v4-editorial {
  display: grid;
  grid-template-columns: minmax(0, var(--v4-read)) minmax(320px, 1fr);
  column-gap: var(--v4-gap);
  align-items: start;
}
body.v4 .v4-read { min-width: 0; }
body.v4 .v4-rail {
  position: sticky;
  top: calc(var(--nav-h, 140px) + 16px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: flex-start;
  align-items: stretch;
  min-width: 0;
}
/* cards share each row equally and the last row always stretches to the edge (§4b) */
body.v4 .v4-rail > * { flex: 1 1 300px; min-width: 0; }
body.v4 .v4-rail > .v4-card--span,
body.v4 .v4-rail > .svc2026-band { flex-basis: 100%; }
@media (max-width: 1100px) {
  body.v4 .v4-editorial { grid-template-columns: minmax(0, 1fr); }
  body.v4 .v4-rail { position: static !important; top: auto !important; margin-top: 44px; }
}

/* reading column typography */
body.v4 .v4-read > * { max-width: none; }
body.v4 .v4-read p { font-size: 17.5px; line-height: 1.75; color: rgba(10, 10, 10, 0.86); margin: 0 0 20px; }
body.v4 .v4-read ul, body.v4 .v4-read ol { font-size: 17px; line-height: 1.7; margin: 0 0 22px; padding-left: 22px; }
body.v4 .v4-read li { margin-bottom: 8px; }
body.v4 .v4-read h3 {
  font-family: var(--font-primary) !important;
  font-size: clamp(24px, 1.9vw, 32px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.018em;
  color: var(--v4-ink) !important;
  margin: 0 0 16px !important;
}
body.v4 .v4-read h4 { font-size: 1.08rem; margin: 22px 0 8px; color: var(--v4-burg); }
body.v4 .v4-read a { color: var(--v4-burg); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(107, 33, 75, 0.3); }
body.v4 .v4-read a:hover { color: var(--v4-copper); border-color: currentColor; }
body.v4 .v4-read .service-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 6px 0 12px;
}
body.v4 .v4-read .service-feature-icon { background: rgba(194, 106, 63, 0.12); border-color: var(--v4-copper); }
body.v4 .v4-read .service-feature-text h4 { font-size: 1rem; margin: 0 0 4px; }
body.v4 .v4-read .service-feature-text p { font-size: 0.92rem; margin: 0; color: rgba(0, 0, 0, 0.64); }
@media (max-width: 560px) { body.v4 .v4-read .service-features { grid-template-columns: 1fr; } }

/* numbered chapters */
body.v4 .v4-chapters { counter-reset: v4ch; }
body.v4 .v4-chapters > .v4-ch {
  counter-increment: v4ch;
  margin-top: clamp(36px, 4vw, 56px) !important;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--v4-line);
}
body.v4 .v4-chapters > .v4-ch:first-child { margin-top: 0 !important; padding-top: 0; border-top: 0; }
body.v4 .v4-chapters > .v4-ch > h3::before {
  content: "Chapter " counter(v4ch, decimal-leading-zero);
  display: block;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v4-copper);
  margin: 0 0 12px;
}
body.v4 .v4-chapters > .v4-feat { margin-top: 8px !important; }

/* rail cards */
body.v4 .v4-card {
  background: var(--v4-cream);
  border: 1px solid var(--v4-line);
  border-radius: 8px;
  padding: 22px 22px 24px;
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: var(--v4-ink);
  min-width: 0;
}
body.v4 .v4-card__k {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--v4-copper);
  margin-bottom: 12px;
}
body.v4 .v4-card h3, body.v4 .v4-card .v4-card__h {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--v4-ink);
  margin: 0 0 10px;
}
body.v4 .v4-card p { margin: 0 0 10px; }
body.v4 .v4-card p:last-child { margin-bottom: 0; }
body.v4 .v4-card ul, body.v4 .v4-card ol { margin: 0; padding: 0; list-style: none; }
body.v4 .v4-card li { padding: 9px 0; border-top: 1px solid var(--v4-line); font-size: 14.5px; line-height: 1.45; }
body.v4 .v4-card li:first-child { border-top: 0; padding-top: 0; }
body.v4 .v4-card a { color: var(--v4-burg); font-weight: 600; text-decoration: none; }
body.v4 .v4-card a:hover { color: var(--v4-copper); }
body.v4 .v4-card--span { grid-column: 1 / -1; }

/* chapters card */
body.v4 .v4-card--toc ol { counter-reset: v4toc; }
body.v4 .v4-card--toc li { counter-increment: v4toc; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
body.v4 .v4-card--toc li::before {
  content: counter(v4toc, decimal-leading-zero);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--v4-copper); padding-top: 4px;
}
body.v4 .v4-card--toc a { font-weight: 500; color: var(--v4-ink); }
body.v4 .v4-card--toc a:hover, body.v4 .v4-card--toc a.is-active { color: var(--v4-burg); font-weight: 700; }

/* facts card */
body.v4 .v4-card dl { margin: 0; }
body.v4 .v4-card dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--v4-line); }
body.v4 .v4-card dl > div:first-child { border-top: 0; padding-top: 0; }
body.v4 .v4-card dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--v4-copper); font-weight: 700; padding-top: 3px; }
body.v4 .v4-card dd { margin: 0; font-size: 14.5px; line-height: 1.45; }
body.v4 .v4-card dd ul li { padding: 4px 0; border: 0; }

/* figure card */
body.v4 .v4-card--figure { padding: 0; overflow: hidden; background: #fff; }
body.v4 .v4-card--figure img {
  display: block; width: 100% !important; max-width: none !important; height: auto !important;
  aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; margin: 0 !important;
}
body.v4 .v4-card--figure figcaption { padding: 12px 16px 14px; font-size: 13px; line-height: 1.5; color: rgba(10, 10, 10, 0.62); }

/* CTA card */
body.v4 .v4-card--cta { background: var(--v4-burg-grad); color: #fff; border: 0; }
body.v4 .v4-card--cta .v4-card__k { color: var(--v4-copper-soft); }
body.v4 .v4-card--cta h3 { color: #fff; font-size: 22px; }
body.v4 .v4-card--cta p { color: rgba(255, 255, 255, 0.84); }
body.v4 .v4-card--cta a:not(.btn) { color: #fff; }
body.v4 .v4-card--cta .v4-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
body.v4 .v4-card--cta .btn { padding: 12px 20px; font-size: 0.74rem; }

/* contact card */
body.v4 .v4-card--contact a { display: block; font-size: 16px; font-weight: 700; padding: 6px 0; }
body.v4 .v4-card--contact small { display: block; font-size: 12.5px; color: rgba(10, 10, 10, 0.6); margin-top: 8px; }

/* the mid-page conversion band, relocated into the rail */
body.v4 .v4-rail .svc2026-band {
  grid-column: 1 / -1;
  padding: 26px 24px 28px !important;
  text-align: left !important;
  border-radius: 8px !important;
  margin: 0 !important;
  background: var(--v4-burg-grad) !important;
}
body.v4 .v4-rail .svc2026-band .section-eyebrow { justify-content: flex-start !important; margin-bottom: 8px; }
body.v4 .v4-rail .svc2026-band h3 { font-size: 22px !important; line-height: 1.2 !important; margin: 6px 0 12px !important; letter-spacing: -0.01em; }
body.v4 .v4-rail .svc2026-band p { margin: 0 0 18px !important; font-size: 15px; line-height: 1.6; max-width: none !important; }
body.v4 .v4-rail .svc2026-band .btn { padding: 12px 20px; font-size: 0.74rem; }
body.v4 .v4-rail .svc2026-band .btn-outline { margin: 8px 0 0 !important; }

/* ---------- 6. FAQ in two columns ---------- */
body.v4 .v4-faqhead {
  margin: clamp(56px, 7vw, 104px) 0 26px !important;
  font-family: var(--font-primary) !important;
  font-size: clamp(2rem, 3.4vw, 3.2rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.022em;
  color: var(--v4-ink) !important;
  max-width: 22ch;
}
body.v4 .v4-faq2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--v4-gap);
  border-bottom: 1px solid rgba(107, 33, 75, 0.14);
}
body.v4 .v4-faq2 > details { border-top: 1px solid rgba(107, 33, 75, 0.14) !important; border-bottom: 0 !important; }
body.v4 .v4-faq2 > details > summary { font-size: 17.5px; }
body.v4 .v4-faq2 > details > div, body.v4 .v4-faq2 .faq-a, body.v4 .v4-faq2 .faq-item__a { font-size: 15.5px; line-height: 1.7; }
@media (max-width: 900px) { body.v4 .v4-faq2 { grid-template-columns: 1fr; } }

/* ---------- 7. Related index in two columns ---------- */
body.v4 .rel-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--v4-gap);
  border-top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}
body.v4 .rel-index a { border-top: 1px solid rgba(0, 0, 0, 0.14); border-bottom: 0; padding: 22px 4px; font-size: 1.06rem; }
body.v4 .section-dark .rel-index a { border-top-color: rgba(255, 255, 255, 0.2); }
@media (max-width: 800px) { body.v4 .rel-index { grid-template-columns: 1fr; } }

/* ---------- 8. Closing CTA band: two columns, big type ---------- */
body.v4 .cta-section {
  text-align: left;
  padding: clamp(72px, 9vw, 140px) 0;
  background: var(--v4-burg-grad);
}
body.v4 .cta-section .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: var(--v4-gap);
  align-items: end;
}
body.v4 .cta-section .section-eyebrow { grid-column: 1; grid-row: 1; justify-content: flex-start !important; }
body.v4 .cta-section h2 {
  grid-column: 1; grid-row: 2;
  font-size: clamp(2.6rem, 5.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 14ch;
}
body.v4 .cta-section .gold-divider { grid-column: 1; grid-row: 3; margin: 24px 0 0 !important; }
body.v4 .cta-section p {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  max-width: 50ch;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  line-height: 1.65;
  text-align: left;
}
body.v4 .cta-section .btn { grid-column: 2; grid-row: 3; justify-self: start; align-self: start; margin-top: 26px; }
body.v4 .cta-section .btn-primary { background: #fff; color: var(--v4-burg); }
body.v4 .cta-section .btn-primary:hover { background: var(--v4-copper-soft); color: var(--v4-ink); }
@media (max-width: 900px) {
  body.v4 .cta-section .container { display: block; }
  body.v4 .cta-section p { margin-top: 24px; }
  body.v4 .cta-section .btn { margin-top: 26px; }
}

/* ---------- 9. Parallax band ---------- */
body.v4 .parallax-section { min-height: clamp(520px, 66vh, 760px); }
body.v4 .parallax-content .section-title { font-size: clamp(2.2rem, 4.4vw, 4.6rem) !important; max-width: 20ch !important; }
body.v4 .parallax-overlay {
  background:
    linear-gradient(180deg, rgba(20, 8, 15, 0.35) 0%, rgba(20, 8, 15, 0.15) 40%, rgba(74, 22, 53, 0.82) 100%);
}

/* ============================================================
   FAMILY: services (.v4-svc)
   ============================================================ */
body.v4-svc .service-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--v4-gap);
  align-items: stretch;
}
body.v4-svc .service-detail-grid > div:last-child { min-height: 0; }
body.v4-svc .service-detail-grid > div:last-child img {
  height: 100% !important;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px !important;
}
body.v4-svc .service-detail-grid .section-title { font-size: clamp(2.4rem, 3.9vw, 4rem); }
body.v4-svc .service-detail-grid .service-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
}
body.v4-svc .service-feature-icon { background: rgba(194, 106, 63, 0.12); border-color: var(--v4-copper); }
body.v4-svc .service-feature-text h4 { font-size: 1.05rem; }
body.v4-svc .service-feature-text p { font-size: 0.95rem; color: rgba(0, 0, 0, 0.66); }
body.v4-svc .service-deep-content .section-body { max-width: 60ch; }
body.v4-svc .bookstack .container { max-width: none; }
@media (max-width: 1024px) {
  body.v4-svc .service-detail-grid { grid-template-columns: 1fr; }
  body.v4-svc .service-detail-grid > div:last-child img { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { body.v4-svc .service-detail-grid .service-features { grid-template-columns: 1fr; } }

/* services hub */
body.v4-svchub .prose-col { max-width: none; }
body.v4-svchub .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
body.v4-svchub .service-card { aspect-ratio: 4 / 3.2; }
body.v4-svchub .service-card-title { font-size: 1.45rem; }
@media (max-width: 1300px) { body.v4-svchub .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { body.v4-svchub .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { body.v4-svchub .services-grid { grid-template-columns: 1fr; } }
body.v4-svchub .stat-strip { margin: 40px 0 0; }

/* ============================================================
   FAMILY: resource directories (.v4-dir)
   ============================================================ */
body.v4-dir .client-hero__content,
body.v4-dir .platform-matrix .container,
body.v4-dir .biz-grid-section .container,
body.v4-dir .mgmt-section .container,
body.v4-dir .pms-xlink .container,
body.v4-dir .resource-faq .container,
body.v4-dir .resource-related .container,
body.v4-dir .resource-cta .container,
body.v4-dir .resource-byline-wrap .container { max-width: none !important; padding-inline: var(--v4-gutter) !important; }
body.v4-dir .client-hero { min-height: clamp(560px, 78vh, 900px); padding-left: 0; padding-right: 0; }
body.v4-dir .client-hero__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.2vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.022em;
  max-width: 16ch;
}
body.v4-dir .client-hero__sub { font-size: clamp(1.05rem, 1.2vw, 1.25rem); max-width: 60ch !important; }
body.v4-dir .client-hero__eyebrow { color: var(--v4-copper-soft) !important; letter-spacing: 0.26em; }
body.v4-dir .resource-byline-wrap .container { display: block; }
body.v4-dir .platform-matrix__intro,
body.v4-dir .mgmt-section__head,
body.v4-dir .biz-grid-section__head,
body.v4-dir .resource-faq__intro,
body.v4-dir .resource-related__intro { max-width: none; }
body.v4-dir .platform-matrix__intro h2,
body.v4-dir .biz-grid-section__head h2,
body.v4-dir .mgmt-section__head h2,
body.v4-dir .resource-faq__intro h2,
body.v4-dir .resource-related__intro h2,
body.v4-dir .pms-xlink__h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--v4-ink);
  max-width: none;
}
body.v4-dir .v4-head > p { font-size: clamp(1.02rem, 1.1vw, 1.15rem); line-height: 1.65; color: rgba(42, 26, 35, 0.84); }
body.v4-dir .platform-matrix { padding: clamp(56px, 6vw, 96px) 0 clamp(40px, 4vw, 64px); }
body.v4-dir .matrix-group { border-radius: 10px; box-shadow: none; }
body.v4-dir .matrix-group:hover { box-shadow: none; }

/* directory entries become full-width editorial rows instead of boxed cards */
body.v4-dir .biz-grid { display: block; }
body.v4-dir .biz-grid-section { padding: clamp(40px, 5vw, 80px) 0; background: #fff; }
body.v4-dir .biz-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(260px, 1fr) minmax(0, 1.75fr);
  column-gap: var(--v4-gap);
  row-gap: 14px;
  align-items: start;
  padding: clamp(28px, 3vw, 44px) 0;
  border: 0;
  border-top: 1px solid var(--v4-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  transform: none !important;
  scroll-margin-top: calc(var(--nav-h, 140px) + 16px);
}
body.v4-dir .biz-card:last-child { border-bottom: 1px solid var(--v4-line); }
body.v4-dir .biz-card__head { grid-column: 1; grid-row: 1; margin: 0; }
body.v4-dir .biz-card__chips { grid-column: 1; grid-row: 2; }
body.v4-dir .biz-card__note { grid-column: 1; grid-row: 3; margin: 6px 0 0; }
body.v4-dir .biz-card__meta { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; align-self: start; }
body.v4-dir .biz-card__features { grid-column: 2; grid-row: 3; margin: 0; }
body.v4-dir .biz-card__body { grid-column: 3; grid-row: 1 / span 3; }
body.v4-dir .biz-card__cta,
body.v4-dir .biz-card__ctas { grid-column: 3; grid-row: 4; margin-top: 4px; justify-self: start; }
body.v4-dir .biz-card__title h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(26px, 1.9vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--v4-ink);
}
body.v4-dir .biz-card__pitch { font-size: 15px; line-height: 1.55; }
body.v4-dir .biz-card__logo { border-radius: 10px; background: #fff; border-color: var(--v4-line); }
body.v4-dir .biz-card__meta > div { grid-template-columns: 96px minmax(0, 1fr); padding: 9px 0; border-top: 1px solid var(--v4-line); }
body.v4-dir .biz-card__meta > div:first-child { border-top: 0; padding-top: 0; }
body.v4-dir .biz-card__meta dd { font-size: 14.5px; line-height: 1.5; }
body.v4-dir .biz-card__features li { font-size: 14.5px; }
body.v4-dir .biz-card__body-h {
  font-family: var(--font-primary); font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--v4-copper); margin: 0 0 10px;
}
body.v4-dir .biz-card__body-prose { font-size: 15.5px; line-height: 1.72; color: rgba(42, 26, 35, 0.9); }
@media (max-width: 1100px) {
  body.v4-dir .biz-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.v4-dir .biz-card__body { grid-column: 1 / -1; grid-row: auto; }
  body.v4-dir .biz-card__cta, body.v4-dir .biz-card__ctas { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 680px) {
  body.v4-dir .biz-card { grid-template-columns: 1fr; }
  body.v4-dir .biz-card > * { grid-column: 1 !important; grid-row: auto !important; }
}

/* management-company entries */
body.v4-dir .mgmt-list { display: block !important; }
body.v4-dir .mgmt-section { background: #fff; padding: clamp(24px, 3vw, 48px) 0 clamp(48px, 5vw, 80px); }
body.v4-dir .mgmt-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(260px, 1fr) minmax(0, 1.75fr);
  column-gap: var(--v4-gap);
  align-items: start;
  padding: clamp(28px, 3vw, 44px) 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--v4-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: calc(var(--nav-h, 140px) + 16px);
}
body.v4-dir .mgmt-card:last-child { border-bottom: 1px solid var(--v4-line); }
body.v4-dir .mgmt-card__head { grid-column: 1; margin: 0; padding: 0; border: 0; align-items: flex-start; }
body.v4-dir .mgmt-card__logo { flex-basis: 80px; width: 80px; height: 80px; background: #fff; border-color: var(--v4-line); }
body.v4-dir .mgmt-card__title h2 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(26px, 1.9vw, 34px); line-height: 1.05; letter-spacing: -0.018em; color: var(--v4-ink);
}
body.v4-dir .mgmt-card__site { font-size: 13px; }
body.v4-dir .mgmt-card__meta { grid-column: 2; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; border: 0; }
body.v4-dir .mgmt-card__meta > div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--v4-line); }
body.v4-dir .mgmt-card__meta > div:first-child { border-top: 0; padding-top: 0; }
body.v4-dir .mgmt-card__meta-wide { grid-column: auto; }
body.v4-dir .mgmt-card__meta dt { font-size: 11px; letter-spacing: 0.14em; font-weight: 700; padding-top: 3px; }
body.v4-dir .mgmt-card__meta dd { font-size: 14.5px; line-height: 1.5; }
body.v4-dir .mgmt-card__body { grid-column: 3; font-size: 15.5px; line-height: 1.72; color: rgba(42, 26, 35, 0.9); }
@media (max-width: 1100px) {
  body.v4-dir .mgmt-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 14px; }
  body.v4-dir .mgmt-card__body { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body.v4-dir .mgmt-card { grid-template-columns: 1fr; }
  body.v4-dir .mgmt-card > * { grid-column: 1 !important; }
}

/* FAQ, related guides, closing band */
body.v4-dir .resource-faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--v4-gap); max-width: none; }
body.v4-dir .resource-faq__list > details { border-top: 1px solid rgba(107, 33, 75, 0.14) !important; border-bottom: 0 !important; }
body.v4-dir .resource-faq__list { border-bottom: 1px solid rgba(107, 33, 75, 0.14); }
@media (max-width: 900px) { body.v4-dir .resource-faq__list { grid-template-columns: 1fr; } }
body.v4-dir .resource-related__grid { display: flex; flex-wrap: wrap; gap: 18px; }
body.v4-dir .resource-related__grid > .related-guide { flex: 1 1 clamp(260px, 22%, 440px); min-width: 0; }
body.v4-dir .resource-cta {
  text-align: left;
  background: var(--v4-burg-grad);
  color: #fff;
  padding: clamp(72px, 9vw, 140px) 0;
  border-top: 0;
}
body.v4-dir .resource-cta .container {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: var(--v4-gap);
  align-items: end;
}
body.v4-dir .resource-cta h2 {
  grid-column: 1; grid-row: 1 / span 2;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 14ch;
}
body.v4-dir .resource-cta p { grid-column: 2; grid-row: 1; color: rgba(255, 255, 255, 0.84); margin: 0; font-size: clamp(1.05rem, 1.2vw, 1.25rem); line-height: 1.65; max-width: 50ch; align-self: end; }
body.v4-dir .resource-cta__btn { grid-column: 2; grid-row: 2; justify-self: start; margin-top: 26px; background: #fff; color: var(--v4-burg); }
body.v4-dir .resource-cta__btn:hover { background: var(--v4-copper-soft); color: var(--v4-ink); }
@media (max-width: 900px) {
  body.v4-dir .resource-cta .container { display: block; }
  body.v4-dir .resource-cta p { margin-top: 24px; }
}

/* ============================================================
   FAMILY: about (.v4-about)
   ============================================================ */
body.v4-about .intro-grid { gap: var(--v4-gap); align-items: stretch; }
body.v4-about .intro-image-wrap { aspect-ratio: auto; min-height: 640px; border-radius: 8px; }
body.v4-about .intro-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
body.v4-about .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.v4-about .step-card { padding: clamp(32px, 3vw, 48px) clamp(24px, 2.4vw, 40px); }
body.v4-about .step-name { font-size: 1.35rem; }
body.v4-about .step-desc { font-size: 1rem; line-height: 1.7; }
body.v4-about .team-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
body.v4-about .team-photo-wrap { width: 100%; max-width: 240px; height: auto; aspect-ratio: 1 / 1; }
body.v4-about .team-name { font-size: 1.15rem; }
body.v4-about .team-card em, body.v4-about .team-card i, body.v4-about .team-card p { font-style: normal !important; }
@media (min-width: 1600px) { body.v4-about .steps-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1200px) { body.v4-about .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { body.v4-about .intro-grid { grid-template-columns: 1fr; } body.v4-about .intro-image-wrap { min-height: 0; aspect-ratio: 16 / 10; max-width: none; } }
@media (max-width: 800px) { body.v4-about .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.v4-about .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.v4-about .steps-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAMILY: pricing (.v4-pricing) and contact (.v4-contact)
   ============================================================ */
body.v4-pricing .pricing-grid { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 1.8vw, 30px); }
body.v4-pricing .pricing-flagship { max-width: none; }
@media (max-width: 1100px) { body.v4-pricing .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { body.v4-pricing .pricing-grid { grid-template-columns: 1fr; } }
body.v4-contact .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--v4-gap); }
body.v4-contact .contact-form { max-width: 840px; }
body.v4-contact .contact-grid .section-body { max-width: 60ch; }
@media (max-width: 1024px) { body.v4-contact .contact-grid { grid-template-columns: 1fr; } }

/* ---------- small screens: keep the gutter honest ---------- */
@media (max-width: 768px) {
  body.v4 { --v4-gutter: 18px; }
  body.v4 .page-header { min-height: clamp(460px, 70vh, 640px); }
  body.v4 .page-header h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  body.v4 .section-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  body.v4 .cta-section h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  body.v4-dir .client-hero__title { font-size: clamp(2.2rem, 9vw, 3rem); }
  body.v4-dir .resource-cta h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}

/* ============================================================
   FAMILY: homepage (.v4-home) — rides on home.css (body.home-v3)
   ============================================================ */
body.v4-home .container { max-width: none; padding: 0 var(--v4-gutter); }
body.v4-home .hero-content { margin-left: 0; padding-left: var(--v4-gutter); padding-right: var(--v4-gutter); max-width: 1100px; }
body.v4-home .compare__inner { max-width: none; padding: 0 var(--v4-gutter); }
body.v4-home .compare__lead { max-width: none; margin: 0 0 clamp(40px, 5vw, 72px); text-align: left; }
body.v4-home .compare__lead-eyebrow { color: var(--v4-copper-soft) !important; border-bottom-color: rgba(231, 169, 129, 0.5); }
body.v4-home .compare__lead-body em { font-style: normal; color: #fff; font-weight: 600; }
body.v4-home .compare__cap-meta { color: var(--v4-copper-soft); }
body.v4-home .compare__cap-title { font-style: normal; font-weight: 500; }
body.v4-home .featured-cases-grid { display: flex; flex-wrap: wrap; gap: clamp(20px, 2vw, 32px); }
body.v4-home .featured-cases-grid > * { flex: 1 1 clamp(300px, 30%, 600px); min-width: 0; }
body.v4-home .services-grid { display: flex; flex-wrap: wrap; gap: 22px; }
body.v4-home .services-grid > * { flex: 1 1 clamp(260px, 23%, 440px); min-width: 0; }
body.v4-home .locations-grid { display: flex; flex-wrap: wrap; gap: 20px; }
body.v4-home .locations-grid > * { flex: 1 1 clamp(200px, 18%, 340px); min-width: 0; transform: none !important; }
body.v4-home .pricing-band .container, body.v4-home .pricing-grid { max-width: none; }
body.v4-home .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.v4-home .intro-grid { align-items: stretch; }
body.v4-home .intro-image-wrap { aspect-ratio: auto; min-height: 640px; border-radius: 8px; }
body.v4-home .process-head { text-align: left; }
body.v4-home .process-head .section-body { max-width: 60ch; }
body.v4-home .rel-index { margin-top: 40px !important; }
@media (max-width: 1024px) {
  body.v4-home .intro-grid { grid-template-columns: 1fr; }
  body.v4-home .intro-image-wrap { min-height: 0; aspect-ratio: 16 / 10; max-width: none; }
}
@media (max-width: 1100px) { body.v4-home .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { body.v4-home .pricing-grid { grid-template-columns: 1fr; } }

/* entries WITHOUT an in-depth body (pms-platforms) pair up two per row so the
   width is used; each entry is identity | facts + features */
body.v4-dir .biz-grid:not(:has(.biz-card__body)) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--v4-gap);
}
body.v4-dir .biz-grid:not(:has(.biz-card__body)) .biz-card {
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.1fr);
}
body.v4-dir .biz-grid:not(:has(.biz-card__body)) .biz-card__meta { grid-column: 2; grid-row: 1 / span 2; }
body.v4-dir .biz-grid:not(:has(.biz-card__body)) .biz-card__features { grid-column: 2; grid-row: 3; }
body.v4-dir .biz-grid:not(:has(.biz-card__body)) .biz-card__cta,
body.v4-dir .biz-grid:not(:has(.biz-card__body)) .biz-card__ctas { grid-column: 2; grid-row: 4; }
body.v4-dir .biz-grid:not(:has(.biz-card__body)) .biz-card:nth-last-child(2) { border-bottom: 1px solid var(--v4-line); }
@media (max-width: 1100px) {
  body.v4-dir .biz-grid:not(:has(.biz-card__body)) { grid-template-columns: 1fr; }
  body.v4-dir .biz-grid:not(:has(.biz-card__body)) .biz-card:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 680px) {
  body.v4-dir .biz-grid:not(:has(.biz-card__body)) .biz-card { grid-template-columns: 1fr; }
}

/* directory heads written with inline styles (pms-platforms) */
body.v4-dir .v4-head > h2[style] {
  font-family: var(--font-primary) !important;
  font-size: clamp(2.1rem, 3.6vw, 3.6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.022em;
  color: var(--v4-ink) !important;
}
body.v4-dir .v4-head > p[style] { font-size: clamp(1.02rem, 1.1vw, 1.15rem); line-height: 1.65; color: rgba(42, 26, 35, 0.84) !important; }
body.v4-dir .biz-grid-section[style] { border-top: 0 !important; }
