/* Course landing in the visual language of the live workshop. */
:root {
  --paper: #e6ecf2;
  --ink: #18273b;
  --muted-ink: #43556d;
  --paper-line: #a1afc0;
  --gutter: clamp(22px, 3.2vw, 52px);
}
body { accent-color: var(--ws-yellow); }
main > section > .container { min-width: 0; }
main p + p { margin-top: 12px; }
.section-head p { max-width: 75ch; margin-top: 15px; }
main a:not([class]) { text-underline-offset: .22em; }
.desktop-more { position: relative; }
.desktop-more summary { min-height: 44px; display: flex; align-items: center; gap: 7px; color: var(--ws-cool); font-size: 13px; font-weight: 650; }
.desktop-more summary::after { content: '⌄'; color: var(--ws-yellow); }
.desktop-more-links { position: absolute; top: 100%; right: 0; min-width: 176px; background: var(--ws-panel); border: 1px solid var(--ws-line); }
.ws-header .desktop-more-links a { display: flex; padding: 0 15px; }
.ws-header .desktop-more-links a + a { border-top: 1px solid var(--ws-line); }
.ws-header nav a[aria-current="location"] { color: var(--ws-yellow); }

/* Opening poster. The same cropped photo and ruled facts as the intensive. */
main > #course { padding: clamp(32px, 4.4vw, 66px) 0 0; }
.ws-hero .ws-title { margin-top: clamp(18px, 2.1vw, 32px); }
.ws-job { font-size: clamp(59px, 7.25vw, 116px); }
.ws-job > span { color: var(--ws-yellow); }
.hero-promise { display: block; margin-top: 15px; max-width: 34ch; font: 650 clamp(18px, 1.75vw, 28px)/1.2 var(--fw-sans); letter-spacing: -.035em; }
.ws-story .ws-summary { margin-top: 14px; max-width: 49ch; }
.ws-story .ws-actions { margin-top: clamp(16px, 2vw, 29px); }
.hero-consultation { margin-top: 12px; color: var(--ws-cool); max-width: 63ch; font-size: 13px; }
.ws-frame { align-self: stretch; }
.ws-hero .ws-frame::after { content: none; }
.ws-photo img { object-position: 49% 19%; }
.ws-facts li { flex: 1 1 auto; }
.ws-duration { border: 1.5px solid currentColor; border-radius: 50%; }
.ws-duration::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 0 1.5px 1.5px;
}
.ws-facts li + li { border-inline-start: 1px solid var(--ws-rule); padding-inline-start: var(--gutter); }

