/* PSGRKCW Lab — Premium front-page + global section styles.
   Fonts (Fraunces + Plus Jakarta Sans) are enqueued in functions.php. */
:root{
  --indigo:#5b4bdb; --violet:#8b5cf6; --deep:#1a1535; --ink:#15122e;
  --gold:#c9a24b; --gold-soft:#e8d4a0;
  --grad:linear-gradient(118deg,#5b4bdb 0%,#8b5cf6 60%,#a78bfa 100%);
  --grad-gold:linear-gradient(110deg,#c9a24b,#e8d4a0);
  --paper:#f7f5f0; --paper-2:#f1eee6; --surface:#fffdfa;
  --body:#544f66; --muted:#8b8698; --line:#e7e2d6;
  --radius:26px; --radius-sm:16px;
  --sh-sm:0 4px 18px rgba(26,21,53,.06);
  --sh:0 24px 60px rgba(26,21,53,.10);
  --sh-lg:0 40px 90px rgba(26,21,53,.18);
  --display:'Fraunces',Georgia,serif;
  --sans:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  --space:clamp(4rem,8vw,8.5rem);
}
.lh *{box-sizing:border-box}
.lh{font-family:var(--sans);color:var(--ink);line-height:1.7;-webkit-font-smoothing:antialiased}
.lh img{max-width:100%;display:block}
.lh a{text-decoration:none;color:inherit}
.lh ::selection{background:var(--violet);color:#fff}
.lh-wrap{width:100%;max-width:1240px;margin-inline:auto;padding-inline:clamp(1.25rem,4vw,2.5rem);position:relative;z-index:2}
.lh-eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-size:.72rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--indigo);margin-bottom:1.5rem}
.lh-eyebrow::before{content:"";width:26px;height:1px;background:var(--gold)}
.lh-eyebrow.center-eb{justify-content:center}
.lh-eyebrow.center-eb::after{content:"";width:26px;height:1px;background:var(--gold)}
.lh-h2{font-family:var(--display);font-size:clamp(2.2rem,4.4vw,3.5rem);font-weight:500;line-height:1.08;letter-spacing:-.015em}
.lh-h2 em{font-style:italic;color:var(--indigo)}
.lh-sub{font-size:1.08rem;color:var(--body);max-width:50ch;margin-top:1.1rem}
.lh-section{padding-block:var(--space);position:relative}
.lh-center{text-align:center}.lh-center .lh-sub{margin-inline:auto}
.lh .grad-text{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.lh-btn{position:relative;display:inline-flex;align-items:center;gap:.6rem;background:var(--grad);color:#fff;font-weight:700;font-size:1rem;padding:1.05rem 2.2rem;border-radius:999px;box-shadow:0 14px 34px rgba(91,75,219,.34);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;border:0;cursor:pointer;overflow:hidden}
.lh-btn::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-120%);transition:transform .7s}
.lh-btn:hover{transform:translateY(-3px);box-shadow:0 22px 48px rgba(91,75,219,.46);color:#fff}
.lh-btn:hover::after{transform:translateX(120%)}
.lh-btn--ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line);box-shadow:none}
.lh-btn--ghost:hover{border-color:var(--indigo);color:var(--indigo)}
.lh-btn--gold{background:var(--grad-gold);color:var(--deep);box-shadow:0 14px 34px rgba(201,162,75,.34)}
.lh .reveal{opacity:0;transform:translateY(34px);transition:opacity .9s cubic-bezier(.2,.8,.2,1),transform .9s cubic-bezier(.2,.8,.2,1)}
.lh .reveal.in{opacity:1;transform:none}
.lh .reveal[data-d="1"]{transition-delay:.08s}.lh .reveal[data-d="2"]{transition-delay:.16s}
.lh .reveal[data-d="3"]{transition-delay:.24s}.lh .reveal[data-d="4"]{transition-delay:.32s}

