.course-page { --course-opening-height:70vh; background:#000; color:#fafafa; }
.course-footer img { width:100%; height:auto; }
.course-hero { --video-height:var(--course-opening-height); position:fixed; inset:0 0 auto; height:var(--video-height); z-index:0; overflow:hidden; background:#171717; pointer-events:none; }
.course-hero iframe { position:absolute; top:50%; left:50%; width:max(100vw, calc(var(--video-height) * 16 / 9)); height:max(var(--video-height), 56.25vw); transform:translate(-50%,-50%); border:0; pointer-events:none; }
.course-hero.is-footer-scene { --video-height:100vh; }
.course-hero::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.62); }
.course-content { position:relative; z-index:1; width:100%; max-width:none; margin:var(--course-opening-height) 0 0; padding:0 var(--padding); background:#000; }
.course-content > * { max-width:calc(var(--case-width) - var(--padding) * 2); margin-left:auto; margin-right:auto; }
.course-intro > div,.course-intro h1,.course-intro .course-subtitle { max-width:none; }
.course-reel-link { display:flex; align-items:center; gap:1rem; }
.course-reel-link p { margin:0; }
.course-reel-link .cta-button { flex-shrink:0; }
.course-row { display:grid; grid-template-columns:1fr 2fr; gap:var(--gutter); padding:2rem 0; }
.course-label { font-family:"neue-haas-grotesk-display",Helvetica,Arial,sans-serif; font-size:var(--smaller-text); text-transform:uppercase; line-height:1.4; }
.course-intro { padding:3rem 0; margin-bottom:1rem; border-bottom:1px solid #fafafa; }
.course-page .big-title { line-height:1; font-weight:400; }
.course-subtitle { margin:1rem 0 1.5rem; }
.course-page button.cta-button { background:transparent; color:inherit; }
.course-page button.cta-button:hover { background:#fafafa; color:#000; }
.course-page .cta-button span { margin-left:1.5em; }
.course-page a:focus-visible,.course-page button:focus-visible { outline:2px solid #fafafa; outline-offset:5px; }
.course-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; padding:2.5rem 0; margin-top:2rem; border-top:1px solid #777; border-bottom:1px solid #777; }
.course-details .cta-button { margin-top:1rem; }
.course-details .course-label { margin-bottom:1rem; }
.course-details .text { font-family:"garamond-premier-pro-display",Times,serif; font-size:calc(var(--big-text) * 1.3); font-weight:400; line-height:1.2; letter-spacing:normal; }
.course-waitlist { width:100%; padding:5rem 0; scroll-margin-top:2rem; text-align:center; }
.course-waitlist .text { margin:1.5rem auto; max-width:none; }
.course-note { font-family:"neue-haas-grotesk-text",Helvetica,Arial,sans-serif; font-size:var(--small-text); color:#aaa; margin-top:1rem; }
/* Reuse the contact form's panel, typography, fields and submit styles. */
.course-waitlist-overlay .form-overlay-panel { padding-top:3rem; }
.course-waitlist-overlay .form-overlay-close { top:.65rem; left:auto; right:1rem; transform:none; }
.course-waitlist-overlay .wpforms-field input[type="checkbox"] { width:16px; }
.course-waitlist-overlay .wpforms-field-label-inline { font-family:"neue-haas-grotesk-text",Helvetica,Arial,sans-serif; font-size:var(--small-text); }
html:has(.course-waitlist-overlay.is-visible) { overflow:hidden; }
.course-footer { position:relative; z-index:1; min-height:100vh; justify-content:center; border-top:1px solid #777; padding:3rem var(--padding) 1.5rem; display:flex; flex-direction:column; align-items:center; gap:2rem; }
.course-footer > a { width:min(720px, 72vw); }
@media(max-width:600px) { .course-footer > a { width:min(560px, 56vw); } }
.course-footer nav { display:flex; gap:1.5rem; }
.course-footer nav,.course-footer p { font-family:"neue-haas-grotesk-text",Helvetica,Arial,sans-serif; font-size:var(--small-text); }
.course-reel { width:min(90vw, 72rem); padding:1rem; border:0; background:#000; color:#fafafa; margin:auto; }
.course-reel::backdrop { background:#000e; }
.course-reel .cta-button { margin:0 0 1rem auto; }
.course-player { aspect-ratio:16/9; }
.course-player iframe { width:100%; height:100%; border:0; }
html:has(.course-reel[open]) { overflow:hidden; }
@media(max-width:768px) {
 .course-page { --course-opening-height:58vh; }
 .course-reel-link { gap:.75rem; }
 .course-reel-link p { min-width:0; }
 .course-row { grid-template-columns:1fr; gap:1.2rem; padding:1.75rem 0; }
 .course-intro { padding:2.5rem 0; }
 .course-details { grid-template-columns:1fr; gap:2rem; }
 .course-details .course-label { margin-bottom:.75rem; }
 .course-waitlist { padding:3rem 0; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

#course-waitlist-form { --wpforms-field-background-color:transparent; --wpforms-field-border-color:#fafafa; --wpforms-field-text-color:#fafafa; --wpforms-label-color:#fafafa; }
#course-waitlist-form .wpforms-field-label,
#course-waitlist-form .wpforms-field-label-inline { font-family:"neue-haas-grotesk-text",Helvetica,Arial,sans-serif !important; font-weight:400 !important; font-size:var(--small-text) !important; color:#fafafa !important; }
#course-waitlist-form input[type="text"],
#course-waitlist-form input[type="email"],
#course-waitlist-form button[type="submit"] { font-family:"neue-haas-grotesk-text",Helvetica,Arial,sans-serif !important; font-size:var(--small-text) !important; box-shadow:none !important; }
