/* COLSKEN launch waitlist — top bar, sign-up dialog, Espresso School gate + lesson sign-up boxes.
   Brand: maroon #50281C, orange-red #F5491F, red #D13213, cream #F3E8DF, dark brown #622A19.
   Everything here only appears when JavaScript runs (waitlist.js adds the markup). */
.wl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-eyebrow { display: inline-block; font-family: var(--font-label); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #D13213; }
.wl-h, .wl-h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; color: #50281C; line-height: 1.02; margin: 8px 0 0; }
.wl-h { font-size: clamp(28px, 4.4vw, 40px); }
.wl-h3 { font-size: clamp(22px, 2.6vw, 28px); }

/* ---- School bridge bar (Nov 2 2026): sticky, one line, links to /school/?src=site; dismissible 7 days.
   The bar sits at top:0 and the sticky site header (and everything stuck under it) moves down by --sbar-h. ---- */
:root { --sbar-h: 0px; }
html.cs-sbar { --sbar-h: 46px; scroll-padding-top: calc(84px + var(--sbar-h)); }
html.cs-sbar .site-header { top: var(--sbar-h); }
html.cs-sbar .progress { top: calc(68px + var(--sbar-h)); }
html.cs-sbar .gallery { top: calc(96px + var(--sbar-h)); }
html.cs-sbar .rail { top: calc(104px + var(--sbar-h)); }
.wl-bar { position: sticky; top: 0; z-index: 60; height: var(--sbar-h); box-sizing: border-box; overflow: hidden; color: #F3E8DF;
  background: radial-gradient(120% 220% at 50% -60%, rgba(245, 73, 31, .22), transparent 60%), linear-gradient(90deg, #50281C 0%, #622A19 50%, #50281C 100%); }
.wl-bar::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, #D13213 18%, #F5491F 50%, #D13213 82%, transparent 100%); opacity: .9; }
/* Nov 8 2026 CLS fix: until waitlist.js inserts the bar, html.cs-sbar-wait (set by sbar-early.js) holds its exact space
   with the bar's own background, so nothing below moves when the bar arrives. Removed the moment the bar is in. */
html.cs-sbar-wait body::before { content: ""; display: block; height: 46px;
  background: linear-gradient(90deg, transparent 0%, #D13213 18%, #F5491F 50%, #D13213 82%, transparent 100%) bottom / 100% 2px no-repeat,
    radial-gradient(120% 220% at 50% -60%, rgba(245, 73, 31, .22), transparent 60%), linear-gradient(90deg, #50281C 0%, #622A19 50%, #50281C 100%); }
@media (max-width: 560px) { html.cs-sbar-wait body::before { height: 44px; } }
.wl-bar-in { position: relative; height: 100%; max-width: var(--wrap, 1200px); margin: 0 auto; padding-inline: var(--gutter, 18px) 48px; display: flex; align-items: center; justify-content: center; animation: wl-bar-in .45s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes wl-bar-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.wl-bar-link { display: inline-flex; align-items: center; gap: 18px; color: inherit; text-decoration: none; min-height: 44px; }
.wl-bar-t { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .07em; text-transform: uppercase; display: inline-flex; align-items: center; white-space: nowrap; line-height: 1; color: #F3E8DF; }
.wl-ico { flex: none; width: 24px; height: 24px; margin-inline-end: 10px; color: #F5491F; }
.wl-free { font-weight: 800; color: #F99880; font-style: normal; } /* Nov 8 2026 a11y: lighter tint of brand orange #F5491F (same hue) = 4.7-5.4:1 on the bar incl. the glow (was 2.9-3.4:1) */
.wl-bar-cta { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: .02em; color: #FCFCFC; background: #D13213; padding: 8px 16px; border-radius: 999px; white-space: nowrap; line-height: 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 4px 14px -4px rgba(245, 73, 31, .65); /* Nov 8 2026 a11y: brand red #D13213 = 4.9:1 with white (was #F5491F, 3.5:1) */ transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
/* a soft light sweep across the button every few seconds (off for reduced motion) */
.wl-bar-cta::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-18deg); animation: wl-shine 4.8s ease-in-out 1.2s infinite; }
@keyframes wl-shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
.wl-bar-link:hover .wl-bar-cta { background: #B8290F; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 4px 16px -4px rgba(209, 50, 19, .8); }
.wl-bar-link:active .wl-bar-cta { transform: translateY(1px); }
.wl-arr { display: inline-block; transition: transform .15s ease; font-family: var(--font-display); }
.wl-bar-link:hover .wl-arr { transform: translateX(3px); }
[dir="rtl"] .wl-arr { transform: scaleX(-1); }
[dir="rtl"] .wl-bar-link:hover .wl-arr { transform: scaleX(-1) translateX(3px); }
.wl-bar-link:focus-visible { outline: none; }
.wl-bar-link:focus-visible .wl-bar-cta { outline: 3px solid #F3E8DF; outline-offset: 2px; }
.wl-bar-x { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #F3E8DF; font-size: 22px; line-height: 1; cursor: pointer; border-radius: 50%; opacity: .55; }
.wl-bar-x:hover, .wl-bar-x:focus-visible { opacity: 1; background: rgba(243, 232, 223, .1); }
.wl-bar-x:focus-visible { outline: 2px solid #F3E8DF; outline-offset: 1px; }
.wl-short { display: none; }
@media (max-width: 560px) {
  html.cs-sbar { --sbar-h: 44px; }
  .wl-bar-in { justify-content: flex-start; padding-inline: 12px 40px; }
  .wl-bar-link { gap: 8px; flex: 1; justify-content: space-between; }
  .wl-bar-t { font-size: 13px; letter-spacing: .04em; }
  .wl-ico { width: 21px; height: 21px; margin-inline-end: 7px; }
  .wl-bar-cta { font-size: 12px; padding: 8px 12px; }
  .wl-bar-x { inset-inline-end: 2px; width: 36px; height: 36px; font-size: 20px; }
}
@media (max-width: 374px) { .wl-long { display: none; } .wl-short { display: inline; } }
@media (prefers-reduced-motion: reduce) { .wl-bar-in, .wl-bar-cta::before { animation: none; } .wl-bar-cta::before { display: none; } .wl-bar-cta, .wl-arr { transition: none; } }

/* ---- lesson-6 sign-up pop-up (v2) ---- */
.wl-prompt .wl-later { display: block; margin: 12px auto 0; border: 0; background: none; color: #8C7864; font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 10px; }
.wl-prompt .wl-later:hover { color: #50281C; }
.wl-prompt .wl-gate-sub { margin-top: 6px; }
.wl-prompt .wl-h:focus { outline: none; }
.wl-nw { white-space: nowrap; }

/* ---- perks list ---- */
.wl-perks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.wl-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; color: #50281C; font-weight: 600; }
.wl-perks svg { flex: 0 0 18px; display: block; width: 18px; height: 18px; margin-top: 1px; padding: 2px; border-radius: 50%; background: #F5491F; color: #FCFCFC; }

/* ---- form ---- */
.wl-form { margin-top: 18px; }
.wl-fields { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) auto; gap: 8px; }
.wl-fields input { font: inherit; font-size: 16px; padding: 13px 15px; border-radius: 12px; border: 1.5px solid #957D76; /* Nov 8 2026 a11y: brand brown #50281C at 60% = 3.7:1 (was .25 alpha, 1.5:1) */ background: #FCFCFC; color: #303030; min-width: 0; }
.wl-fields input:focus { outline: none; border-color: #D13213; box-shadow: 0 0 0 3px rgba(245, 73, 31, .2); }
.wl-fields input[aria-invalid="true"] { border-color: #D13213; }
.wl-btn { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; color: #FCFCFC; background: #D13213; border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer; white-space: nowrap; transition: background .15s ease, transform .15s ease; }
.wl-btn:hover { background: #F5491F; }
.wl-btn:active { transform: translateY(1px); }
.wl-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.wl-check { display: flex; gap: 9px; align-items: flex-start; margin-top: 11px; font-size: 13.5px; line-height: 1.4; color: #622A19; cursor: pointer; }
.wl-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #D13213; flex: 0 0 18px; }
.wl-check input[aria-invalid="true"] { outline: 2px solid #D13213; outline-offset: 1px; }
.wl-check a, .wl-fine a { color: #B8290F; font-weight: 700; }
.wl-status { margin: 8px 0 0; font-size: 14px; min-height: 0; display: none; }
.wl-status.show { display: block; }
.wl-status.err { color: #B8290F; font-weight: 700; }
.wl-status.info { color: #622A19; }
.wl-fine { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: #7A5A48; }
@media (max-width: 640px) {
  .wl-fields { grid-template-columns: 1fr; }
  .wl-btn { padding: 14px 20px; }
}

/* ---- success ---- */
.wl-done { display: flex; gap: 14px; align-items: flex-start; outline: none; }
.wl-done-ico { flex: 0 0 34px; width: 34px; height: 34px; }
.wl-done-ico svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #F5491F; color: #FCFCFC; display: block; }
.wl-done-t { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; color: #50281C; margin: 0 0 4px; }
.wl-done p { margin: 0 0 6px; color: #50281C; line-height: 1.5; }
.wl-link { color: #D13213; font-weight: 800; }

/* ---- dialog ---- */
.wl-dialog { border: 0; border-radius: 22px; padding: 30px 30px 24px; width: min(94vw, 520px); background: #FCFCFC; color: #303030; box-shadow: 0 30px 80px -30px rgba(36, 19, 16, .6); border-top: 6px solid #F5491F; }
.wl-dialog::backdrop { background: rgba(36, 19, 16, .55); backdrop-filter: blur(3px); }
.wl-dialog .wl-fields { grid-template-columns: 1fr; }
.wl-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: #622A19; font-size: 26px; line-height: 1; cursor: pointer; }
.wl-x:hover { background: rgba(80, 40, 28, .08); }
@media (max-width: 480px) { .wl-dialog { padding: 26px 20px 20px; } }

/* ---- Espresso School: soft gate on lessons 6-12 ---- */
.wl-body { position: relative; }
.wl-locked .wl-body { max-height: 340px; overflow: hidden; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 25%, rgba(0,0,0,.35) 62%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, #000 25%, rgba(0,0,0,.35) 62%, transparent 92%); }
.wl-locked .wl-body::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(180deg, transparent 15%, #000 55%); mask-image: linear-gradient(180deg, transparent 15%, #000 55%); }
.wl-gate { display: none; }
.wl-locked .wl-gate { display: block; position: relative; z-index: 3; margin-top: -150px; }
.wl-gate-card { position: relative; max-width: 640px; margin: 0 auto; background: #FCFCFC; border-radius: 24px; padding: clamp(24px, 4vw, 38px); box-shadow: 0 26px 70px -30px rgba(36, 19, 16, .55); border: 1px solid rgba(80, 40, 28, .1); }
.wl-gate-lock { position: absolute; top: -22px; left: clamp(24px, 4vw, 38px); width: 44px; height: 44px; border-radius: 50%; background: #50281C; color: #F3E8DF; display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(36,19,16,.5); }
.wl-gate-lock svg { width: 22px; height: 22px; }
.wl-gate .wl-eyebrow { margin-top: 6px; }
.wl-gate-sub { margin: 8px 0 0; color: #622A19; font-size: 15.5px; }
.wl-unlocking .wl-body { animation: wl-reveal .8s ease both; }
@keyframes wl-reveal { from { opacity: .4; filter: blur(4px); } to { opacity: 1; filter: none; } }
@media (prefers-reduced-motion: reduce) { .wl-unlocking .wl-body { animation: none; } }

/* lesson index */
.sc-nav a .wl-nav-lock, .wl-nav-lock { display: inline-flex; align-items: center; font-style: normal; margin-left: 2px; color: var(--espresso, #50281C); opacity: .6; }
.sc-nav a.active .wl-nav-lock { color: #F3E8DF; opacity: .8; }
.wl-nav-lock svg { width: 13px; height: 13px; flex: 0 0 13px; display: block; }

/* ---- end-of-lesson sign-up box ---- */
.wl-end { margin-top: clamp(28px, 4vw, 44px); }
.wl-end-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 40px); align-items: start; background: #F3E8DF; border: 1px solid rgba(80, 40, 28, .12); border-radius: 24px; padding: clamp(22px, 3.4vw, 36px); position: relative; overflow: hidden; }
.wl-end-in::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #F5491F; }
.wl-end-in[hidden] { display: none; }
.wl-end-form .wl-form { margin-top: 0; }
.wl-end-form .wl-fields { grid-template-columns: 1fr 1fr; }
.wl-end-form .wl-btn { grid-column: 1 / -1; }
.wl-map { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; color: #622A19; }
.wl-map li { display: flex; gap: 8px; align-items: center; }
.wl-lk svg { width: 14px; height: 14px; display: block; opacity: .65; }
.wl-map li.open .wl-lk svg { opacity: 0; }
.wl-end-member { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 14px; background: #F3E8DF; color: #50281C; font-weight: 700; font-size: 15px; border: 1px solid rgba(80, 40, 28, .1); }
.wl-end-member[hidden] { display: none; }
.wl-end-member svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #F5491F; color: #FCFCFC; }
.wl-end-member a { color: #D13213; margin-left: 4px; }
@media (max-width: 860px) { .wl-end-in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .wl-end-form .wl-fields { grid-template-columns: 1fr; } }

/* ---- toast after unlocking from a gate ---- */
.wl-toast { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 160%); z-index: 95; width: min(94vw, 520px); background: #FCFCFC; border-radius: 20px; padding: 18px 46px 16px 18px; box-shadow: 0 24px 60px -24px rgba(36,19,16,.6); border-top: 5px solid #F5491F; transition: transform .4s cubic-bezier(.3,.7,.2,1); }
.wl-toast.show { transform: translate(-50%, 0); }
.wl-toast .wl-done-t { font-size: 22px; }
.wl-toast p { font-size: 14.5px; }

/* /win: perks line inside the boarding-pass form */
.pass-perks { margin: 6px 0 14px; font-size: 13.5px; line-height: 1.45; color: #622A19; background: #F3E8DF; border-left: 4px solid #F5491F; padding: 9px 12px; border-radius: 8px; }

#course a[data-wl-locked] .wl-nav-lock { margin: 0 5px 0 0; vertical-align: -2px; display: inline-flex; }

/* ---- members gate: what the server sends in place of a locked lesson (Nov 1 2026) ---- */
.wl-stripped { margin-top: 18px; }
.wl-stripped-note { margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: #F3E8DF; color: #50281C; font-weight: 600; }
.wl-js .wl-stripped-note { display: none; }
.wl-skel { display: grid; gap: 12px; }
.wl-skel span { display: block; height: 14px; border-radius: 8px; background: rgba(80, 40, 28, .12); }
.wl-skel span.short { width: 62%; }
.wl-skel .wl-skel-media { height: 200px; border-radius: 18px; background: linear-gradient(135deg, rgba(80,40,28,.16), rgba(245,73,31,.16)); margin-bottom: 6px; }
