/* Objection Room: section separation + audience zones (mockup separation-v1, Oct 18 2026).
   Scoped: every rule hangs off .sep-zone or .sep-band, so pages without the wrappers are unaffected.
   Markup it needs (no changes inside sections):
     <div class="sep-band sep-band--firms"><div class="sep-band-in"><p class="sep-band-label">For law firms</p></div></div>
     <div class="sep-zone sep-zone--firms" style="--sep-label:'For law firms'"> ...existing <section>s... </div>
   Zones: --all (shared content: ink backdrop, framed ink panels), --firms (cream backdrop block, framed ink and cream panels),
   --reps (raised #161614 backdrop block, framed ink panels). Panels keep the page ink #0F0F0E so the existing #161614 cards inside keep their contrast. */

:root{--sep-ink:#0F0F0E;--sep-ink2:#161614;--sep-line:#2A2926;--sep-cream:#F1EEE8;--sep-stone:#E6E2DA;--sep-red:#D4AF37;--sep-r:8px}

/* zones (offset background blocks) */
.sep-zone{position:relative;padding:40px 0 16px}
.sep-zone--all{background:var(--sep-ink)}
.sep-zone--firms{background:var(--sep-stone)}
.sep-zone--reps{background:var(--sep-ink2)}

/* panels: every top-level section in a zone */
html body .sep-zone > section{
  position:relative;box-sizing:border-box;
  max-width:1200px !important;width:auto !important;
  margin:0 max(24px, calc((100% - 1200px) / 2)) 40px !important;
  padding:72px 56px !important;
  background:var(--sep-ink) !important;color:var(--sep-cream);
  border:1px solid #34322E !important;border-radius:var(--sep-r);
  --sep-br:var(--sep-red)}
html body .sep-zone--reps > section{border-color:#3E3C37 !important}
html body .sep-zone--firms > section{border-color:#0F0F0E !important;box-shadow:0 1px 0 rgba(15,15,14,.06)}
/* cream sections stay cream, now framed */
html body .sep-zone > section[style*="F1EEE8"]{background:var(--sep-cream) !important;color:var(--sep-ink);border:1px solid rgba(15,15,14,.28) !important}
html body .sep-zone--firms > section[style*="F1EEE8"]{border:1.5px solid var(--sep-ink) !important}
html body .sep-zone--all > section[style*="F1EEE8"],html body .sep-zone--reps > section[style*="F1EEE8"]{border-color:var(--sep-cream) !important}

/* inner wrappers lose their own page padding; the panel owns spacing */
html body .sep-zone > section > .or-sec,
html body .sep-zone > section > div[style*="max-width"]{max-width:none !important;margin:0 !important;padding:0 !important}
html body .sep-zone > section > .or-sec.cx-five{padding:0 !important}

/* corner accents: thin L-brackets just outside top-left and bottom-right */
html body .sep-zone > section::after{
  content:"";position:absolute;inset:-9px;pointer-events:none;z-index:1;
  background:
    linear-gradient(var(--sep-br),var(--sep-br)) left top / 26px 2px no-repeat,
    linear-gradient(var(--sep-br),var(--sep-br)) left top / 2px 26px no-repeat,
    linear-gradient(var(--sep-br),var(--sep-br)) right bottom / 26px 2px no-repeat,
    linear-gradient(var(--sep-br),var(--sep-br)) right bottom / 2px 26px no-repeat}
/* results blocks: no red, cream brackets */
html body .sep-zone > section.v3-results{--sep-br:var(--sep-cream)}
html body .sep-zone--firms > section.v3-results{--sep-br:var(--sep-ink)}

/* audience tab on the top edge of every panel in an audience zone */
html body .sep-zone--firms > section::before,
html body .sep-zone--reps > section::before{
  content:var(--sep-label);position:absolute;top:0;left:40px;transform:translateY(-50%);z-index:2;
  font-family:'IBM Plex Mono',monospace;font-size:0.72rem;font-weight:500;line-height:1;letter-spacing:0.2em;text-transform:uppercase;
  padding:7px 12px 7px 14px;border-radius:2px;white-space:nowrap}
html body .sep-zone--firms > section::before{background:var(--sep-ink);color:var(--sep-cream);border:1px solid var(--sep-ink)}
html body .sep-zone--reps > section::before{background:var(--sep-ink2);color:var(--sep-cream);border:1px solid #4A4843}

/* a shared zone that follows an audience zone gets a hairline so the audience zone visibly ends */
.sep-zone--reps + .sep-zone--all,.sep-zone--firms + .sep-zone--all{border-top:1px solid var(--sep-line)}

/* divider band between audiences */
.sep-band{position:relative;border-top:4px solid var(--sep-red)}
.sep-band-in{max-width:1200px;margin:0 auto;padding:64px 24px 0}
.sep-band-label{margin:0;padding-bottom:28px;font-family:'Archivo','Helvetica Neue',sans-serif;font-stretch:125%;font-weight:800;
  font-size:clamp(1.8rem,7.8vw,5.5rem);line-height:0.95;letter-spacing:0.01em;text-transform:uppercase}
.sep-band--firms{background:var(--sep-stone);color:var(--sep-ink)}
.sep-band--firms .sep-band-label{border-bottom:2px solid var(--sep-ink)}
.sep-band--reps{background:var(--sep-ink2);color:var(--sep-cream)}
.sep-band--reps .sep-band-label{border-bottom:2px solid #4A4843}
/* page-top band on single-audience pages: a little tighter */
.sep-band--page .sep-band-in{padding-top:40px}
.sep-band--page .sep-band-label{font-size:clamp(1.6rem,5vw,3.5rem);padding-bottom:20px}

/* mobile: gutters and breathing room */
@media (max-width:640px){
  .sep-zone{padding:32px 0 8px}
  html body .sep-zone > section{margin:0 14px 32px !important;padding:44px 20px 40px !important}
  html body .sep-zone > section::after{inset:-7px;background-size:18px 2px,2px 18px,18px 2px,2px 18px}
  html body .sep-zone--firms > section::before,html body .sep-zone--reps > section::before{left:22px;font-size:0.66rem;padding:6px 10px}
  .sep-band-in{padding:44px 16px 0}
  .sep-band-label{padding-bottom:20px}
  .sep-band--page .sep-band-in{padding-top:28px}
  .sep-band--page .sep-band-label{padding-bottom:16px}
}

/* no tab where the panel's own eyebrow already names the audience, and on the shared playbook panel */
html body .sep-zone > section[data-sep-tab="off"]::before{content:none !important;display:none !important}
/* ES law firms: two long Spanish words ran past the narrower phone panel, so size them to fit */
@media (max-width:640px){
html body .sep-zone > section #tr-h:lang(es){font-size:min(2rem,6.4vw) !important}
html body .sep-zone > section .v3-cap h3:lang(es){font-size:1.08rem}
}
