/* Shared program-page components (D108 faculty section, D109 "Can't make these dates?",
   D112 organizations line). Markup comes from qa/scripts/program-components.js.
   Uses the program pages' tokens: --ink, --navy, --orange, --line, --muted, --serif, --sans. */

/* ---------- Faculty section: Option 2 "Split" (Mike, 2026-11-02) ----------
   Desktop: headline, why, the 80,000+ line and the quote on the left; the faculty list card on
   the right; the organizations line centered under both. Phones and tablets: one column in
   markup order (headline, why, 80,000+, faculty card, quote, organizations). */
.fac{background:#fff}
.fac-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);grid-template-rows:auto auto auto 1fr;grid-template-areas:"head panel" "stat panel" "quote panel" ". panel";column-gap:72px;align-items:start}
.fac-head{grid-area:head}
.fac-head h2{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(36px,3.4vw,50px);line-height:1.04;letter-spacing:-.025em;color:var(--navy);text-wrap:balance}
.fac-why{margin:22px 0 0;font-size:19px;line-height:1.55;color:#33475b;max-width:42ch;text-wrap:pretty}
.fac-stat{grid-area:stat;margin-top:36px;padding-top:28px;border-top:1px solid var(--line);display:flex;gap:20px;align-items:center}
.fac-stat p{margin:0}
.fac-stat-num{flex:none;font-family:var(--serif);font-size:64px;line-height:.9;letter-spacing:-.02em;color:var(--orange)}
.fac-stat-text{font-size:16px;line-height:1.45;font-weight:600;color:var(--navy);text-wrap:pretty}
.fac-quote{grid-area:quote;margin:32px 0 0;padding-top:28px;border-top:1px solid var(--line)}
.fac-quote blockquote{margin:0}
.fac-quote p{margin:0;font-family:var(--serif);font-size:24px;line-height:1.25;letter-spacing:-.005em;color:var(--navy);text-wrap:pretty}
.fac-quote figcaption{margin-top:14px;font-size:14px;line-height:1.45;color:#4a5d70}
.fac-quote figcaption b{color:var(--navy);font-weight:700}
.fac-quote figcaption b::after{content:", "}
.fac-panel{grid-area:panel;min-width:0;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 44px rgba(17,35,60,.07);padding:10px 32px 24px}
.fac-panel-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:18px 0 14px;border-bottom:1px solid var(--line)}
.fac-panel-head p{margin:0}
.fac-panel-title{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--navy)}
.fac-count{font-size:14px;font-weight:500;color:#4a5d70}
.fac-list{list-style:none;margin:0;padding:0}
.fac-card{display:flex;gap:16px;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--line)}
.fac-photo{display:block;flex:none;width:48px;height:48px;margin:0;border-radius:50%;object-fit:cover;object-position:50% 20%}
.fac-body{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:0 10px}
.fac-body h3{order:-1;margin:0;font-family:var(--serif);font-weight:400;font-size:21px;line-height:1.15;letter-spacing:0}
.fac-body h3 a{color:var(--navy);text-decoration:none;background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .25s cubic-bezier(.16,1,.3,1)}
.fac-body h3 a:hover,.fac-body h3 a:focus-visible{background-size:100% 1px}
.fac-lead{margin:2px 0;padding:3px 9px;border-radius:999px;background:#fff1e8;color:#9a3412;font-size:12px;line-height:1.4;font-weight:700}
.fac-role{flex:1 1 100%;margin:3px 0 0;font-size:14px;line-height:1.4;font-weight:500;color:#4a5d70;text-wrap:pretty}
.fac-role span::before{content:", "}
.fac-creds{flex:1 1 100%;list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
.fac-creds li{display:flex;gap:8px;font-size:14px;line-height:1.45;color:#2a3d50;text-wrap:pretty}
.fac-creds svg{flex:none;width:16px;height:16px;margin-top:2px;color:var(--orange)}
.fac-all{margin:18px 0 0;font-size:15px;font-weight:600}
.fac-all a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.fac-all a:hover{color:var(--orange)}
.fac a:focus-visible{outline:3px solid var(--orange);outline-offset:2px;border-radius:2px}
.fac-orgs{margin:56px 0 0;padding-top:28px;border-top:1px solid var(--line);text-align:center;font-size:16px;line-height:1.6;color:#33475b;text-wrap:pretty}
.fac-orgs b{color:var(--navy);font-weight:600}

@media(max-width:1000px){
  .fac-split{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"head" "stat" "panel" "quote"}
  .fac-why{max-width:60ch}
  .fac-panel{margin-top:28px}
  .fac-quote{margin-top:32px;padding-top:0;border-top:0}
  .fac-orgs{margin-top:28px;text-align:left}
}
@media(max-width:720px){
  .fac-head h2{font-size:34px;line-height:1.06;letter-spacing:-.02em}
  .fac-why{margin-top:16px;font-size:17px}
  .fac-stat{margin-top:26px;padding-top:22px;gap:16px}
  .fac-stat-num{font-size:48px}
  .fac-stat-text{font-size:14.5px;line-height:1.4}
  .fac-panel{border-radius:18px;box-shadow:0 10px 28px rgba(17,35,60,.06);padding:4px 18px 18px}
  .fac-panel-head{gap:4px 10px;padding:14px 0 12px}
  .fac-panel-title{font-size:12.5px}
  .fac-count{font-size:13px}
  .fac-card{gap:14px;padding:16px 0}
  .fac-body h3{font-size:20px}
  .fac-lead{order:9;margin:8px 0 0}
  .fac-all{margin-top:16px}
  .fac-quote p{font-size:22px;line-height:1.26;letter-spacing:0}
  .fac-quote figcaption{margin-top:12px}
  .fac-orgs{padding-top:22px;font-size:15px}
}

/* ---------- Can't make these dates? ---------- */
/* With this block on the page, the dates board drops its on-demand tile (D114). */
.schedule-secondary.is-single{grid-template-columns:1fr}
.schedule-secondary.is-single .schedule-option{border-right:0;padding-left:34px}
/* D143 (Mike, Nov. 2, 2026): no outer frame. The heading sits on the page background, the
   on-demand sales section is the main choice, and "Get the next dates first" is a light strip. */
.cant-make{margin-top:64px}
.cant-make h3{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(28px,2.4vw,36px);line-height:1.1;letter-spacing:-.015em;color:var(--ink)}

/* On demand (D143): navy section, the offer on the left, the FAQ on the right. Text on navy
   (#11233c): white 15.6:1, #d5e0ec 11.8:1, #fdba74 9.9:1. Focus rings are white on navy. */
.od{scroll-margin-top:108px;margin-top:22px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:56px;padding:44px 48px;border-radius:24px;background:var(--navy);color:#fff;box-shadow:0 26px 60px rgba(17,35,60,.16)}
.od h4{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(32px,2.8vw,42px);line-height:1.06;letter-spacing:-.015em;color:#fff;text-wrap:balance}
.od-lede{margin:12px 0 0;font-size:17px;line-height:1.55;color:#d5e0ec;max-width:46ch;text-wrap:pretty}
.od-list{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:11px}
.od-list li{display:flex;gap:11px;font-size:16px;line-height:1.45;color:#fff;text-wrap:pretty}
.od-list svg{flex:none;width:18px;height:18px;margin-top:2px;color:#fdba74}
.od-buy{margin-top:28px;padding-top:26px;border-top:1px solid rgba(255,255,255,.2)}
.od-price{margin:0;font-size:16px;line-height:1.2;color:#d5e0ec}
.od-price b{margin-right:4px;font-family:var(--serif);font-weight:400;font-size:44px;line-height:1;letter-spacing:-.01em;color:#fff}
.od-team{margin:10px 0 0;font-size:16px;line-height:1.45;color:#fff}
.od .od-btn{margin-top:22px;min-height:52px}
.od-terms{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 20px;font-size:14px;line-height:1.5;color:#d5e0ec}
.od-faq h5{margin:4px 0 4px;font-size:13px;line-height:1.4;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fdba74}
.od-faq details{border-bottom:1px solid rgba(255,255,255,.2)}
.od-faq summary{position:relative;display:block;min-height:44px;padding:17px 36px 17px 0;cursor:pointer;list-style:none;font-size:16.5px;line-height:1.4;font-weight:650;color:#fff}
.od-faq summary::-webkit-details-marker{display:none}
.od-faq summary::after{content:"";position:absolute;right:6px;top:24px;width:8px;height:8px;border-right:2px solid #fdba74;border-bottom:2px solid #fdba74;transform:rotate(45deg);transition:transform .2s ease}
.od-faq details[open] summary::after{top:28px;transform:rotate(-135deg)}
.od-faq summary:hover{color:#fdba74}
.od-faq details p{margin:0 0 18px;font-size:15.5px;line-height:1.55;color:#d5e0ec;text-wrap:pretty}
.od-faq a{color:#fff;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.od-faq a:hover{color:#fdba74}
.od summary:focus-visible,.od a:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:4px}
.cm-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* "Get the next dates first" (D130, D143): one light line under on demand, no card. */
.cm-strip{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px}
.cm-strip-text{margin:0;flex:1 1 340px;font-size:16px;line-height:1.5;color:#33475b;text-wrap:pretty}
.cm-strip-text b{color:var(--navy);font-weight:700}
.cm-strip-fields{flex:0 1 470px;display:flex;gap:10px;align-items:center}
.cm-strip-fields label{flex:1;min-width:0}
.cm-strip input{width:100%;min-height:48px;padding:10px 14px;border:1px solid #8ea3b8;border-radius:10px;background:#fff;color:var(--ink);font:500 15px/1.3 var(--sans)}
.cm-strip input::placeholder{color:#5d7083;opacity:1}
.cm-strip input:focus-visible{outline:3px solid rgba(194,65,12,.35);outline-offset:1px;border-color:var(--orange)}
.cm-strip .btn{min-height:48px;white-space:nowrap}
.cm-strip .btn:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.cm-strip .cm-status{flex-basis:100%;margin:0}
.cm-strip.is-done .cm-strip-fields{display:none}
.cm-strip.is-done .cm-status{flex-basis:auto;font-weight:650}
.cm-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* "Want the <month> dates first?" (D120, no live date yet): the month request first, then the
   same on-demand section. */
.cm-lede{margin:10px 0 0;font-size:16px;line-height:1.5;color:#33475b;max-width:60ch}
.cm-grid{margin-top:22px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.cm-opt{display:flex;flex-direction:column;padding:22px 24px 20px;border:1px solid var(--line);border-radius:16px;background:#fff}
.cm-opt h4{margin:0;font-size:17px;line-height:1.3;font-weight:700;color:var(--navy)}
.cm-copy p{margin:8px 0 0;font-size:15px;line-height:1.5;color:#33475b;text-wrap:pretty}
.cm-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);column-gap:32px;align-items:center;border-color:#c8d6e4;box-shadow:0 14px 34px rgba(17,35,60,.07)}
.cm-fields{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:10px;align-items:end}
.cm-fields label{display:grid;gap:6px;font-size:13px;font-weight:650;color:var(--ink)}
.cm-fields input,.cm-fields select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #b9c8d8;border-radius:10px;background:#fff;color:var(--ink);font:500 15px/1.3 var(--sans)}
.cm-fields input:focus-visible,.cm-fields select:focus-visible{outline:3px solid rgba(194,65,12,.28);outline-offset:1px;border-color:var(--orange)}
.cm-fields .btn{min-height:46px;white-space:nowrap}
.cm-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.cm-status{grid-column:2;margin:8px 0 0;min-height:1.4em;font-size:14px;line-height:1.45;color:var(--navy)}
.cm-status:empty{min-height:0;margin:0}
.cm-status.is-error{color:#b42318}
.cm-form.is-done .cm-fields{display:none}
.cm-form.is-done .cm-status{font-weight:650;margin:0}
.cm-or{margin:28px 0 0;font-size:16px;line-height:1.5;font-weight:600;color:var(--navy)}
.cant-make.is-soon .od{margin-top:12px}

/* D130: the transfer and refund line under the hero Register button; D143: the on-demand line. */
.reg-transfer-note{margin:8px 0 0;color:#40566c;font-size:14px;line-height:1.5}
.reg-ondemand-note{margin:4px 0 0;color:#40566c;font-size:14px;line-height:1.5}
.reg-ondemand-note a{color:var(--orange2);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.reg-ondemand-note a:hover{color:var(--navy)}
.reg-ondemand-note a:focus-visible{outline:3px solid var(--orange);outline-offset:2px;border-radius:2px}

@media(max-width:1100px){.cm-form{grid-template-columns:1fr;row-gap:16px}.cm-status{grid-column:1}}
@media(max-width:1000px){
  .od{grid-template-columns:minmax(0,1fr);gap:32px;padding:36px 32px}
}
@media(max-width:720px){
  .cant-make{margin-top:48px}
  .od{padding:28px 20px 22px;border-radius:20px;gap:26px}
  .od h4{font-size:30px}
  .od-lede{font-size:16px}
  .od-list li{font-size:15.5px}
  .od-price b{font-size:38px}
  .od .od-btn{width:100%}
  .od-terms{display:grid;gap:4px}
  .od-faq summary{font-size:16px;padding:15px 32px 15px 0}
  .od-faq summary::after{top:21px}
  .od-faq details[open] summary::after{top:25px}
  .cm-strip{margin-top:24px}
  .cm-strip-text{flex-basis:100%}
  .cm-strip-fields{flex:1 1 100%;flex-direction:column;align-items:stretch}
  .cm-strip .btn{width:100%}
  .cm-opt{padding:18px}
  .cm-fields{grid-template-columns:1fr}
  .cm-fields .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){.fac-body h3 a,.od-faq summary::after{transition:none}}
