/* Lessons & Pricing: page-specific layout boundary. */
body.page-template-page-lessons .page-hero p{max-width:50ch}
.rm-lessons-heading{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:clamp(24px,6vw,80px);align-items:end;margin-bottom:38px}.rm-lessons-heading .eyebrow{grid-column:1/-1}.rm-lessons-heading h2{margin:0;font-size:clamp(2.4rem,4.8vw,4.8rem);line-height:1;letter-spacing:-.055em}.rm-lessons-heading p{margin:0;max-width:42ch;color:#66635d}.rm-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rm-choice-grid a{position:relative;min-height:330px;display:flex;flex-direction:column;padding:30px;border:1px solid #d4d0c8;background:linear-gradient(145deg,#fff,#eee9df);color:#202126;text-decoration:none;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s}.rm-choice-grid a:before{content:"";position:absolute;inset:auto -30% -55% 30%;height:70%;border:1px solid #d6b91c;border-radius:50%;transition:transform .45s}.rm-choice-grid a:hover{transform:translateY(-6px);border-color:#c8a900;box-shadow:0 24px 60px #211b0d18}.rm-choice-grid a:hover:before{transform:translate(-10%,-12%)}.rm-choice-grid span{font-size:.68rem;letter-spacing:.12em}.rm-choice-grid h3{font-size:1.55rem;margin:80px 0 14px}.rm-choice-grid p{color:#66635d;font-size:.86rem}.rm-choice-grid b{margin-top:auto;font-size:.75rem}.rm-lesson-flow{background:radial-gradient(circle at 90% 10%,#66560f55,transparent 35%),linear-gradient(145deg,#24252a,#0e0f12)}.rm-lesson-flow .rm-lessons-heading p{color:#c8c4bd}.rm-lesson-flow ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #ffffff2b}.rm-lesson-flow li{padding:30px 24px;border-right:1px solid #ffffff1c}.rm-lesson-flow li>span{color:#ffdf00;font-size:.72rem}.rm-lesson-flow h3{margin:42px 0 12px;font-size:1.2rem}.rm-lesson-flow p{color:#bdb9b1;font-size:.82rem;line-height:1.65}.rm-skills-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.rm-skills-grid article{min-height:235px;padding:25px;border:1px solid #d9d5cd;background:#fff;transition:transform .25s,border-color .25s}.rm-skills-grid article:hover{transform:translateY(-4px);border-color:#d0ae00}.rm-skills-grid article>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffdf00}.rm-skills-grid h3{margin:36px 0 10px;font-size:1.15rem}.rm-skills-grid p{font-size:.8rem;color:#66635d;line-height:1.6}.rm-progress-road{background:linear-gradient(135deg,#f0ece4,#e5dfd2)}.rm-progress-line{display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr auto;align-items:center;gap:12px;padding:26px;border:1px solid #cfc8ba;background:#faf8f3}.rm-progress-line span{font-size:.72rem;font-weight:800;text-transform:uppercase}.rm-progress-line i{height:2px;background:linear-gradient(90deg,#171713 0 46%,transparent 46% 58%,#171713 58%)}.rm-lessons-close{text-align:center;background:radial-gradient(circle at 50% 100%,#66560f55,transparent 40%),#111216}.rm-lessons-close h2{font-size:clamp(3rem,6vw,6rem);line-height:.94}.rm-lessons-close p{color:#c8c4bd}.rm-lessons-close .button{margin-top:20px}@media(max-width:900px){.rm-choice-grid{grid-template-columns:1fr 1fr}.rm-lesson-flow ol,.rm-skills-grid{grid-template-columns:1fr 1fr}.rm-progress-line{grid-template-columns:1fr;gap:10px}.rm-progress-line i{width:2px;height:32px;margin-left:18px;background:linear-gradient(#171713 0 46%,transparent 46% 58%,#171713 58%)}}@media(max-width:620px){.rm-lessons-heading,.rm-choice-grid{grid-template-columns:1fr}.rm-choice-grid a{min-height:250px}.rm-choice-grid h3{margin-top:45px}.rm-lesson-flow ol,.rm-skills-grid{grid-template-columns:1fr}.rm-lesson-flow li{border-right:0;border-bottom:1px solid #ffffff1c}.rm-skills-grid article{min-height:190px}.rm-progress-line{padding:20px}}

/* Premium lesson discovery sequence */
.rm-lesson-finder{position:relative;overflow:hidden;background:linear-gradient(145deg,#f8f6f0 0%,#ece8df 100%)}
.rm-lesson-finder::before{content:"";position:absolute;inset:-20% -10% auto 48%;height:480px;background:radial-gradient(circle,#ffdf0024 0,transparent 68%);pointer-events:none}
.rm-lessons-heading{position:relative;z-index:1;margin-bottom:clamp(34px,5vw,58px)}
.rm-lessons-heading .eyebrow{display:flex;align-items:center;gap:12px}.rm-lessons-heading .eyebrow::before{content:"";width:34px;height:2px;background:#d1b400}
.rm-lessons-heading h2{max-width:13ch}.rm-lessons-heading>p{font-size:.92rem;line-height:1.75;padding-left:22px;border-left:1px solid #c9c3b7}
.rm-choice-grid{position:relative;z-index:1;gap:clamp(14px,2vw,24px)}
.rm-choice-grid a{isolation:isolate;min-height:360px;padding:clamp(24px,3vw,34px);border-radius:18px;border-color:#d5d0c6;background:linear-gradient(155deg,#fff 0%,#f4f0e7 100%);box-shadow:0 10px 35px #2f291b0b}
.rm-choice-grid a::before{inset:auto -18% -48% 24%;height:78%;border-color:#d4b50055;background:radial-gradient(circle at var(--rm-choice-x,70%) var(--rm-choice-y,80%),#ffdf0031,transparent 42%)}
.rm-choice-grid a::after{content:"↗";position:absolute;right:26px;top:25px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #c9c3b7;border-radius:50%;font-size:1rem;transition:transform .3s,background .3s,border-color .3s}
.rm-choice-grid a:hover,.rm-choice-grid a:focus-visible{transform:translateY(-8px);border-color:#c5a900;box-shadow:0 26px 70px #30270e1c;outline:0}
.rm-choice-grid a:hover::after,.rm-choice-grid a:focus-visible::after{transform:rotate(45deg);background:#ffdf00;border-color:#ffdf00}
.rm-choice-grid a>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#1b1b1a;color:#ffdf00;font-weight:850}
.rm-choice-grid h3{position:relative;z-index:1;margin:88px 0 15px;max-width:12ch;font-size:clamp(1.45rem,2vw,1.8rem);line-height:1.08}
.rm-choice-grid p,.rm-choice-grid b{position:relative;z-index:1}.rm-choice-grid p{max-width:31ch;line-height:1.7}.rm-choice-grid b{display:flex;align-items:center;gap:8px;padding-top:20px;border-top:1px solid #d7d1c6;text-transform:uppercase;letter-spacing:.08em}

.rm-lesson-flow{--rm-flow-progress:0%;position:relative;overflow:hidden;background:radial-gradient(circle at 88% 5%,#ffdf0022,transparent 32%),linear-gradient(145deg,#222327,#090a0c)}
.rm-lesson-flow::before{content:"";position:absolute;inset:0;opacity:.22;background-image:linear-gradient(#ffdf000c 1px,transparent 1px),linear-gradient(90deg,#ffdf000c 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(90deg,transparent,#000 22% 88%,transparent)}
.rm-lesson-flow .wrap{position:relative}.rm-lesson-flow .rm-lessons-heading h2{max-width:12ch}.rm-lesson-flow .rm-lessons-heading::after{content:"A typical lesson adapts to your experience and goals.";align-self:end;color:#aaa69f;font-size:.78rem;line-height:1.6}
.rm-lesson-flow ol{position:relative;border:0;gap:12px}
.rm-lesson-flow ol::before,.rm-lesson-flow ol::after{content:"";position:absolute;top:22px;left:12.5%;right:12.5%;height:2px;background:#ffffff1f}
.rm-lesson-flow ol::after{right:auto;width:calc(var(--rm-flow-progress)*.75);background:#ffdf00;box-shadow:0 0 16px #ffdf0066;transition:width .4s cubic-bezier(.22,1,.36,1)}
.rm-lesson-flow li{position:relative;z-index:1;min-height:285px;padding:0 18px 26px;border:1px solid transparent;border-radius:16px;cursor:pointer;outline:0;transition:background .3s,border-color .3s,transform .3s,opacity .3s;opacity:.62}
.rm-lesson-flow li>span{width:46px;height:46px;margin:0 auto 34px;display:grid;place-items:center;border:1px solid #77726b;border-radius:50%;background:#151619;font-weight:850;transition:background .25s,color .25s,box-shadow .25s}
.rm-lesson-flow li h3{margin:0 0 13px;font-size:1.22rem}.rm-lesson-flow li p{line-height:1.7}
.rm-lesson-flow li.is-active,.rm-lesson-flow li:hover,.rm-lesson-flow li:focus-visible{opacity:1;transform:translateY(-5px);border-color:#ffdf003e;background:#ffffff0a}
.rm-lesson-flow li.is-active>span,.rm-lesson-flow li:hover>span,.rm-lesson-flow li:focus-visible>span{background:#ffdf00;color:#171713;border-color:#ffdf00;box-shadow:0 0 0 7px #ffdf0014}

.rm-skills{position:relative;background:#f4f1ea}.rm-skills::after{content:"07 SKILLS";position:absolute;right:3vw;top:22px;color:#1817130a;font-size:clamp(4rem,10vw,9rem);font-weight:900;letter-spacing:-.07em;pointer-events:none}
.rm-skills-window{position:relative;z-index:1}
.rm-skills-grid{position:relative;z-index:1;grid-template-columns:repeat(12,1fr);gap:14px}
.rm-skills-grid article{grid-column:span 3;position:relative;min-height:250px;padding:26px;border-radius:14px;border-color:#d4cfc5;background:#fff;box-shadow:0 8px 28px #2c271a0a;cursor:pointer;outline:0;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s,background .3s}
.rm-skills-grid article:nth-child(-n+3){grid-column:span 4}.rm-skills-grid article::after{content:"";position:absolute;left:0;bottom:0;width:0;height:3px;background:#ffdf00;transition:width .35s}
.rm-skills-grid article:hover,.rm-skills-grid article:focus-visible,.rm-skills-grid article.is-active{transform:translateY(-5px);border-color:#c2a600;background:linear-gradient(155deg,#fff,#fffbe2);box-shadow:0 22px 52px #332a1017}
.rm-skills-grid article:hover::after,.rm-skills-grid article:focus-visible::after,.rm-skills-grid article.is-active::after{width:100%}
.rm-skills-grid article>span{width:44px;height:44px;background:#171713;color:#ffdf00;font-size:1.1rem;transition:transform .3s,background .3s,color .3s}.rm-skills-grid article:hover>span,.rm-skills-grid article:focus-visible>span,.rm-skills-grid article.is-active>span{transform:rotate(45deg);background:#ffdf00;color:#171713}
.rm-skills-grid h3{margin:48px 0 12px;font-size:1.2rem}.rm-skills-grid p{line-height:1.7}

@media(max-width:900px){.rm-lessons-heading{grid-template-columns:1fr 1fr}.rm-choice-grid{grid-template-columns:1fr 1fr}.rm-choice-grid a:last-child{grid-column:1/-1;min-height:280px}.rm-choice-grid a:last-child h3{margin-top:55px}.rm-lesson-flow ol{grid-template-columns:1fr 1fr;gap:14px}.rm-lesson-flow ol::before,.rm-lesson-flow ol::after{display:none}.rm-lesson-flow li{min-height:230px;padding:24px}.rm-lesson-flow li>span{margin:0 0 40px}.rm-skills-grid article,.rm-skills-grid article:nth-child(-n+3){grid-column:span 6}}
@media(max-width:620px){.rm-lesson-finder,.rm-lesson-flow,.rm-skills{padding-block:64px}.rm-lessons-heading{grid-template-columns:1fr;gap:18px}.rm-lessons-heading>p{padding:16px 0 0;border-left:0;border-top:1px solid #cbc5ba}.rm-lessons-heading h2{font-size:2.65rem}.rm-choice-grid{grid-template-columns:1fr}.rm-choice-grid a,.rm-choice-grid a:last-child{grid-column:auto;min-height:265px;padding:24px}.rm-choice-grid h3,.rm-choice-grid a:last-child h3{margin-top:46px}.rm-choice-grid a::after{right:22px;top:21px}.rm-lesson-flow .rm-lessons-heading::after{display:none}.rm-lesson-flow ol{grid-template-columns:1fr;gap:10px}.rm-lesson-flow li{min-height:0;display:grid;grid-template-columns:48px 1fr;gap:18px;padding:20px;align-items:start}.rm-lesson-flow li>span{margin:0;width:44px;height:44px}.rm-lesson-flow li h3{margin:3px 0 8px}.rm-skills-window{overflow:hidden;margin-inline:-16px;padding:4px 0 24px;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}.rm-skills-grid{display:flex;width:max-content;gap:12px;padding-inline:18px}.rm-skills-grid.is-carousel-ready{animation:rm-skills-loop var(--rm-skills-duration,38s) linear infinite;will-change:transform}.rm-skills-grid.is-paused{animation-play-state:paused}.rm-skills-grid article,.rm-skills-grid article:nth-child(-n+3){flex:0 0 min(78vw,310px);width:min(78vw,310px);min-height:235px}.rm-skill-clone{display:block}.rm-skills::after{font-size:4.4rem;top:38px}}
@keyframes rm-skills-loop{to{transform:translateX(calc(-50% - 6px))}}
@media(prefers-reduced-motion:reduce){.rm-choice-grid a,.rm-choice-grid a::before,.rm-choice-grid a::after,.rm-lesson-flow li,.rm-lesson-flow ol::after,.rm-skills-grid article,.rm-skills-grid article::after,.rm-skills-grid article>span{transition:none}.rm-choice-grid a:hover,.rm-choice-grid a:focus-visible,.rm-lesson-flow li.is-active,.rm-lesson-flow li:hover,.rm-lesson-flow li:focus-visible,.rm-skills-grid article:hover,.rm-skills-grid article:focus-visible,.rm-skills-grid article.is-active{transform:none}}
@media(prefers-reduced-motion:reduce) and (max-width:620px){.rm-skills-window{overflow-x:auto;mask-image:none;scrollbar-width:none}.rm-skills-window::-webkit-scrollbar{display:none}.rm-skills-grid{animation:none!important}.rm-skill-clone{display:none}.rm-skills-grid article,.rm-skills-grid article:nth-child(-n+3){scroll-snap-align:center}.rm-skills-window{scroll-snap-type:x mandatory}}

/* Connected auto-progress path on tablet and mobile. */
@media(max-width:900px){.rm-lesson-flow ol{grid-template-columns:1fr;gap:10px;padding-left:62px}.rm-lesson-flow ol::before,.rm-lesson-flow ol::after{display:block;top:24px;bottom:auto;left:22px;right:auto;width:3px;height:calc(100% - 48px)}.rm-lesson-flow ol::before{background:repeating-linear-gradient(to bottom,#ffffff2d 0 10px,transparent 10px 19px)}.rm-lesson-flow ol::after{height:var(--rm-flow-progress);max-height:calc(100% - 48px);background:#ffdf00;box-shadow:0 0 16px #ffdf0066;transition:height .36s cubic-bezier(.22,1,.36,1)}.rm-lesson-flow li{min-height:0;padding:22px 24px;border-color:#ffffff12}.rm-lesson-flow li>span{position:absolute;left:-63px;top:17px;margin:0}.rm-lesson-flow li h3{margin:0 0 8px}}
@media(max-width:620px){.rm-lesson-flow ol{padding-left:54px}.rm-lesson-flow ol::before,.rm-lesson-flow ol::after{left:20px}.rm-lesson-flow li{display:block;padding:20px}.rm-lesson-flow li>span{left:-55px;top:16px}}

.rm-lesson-flow li.is-active{box-shadow:inset 0 0 0 1px #ffdf0018,0 12px 35px #0002}.rm-lesson-flow li.is-active::after{content:"";position:absolute;inset:auto 18px 14px;height:2px;background:linear-gradient(90deg,#ffdf00,transparent);animation:rm-flow-pulse 1.45s ease-out both}
@keyframes rm-flow-pulse{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}
@media(prefers-reduced-motion:reduce){.rm-lesson-flow li.is-active::after{animation:none;transform:none}}