/* hero */
.lh-hero{position:relative;padding-block:clamp(3.5rem,7vw,7rem);overflow:hidden;background:var(--paper)}
.lh-hero__bg{position:absolute;inset:0;z-index:0;pointer-events:none}
.lh-blob{position:absolute;border-radius:50%;filter:blur(70px);opacity:.5}
.lh-blob.b1{width:520px;height:520px;background:radial-gradient(circle,#a78bfa,transparent 70%);top:-160px;right:-120px;animation:lhfloat1 14s ease-in-out infinite}
.lh-blob.b2{width:440px;height:440px;background:radial-gradient(circle,#e8d4a0,transparent 70%);bottom:-180px;left:-100px;opacity:.4;animation:lhfloat2 18s ease-in-out infinite}
.lh-blob.b3{width:360px;height:360px;background:radial-gradient(circle,#5b4bdb,transparent 70%);top:40%;left:45%;opacity:.18;animation:lhfloat1 20s ease-in-out infinite}
@keyframes lhfloat1{0%,100%{transform:translate(0,0)}50%{transform:translate(-30px,40px)}}
@keyframes lhfloat2{0%,100%{transform:translate(0,0)}50%{transform:translate(40px,-30px)}}
.lh-hero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.lh-hero__badge{display:inline-flex;align-items:center;gap:.55rem;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.5rem 1.1rem;font-size:.8rem;font-weight:600;color:var(--body);box-shadow:var(--sh-sm);margin-bottom:1.6rem}
.lh-hero__badge .dot{width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(201,162,75,.2)}
.lh-hero__title{font-family:var(--display);font-size:clamp(2.8rem,5.8vw,5rem);font-weight:500;line-height:1.02;letter-spacing:-.025em;margin-bottom:1.4rem}
.lh-hero__title em{font-style:italic}
.lh-hero__lead{font-size:clamp(1.15rem,1.9vw,1.4rem);color:var(--body);max-width:40ch;margin-bottom:2.2rem}
.lh-hero__cta{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.lh-hero__visual{position:relative}
.lh-hero__img{border-radius:32px;box-shadow:var(--sh-lg);width:100%;aspect-ratio:4/4.4;object-fit:cover}
.lh-hero__float{position:absolute;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1rem 1.3rem;box-shadow:var(--sh);display:flex;align-items:center;gap:.8rem}
.lh-hero__float.f1{top:8%;left:-26px;animation:lhfloat2 9s ease-in-out infinite}
.lh-hero__float.f2{bottom:10%;right:-20px;animation:lhfloat1 11s ease-in-out infinite}
.lh-hero__float .fi{width:42px;height:42px;border-radius:12px;background:var(--grad);display:grid;place-items:center;color:#fff;flex:none}
.lh-hero__float .fi.gold{background:var(--grad-gold);color:var(--deep)}
.lh-hero__float strong{display:block;font-size:1.15rem;font-family:var(--display)}
.lh-hero__float span{font-size:.78rem;color:var(--muted)}
.lh-trust{display:flex;gap:clamp(1.5rem,5vw,4rem);justify-content:center;flex-wrap:wrap;margin-top:3.5rem;padding-top:2.5rem;border-top:1px solid var(--line)}
.lh-trust div{text-align:center}
.lh-trust .n{font-family:var(--display);font-size:2rem;font-weight:600;color:var(--ink)}
.lh-trust .l{font-size:.82rem;color:var(--muted);font-weight:600;letter-spacing:.04em}

/* principal */
.lh-principal{display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.lh-principal__frame{position:relative}
.lh-principal__img{border-radius:var(--radius);box-shadow:var(--sh);width:100%;aspect-ratio:1/1.08;object-fit:cover;position:relative;z-index:2}
.lh-principal__frame::before{content:"";position:absolute;inset:18px -18px -18px 18px;border:1.5px solid var(--gold);border-radius:var(--radius);z-index:1}
.lh-principal__quote{font-family:var(--display);font-size:clamp(1.5rem,2.4vw,2rem);font-weight:500;line-height:1.3;letter-spacing:-.01em;margin-bottom:1.6rem}
.lh-principal p{color:var(--body);margin-bottom:1.1rem}
.lh-principal .sign{font-family:var(--display);font-style:italic;font-size:1.2rem;color:var(--ink)}
.lh-bigquote{font-family:var(--display);font-size:5rem;line-height:.6;color:var(--gold);opacity:.4}

/* categories */
.lh-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:3.5rem}
.lh-cat{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:2.4rem 1.5rem;text-align:center;box-shadow:var(--sh-sm);transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s,border-color .4s;display:flex;flex-direction:column;align-items:center;gap:1rem;min-height:226px;justify-content:center;overflow:hidden}
.lh-cat::before{content:"";position:absolute;inset:0;background:var(--grad);opacity:0;transition:opacity .4s;z-index:0}
.lh-cat>*{position:relative;z-index:1;transition:color .4s}
.lh-cat:hover{transform:translateY(-8px);box-shadow:var(--sh-lg);border-color:transparent}
.lh-cat:hover::before{opacity:1}
.lh-cat:hover .lh-cat__name,.lh-cat:hover .lh-cat__count{color:#fff}
.lh-cat:hover .lh-cat__icon{background:rgba(255,255,255,.18)!important;transform:scale(1.08)}
.lh-cat__icon{width:68px;height:68px;border-radius:20px;display:grid;place-items:center;transition:transform .4s,background .4s;background:#efeaff}
.lh-cat__icon svg{width:34px;height:34px;transition:stroke .4s;stroke:var(--indigo)}
.lh-cat:hover .lh-cat__icon svg{stroke:#fff!important}
.lh-cat__name{font-family:var(--display);font-size:1.16rem;font-weight:600;line-height:1.2}
.lh-cat__count{font-size:.86rem;font-weight:600;color:var(--indigo)}

/* features */
.lh-feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:3.5rem}
.lh-feat{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:2.2rem 1.7rem;box-shadow:var(--sh-sm);transition:transform .4s,box-shadow .4s}
.lh-feat::after{content:"";position:absolute;left:1.7rem;right:1.7rem;bottom:0;height:3px;background:var(--grad-gold);border-radius:3px;transform:scaleX(0);transform-origin:left;transition:transform .4s}
.lh-feat:hover{transform:translateY(-8px);box-shadow:var(--sh-lg)}
.lh-feat:hover::after{transform:scaleX(1)}
.lh-feat__icon{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,#efeaff,#f6f0ff);display:grid;place-items:center;margin-bottom:1.4rem}
.lh-feat__icon svg{width:30px;height:30px;stroke:var(--indigo)}
.lh-feat h4{font-family:var(--display);font-size:1.22rem;font-weight:600;margin-bottom:.6rem}
.lh-feat p{font-size:.94rem;color:var(--body)}

/* AI band */
.lh-ai-wrap{position:relative;border-radius:36px;overflow:hidden;box-shadow:var(--sh-lg)}
.lh-ai{position:relative;color:#fff;padding:clamp(2.8rem,5vw,4.5rem);display:grid;grid-template-columns:1.08fr .92fr;gap:3rem;align-items:center;z-index:2}
.lh-ai-wrap::before{content:"";position:absolute;inset:0;background:linear-gradient(118deg,#3d2f9e,#5b4bdb,#8b5cf6,#5b4bdb);background-size:300% 300%;animation:lhshift 12s ease infinite;z-index:1}
@keyframes lhshift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.lh-ai-wrap::after{content:"";position:absolute;inset:0;z-index:1;opacity:.4;background:radial-gradient(circle at 75% 30%,rgba(232,212,160,.4),transparent 45%),radial-gradient(circle at 20% 80%,rgba(167,139,250,.5),transparent 50%)}
.lh-ai .lh-eyebrow{color:var(--gold-soft)}.lh-ai .lh-eyebrow::before{background:var(--gold-soft)}
.lh-ai h2{font-family:var(--display);font-size:clamp(2rem,3.8vw,3rem);font-weight:500;line-height:1.1;margin-bottom:1rem;color:#fff}
.lh-ai p{color:rgba(255,255,255,.86);margin-bottom:2rem;max-width:42ch}
.lh-ai__chips{display:flex;flex-wrap:wrap;gap:.8rem}
.lh-ai__chip{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.26);border-radius:999px;padding:.7rem 1.4rem;font-weight:600;font-size:.92rem;color:#fff;display:inline-flex;align-items:center;gap:.5rem;transition:background .3s,transform .3s}
.lh-ai__chip:hover{background:rgba(255,255,255,.24);transform:translateY(-2px);color:#fff}
.lh-ai__chip .ci{color:var(--gold-soft)}
.lh-ai__panel{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:24px;padding:1.6rem;backdrop-filter:blur(6px)}
.lh-ai__row{display:flex;align-items:center;gap:1rem;padding:.9rem 0;border-bottom:1px solid rgba(255,255,255,.14)}
.lh-ai__row:last-child{border:0}
.lh-ai__row .ic{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.16);display:grid;place-items:center;flex:none}
.lh-ai__row b{font-weight:600}.lh-ai__row small{display:block;color:rgba(255,255,255,.7);font-size:.8rem}

/* methodology */
.lh-pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:3.5rem;counter-reset:p}
.lh-pillar{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:2.4rem 1.7rem 2rem;box-shadow:var(--sh-sm);transition:transform .4s,box-shadow .4s}
.lh-pillar:hover{transform:translateY(-8px);box-shadow:var(--sh-lg)}
.lh-pillar::before{counter-increment:p;content:counter(p,decimal-leading-zero);position:absolute;top:1.6rem;right:1.8rem;font-family:var(--display);font-size:2.6rem;font-weight:600;color:transparent;-webkit-text-stroke:1px var(--gold);opacity:.5;line-height:1}
.lh-pillar__icon{width:62px;height:62px;border-radius:18px;background:var(--grad);display:grid;place-items:center;margin-bottom:1.4rem;box-shadow:0 10px 24px rgba(91,75,219,.3)}
.lh-pillar__icon svg{width:28px;height:28px;stroke:#fff;fill:none}
.lh-pillar h4{font-family:var(--display);font-size:1.18rem;font-weight:600;margin-bottom:.6rem}
.lh-pillar p{font-size:.92rem;color:var(--body)}

/* decades */
.lh-decades{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.lh-decades__frame{position:relative}
.lh-decades__img{border-radius:var(--radius);width:100%;box-shadow:var(--sh);aspect-ratio:5/4.4;object-fit:cover}
.lh-decades__badge{position:absolute;bottom:-26px;right:-20px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:1.2rem 1.5rem;box-shadow:var(--sh);text-align:center}
.lh-decades__badge .n{font-family:var(--display);font-size:2.2rem;font-weight:600;background:var(--grad-gold);-webkit-background-clip:text;background-clip:text;color:transparent;line-height:1}
.lh-decades__badge .l{font-size:.74rem;color:var(--muted);font-weight:600}
.lh-decades p{color:var(--body);margin-bottom:1.1rem}
.lh-decades .lead-label{font-family:var(--display);font-style:italic;font-weight:600;color:var(--indigo)}
.lh-stats{display:flex;gap:2.8rem;margin-top:2rem;flex-wrap:wrap}
.lh-stat__num{font-family:var(--display);font-size:2.6rem;font-weight:600;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;line-height:1}
.lh-stat__label{font-size:.86rem;color:var(--muted);font-weight:600}

/* courses */
.lh-course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem;margin-top:3.5rem}
.lh-course{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--sh-sm);transition:transform .4s,box-shadow .4s}
.lh-course:hover{transform:translateY(-8px);box-shadow:var(--sh-lg)}
.lh-course__thumb{position:relative;aspect-ratio:16/10;overflow:hidden;background:#e9eafc}
.lh-course__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.lh-course:hover .lh-course__thumb img{transform:scale(1.06)}
.lh-course__tag{position:absolute;top:1rem;left:1rem;background:rgba(255,253,250,.92);backdrop-filter:blur(4px);color:var(--violet);font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:.4rem .9rem;border-radius:999px;z-index:2}
.lh-course__body{padding:1.6rem 1.6rem 1.8rem}
.lh-course h4{font-family:var(--display);font-size:1.35rem;font-weight:600;margin:0 0 1rem}
.lh-badge-inst{display:inline-flex;align-items:center;gap:.4rem;background:linear-gradient(135deg,#eef7f2,#e6f4ee);color:#0f6e56;font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:.4rem .85rem;border-radius:999px}
.lh-course__meta{display:flex;gap:1.3rem;font-size:.86rem;color:var(--muted);font-weight:600;border-top:1px solid var(--line);padding-top:1.1rem;margin-top:1.2rem}
.lh-course__meta span{display:inline-flex;align-items:center;gap:.4rem}
.lh-course__meta svg{width:16px;height:16px;stroke:var(--indigo);fill:none}

/* testimonials */
.lh-testi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:3.5rem}
.lh-testi{border-radius:var(--radius);padding:2.1rem 1.8rem;box-shadow:var(--sh-sm);position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:280px;text-align:left;transition:transform .4s,box-shadow .4s}
.lh-testi:hover{transform:translateY(-6px);box-shadow:var(--sh)}
.lh-testi--plain{background:var(--surface);border:1px solid var(--line)}
.lh-testi--grad{background:var(--grad);color:#fff}
.lh-testi--grad::before{content:"";position:absolute;inset:0;border-radius:var(--radius);opacity:.5;background:radial-gradient(circle at 80% 10%,rgba(232,212,160,.4),transparent 50%)}
.lh-testi>*{position:relative;z-index:1}
.lh-testi__mark{font-family:var(--display);font-size:3.6rem;line-height:.5;font-weight:600;color:var(--gold);opacity:.5}
.lh-testi--grad .lh-testi__mark{color:var(--gold-soft);opacity:.9}
.lh-testi__text{font-size:1rem;line-height:1.62;color:var(--body);margin-top:.6rem}
.lh-testi--grad .lh-testi__text{color:rgba(255,255,255,.95)}
.lh-testi__person{display:flex;align-items:center;gap:.85rem;margin-top:1.6rem}
.lh-testi__avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#d9d3ec,#c9c2e6);display:grid;place-items:center;font-weight:700;color:#5a5478;flex:none;font-size:.92rem}
.lh-testi--grad .lh-testi__avatar{background:rgba(255,255,255,.22);color:#fff}
.lh-testi__name{font-weight:700;font-size:.98rem}
.lh-testi__role{font-size:.78rem;color:var(--muted)}
.lh-testi--grad .lh-testi__role{color:rgba(255,255,255,.75)}

/* FAQ */
.lh-faq{max-width:860px;margin:3.5rem auto 0}
.lh-faq__item{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:1rem;overflow:hidden;transition:box-shadow .3s,border-color .3s}
.lh-faq__item.open{box-shadow:var(--sh);border-color:transparent}
.lh-faq__q{width:100%;text-align:left;background:none;border:0;padding:1.4rem 1.7rem;font-family:var(--display);font-size:1.12rem;font-weight:600;color:var(--ink);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.lh-faq__q .plus{flex:none;width:30px;height:30px;border-radius:50%;background:var(--paper-2);color:var(--indigo);display:grid;place-items:center;font-size:1.4rem;transition:transform .35s,background .35s,color .35s}
.lh-faq__item.open .plus{background:var(--grad);color:#fff;transform:rotate(135deg)}
.lh-faq__a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.lh-faq__a div{padding:0 1.7rem 1.5rem;color:var(--body)}
.lh-faq__item.open .lh-faq__a{max-height:320px}

/* CTA */
.lh-cta{position:relative;border-radius:36px;overflow:hidden;text-align:center;padding:clamp(3rem,6vw,5rem) 2rem;color:#fff;box-shadow:var(--sh-lg)}
.lh-cta::before{content:"";position:absolute;inset:0;background:var(--grad);z-index:0}
.lh-cta::after{content:"";position:absolute;inset:0;z-index:0;opacity:.5;background:radial-gradient(circle at 30% 20%,rgba(232,212,160,.4),transparent 45%)}
.lh-cta>*{position:relative;z-index:1}
.lh-cta h2{font-family:var(--display);font-size:clamp(2rem,4vw,3rem);font-weight:500;margin-bottom:1rem;color:#fff}
.lh-cta p{color:rgba(255,255,255,.86);max-width:48ch;margin:0 auto 2rem}

@media(max-width:1024px){
  .lh-cat-grid,.lh-feat-grid,.lh-pillar-grid,.lh-testi-grid{grid-template-columns:repeat(2,1fr)}
  .lh-course-grid{grid-template-columns:repeat(2,1fr)}
  .lh-ai{grid-template-columns:1fr}
}
@media(max-width:820px){
  .lh-hero__grid,.lh-principal,.lh-decades{grid-template-columns:1fr}
  .lh-hero__visual,.lh-principal__frame,.lh-decades__frame{order:-1;max-width:480px;margin-inline:auto}
  .lh-hero__float{display:none}
}
@media(max-width:560px){
  .lh-cat-grid,.lh-feat-grid,.lh-pillar-grid,.lh-testi-grid,.lh-course-grid{grid-template-columns:1fr}
}

/* ============ COURSE ARCHIVE ============ */
.lh-page-hero{position:relative;overflow:hidden;background:var(--paper);padding-block:clamp(3rem,6vw,5.5rem);text-align:center}
.lh-page-hero .lh-blob{position:absolute}
.lh-page-hero__inner{position:relative;z-index:2}
.lh-page-hero h1{font-family:var(--display);font-size:clamp(2.4rem,5vw,4rem);font-weight:500;line-height:1.05;letter-spacing:-.02em;margin-bottom:1rem}
.lh-page-hero h1 em{font-style:italic;color:var(--indigo)}
.lh-page-hero p{font-size:1.1rem;color:var(--body);max-width:54ch;margin:0 auto}
.lh-crumbs{font-size:.85rem;color:var(--muted);font-weight:600;margin-bottom:1.4rem}
.lh-crumbs a{color:var(--indigo)}
.lh-filterbar{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin:0 auto 3rem;max-width:980px}
.lh-filter{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.6rem 1.3rem;font-weight:600;font-size:.9rem;color:var(--body);cursor:pointer;transition:all .25s;text-decoration:none}
.lh-filter:hover{border-color:var(--indigo);color:var(--indigo)}
.lh-filter.active{background:var(--grad);color:#fff;border-color:transparent;box-shadow:0 8px 22px rgba(91,75,219,.3)}
.lh-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem}
.lh-empty{text-align:center;color:var(--muted);padding:3rem 0;font-size:1.05rem}

/* ============ SINGLE COURSE ============ */
.lh-course-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#f4f2ff,var(--paper));padding-block:clamp(2.5rem,5vw,4.5rem)}
.lh-course-hero__grid{display:grid;grid-template-columns:1.4fr 1fr;gap:clamp(2rem,4vw,3.5rem);align-items:start;position:relative;z-index:2}
.lh-course-hero__cat{display:inline-block;background:#efeaff;color:var(--indigo);font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.4rem 1rem;border-radius:999px;margin-bottom:1.2rem}
.lh-course-hero h1{font-family:var(--display);font-size:clamp(2.2rem,4.4vw,3.4rem);font-weight:500;line-height:1.08;letter-spacing:-.015em;margin-bottom:1rem}
.lh-course-hero__excerpt{font-size:1.1rem;color:var(--body);max-width:55ch;margin-bottom:1.6rem}
.lh-course-hero__meta{display:flex;flex-wrap:wrap;gap:1.6rem;font-size:.92rem;color:var(--body);font-weight:600}
.lh-course-hero__meta span{display:inline-flex;align-items:center;gap:.5rem}
.lh-course-hero__meta svg{width:18px;height:18px;stroke:var(--indigo);fill:none}
/* enroll card */
.lh-enroll{position:sticky;top:100px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--sh);overflow:hidden}
.lh-enroll__thumb{aspect-ratio:16/10;width:100%;object-fit:cover;background:#e9eafc}
.lh-enroll__body{padding:1.6rem}
.lh-enroll__status{display:flex;align-items:center;gap:.7rem;background:linear-gradient(135deg,#eef7f2,#e6f4ee);color:#0f6e56;border-radius:14px;padding:1rem 1.2rem;font-weight:700;margin-bottom:1.2rem}
.lh-enroll__status svg{width:22px;height:22px;flex:none}
.lh-enroll__status small{display:block;font-weight:500;font-size:.78rem;color:#3a7a64;letter-spacing:0;text-transform:none}
.lh-enroll__gate{background:linear-gradient(135deg,#f4f2ff,#efeaff);border-radius:14px;padding:1.2rem;color:var(--body);font-size:.92rem;margin-bottom:1.2rem;border-left:3px solid var(--indigo)}
.lh-enroll__list{list-style:none;margin:0;padding:0}
.lh-enroll__list li{display:flex;align-items:center;gap:.7rem;padding:.6rem 0;border-bottom:1px solid var(--line);font-size:.92rem;color:var(--body)}
.lh-enroll__list li:last-child{border:0}
.lh-enroll__list svg{width:18px;height:18px;stroke:var(--indigo);fill:none;flex:none}
/* course body */
.lh-course-body{padding-block:var(--space)}
.lh-course-body__grid{display:grid;grid-template-columns:1.6fr 1fr;gap:clamp(2rem,4vw,3.5rem);align-items:start}
.lh-block{margin-bottom:2.5rem}
.lh-block h2{font-family:var(--display);font-size:1.7rem;font-weight:600;margin-bottom:1.2rem}
.lh-block .desc p{color:var(--body);margin-bottom:1rem}
/* curriculum accordion */
.lh-topic{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:1rem;overflow:hidden}
.lh-topic__head{width:100%;text-align:left;background:none;border:0;padding:1.2rem 1.4rem;font-family:var(--display);font-size:1.1rem;font-weight:600;color:var(--ink);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.lh-topic__head .meta{font-size:.82rem;color:var(--muted);font-weight:600;font-family:var(--sans)}
.lh-topic__head .plus{flex:none;width:28px;height:28px;border-radius:50%;background:var(--paper-2);color:var(--indigo);display:grid;place-items:center;font-size:1.3rem;transition:.3s}
.lh-topic.open .plus{background:var(--grad);color:#fff;transform:rotate(135deg)}
.lh-topic__body{max-height:0;overflow:hidden;transition:max-height .35s ease;background:#fbfaf7}
.lh-topic.open .lh-topic__body{max-height:600px}
.lh-lesson{display:flex;align-items:center;gap:.8rem;padding:.85rem 1.4rem;border-top:1px solid var(--line);font-size:.94rem;color:var(--body)}
.lh-lesson svg{width:18px;height:18px;stroke:var(--indigo);fill:none;flex:none}
.lh-lesson .dur{margin-left:auto;font-size:.82rem;color:var(--muted)}

/* ============ LOGIN ============ */
.lh-auth{min-height:70vh;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:var(--paper)}
.lh-auth__art{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:3rem;color:#fff}
.lh-auth__art::before{content:"";position:absolute;inset:0;background:linear-gradient(140deg,#3d2f9e,#5b4bdb,#8b5cf6);background-size:200% 200%;animation:lhshift 12s ease infinite}
.lh-auth__art-inner{position:relative;z-index:2;max-width:420px}
.lh-auth__art h2{font-family:var(--display);font-size:clamp(1.8rem,3vw,2.6rem);font-weight:500;line-height:1.15;margin-bottom:1rem;color:#fff}
.lh-auth__art p{color:rgba(255,255,255,.85)}
.lh-auth__art ul{list-style:none;padding:0;margin:1.6rem 0 0}
.lh-auth__art li{display:flex;align-items:center;gap:.7rem;margin-bottom:.9rem;color:rgba(255,255,255,.95);font-weight:600}
.lh-auth__art li svg{width:22px;height:22px;stroke:var(--gold-soft);fill:none;flex:none}
.lh-auth__form{display:flex;align-items:center;justify-content:center;padding:clamp(2rem,5vw,4rem)}
.lh-auth__card{width:100%;max-width:420px}
.lh-auth__card h1{font-family:var(--display);font-size:2rem;font-weight:600;margin-bottom:.4rem}
.lh-auth__card .muted{color:var(--muted);margin-bottom:2rem}
.lh-field{margin-bottom:1.2rem}
.lh-field label{display:block;font-weight:600;font-size:.88rem;margin-bottom:.5rem}
.lh-field input{width:100%;padding:.9rem 1.1rem;border:1px solid var(--line);border-radius:12px;font-family:var(--sans);font-size:1rem;background:var(--surface);transition:border-color .25s,box-shadow .25s}
.lh-field input:focus{outline:none;border-color:var(--indigo);box-shadow:0 0 0 4px rgba(91,75,219,.12)}
.lh-auth__row{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.6rem;font-size:.88rem}
.lh-auth__row a{color:var(--indigo);font-weight:600}
.lh-auth__submit{width:100%;justify-content:center}
.lh-auth__alt{text-align:center;margin-top:1.6rem;color:var(--muted);font-size:.92rem}
.lh-auth__alt a{color:var(--indigo);font-weight:600}

/* ============ DASHBOARD ============ */
.lh-dash{padding-block:clamp(2.5rem,5vw,4rem);min-height:60vh}
.lh-dash__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:2.5rem}
.lh-dash__welcome h1{font-family:var(--display);font-size:clamp(1.8rem,3.4vw,2.6rem);font-weight:500}
.lh-dash__welcome p{color:var(--body);margin-top:.4rem}
.lh-dash__avatar{width:62px;height:62px;border-radius:50%;background:var(--grad);display:grid;place-items:center;color:#fff;font-weight:700;font-size:1.4rem;font-family:var(--display)}
.lh-dash__stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1.3rem;margin-bottom:2.8rem}
.lh-dstat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.5rem;box-shadow:var(--sh-sm)}
.lh-dstat__icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#efeaff,#f6f0ff);display:grid;place-items:center;margin-bottom:1rem}
.lh-dstat__icon svg{width:24px;height:24px;stroke:var(--indigo);fill:none}
.lh-dstat__num{font-family:var(--display);font-size:2rem;font-weight:600;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;line-height:1}
.lh-dstat__label{font-size:.85rem;color:var(--muted);font-weight:600;margin-top:.3rem}
.lh-dash__section-title{font-family:var(--display);font-size:1.5rem;font-weight:600;margin-bottom:1.5rem}
.lh-dash-courses{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.lh-dcourse{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--sh-sm);transition:transform .35s,box-shadow .35s}
.lh-dcourse:hover{transform:translateY(-6px);box-shadow:var(--sh)}
.lh-dcourse__thumb{aspect-ratio:16/9;width:100%;object-fit:cover;background:#e9eafc}
.lh-dcourse__body{padding:1.4rem}
.lh-dcourse h4{font-family:var(--display);font-size:1.2rem;font-weight:600;margin-bottom:1rem}
.lh-progress{height:8px;border-radius:999px;background:var(--paper-2);overflow:hidden;margin-bottom:.5rem}
.lh-progress span{display:block;height:100%;background:var(--grad);border-radius:999px}
.lh-dcourse__pct{font-size:.82rem;color:var(--muted);font-weight:600}

@media(max-width:1024px){
  .lh-archive-grid,.lh-dash-courses{grid-template-columns:repeat(2,1fr)}
  .lh-course-hero__grid,.lh-course-body__grid{grid-template-columns:1fr}
  .lh-enroll{position:static;max-width:480px}
  .lh-dash__stats{grid-template-columns:repeat(2,1fr)}
  .lh-auth{grid-template-columns:1fr}
  .lh-auth__art{display:none}
}
@media(max-width:560px){
  .lh-archive-grid,.lh-dash-courses{grid-template-columns:1fr}
  .lh-dash__stats{grid-template-columns:1fr 1fr}
}
