/* Lectures & workshops: a compact, secondary strip (home page #lectures) + the /lectures/ page media row */
.lmlec{position:relative;isolation:isolate;padding:clamp(34px,3.6vw,52px) clamp(20px,5vw,48px);background:linear-gradient(180deg,#0D2230,#0B1C28)}
.lmlec::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(34% 70% at 22% 50%,rgba(37,169,156,.14),transparent 70%)}
.lmlec::after{content:"";position:absolute;left:10%;right:10%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(150,224,214,.35),transparent)}
.lmlec-row{display:flex;align-items:center;justify-content:space-between;gap:clamp(24px,4vw,56px)}
.lmlec-txt{flex:1 1 300px;min-width:0;max-width:440px}
.lmlec-h{margin:0;font-family:"Frank Ruhl Libre","Heebo",serif;font-weight:500;font-size:clamp(28px,2.8vw,38px);line-height:1.15;color:#fff}
.lmlec-p{margin:10px 0 0;color:#C9D6D3;font:400 16.5px/1.6 "Assistant",sans-serif}
.lmlec-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;color:#96E0D6;font:700 16px "Assistant",sans-serif;text-decoration:none;border-bottom:1px solid rgba(150,224,214,.45);padding-bottom:2px;transition:color .2s ease,border-color .2s ease}
.lmlec-link:hover{color:#fff;border-color:#fff}
.lmlec-link:focus-visible{outline:3px solid #A8D9D5;outline-offset:4px}
.lmlec-media{display:flex;align-items:flex-end;gap:18px;flex:0 1 auto}
.lmlec-media figure{margin:0}
.lmlec-media figcaption{margin-top:8px;color:#AEB9BD;font:400 13px/1.45 "Assistant",sans-serif;text-align:center}
/* reel (small, vertical) */
.lmlec-reel{width:150px}
.reel-box{position:relative;aspect-ratio:9/16;width:100%;border-radius:16px;overflow:hidden;background:#05101A;box-shadow:0 18px 40px -20px rgba(0,0,0,.85),0 0 0 1px rgba(150,224,214,.35)}
.reel-box video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.reel-ctl{position:absolute;bottom:7px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:0;cursor:pointer;background:rgba(5,15,22,.72);color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.22)}
.reel-ctl svg{width:16px;height:16px;fill:currentColor}
.reel-ctl:focus-visible{outline:3px solid #A8D9D5;outline-offset:2px}
.reel-mute{left:7px}.reel-pause{left:44px}
.reel-big{position:absolute;inset:0;margin:auto;width:52px;height:52px;border-radius:50%;border:0;cursor:pointer;display:none;place-items:center;background:rgba(255,255,255,.94);color:#0B1C28;box-shadow:0 8px 22px rgba(0,0,0,.45)}
.reel-big svg{width:22px;height:22px;fill:currentColor;margin-left:3px}
.reel-big:focus-visible{outline:3px solid #A8D9D5;outline-offset:3px}
.reel-box.is-idle .reel-big{display:grid}
/* lecture video thumbnail (opens the dialog) */
.lmlec-vid{width:min(340px,40vw)}
.vthumb{position:relative;display:block;width:100%;padding:0;border:0;border-radius:16px;overflow:hidden;cursor:pointer;background:#05101A;box-shadow:0 18px 40px -20px rgba(0,0,0,.85),0 0 0 1px rgba(150,224,214,.35)}
.vthumb img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;transition:transform .5s ease}
.vthumb:hover img{transform:scale(1.04)}
.vthumb-play{position:absolute;inset:0;margin:auto;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.95);box-shadow:0 0 0 0 rgba(255,255,255,.5);animation:lecPulse 2.4s ease-out infinite}
.vthumb-play svg{width:22px;height:22px;fill:#0B1C28;margin-left:3px}
.vthumb-len{position:absolute;bottom:8px;left:8px;padding:3px 10px;border-radius:999px;background:rgba(5,15,22,.8);color:#fff;font:700 12.5px "Assistant",sans-serif}
.vthumb:focus-visible{outline:3px solid #A8D9D5;outline-offset:3px}
@keyframes lecPulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.5)}70%{box-shadow:0 0 0 16px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
/* lecture dialog */
.lecbox{padding:0;border:0;background:transparent;width:min(1000px,90vw);max-width:none;overflow:visible;color:#fff}
.lecbox::backdrop{background:rgba(5,15,22,.7);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.lecbox-head{margin:0 56px 10px 0;direction:rtl}
.lecbox-head h3{margin:0;font:700 clamp(17px,1.7vw,21px)/1.35 "Assistant",sans-serif}
.lecbox-head p{margin:2px 0 0;color:#C3CCD0;font:400 14.5px/1.5 "Assistant",sans-serif}
.lecbox-frame{aspect-ratio:16/9;width:100%;border-radius:16px;overflow:hidden;background:#000;box-shadow:0 30px 80px -20px rgba(0,0,0,.85),0 0 0 1px rgba(168,217,213,.3)}
.lecbox-frame iframe{width:100%;height:100%;border:0;display:block}
.lecbox-x{position:absolute;top:0;left:0;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:#0B1C28;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.45)}
.lecbox-x svg{width:20px;height:20px}
.lecbox-x:focus-visible{outline:3px solid #A8D9D5;outline-offset:3px}
.lec-inline{color:inherit;text-decoration:underline;text-decoration-color:rgba(150,224,214,.6);text-underline-offset:3px}.lec-inline:hover{color:#96E0D6}
@media (max-width:860px){
  .lmlec-row{flex-direction:column;align-items:stretch}
  .lmlec-txt{max-width:none;flex:none}
  .lmlec-media{justify-content:center;gap:12px}
  .lmlec-reel{width:118px}
  .lmlec-vid{width:auto;flex:1 1 0;max-width:340px}
}
@media (prefers-reduced-motion:reduce){.vthumb-play{animation:none}.vthumb img{transition:none}}

/* lead form (page + popup) */
.lf{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;margin-top:24px}
.fx{display:flex;flex-direction:column;gap:6px;min-width:0}
.fx.full{grid-column:1/-1}
.fx label,.fx legend{font:600 15.5px "Assistant",sans-serif;color:#EDEDF3}
.fx .req{color:var(--mint)}
.fx input,.fx select{height:50px;border-radius:12px;border:1px solid rgba(150,224,214,.28);background:rgba(5,16,24,.55);color:#fff;font:400 16.5px "Assistant",sans-serif;padding:0 14px;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.fx select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#96E0D6 50%),linear-gradient(135deg,#96E0D6 50%,transparent 50%);background-position:18px 22px,24px 22px;background-size:6px 6px;background-repeat:no-repeat}
.fx select option{color:#0B1C28}
.fx input:focus,.fx select:focus{border-color:var(--mint);box-shadow:0 0 0 3px rgba(150,224,214,.22)}
.fx input[dir=ltr]{text-align:right}
.fx.bad input,.fx.bad select{border-color:#FF8A7A}
.fmsg{min-height:1.2em;font-size:14px;color:#FFB4A8}
.fx.seg{flex-direction:row;flex-wrap:wrap;gap:10px;border:0;margin:0;padding:0;min-inline-size:0}
.seg legend{float:right;width:100%;margin-bottom:6px;padding:0}
.seg label{flex:1 1 0;min-width:90px;position:relative;cursor:pointer}
.seg input{position:absolute;opacity:0;width:1px;height:1px}
.seg span{display:flex;align-items:center;justify-content:center;height:48px;border-radius:12px;border:1px solid rgba(150,224,214,.28);background:rgba(5,16,24,.55);font:600 16px "Assistant",sans-serif;color:#DCE6E2;transition:all .2s ease}
.seg input:checked+span{background:rgba(37,169,156,.22);border-color:var(--mint);color:#fff}
.seg input:focus-visible+span{box-shadow:0 0 0 3px rgba(150,224,214,.4)}
.chk{grid-column:1/-1;display:flex;gap:10px;align-items:flex-start;font-size:15.5px;color:#DCE6E2}
.chk input{width:20px;height:20px;margin-top:3px;accent-color:#25A99C;flex:none}
.chk-wrap .fmsg{margin-inline-start:30px}
.hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.go{grid-column:1/-1;margin-top:6px;height:54px;font-size:17.5px;cursor:pointer}
.go[aria-busy=true]{opacity:.7;cursor:progress}
.fsend{grid-column:1/-1;margin:0;color:#FFB4A8;font-weight:600;min-height:1.2em}
.notice{margin:20px 0 0;font-size:13.5px;line-height:1.6;color:#AEB9BD}
.lec-form .fx label,.lec-form .fx legend{font-family:"Assistant",sans-serif}
/* popup form */
.lecform-dlg{padding:0;border:0;background:transparent;width:min(720px,94vw);max-width:none;max-height:92vh;overflow:visible;color:#EDEDF3}
.lecform-dlg::backdrop{background:rgba(5,15,22,.72);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.lecform-card{position:relative;max-height:92vh;overflow:auto;padding:clamp(22px,3.4vw,36px);border-radius:22px;background:linear-gradient(170deg,#132E3E,#0D2230);border:1px solid rgba(150,224,214,.25);box-shadow:0 40px 90px -30px rgba(0,0,0,.9);direction:rtl}
.lecform-card h2{margin:0 0 4px;font-family:"Frank Ruhl Libre","Heebo",serif;font-weight:500;font-size:clamp(24px,2.4vw,30px);color:#fff}
.lecform-card .sub{margin:0;color:#C9D6D3;font-size:15.5px}
.lecform-card .lf{margin-top:18px}
.lecform-x{position:absolute;top:14px;left:14px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.1);color:#fff;display:grid;place-items:center;cursor:pointer}
.lecform-x svg{width:18px;height:18px}
.lecform-x:focus-visible{outline:3px solid #A8D9D5;outline-offset:2px}
.lmlec-cta-btn{display:inline-flex;align-items:center;gap:10px;margin-top:16px;height:44px;padding:0 20px;border-radius:999px;border:1px solid rgba(150,224,214,.5);background:rgba(37,169,156,.14);color:#EDEDF3;font:600 15.5px "Assistant",sans-serif;cursor:pointer;transition:background .25s ease,border-color .25s ease,transform .25s ease}
.lmlec-cta-btn:hover{background:rgba(37,169,156,.28);border-color:#96E0D6;transform:translateY(-1px)}
.lmlec-cta-btn:focus-visible{outline:3px solid #A8D9D5;outline-offset:3px}
.lmlec-cta-btn .dot{width:8px;height:8px;border-radius:50%;background:#3FE0CC;box-shadow:0 0 0 4px rgba(63,224,204,.18)}
/* ===== 3D stage polish ===== */
.lmlec-txt{position:relative}
.lmlec-mic{position:absolute;inset-inline-end:-6px;top:-34px;width:92px;height:auto;pointer-events:none;filter:drop-shadow(0 18px 22px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(63,224,204,.25));animation:lecFloat 6s ease-in-out infinite;transform-origin:50% 80%}
@keyframes lecFloat{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(3deg)}}
.lmlec-media{position:relative;perspective:1100px;padding-bottom:6px}
.lmlec-media::before{content:"";position:absolute;inset:auto -6% -14px -6%;height:46px;border-radius:50%;background:radial-gradient(closest-side,rgba(63,224,204,.28),transparent);filter:blur(6px);z-index:-1}
.lmlec-media figure{transform-style:preserve-3d;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.lmlec-reel{transform:rotateY(-14deg) translateZ(10px)}
.lmlec-vid{transform:rotateY(12deg) translateZ(0)}
.lmlec-media:hover figure{transform:rotateY(0) translateZ(0)}
.reel-box,.vthumb{isolation:isolate}
.reel-box::after,.vthumb::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;
  background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.16) 45%,transparent 60%) no-repeat;background-size:250% 100%;background-position:120% 0;animation:lecSheen 7s ease-in-out infinite}
@keyframes lecSheen{0%,70%{background-position:130% 0}100%{background-position:-60% 0}}
.lec-ring{position:relative;border-radius:18px;padding:2px;background:conic-gradient(from var(--a,0deg),rgba(63,224,204,.9),rgba(37,169,156,.15) 30%,rgba(150,224,214,.65) 55%,rgba(37,169,156,.15) 80%,rgba(63,224,204,.9));animation:lecSpin 8s linear infinite;box-shadow:0 26px 50px -22px rgba(0,0,0,.9),0 0 30px -6px rgba(63,224,204,.35)}
.lec-ring>.reel-box,.lec-ring>.vthumb{box-shadow:none;border-radius:16px}
@property --a{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes lecSpin{to{--a:360deg}}
@media (max-width:860px){.lmlec-mic{width:64px;top:-18px}.lmlec-reel,.lmlec-vid{transform:none}}
@media (prefers-reduced-motion:reduce){.lmlec-mic,.lec-ring,.reel-box::after,.vthumb::after{animation:none}.lmlec-media figure{transition:none}}
.lecform-card{scrollbar-width:thin;scrollbar-color:rgba(150,224,214,.35) transparent}
/* ===== v3: glass hub card (same language as the Nevo hub), equal-height media, cursor parallax ===== */
.lmlec{background:transparent;padding:clamp(28px,3.4vw,48px) clamp(20px,5vw,48px)}
.lmlec::after{display:none}
.lmlec::before{background:radial-gradient(40% 80% at 30% 50%,rgba(37,169,156,.12),transparent 70%)}
.lmlec-row{position:relative;max-width:1100px;padding:clamp(26px,3vw,40px) clamp(24px,3.4vw,48px);border-radius:28px;
  background:linear-gradient(150deg,rgba(24,57,76,.72),rgba(11,28,40,.92) 55%,rgba(16,42,52,.85));
  border:1px solid rgba(150,224,214,.22);box-shadow:0 40px 90px -40px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.06)}
.lmlec-row::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(120deg,rgba(63,224,204,.55),transparent 35%,transparent 65%,rgba(63,224,204,.35));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.lmlec-txt{max-width:380px}
.lmlec-h{font-size:clamp(30px,3vw,42px);background:linear-gradient(180deg,#fff 30%,#BFEFE8);-webkit-background-clip:text;background-clip:text;color:transparent}
.lmlec-mic{inset-inline-end:auto;inset-inline-start:-112px;top:-96px;width:92px}
.lmlec-media{align-items:flex-start;gap:20px}
.lmlec-reel{width:auto}
.lmlec-reel .reel-box{height:240px;width:auto;aspect-ratio:9/16}
.lmlec-vid{width:auto}
.lmlec-vid .vthumb img{height:240px;width:auto;aspect-ratio:16/9}
.lmlec-media figcaption{max-width:300px;margin-inline:auto}
.lmlec-reel figcaption{max-width:150px}
.lmlec-reel{transform:rotateY(-10deg) translateZ(14px)}
.lmlec-vid{transform:rotateY(8deg)}
.lmlec-media[data-tilt] figure{transition:transform .25s ease-out}
@media (max-width:1100px){.lmlec-vid .vthumb img{height:200px}.lmlec-reel .reel-box{height:200px}.lmlec-mic{display:none}}
@media (max-width:860px){.lmlec-row{padding:24px 18px}.lmlec-media{gap:12px}.lmlec-vid .vthumb img{height:auto;width:100%}.lmlec-reel .reel-box{height:auto;width:100%}.lmlec-reel{width:112px;flex:none}.lmlec-vid{flex:1 1 0}.lmlec-mic{display:block;inset-inline-start:auto;inset-inline-end:4px;top:-34px;width:58px}}
/* v4: bigger text on desktop, mic never over text */
.lmlec-txt{max-width:470px}
.lmlec-p{font-size:24px;line-height:1.5;margin-top:14px;color:#D6E3E0}
.lmlec-cta-btn{height:54px;padding:0 26px;font-size:19px;margin-top:22px}
.lmlec-media figcaption{font-size:17px;line-height:1.45;color:#C3CFD1;max-width:340px}
.lmlec-reel figcaption{max-width:170px}
@media (max-width:1100px){.lmlec-p{font-size:21px}.lmlec-media figcaption{font-size:15.5px}}
@media (max-width:860px){
  .lmlec-p{font-size:18px}
  .lmlec-cta-btn{height:48px;font-size:17px}
  .lmlec-media figcaption{font-size:14.5px}
  .lmlec-mic{inset-inline-start:auto;inset-inline-end:6px;top:-56px;width:44px}
}
/* enlarge reel */
.reel-exp{left:auto;right:7px}
.reelbox{padding:0;border:0;background:transparent;overflow:visible;max-width:none;width:auto}
.reelbox::backdrop{background:rgba(5,15,22,.82);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.reelbox video{display:block;height:min(86vh,860px);width:auto;max-width:92vw;aspect-ratio:9/16;border-radius:18px;background:#000;box-shadow:0 30px 80px -20px rgba(0,0,0,.9),0 0 0 1px rgba(150,224,214,.35)}
.reelbox .lecbox-x{top:-8px;left:-56px}
@media (max-width:640px){.reelbox .lecbox-x{left:auto;right:0;top:-54px}.reelbox video{height:auto;width:88vw}}
.reelbox{position:fixed;inset:0;margin:auto;width:fit-content;height:fit-content}
