/* Masterclass (4.0): page styles. Scoped under .hp, built on the homepage tokens. */

/* ---- shared rhythm (event pages: Masterclass and Intensive) ---- */
.hp .ev{padding-block:120px}
.hp .ev-top{display:flex;flex-direction:column;gap:18px;margin-bottom:56px;max-width:900px}
.hp .ev-top.c{align-items:center;text-align:center;margin-inline:auto}
.hp .ev-top.c .eb{justify-content:center}
.hp .ev-top p{margin:0}
.hp .ev-w64{max-width:64ch}
.hp .ev-flow{display:flex;flex-direction:column;gap:22px}
.hp .ev-flow p{margin:0}
.hp .ev-cta{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:52px}
.hp .ev-flow .ev-cta{justify-content:flex-start;margin-top:10px}
.hp .ev-n{font-family:var(--f-mono);font-weight:700;font-size:13px;letter-spacing:.06em;color:var(--acc)}
.hp .sg-dark .ev-n{color:var(--accD)}
.hp mark.hl{background:none;color:inherit;padding:0 .06em;box-shadow:inset 0 -.42em 0 rgba(245,236,138,.75);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.hp .sg-dark mark.hl{box-shadow:inset 0 -.42em 0 rgba(245,236,138,.3)}
.hp .ev a.inl,.hp .ev-card-f a,.hp .faq__a a,.hp .ev-piece .body a{color:inherit;font-weight:650;text-decoration:underline;text-decoration-color:var(--acc);text-decoration-thickness:1.5px;text-underline-offset:3px}
.hp .sg-dark .ev-piece .body a{text-decoration-color:var(--accD)}
.hp .ev-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---- hero with a signup card ---- */
.hp .ev-hero .hero{align-items:start;padding-block:88px 56px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.hp .ev-hero .copy{padding-top:18px}
.hp .ev-hero .eb{line-height:1.5}
.hp .ev-hero .lead{max-width:600px}
.hp .ev-hero .h1{font-size:clamp(40px,5cqw,68px)}

/* ---- signup card + form (GHL webhook forms, wired by the page's live script) ---- */
.hp .ev-card{background:var(--card,#fff);color:var(--ink);box-shadow:var(--card-sh);border-radius:var(--rad-card);padding:38px 36px 32px;display:flex;flex-direction:column;gap:14px;position:relative;min-width:0}
.hp .ev-card .wc{color:var(--acc)}
.hp .ev-card-t{font-stretch:var(--fs);font-weight:var(--fw2,650);text-transform:var(--tt2,none);font-size:31px;line-height:1.02;letter-spacing:.006em;margin:0}
.hp .ev-card-l{margin:0;font-size:16px;line-height:1.5;color:var(--ink2)}
.hp .ev-card-l strong{color:var(--ink);font-weight:650}
.hp .ev-card-f{margin:2px 0 0;padding-top:16px;border-top:1px solid var(--line);font-family:var(--f-mono);font-size:12.5px;line-height:1.5;color:var(--ink2)}
.hp .ev-form{display:flex;flex-direction:column;gap:14px;margin-top:6px;position:relative}
.hp .ev-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.hp .ev-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.hp .ev-field label{font-stretch:120%;font-weight:600;font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--ink2)}
.hp .ev-field input{width:100%;box-sizing:border-box;font:inherit;font-size:16px;color:var(--ink);background:var(--g);border:1px solid var(--line);border-radius:var(--rad,6px);padding:13px 14px}
.hp .ev-field input::placeholder{color:var(--ink2);opacity:.6}
.hp .ev-field input:focus-visible{outline:2px solid var(--acc);outline-offset:1px;border-color:transparent}
.hp .ev-form .btn{width:100%;justify-content:center;border:0;cursor:pointer;font-family:inherit;margin-top:4px}
.hp .sg-dark .ev-card .btn{background:var(--btn);color:var(--btnInk)}
.hp .ev-form .if-form-message{margin:0;font-size:14px;font-weight:600;line-height:1.45}

/* ---- the ledger ---- */
.hp .ev-ledger{padding-bottom:72px}
.hp .ev-stats{grid-template-columns:repeat(3,minmax(0,1fr))}

/* ---- founders, framed (Cohort pattern) ---- */
.hp .cx-frame{background:var(--frame,#fff);padding:12px;box-shadow:var(--frame-sh);border-radius:var(--rad-card)}
.hp .cx-frame img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px;filter:url(#gu-duo-navy)}
.hp .ev-portraits{position:relative;height:500px}
.hp .ev-portraits .wide{position:absolute;left:0;top:0;width:86%;height:50%}
.hp .ev-portraits .tall{position:absolute;right:0;bottom:0;width:50%;height:58%}
.hp .ev-names{margin:26px 0 4px;font-stretch:var(--fs);font-weight:650;font-size:24px}
.hp .ev-role{margin:0}
.hp .ev-two{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:80px;align-items:center}
.hp .ev-mini{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:30px}
.hp .ev-mini .num{font-size:40px}
.hp .ev-mini>div{padding:20px 0 18px}
.hp .ev-mini>div+div{padding-left:20px}
.hp .ev-mini .wc{font-size:10px;letter-spacing:.14em;margin-top:10px}

/* ---- FAQ (Cohort's "practical details" accordion) ---- */
.hp .ev-faqw{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:72px;align-items:start}
.hp .ev-faqw .ev-top{margin-bottom:0}
.hp .ev-faq{border-top:1.5px solid var(--ink)}
.hp .faq__item{border-bottom:1px solid var(--line)}
.hp .faq__q{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0;cursor:pointer;font-size:19px;font-weight:650;line-height:1.35}
.hp .faq__q::-webkit-details-marker{display:none}
.hp .faq__q-mark{flex:none;width:32px;height:32px;border-radius:50%;background:var(--tint);color:var(--acc);display:grid;place-items:center;font-size:20px;font-weight:500;transition:transform .25s ease}
.hp .faq__item[open] .faq__q-mark{transform:rotate(45deg)}
.hp .faq__q:focus-visible{outline:2px solid var(--acc);outline-offset:4px}
.hp .faq__a p{margin:0 0 26px;font-size:17px;line-height:1.62;color:var(--ink2);max-width:62ch}

/* ---- closer ---- */
.hp .ev-closer .eb{margin-bottom:24px}
.hp .ev-closer .h1{font-size:84px}
.hp .ev-closer .lead{color:var(--ink2D)}
.hp .ev-closer .ev-card{max-width:500px;margin-left:auto;box-shadow:0 40px 90px rgba(0,0,0,.4)}

/* ---- tablet: stack the two-column blocks ---- */
@container (min-width:701px) and (max-width:980px){
  .hp.hp .ev-two,.hp.hp .ev-faqw,.hp.hp .ev-closer{grid-template-columns:minmax(0,1fr);gap:48px}
  .hp.hp .ev-hero .hero{grid-template-columns:minmax(0,1fr)}
  .hp .ev-hero .ev-card,.hp .ev-closer .ev-card{max-width:600px;margin-left:0}
  .hp .ev-portraits{max-width:560px}
  .hp .ev-closer .h1{font-size:64px}
  .hp.hp .ev-hero .h1{font-size:clamp(40px,7cqw,64px)}
}

/* ---- phone ---- */
@container (max-width:700px){
  .hp .ev{padding-block:72px}
  .hp .ev-top{margin-bottom:36px}
  .hp .ev-cta{margin-top:36px}
  .hp.hp .ev-hero .hero{grid-template-columns:minmax(0,1fr);padding-block:40px 32px;gap:36px}
  .hp .ev-hero .copy{padding-top:0}
  .hp .ev-card{padding:28px 20px 24px}
  .hp .ev-card-t{font-size:26px}
  .hp .ev-row{grid-template-columns:minmax(0,1fr)}
  .hp .ev-ledger{padding-bottom:40px}
  .hp .ev-two,.hp .ev-faqw{grid-template-columns:minmax(0,1fr);gap:40px}
  .hp .ev-portraits{height:380px}
  .hp .ev-mini .num{font-size:30px}
  .hp .ev-mini>div+div{padding-left:12px}
  .hp .ev-mini .wc{font-size:9px}
  .hp .faq__q{font-size:17px;padding:20px 0}
  .hp .ev-closer .h1{font-size:44px}
  .hp .ev-closer .ev-card{margin-left:0}
}

/* ---- the parts of the session (dark section cards) ---- */
.hp .ev-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.hp .ev-piece{border-radius:var(--rad-card);padding:32px 28px 30px;display:flex;flex-direction:column;gap:12px;box-shadow:inset 0 0 0 1px var(--lineD);background:rgba(255,255,255,.04);min-width:0}
.hp .ev-piece .wc{color:var(--ink2D);font-size:11px;letter-spacing:.16em}
.hp .ev-piece .ttl{font-stretch:var(--fs);font-weight:var(--fw2,650);text-transform:var(--tt2,none);font-size:25px;line-height:1.04;letter-spacing:.006em;margin:2px 0 0}
.hp .ev-piece .body{margin:0;font-size:15.5px;color:var(--ink2D);padding-top:16px;border-top:1px solid var(--lineD)}
.hp .ev-piece.go{background:var(--tint);color:var(--ink);box-shadow:0 26px 50px rgba(0,0,0,.25)}
.hp .ev-piece.go .wc,.hp .ev-piece.go .body{color:var(--ink2)}
.hp .ev-piece.go .body{border-top-color:var(--line)}
.hp .ev-piece.go .ev-n{color:var(--acc)}
.hp .sg-dark .ev-piece.go .body a{text-decoration-color:var(--acc)}

@container (min-width:701px) and (max-width:1100px){
  .hp.hp .ev-four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (max-width:700px){
  .hp .ev-four{grid-template-columns:minmax(0,1fr);gap:14px}
  .hp .ev-piece{padding:26px 22px}
}

/* ---- phase switch (the head script #mc-phase sets these attributes, as on the live page) ---- */
html:not([data-mc-phase="after"]) .mc-after-only{display:none!important}
html[data-mc-phase="after"] .mc-before-only{display:none!important}
html:not([data-mc-live]) .mc-live-only{display:none!important}

/* ---- "We're live right now" strip ---- */
.hp .ev-live{position:relative;z-index:2}
.hp .ev-live-in{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px 32px;padding-block:18px;text-align:center}
.hp .ev-live-t{margin:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 12px;font-size:18px;line-height:1.35}
.hp .ev-live-t strong{font-weight:700}
.hp .ev-live-s{font-family:var(--f-mono);font-size:13.5px;color:var(--ink2D)}
.hp .ev-dot{position:relative;display:inline-block;width:10px;height:10px;border-radius:50%;background:#e866b9;flex:0 0 10px}
.hp .ev-dot::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid #e866b9;animation:evpulse 2.2s ease-out infinite}
.hp .ev-live .btn{padding:12px 20px;font-size:15px}
@keyframes evpulse{0%{transform:scale(.6);opacity:.9}100%{transform:scale(1.5);opacity:0}}
@media (prefers-reduced-motion:reduce){.hp .ev-dot::after{animation:none;opacity:0}}
@container (max-width:700px){
  .hp .ev-live-in{flex-direction:column;gap:12px}
  .hp .ev-live-t{font-size:16px}
  .hp .ev-live .btn{width:100%;justify-content:center}
}

/* ---- QA pass: ledger numbers fit their cells (701 to 1140 wide) ---- */
@container (min-width:701px) and (max-width:1140px){
  .hp .stats .num{font-size:clamp(38px,4.8cqw,64px)}
  .hp .stats .wc{letter-spacing:.14em}
}