/* Light screening section and yellow internship spread. */
.whom-card li svg { display: none; }
#internship { background: var(--ws-yellow); color: var(--ink); }
#internship h2 { max-width: 18ch; }
#internship h2 ~ p { margin-top: 16px; max-width: 58ch; }
.perks { display: grid; gap: 10px; margin-top: 20px; list-style: none; }
.perks li { display: flex; gap: 9px; align-items: baseline; }
.perks svg { display: none; }
.perks li::before { content: '✓'; font-weight: 800; }
.intern-cta { margin-top: 20px; border-top: 1px solid #b99b27; padding-top: 15px; font-weight: 700; }
.intern-visual p { color: var(--ws-cool); margin-top: 12px; }
.intern-stats, .author-stats { display: grid; gap: 0 22px; margin-top: 24px; }
.intern-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intern-stats > div, .author-stats > div { padding: 13px 0; border-top: 1px solid var(--ws-line); }
.intern-stats b, .author-stats b { display: block; margin-bottom: 5px; font: 550 clamp(24px, 2.4vw, 41px)/1.12 var(--fw-condensed); color: var(--ws-yellow); }
.intern-stats span, .author-stats span { display: block; color: var(--ws-cool); font-size: 13px; }
#internship .btn, #consultation .btn { background: var(--ws-navy); color: var(--ws-white); }
#internship .btn:hover, #consultation .btn:hover { background: #273c58; }
.career-cta { margin-top: 28px; }

/* Course skills and the free lecture. */
.skills-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--ws-line); }
.skill-card { min-width: 0; min-height: 158px; padding: 22px clamp(14px, 2vw, 28px); border: solid var(--ws-line); border-width: 0 1px 1px 0; }
.skill-card:nth-child(4n) { border-right: 0; }
.skill-card:nth-child(n+5) { border-bottom: 0; }
.skill-num { margin-bottom: 9px; color: var(--ws-yellow); font-weight: 800; font-size: 12px; letter-spacing: .08em; }
#masterclass { background: var(--ws-panel); border-top: 1px solid var(--ws-line); }
.masterclass-invite-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px var(--gutter); }
.masterclass-invite-label, .pgate-tag, .curriculum-label { display: block; margin-bottom: 14px; color: var(--ws-yellow); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.masterclass-invite-copy p { max-width: 70ch; margin-top: 17px; color: var(--ws-cool); }
.masterclass-actions { display: grid; gap: 10px; }

/* Graduate stories and video contact sheet. */
#reviews { --review-ink: var(--ink); color: var(--ink); }
.tests-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--paper-line); }
.test-card { padding: 25px clamp(12px, 2.3vw, 36px); min-width: 0; }
.test-card:first-child { padding-inline-start: 0; }
.test-card:last-child { padding-inline-end: 0; }
.test-card + .test-card { border-inline-start: 1px solid var(--paper-line); }
.test-photo { width: 80px; height: 80px; margin-bottom: 12px; background: #aabbce; }
.test-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; }
.test-name { font-weight: 800; font-size: 23px; letter-spacing: -.045em; }
.test-role { min-height: 3.25em; color: var(--muted-ink); font-size: 13px; }
.test-arrow { width: fit-content; margin-block: 10px 5px; background: #cad5e2; padding: 3px 7px; font-weight: 800; font-size: 12px; }
.test-after { font-weight: 650; }
.test-arrow:has(+ .test-after) { background: var(--ws-yellow); }
.career-video-title { margin-top: clamp(32px, 4vw, 60px); }
.career-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 25px); margin-top: 18px; }
.career-video-card { min-width: 0; border: 1px solid var(--paper-line); background: #f4f6f8; }
.career-video-frame { position: relative; aspect-ratio: 4/3; background: var(--ws-navy); cursor: pointer; }
.career-video-frame :is(.video-poster, video, iframe) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border: 0; }
.video-poster { opacity: .82; }
.career-video-frame:hover .video-poster { opacity: 1; }
.vplay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; color: var(--ws-white); background: linear-gradient(0deg, #101a2e99, transparent 80%); pointer-events: none; }
.vplay-btn { display: grid; place-items: center; width: 42px; height: 42px; background: var(--ws-yellow); color: var(--ink); }
.vplay-btn svg { width: 18px; height: 18px; }
.vplay-label { font-size: 11px; font-weight: 800; padding: 4px 6px; background: var(--ws-navy); }
.vmeta { padding: 13px; font-size: 13px; }
.vname { font-weight: 800; }
.vrole, .vresult { color: var(--muted-ink); margin-top: 4px; }
.career-review-toggle, .vfoot { margin-top: 20px; }
.vfoot a { text-decoration: underline; text-underline-offset: .2em; }

/* Instructor and the two levels of the course. */
#author .author-grid { grid-template-areas: "photo copy"; align-items: stretch; }
#author .author-grid > div:last-child { grid-area: copy; min-width: 0; }
#author .author-quote { margin-top: 24px; }
.author-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.curriculum-grid, .pricing-grid { display: grid; border-block: 1px solid var(--ws-line); }
.curriculum-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.curriculum-stage { padding-block: clamp(24px, 3vw, 46px); padding-inline: var(--gutter); min-width: 0; }
.curriculum-stage:first-child { padding-inline-start: 0; }
.curriculum-stage:last-child { padding-inline-end: 0; border-inline-start: 1px solid var(--ws-line); }
.curriculum-stage > h3 { margin-bottom: 10px; }
.curriculum-stage > p:not([class]) { color: var(--ws-cool); }
.curriculum-calendar { color: var(--ws-white); font-weight: 700; }
.curriculum-stage ol { margin: 16px 0; padding: 0; list-style: none; counter-reset: lesson; }
.curriculum-stage li { display: flex; align-items: baseline; gap: 12px; padding-block: 8px; border-top: 1px solid var(--ws-line); counter-increment: lesson; }
.curriculum-stage li::before { content: counter(lesson, decimal-leading-zero); color: var(--ws-yellow); font: 550 19px/1 var(--fw-condensed); flex: none; }
.curriculum-exam { font-weight: 800; }
.curriculum-bonus { color: var(--ws-yellow); font-weight: 700; }
.program-summary { margin-top: 23px; max-width: 84ch; color: var(--ws-cool); }

/* The PDF form, with the original cover. */
#program-download { background: var(--ws-panel); }
.pgate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .66fr);
  grid-template-areas: "head art" "intro art" "form art" "alt art";
  gap: 13px var(--gutter);
  align-items: start;
}
.pgate-head { grid-area: head; }
.pgate-intro { grid-area: intro; color: var(--ws-cool); }
.pgate-art { grid-area: art; align-self: stretch; min-height: 320px; position: relative; overflow: hidden; clip-path: polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,0 100%); }
.pgate-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pgate-form, .pgate-success { grid-area: form; }
.pgate-form { display: grid; justify-items: start; gap: 12px; }
.pgate-fields { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pgate-field label, .lm-form > label:not(.lm-consent) { color: var(--ws-white); font-weight: 700; font-size: 13px; }
.pgate-field input, .lm-form input:not([type="checkbox"], .lm-hp) { display: block; width: 100%; margin-top: 5px; min-height: 47px; border: 1px solid #7788a0; background: var(--ws-navy); color: var(--ws-white); padding: 10px 12px; border-radius: 0; }
.pgate-field input::placeholder, .lm-form input::placeholder { color: #a9b6ca; }
.pgate-alt { grid-area: alt; }
.pgate-alt, .pgate-consent, .lm-consent, .pgate-note, .demo-note { color: var(--ws-cool); font-size: 13px; }
:is(.pgate-alt, .pgate-consent, .lm-consent) a { color: var(--ws-white); text-decoration: underline; text-underline-offset: .2em; }
.pgate-consent, .lm-consent { display: flex; align-items: flex-start; gap: 8px; }
.pgate-consent input, .lm-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }
.pgate-hp, .lm-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; }
.pgate-error, .lm-error { color: #ffe0cc; font-size: 14px; font-weight: 650; }
.pgate-error:empty { display: none; }
.pgate-success, .lm-success, .lm-error { display: none; }
.pgate-success.is-shown, .lm-success.is-shown, .lm-error.is-shown { display: block; }
.pgate-success { padding: 17px; border-left: 3px solid var(--ws-yellow); background: var(--ws-navy); }
.pgate-success :is(p, a, h3) { margin-bottom: 10px; }
.pgate-note, .demo-note { display: block; }
.demo-note { margin-bottom: 8px; }

/* Prices are a ruled comparison, with the full course called out in yellow. */
#pricing { color: var(--ink); background: var(--paper); }
.discount-banner { width: fit-content; margin-top: 14px; border: 1px solid var(--paper-line); padding: 5px 9px; font-weight: 750; font-size: 13px; }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-color: var(--paper-line); }
.price-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(18px, 2.6vw, 42px); }
.price-card + .price-card { border-inline-start: 1px solid var(--paper-line); }
.price-card.featured { background: var(--ws-yellow); }
.price-card p + p { margin-top: 0; }
.price-sub { min-height: 3.1em; color: var(--muted-ink); font-size: 14px; font-weight: 650; }
.price { font: 550 clamp(34px, 4.4vw, 73px)/1 var(--fw-condensed); letter-spacing: -.035em; }
.price-savings { font-size: 13px; font-weight: 850; }
.price-card ul { display: grid; gap: 7px; padding-left: 1.17em; font-size: 15px; }
.price-actions { display: grid; justify-items: start; gap: 9px; margin-top: auto; padding-top: 11px; }
.price-card.featured .price-buy { color: var(--ws-white); background: var(--ws-navy); }
.price-card.featured .price-buy:hover { background: #273c58; }
.price-consultation { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }

/* Social links, consultation, and overlays. */
#socials .section-head { margin: 0; }
.socials-grid { border-top: 1px solid #758197; }
.social-card { border-bottom: 1px solid #758197; padding-block: 16px; }
.social-card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; }
.social-card-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ws-yellow); }
.social-card-icon svg { width: 25px; height: 25px; fill: currentColor; }
.social-card-title > * { display: block; }
.social-card-title span { color: var(--ws-cool); font-size: 13px; }
#consultation { background: var(--ws-yellow); color: var(--ink); }
#consultation h2 { max-width: 21ch; }
#consultation p { max-width: 62ch; margin-block: 15px; }
.final-meta, .final-tg { margin-top: 12px; font-size: 14px; }
.final-tg a { text-decoration: underline; font-weight: 800; }
.lm-overlay { display: none; position: fixed; inset: 0; z-index: 90; background: #060d1bd9; overflow: auto; padding: 16px; }
.lm-overlay.is-open { display: grid; align-items: safe center; justify-items: center; }
.lm-card { position: relative; width: min(100%, 500px); padding: clamp(18px, 4vw, 35px); border-top: 4px solid var(--ws-yellow); background: var(--ws-panel); color: var(--ws-white); }
.lm-card h2 { padding-right: 36px; font: 550 clamp(27px, 4vw, 42px)/1.13 var(--fw-condensed); text-transform: uppercase; }
.lm-sub { margin: 10px 0; color: var(--ws-cool); font-size: 15px; }
.lm-form { display: grid; gap: 8px; }
.lm-close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; font-size: 29px; color: var(--ws-yellow); }
.lm-btn, .ab-tg-btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 46px; padding: 10px 15px; background: var(--ws-yellow); color: var(--ink); font-weight: 800; font-size: 14px; }
.lm-btn:hover, .ab-tg-btn:hover { background: #ffe991; }
.ab-tg-btn svg { flex: none; width: 22px; height: 22px; }
.lm-error, .lm-consent, .ab-tg-note { margin-block: 8px; }
.cookie-bar { position: fixed; inset: auto 12px max(12px, env(safe-area-inset-bottom)); z-index: 65; margin: auto; max-width: 590px; background: var(--paper); color: var(--ink); border: 1px solid var(--paper-line); padding: 9px 12px; }
.cookie-inner { display: flex; gap: 9px; align-items: center; justify-content: space-between; }
.cookie-text { font-size: 12px; line-height: 1.45; }
.cookie-text a { text-decoration: underline; }
.cookie-btn { min-height: 44px; padding: 0 12px; color: var(--ws-white); background: var(--ws-navy); font-size: 13px; font-weight: 750; }

@media (max-width: 980px) {
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-card:nth-child(2n) { border-right: 0; }
  .skill-card:nth-child(n+5):nth-child(-n+6) { border-bottom: 1px solid var(--ws-line); }
  .career-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  #author .author-grid { grid-template-areas: "photo" "copy"; }
  #author .author-photo { aspect-ratio: 1.5; min-height: 0; }
  #author .author-photo img { object-position: 50% 24%; }
  .masterclass-invite-card { grid-template-columns: 1fr; }
  .masterclass-actions { display: flex; flex-wrap: wrap; }
  .socials-grid { margin-top: 20px; }
}
@media (max-width: 719px) {
  main > #course { padding-top: clamp(25px, 7vw, 36px); }
  .ws-job { font-size: clamp(45px, 13.4vw, 90px); }
  .ws-story .ws-summary { margin-top: 12px; }
  .hero-promise { margin-top: 10px; }
  .ws-actions { gap: 3px 12px; }
  .ws-frame { margin-top: 17px; aspect-ratio: 1.26; }
  .ws-photo img { object-position: 48% 22%; }
  .ws-facts li + li { border: 0; padding: 0; }
  .intern-grid, .curriculum-grid, .pricing-grid, .tests-grid { grid-template-columns: minmax(0, 1fr); }
  .curriculum-stage, .curriculum-stage:last-child, .test-card, .test-card + .test-card { border-inline: 0; padding-inline: 0; }
  .curriculum-stage + .curriculum-stage, .test-card + .test-card, .price-card + .price-card { border-top: 1px solid var(--paper-line); }
  .price-card + .price-card { border-inline: 0; }
  .price-sub, .test-role { min-height: 0; }
  .pgate { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "intro" "art" "form" "alt"; }
  .pgate-art { min-height: 0; aspect-ratio: 1.65; width: min(100%, 450px); }
  .pgate-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 450px) {
  .social-card-head { grid-template-columns: auto minmax(0, 1fr); }
  .social-card-head .btn { grid-column: 2; justify-self: start; }
}
