/* המאסטרית: her Rav Messer program page rebuilt in the lecture page's language (Reut asked 4.10): the same plum night,
   rose light and blush paper, worlds that open like a curtain, ticket stubs and a rose thread. lecture.css carries the
   shared parts; this file only adds what the program page has and the lecture does not */
.mx .nav a[aria-current]{color:var(--gold-l)}

/* world 1: her promise is longer than the lecture title, so it sits smaller; her portrait takes the stage */
.mx-hero h1{font-size:clamp(38px,5.1vw,72px);line-height:1.12;margin-bottom:24px}
.mx-hero .gold{white-space:nowrap}
.mx-hero .lx-sub{max-width:34ch}
.mx-stage{aspect-ratio:4/5;width:min(100%,360px)}
.mx-portrait{position:absolute;inset:0;margin:0;border-radius:18px;overflow:hidden;rotate:-3deg;
  box-shadow:0 0 0 6px rgba(255,255,255,.08),0 0 0 7px rgba(247,185,166,.55),0 50px 80px -40px rgba(0,0,0,.75);
  animation:lx-on 1.3s .3s cubic-bezier(.2,.7,.2,1) both}
.mx-portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 18%}
.mx input[type=email]{width:100%;min-height:54px;padding:12px 16px;border-radius:14px;border:1px solid rgba(247,185,166,.38);background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:17px;line-height:1.5;caret-color:var(--gold-l);transition:border-color .2s,background-color .2s}
.mx input[type=email]:focus{border-color:var(--gold-l);background-color:rgba(255,255,255,.13)}
.mx input[dir=ltr]{text-align:right}
.mx input[dir=ltr]:not(:placeholder-shown){text-align:left}
.mx input[aria-invalid=true]{border-color:#FF9C8C;background-color:rgba(255,120,100,.12)}
.mx .lx-consent input[aria-invalid=true]{outline:2px solid #FF9C8C;outline-offset:2px}
.mx-err{margin-top:10px;padding:10px 16px;border-radius:12px;background:rgba(217,100,90,.2);box-shadow:inset 0 0 0 1px rgba(255,156,140,.55);color:#FFE3D6;font-size:15px}
.mx .btn[disabled]{opacity:.7;cursor:progress}

/* world 2: dawn, the inner voice */
.mx-lede{font-family:var(--display);font-size:clamp(20px,1.8vw,24px);line-height:1.45;color:var(--muted)}
.mx-voice .lx-arch h3{font-size:clamp(23px,2vw,28px)}
.mx-aside{max-width:640px;margin:clamp(40px,6vw,70px) auto 0;text-align:center;font-family:var(--display);font-size:clamp(20px,1.9vw,25px);line-height:1.5;color:var(--lagoon)}

/* world 3: dusk, the method beside the thread */
.mx-dusk-p{color:rgba(255,255,255,.84);margin-top:6px}
.mx-tools{list-style:none;display:grid;gap:16px;margin-top:26px}
.mx-tools li{position:relative;padding-inline-start:34px;color:rgba(255,255,255,.8)}
.mx-tools li:before{content:"";position:absolute;inset-inline-start:0;top:4px;width:20px;height:20px;background:var(--gold-l);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.mx-tools strong{display:block;color:#fff;font-weight:500}
.mx-then{font-family:var(--display);font-size:clamp(34px,3.4vw,46px);line-height:1;color:var(--gold-l);margin-bottom:26px;padding-inline-start:48px}
.mx-method .lx-thread h3{font-size:clamp(23px,2vw,28px)}

/* world 5: night, three stubs on one rose line */
.mx-steps{background:var(--pearl);color:#fff}
.mx-steps:before{background:radial-gradient(50% 40% at 15% 0%,rgba(247,185,166,.22),rgba(31,14,38,0) 70%),radial-gradient(45% 40% at 100% 100%,rgba(217,100,90,.2),rgba(31,14,38,0) 70%),linear-gradient(180deg,var(--deep),var(--lagoon))}
.mx-steps .sec-head h2,.mx-gain h2{color:#fff}
.mx-steps .eyebrow,.mx-gain .eyebrow{color:var(--gold-l)}
.mx-stages{--dust:247,185,166;list-style:none;position:relative;max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.6vw,34px);padding-top:26px}
.mx-stages:before{content:"";position:absolute;inset-inline:8%;top:52px;border-top:2px dashed rgba(247,185,166,.4)}
.mx-stage-card{position:relative;padding:58px clamp(22px,2.4vw,32px) clamp(26px,2.8vw,34px);border-radius:18px;
  background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.02)),rgba(31,14,38,.7);box-shadow:inset 0 0 0 1px rgba(247,185,166,.3),0 40px 70px -40px rgba(0,0,0,.7)}
.mx-stage-card:nth-child(2){margin-top:34px}
.mx-num{position:absolute;top:-26px;inset-inline-start:clamp(22px,2.4vw,32px);width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#FFD2C2,var(--gold));color:var(--deep);font-family:var(--display);font-size:27px;box-shadow:0 0 0 6px var(--deep),0 0 24px rgba(247,185,166,.5)}
.mx-stage-card h3{color:#fff;font-size:clamp(24px,2.1vw,29px);margin-bottom:6px}
.mx-how{color:var(--gold-l);font-weight:500;margin-bottom:12px}
.mx-stage-card p:last-child{color:rgba(255,255,255,.82)}
.mx-why{position:relative;max-width:760px;margin:clamp(60px,8vw,96px) auto 0;padding:clamp(26px,3.4vw,40px) clamp(22px,4vw,48px);border-radius:20px;text-align:center;
  background:linear-gradient(135deg,rgba(247,185,166,.16),rgba(255,255,255,.03));box-shadow:inset 0 0 0 1px rgba(247,185,166,.4)}
.mx-why:before{content:"";position:absolute;inset:12px;border-radius:12px;border:1px dashed rgba(247,185,166,.3);pointer-events:none}
.mx .mx-why h3{color:var(--gold-l);font-size:clamp(30px,3vw,40px);margin-bottom:6px}
.mx-why>p{color:rgba(255,255,255,.88)}
.mx-layers{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0}
.mx-layers li{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(247,185,166,.4);color:#fff}
.mx-layers svg{width:20px;height:20px;fill:none;stroke:var(--gold-l);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mx .mx-why-end{font-family:var(--display);font-size:clamp(20px,1.9vw,25px);color:#fff}

/* world 6: sea, meeting her */
.mx-bio{background:var(--deep)}
.mx-bio .lx-bio-pic img{object-position:50% 30%}
.mx-moment{margin-top:8px;font-family:var(--display);font-size:clamp(21px,2vw,26px);line-height:1.45;color:var(--gold-t)!important}

/* world 7: dusk, where she comes out and the five tickets of what the program holds */
.mx-gain{background:var(--mist);color:#fff}
.mx-gain:before{background:radial-gradient(50% 40% at 85% 0%,rgba(247,185,166,.24),rgba(31,14,38,0) 70%),radial-gradient(50% 45% at 0% 60%,rgba(217,100,90,.16),rgba(31,14,38,0) 70%),linear-gradient(180deg,var(--lagoon),var(--deep) 55%,var(--lagoon))}
.mx-gain-in{max-width:var(--max);margin:0 auto}
.mx-out{max-width:860px;margin:0 auto;text-align:center}
.mx-out-list{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px}
.mx-out-list li{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:8px 20px;border-radius:999px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(247,185,166,.35);color:#fff;text-align:start}
.mx-out-list li:before{content:"";flex:none;width:14px;height:14px;background:var(--gold-l);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.mx-inc-h{text-align:center;margin:clamp(80px,10vw,130px) auto clamp(34px,5vw,56px);max-width:760px}
.mx-inc{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(18px,2.4vw,30px)}
.mx-ticket{flex:0 1 calc((100% - 2 * clamp(18px,2.4vw,30px)) / 3);display:grid;grid-template-rows:auto 1fr;border-radius:18px;overflow:hidden;background:var(--pearl);color:var(--ink);
  box-shadow:0 40px 70px -40px rgba(0,0,0,.75)}
.mx-ticket img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.mx-ticket div{position:relative;padding:26px clamp(20px,2.2vw,28px) 28px;border-top:2px dashed rgba(217,100,90,.4)}
.mx-ticket div:before,.mx-ticket div:after{content:"";position:absolute;top:-13px;width:24px;height:24px;border-radius:50%;background:var(--deep)}
.mx-ticket div:before{right:-12px}.mx-ticket div:after{left:-12px}
.mx-ticket h3{color:var(--lagoon);font-size:clamp(22px,1.9vw,26px);margin-bottom:8px}
.mx-ticket p{color:var(--muted)}

/* world 8: blush paper, her questions */
.mx-faq{background:var(--lagoon)}
.mx-faq:before{background:radial-gradient(55% 45% at 85% 10%,rgba(242,201,188,.6),rgba(230,244,240,0) 70%),linear-gradient(180deg,var(--pearl),var(--mist))}
.mx-faq .sec-head h2{color:var(--lagoon)}
.mx-faq .eyebrow{color:var(--gold-t)}
.mx-faq details p+p{margin-top:-6px}

/* world 9: the door */
.mx-join h2 .gold{display:inline}

@media (max-width:900px){
  .mx-stage{width:min(64vw,290px)}
  .mx-stages{grid-template-columns:1fr;max-width:520px;gap:48px}
  .mx-stages:before{inset-inline:auto;inset-inline-start:calc(clamp(22px,2.4vw,32px) + 25px);top:40px;bottom:40px;border-top:0;border-inline-start:2px dashed rgba(247,185,166,.4)}
  .mx-stage-card:nth-child(2){margin-top:0}
  .mx-ticket{flex-basis:100%;max-width:520px}
  .mx-then{padding-inline-start:0}
}
@media (min-width:901px) and (max-width:1100px){.mx-ticket{flex-basis:calc((100% - clamp(18px,2.4vw,30px)) / 2)}}
@media (max-width:560px){
  .mx-out-list li{border-radius:16px;width:100%}
  .mx-hero .gold{white-space:normal}
}
/* link from stage 3 to the CBT service page (request 157) */
.mx-more{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;color:var(--gold-l);font-weight:500;text-decoration:underline;text-underline-offset:4px}
.mx-more:after{content:"←";margin-inline-start:6px}
/* the link to /women/ sits on the light bio band (request 240), so it takes the dark accent instead of the stage cards' light gold */
.mx-bio .mx-more{color:var(--gold-t);text-decoration-color:var(--gold)}
