/* page-legacy.css: old-design site pages (hubs, services, industries, KC answers, toolkit, legal, tools) seated in the sim7 shell.
   Each page's own inline <style> is scoped under .pg by scripts/reskin_page.py (loaded after this file, so the
   page's own layout wins ties). This file supplies the sim7 look the old rules lack: type, buttons, eyebrows,
   dark-band colour, radius. Look-only properties use !important so one list restyles every page; layout is never forced. */

/* ---------- legacy font names: alias to the sim7 faces so old components never fall to Times ---------- */
@font-face{font-family:"Playfair Display";src:url("../fonts/dm-serif-display.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Playfair Display";src:url("../fonts/dm-serif-display-italic.woff2") format("woff2");font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:"DM Sans";src:url("../fonts/inter-var.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Source Serif 4";src:url("../fonts/inter-var.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

/* ---------- base: undo the sim7 element defaults that assume sim7 markup ---------- */
.pg{color:var(--fg);font:400 var(--fs-body)/1.65 var(--sans);overflow-x:clip;--light:#f4f6fa}
.pg p{max-width:none}
.pg h1,.pg h2,.pg h3,.pg h4,.pg h5,.pg strong,.pg b{color:inherit}
.pg h1{font-size:clamp(2.1rem,1.5rem + 2.4vw,3.25rem);line-height:1.08}
.pg h2{font-size:clamp(1.6rem,1.25rem + 1.2vw,2.25rem);line-height:1.15}
.pg h3{font-size:clamp(1.2rem,1.1rem + .5vw,1.5rem);line-height:1.25}
.pg h1,.pg h2,.pg h3{font-family:var(--serif);font-weight:400;letter-spacing:-.012em}
.pg a{color:var(--navy);text-decoration-color:var(--gold-ink)}
.pg .wrap{width:auto}
.pg .section{padding-block:0}
.pg img{display:inline-block}
/* :where() keeps this at .pg + [class]: it still beats the sim7 ul[class] reset, but a page's own .pg .x-list{list-style:none}
   (a list that draws its own tick or dot in li::before) wins the tie, so no list shows two markers */
.pg :where(ul,ol)[class]{padding:revert;list-style:revert}
.pg .btn{min-height:0;overflow:visible;isolation:auto}
.pg .btn::before,.pg .btn::after{content:none}
.pg main section p a:not([class]){text-decoration-color:var(--gold-ink)}
.pg table{border-collapse:collapse}

/* ---------- dark bands: plain links are gold (the old global-link-fixes.css, scoped so it cannot touch the sim7 shell) ---------- */
.pg :is(.about-hero,.article-hero,.case-study,.cta-banner,.cta-box,.cta-section,.final-cta,.hero,.hero-shell,.ans-hero,.hub-hero,.legal-hero,.page-header,.on-dark,.sidebar-cred-card,.sidebar-cta,.testimonials,.video-testimonial) :is(a,a:link,a:visited,a:hover,a:active):not([class*="btn"]):not([class*="button"]):not([class*="cta"]){color:#C8A951;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.pg :is(.about-hero,.article-hero,.case-study,.cta-banner,.cta-box,.cta-section,.final-cta,.hero,.hero-shell,.on-dark,.sidebar-cta) :is(a.btn,a.cta-button,a.cta-button-large,a.cta-btn,a.btn-secondary,a.btn-primary,a.btn-gold,a.btn-amber,a.btn-outline,a.btn-line,a.btn-ghost){text-decoration:none}
.pg :is(.case-study,.cta-banner,.cta-box,.cta-section,.final-cta,.hero,.hero-shell,.on-dark) :is(a.btn-outline,a.btn-line,a.btn-ghost){color:#fff}
.pg :is(.about-hero,.article-hero,.case-study,.cta-banner,.cta-box,.cta-section,.final-cta,.hero,.hero-shell,.on-dark,.sidebar-cta) :is(a.btn,a.cta-button,a.cta-button-large,a.cta-btn,a.btn-primary,a.btn-gold,a.btn-amber):not(.btn-outline):not(.btn-line):not(.btn-ghost):not(.btn-secondary){color:#1D3557}

/* ---------- eyebrows and kickers: the sim7 label, not letterspaced caps ---------- */
.pg :is([class*="eyebrow"],[class*="kicker"],.hero-card-label,.eyebrow,.hero-eyebrow,.cs-eyebrow,.section-eyebrow,.sp-kicker,.kicker,.brand-kicker,.paper-kicker,.sim-proof-eyebrow,.video-quote-eyebrow,.tldr .k,.hub-meta,.trust-strip-label){text-transform:none!important;letter-spacing:.01em!important;font-size:.8125rem!important;font-weight:600!important}

/* ---------- buttons: sim7 primary (gold with ledge) and ghost ---------- */
.pg :is(a.btn-primary,button.btn-primary,.btn-gold,a.cta,a.cta-button,button.cta-button,.cta-button-large,.kc-btn-gold,.btn-print-doc,.cta-btn,.hero-cta a:first-child,.hero-buttons a:first-child){
  background:linear-gradient(180deg,#E6CF8F,var(--gold) 58%,#BC9C46)!important;color:var(--navy-dark)!important;
  border-radius:var(--radius)!important;font-weight:600!important;letter-spacing:.01em!important;text-transform:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 3px 0 #8E6F24!important;text-decoration:none!important;
  transition:transform var(--t-fast) var(--e-out),box-shadow var(--t-fast) var(--e-out),filter var(--t-base) var(--e-out)}
.pg :is(a.btn-primary,button.btn-primary,.btn-gold,a.cta,a.cta-button,button.cta-button,.cta-button-large,.kc-btn-gold,.btn-print-doc,.cta-btn,.hero-cta a:first-child,.hero-buttons a:first-child):hover{
  filter:brightness(1.06);transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 4px 0 #8E6F24!important}
.pg :is(a.btn-primary,button.btn-primary,.btn-gold,a.cta,a.cta-button,button.cta-button,.cta-button-large,.kc-btn-gold,.btn-print-doc):active{transform:translateY(3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 0 0 #8E6F24!important}
.pg :is(a.btn-line,.btn-outline,.btn-ghost,.kc-btn-line,.hero-buttons a:nth-child(n+2),.hero-cta a:nth-child(n+2),.btn-print){
  border-radius:var(--radius)!important;font-weight:600!important;letter-spacing:.01em!important;text-transform:none!important}
.pg :is(.kc-btn,.cta-link,.handoff-btn,.assemble-btn,.chat-send-btn){border-radius:var(--radius)!important}
.pg :is(a.btn-line,.btn-outline,.btn-ghost,.kc-btn-line):hover{background:rgba(255,255,255,.1)}

/* ---------- cards and boxes: sim7 square corners and hairlines ---------- */
.pg :is(.card,[class$="-card"],[class*="-card "],.tldr,.related,.definition-box,.outcome-box,.highlight-box,.value-box,.unlock-box,.form-card,.guide-panel,.chat-window,.testimonial,.tcard,.proof-card,.sidebar-card,.author-strip,.case-study-callout){border-radius:var(--radius)!important}

/* ---------- closing / CTA bands: the homepage closing treatment ---------- */
.pg :is(.cta-section,.cta-band,.cta-banner,.final-cta){
  background:radial-gradient(52% 70% at 50% 0%,rgba(200,169,81,.14),transparent 70%),linear-gradient(180deg,var(--navy-dark),var(--blackout))!important}
.pg :is(.cta-section,.cta-band,.cta-banner,.final-cta) :is(h2,h3){color:#fff}

/* ---------- pg-slot-links: A/B slot anchors that only lived in the old nav/footer (predeploy counts them); a quiet strip that
   joins the footer so a running test is not ended by the reskin ---------- */
.pg .pg-slot-links{display:flex;flex-wrap:wrap;gap:6px 22px;justify-content:center;margin:0;padding:16px var(--gutter);max-width:none;background:var(--blackout);font-size:var(--fs-small)}
.pg .pg-slot-links a{color:var(--gold-bright);text-decoration-color:currentColor}

@media print{.topbar,.site-header,.site-footer,.mobile-cta,.mobile-call{display:none!important}}
.pg .pg-lang{margin:0;padding:10px var(--gutter);text-align:right;font-size:var(--fs-label);background:var(--paper);max-width:none}
.pg .pg-lang a{color:var(--navy)}
.pg .coach>*{min-width:0}
.pg :is(.faq-icon,.faq-toggle,.mod-toggle){color:var(--gold-ink)!important}
.pg .step-number{color:var(--navy-dark)!important}
.pg .coach img.logos{max-width:min(100%,430px)}
/* the sim7 .sec-head is a two-column grid; a legacy .sec-head is a plain centred heading */
.pg .sec-head{display:block}

/* ---------- lean shell (reskin_page.py --lean): landing and confirmation pages keep one path, so the header is the logo
   (plus the phone number when the old header had one) and the footer is the base line ---------- */
.site-header--lean .header-in{justify-content:space-between}
.site-header--lean .header-phone{flex:none;color:var(--mist);font-weight:600;text-decoration:none;white-space:nowrap;font-size:var(--fs-small)}
.site-header--lean .header-phone:hover{color:var(--gold-bright)}
@media (max-width:420px){.site-header--lean .logo svg{height:34px}}
.site-footer--lean{padding-block:26px}
.site-footer--lean .footer-base{margin-top:0;padding-top:0;border-top:0}
.site-footer--lean .footer-base span:last-child{display:flex;flex-wrap:wrap;gap:6px 18px}
/* the old landing pages put the logo in their first band because they had no header; the lean header carries it now */
.site-header--lean ~ .pg .page-header > .container > img[src="/sim-logo.webp"]:first-child{display:none!important}

/* side gutters: some old templates zero their container's side padding with a later section rule (KC answers .wrap.body,
   the Q&A hubs .qa-wrap.container, the insurance proof band), so on a phone the text ran to the screen edge */
.pg :is(.wrap.body,.qa-wrap.container,.sim-proof > .container){padding-left:24px;padding-right:24px}

/* pricing-inquiry credentials: a credential with a link in it split into three flex columns; one text flow, tick pinned left */
.pg ul.credential-list > li{display:block;position:relative;padding-left:28px}
.pg ul.credential-list > li::before{position:absolute;left:0;top:.15em;margin-top:0}

/* Spanish pages: the longer labels in the shell's topbar and sticky call button wrapped badly on a phone */
html[lang^="es"] .topbar a[href^="tel:"]{white-space:nowrap}
html[lang^="es"] body:has(.mobile-cta) .mobile-call{font-size:.8125rem;line-height:1.15}

/* ---------- breadcrumb strips: the trail sits in the sim7 container, under the logo, not at the old 2rem or 1100px edge.
   Literal 1240px: the sim7 --max, which some pages redefine on .pg ---------- */
body .pg .breadcrumb-bar{padding-left:max(var(--gutter),(100% - 1240px)/2);padding-right:max(var(--gutter),(100% - 1240px)/2)}
body .pg .breadcrumb-bar-inner{max-width:none}
body .pg .breadcrumb > :is(.wrap,.breadcrumb-inner){width:min(1240px,100% - 2*var(--gutter));max-width:none;margin-inline:auto;padding-left:0;padding-right:0}

/* ---------- photo heroes (the city pages, on-site training): sim7 proportions. The old hero centred the copy against a 4:5
   portrait card plus a quote card, so the headline sat low in a tall, empty band. Copy and photo now start together at the
   top of the sim7 container; the photo is a 3:2 still in the viewfinder frame, square cut; the note under it reads as a
   lower third, the badges as the sim7 credit list, the cards as flat panels ---------- */
.pg .hero:has(> .hero-shell > .hero-side-stack){padding:clamp(40px,5vw,72px) 0 clamp(48px,6vw,80px)}
.pg .hero-shell:has(> .hero-side-stack){width:min(1240px,100% - 2*var(--gutter));max-width:none;margin-inline:auto;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,4vw,64px);align-items:start}
.pg .hero-shell:has(> .hero-side-stack) .hero-copy{text-align:left}
.pg .hero-shell:has(> .hero-side-stack) h1{max-width:none;font-size:var(--fs-hero);line-height:1.04;margin-bottom:20px}
.pg .hero-shell:has(> .hero-side-stack) .hero-rule{margin:0 0 22px}
.pg .hero-shell:has(> .hero-side-stack) .hero-copy p{margin-left:0;margin-right:0}
.pg .hero-shell:has(> .hero-side-stack) :is(.hero-cta,.hero-badges){justify-content:flex-start}
.pg .hero-shell:has(> .hero-side-stack) .hero-cta{margin-top:28px}
.pg .hero-shell:has(> .hero-side-stack) .hero-badges{gap:10px 28px;margin-top:28px}
.pg .hero-shell:has(> .hero-side-stack) .hero-badge{gap:10px;padding:0;border:0;border-radius:0;background:none;backdrop-filter:none;font-size:var(--fs-small);font-weight:500;color:var(--mist)}
.pg .hero-shell:has(> .hero-side-stack) .hero-badge::before{content:"";width:6px;height:6px;background:var(--gold);transform:rotate(45deg);flex:none}
.pg .hero-shell:has(> .hero-side-stack) .hero-cred{border-radius:var(--radius)}
.pg .hero-shell:has(> .hero-side-stack) .hero-proof{margin-top:28px;padding-top:20px}
.pg .hero-shell:has(> .hero-side-stack) :is(.hero-proof strong,.hero-note span){text-transform:none;letter-spacing:.01em;font-size:.8125rem;font-weight:600}
/* 13px inset so the viewfinder corners land on the container edge, as on the sim7 NYC hero */
.pg .hero-shell:has(> .hero-side-stack) .hero-side-stack{gap:28px;padding:13px 13px 0}
.pg .hero-shell:has(> .hero-side-stack) .hero-card{position:relative;padding:0;border:0;background:none;box-shadow:none}
.pg .hero-shell:has(> .hero-side-stack) .hero-photo{aspect-ratio:3/2;border-radius:0;object-position:50% 35%;background:var(--blackout)}
/* the viewfinder corners (sim7 .vf) around the photo only: padding-bottom is a share of the card's width, so the frame
   follows the 3:2 photo at every width */
.pg .hero-shell:has(> .hero-side-stack) .hero-card::after{content:"";position:absolute;top:-13px;left:-13px;right:-13px;height:0;
  padding-bottom:calc(66.6667% + 26px);pointer-events:none;--c:var(--gold);--w:2px;--s:26px;
  background:linear-gradient(var(--c) 0 0) 0 0/var(--s) var(--w) no-repeat,linear-gradient(var(--c) 0 0) 0 0/var(--w) var(--s) no-repeat,
    linear-gradient(var(--c) 0 0) 100% 0/var(--s) var(--w) no-repeat,linear-gradient(var(--c) 0 0) 100% 0/var(--w) var(--s) no-repeat,
    linear-gradient(var(--c) 0 0) 0 100%/var(--s) var(--w) no-repeat,linear-gradient(var(--c) 0 0) 0 100%/var(--w) var(--s) no-repeat,
    linear-gradient(var(--c) 0 0) 100% 100%/var(--s) var(--w) no-repeat,linear-gradient(var(--c) 0 0) 100% 100%/var(--w) var(--s) no-repeat}
.pg .hero-shell:has(> .hero-side-stack) .hero-note{margin-top:26px;padding:14px 18px;border:0;border-left:3px solid var(--gold);border-radius:0;background:var(--blackout)}
.pg .hero-shell:has(> .hero-side-stack) .hero-quote-card{box-shadow:none;padding:22px 24px}
@media (max-width:900px){
  .pg .hero-shell:has(> .hero-side-stack){grid-template-columns:minmax(0,1fr);gap:48px}
}

/* split heroes (presentation services): copy and photo span the sim7 container, so they line up with the logo above and the
   breadcrumb strip below instead of a narrower 1000px column */
.pg .hero-shell:has(> .hero-split){width:min(1240px,100% - 2*var(--gutter));max-width:none;margin-inline:auto}
.pg .hero-shell > .hero-split{max-width:none;gap:clamp(36px,4vw,64px)}

/* ---------- media-training hub: the proof line under the hero buttons had lost its margin to the page's .hero p rule ---------- */
.pg .hero p.hero-proof{margin-top:28px}

/* ---------- photos: the sim7 square cut. The old 8 to 18px rounded corners and drop shadows read as a different site ---------- */
.pg :is(.hero-image,.hero-photo,.hero-media img,.section-photo,.why-jess-photo,.studio-photo,.image-grid img,img.portrait){border-radius:var(--radius)!important;box-shadow:none!important}

/* ---------- trust strip (label beside copy): a two-column grid squeezed the copy to a ragged sliver on a phone ---------- */
@media (max-width:640px){body .pg .trust-strip-inner{grid-template-columns:minmax(0,1fr);gap:4px}}

/* ---------- contrast (WCAG AA) ---------- */
/* the lead-magnet sheet's copyright line was #bbb on white (1.9:1) */
.pg .paper-foot p[style*="#bbb"]{color:#6b7280!important}
/* industry closing band: a gold link inside a dimmed (opacity .82) paragraph fell to 4.2:1 on navy; sim7's bright gold holds AA */
.pg .footer-cta p a:not([class]){color:var(--gold-bright)!important}

/* ---------- photo heroes set in an inline style (Spanish and English-coaching pages): on a phone the same crop from an 800px
   file. The old 1600 to 1800px backgrounds sat under an 82% navy overlay, so the extra pixels bought nothing ---------- */
@media (max-width:800px){
  .pg .hero[style*="/library/somos1.webp"]{background-image:linear-gradient(rgba(29,53,87,.82),rgba(29,53,87,.82)),url("/assets/img/library/somos1-800.webp")!important}
  .pg .hero[style*="/library/CEOInterviewChair1.webp"]{background-image:linear-gradient(rgba(29,53,87,.82),rgba(29,53,87,.82)),url("/assets/img/library/CEOInterviewChair1-800.webp")!important}
  .pg .hero[style*="/library/Daniel1.webp"]{background-image:linear-gradient(rgba(29,53,87,.82),rgba(29,53,87,.82)),url("/assets/img/library/Daniel1-800.webp")!important}
  .pg .hero[style*="/library/emilio-llosa-1.webp"]{background-image:linear-gradient(rgba(29,53,87,.82),rgba(29,53,87,.82)),url("/assets/img/library/emilio-llosa-1-800.webp")!important}
}

/* amber (#C4721F) accent text on white measured 3.2 to 3.6:1. Every instance of these components sits on a light ground, so
   the labels take sim7's gold ink (6:1) and the links sim7's navy, as everywhere else on the site. body + .pg outranks the
   page's own .pg .x rule, which loads later */
body .pg :is(.paper-kicker,.secret-tip,.service-item h4,.case-study-callout .cs-eyebrow,.tip-num.bonus,.guide-card-cta,.sp-go,.sp-arrow){color:var(--gold-ink)}
body .pg :is(.service-card a,.dd-item p a){color:var(--navy)}
