:root{--bg:#0b1020;--bg2:#11162a;--text:#f5f7ff;--muted:#b9c0d9;--line:rgba(255,255,255,.1);--glass:rgba(255,255,255,.08);--accent:#9b7bff;--accent2:#55d6ff;--accent3:#ff69c8;--accent4:#ffc857;--shadow:0 20px 80px rgba(0,0,0,.35)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--text);background:radial-gradient(900px 600px at 10% 10%,rgba(155,123,255,.18),transparent 60%),radial-gradient(700px 500px at 90% 15%,rgba(85,214,255,.16),transparent 55%),radial-gradient(700px 500px at 70% 80%,rgba(255,105,200,.12),transparent 55%),linear-gradient(180deg,#0b1020 0%,#0f1427 35%,#0d1221 100%);overflow-x:hidden}a{color:inherit}.site-shell{position:relative;isolation:isolate}.noise,.grid,.orb,.cursor-glow{pointer-events:none;position:fixed;inset:0}.noise{opacity:.045;z-index:-1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E")}.grid{z-index:-2;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:40px 40px;mask-image:linear-gradient(180deg,rgba(0,0,0,.7),transparent 90%)}.cursor-glow{z-index:-1;opacity:.65;background:radial-gradient(420px circle at var(--mx,50%) var(--my,40%),rgba(255,255,255,.13),transparent 45%)}.orb{z-index:-1;filter:blur(40px);transform:translate3d(0,0,0);will-change:transform}.orb-1{width:42vw;height:42vw;left:-10vw;top:6vh;background:radial-gradient(circle,rgba(155,123,255,.28),transparent 58%)}.orb-2{width:34vw;height:34vw;right:-6vw;top:14vh;background:radial-gradient(circle,rgba(85,214,255,.22),transparent 58%)}.orb-3{width:30vw;height:30vw;left:48vw;top:62vh;background:radial-gradient(circle,rgba(255,105,200,.16),transparent 58%)}canvas#magic-canvas{position:fixed;top:0;left:0;width:100%;height:100%;z-index:-1;pointer-events:none}header{position:fixed;inset:16px 16px auto 16px;z-index:60}.nav{max-width:1240px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border:1px solid var(--line);border-radius:24px;background:rgba(10,14,28,.55);backdrop-filter:blur(18px);box-shadow:var(--shadow)}.brand{display:flex;gap:12px;align-items:center;font-weight:700;letter-spacing:.04em}.brand-mark{width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 10px 30px rgba(85,214,255,.3)}.nav-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.nav-links a{padding:10px 14px;border-radius:999px;text-decoration:none;color:var(--muted);transition:.25s ease}.nav-links a:hover{background:rgba(255,255,255,.06);color:var(--text)}.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}.burger span{width:24px;height:2px;background:#fff;border-radius:2px;display:block}.menu-overlay{position:fixed;inset:0;background:rgba(4,7,15,.45);backdrop-filter:blur(6px);opacity:0;pointer-events:none;transition:.28s ease;z-index:55}.menu-overlay.active{opacity:1;pointer-events:auto}.container{max-width:1240px;margin:0 auto;padding:0 24px}.hero{position:relative;min-height:100vh;display:flex;align-items:center;padding:140px 0 80px}.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}.kicker{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:var(--glass);color:#dfe6ff;font-size:13px;letter-spacing:.08em;text-transform:uppercase}.kicker-dot{width:8px;height:8px;border-radius:999px;background:linear-gradient(135deg,var(--accent2),var(--accent3));box-shadow:0 0 24px rgba(85,214,255,.8)}.hero h1{margin:18px 0 16px;font-size:clamp(48px,8vw,104px);line-height:.92;letter-spacing:-.05em}.gradient-text{background:linear-gradient(135deg,#fff 0%,#cdd7ff 22%,#9b7bff 48%,#55d6ff 72%,#fff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;background-size:200% 200%;animation:shine 8s ease-in-out infinite}.hero p{max-width:680px;color:var(--muted);font-size:clamp(18px,2.3vw,22px);line-height:1.6}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.btn,.social-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 22px;border-radius:999px;text-decoration:none;font-weight:700;transition:.28s ease;border:1px solid transparent}.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#09101f;box-shadow:0 16px 44px rgba(85,214,255,.24)}.btn-primary:hover,.social-link:hover{transform:translateY(-3px) scale(1.01)}.btn-ghost{border-color:var(--line);background:rgba(255,255,255,.04);color:var(--text)}.btn-ghost:hover{background:rgba(255,255,255,.08)}.social-link{background:rgba(255,255,255,.08);border:1px solid var(--line);color:var(--text)}.hero-card{position:relative;min-height:540px;border:1px solid var(--line);border-radius:36px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.03));backdrop-filter:blur(20px);box-shadow:var(--shadow)}.hero-card::before{content:"";position:absolute;inset:-20%;background:conic-gradient(from 180deg at 50% 50%,rgba(155,123,255,.22),rgba(85,214,255,.18),rgba(255,105,200,.18),rgba(255,200,87,.16),rgba(155,123,255,.22));filter:blur(60px);animation:spin 16s linear infinite}.hero-card-content{position:relative;z-index:2;padding:28px;height:100%;display:flex;flex-direction:column;justify-content:space-between}.hero-quote{max-width:420px;margin-left:auto;font-size:28px;line-height:1.2;letter-spacing:-.03em}.floating-chip-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-self:flex-end;width:min(100%,420px)}.floating-chip{padding:16px;border-radius:22px;background:rgba(7,10,20,.34);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(14px)}.floating-chip strong{display:block;font-size:28px}.section{position:relative;padding:100px 0}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}.section-title{font-size:clamp(34px,5vw,64px);line-height:.96;letter-spacing:-.04em;margin:0}.section-copy{max-width:620px;color:var(--muted);font-size:18px;line-height:1.65}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cards.single-column{grid-template-columns:1fr}.card,.premium-panel,.step,.cta{position:relative;padding:28px;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035));border:1px solid var(--line);backdrop-filter:blur(14px);box-shadow:var(--shadow);overflow:hidden}.premium-panel{padding:34px;border-radius:34px}.cta{padding:34px;border-radius:34px;background:linear-gradient(135deg,rgba(155,123,255,.24),rgba(85,214,255,.18),rgba(255,105,200,.18));border:1px solid rgba(255,255,255,.14)}.card::after,.premium-panel::after,.step::after{content:"";position:absolute;inset:auto -10% -55% auto;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.15),transparent 65%);filter:blur(20px)}.card h3,.step h3{margin:0 0 10px;font-size:24px;letter-spacing:-.03em}.card p,.step p{margin:0;color:var(--muted);line-height:1.7}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.stat{padding:18px;border-radius:22px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}.stat strong{display:block;font-size:30px;margin-bottom:6px}.quote-card{font-size:26px;line-height:1.35;letter-spacing:-.03em}.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.step-num{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,var(--accent3),var(--accent2));color:#09101f;font-weight:800;margin-bottom:14px}.reveal{opacity:0;transform:translateY(30px) scale(.985);transition:opacity .8s ease,transform .8s ease}.reveal.visible{opacity:1;transform:none}.parallax{transform:translate3d(0,var(--parallax,0px),0);will-change:transform}footer{padding:40px 0 70px;color:var(--muted)}.footer-box{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 22px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.04)}@keyframes shine{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:1100px){.hero-inner,.split{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr 1fr}.hero-card{min-height:420px}}@media (max-width:760px){header{inset:10px 10px auto 10px}.nav{padding:12px 14px;border-radius:20px;width:100%;max-width:none;gap:12px}.brand{display:flex;gap:12px;align-items:center;font-weight:700;letter-spacing:.04em;min-width:0;flex:1 1 auto;overflow:hidden}.brand span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.burger{display:flex;position:relative;z-index:62;margin-left:auto;flex:0 0 auto;align-self:center}.nav-links{position:fixed;top:18px;right:10px;left:10px;display:flex;flex-direction:column;gap:8px;padding:78px 16px 18px;border-radius:24px;background:rgba(10,14,28,.92);backdrop-filter:blur(20px);border:1px solid var(--line);box-shadow:var(--shadow);transform:translateY(-14px);opacity:0;pointer-events:none;transition:.28s ease;z-index:61;max-width:calc(100vw - 20px)}.nav-links.active{transform:none;opacity:1;pointer-events:auto}.nav-links a{width:100%;padding:14px 16px;background:rgba(255,255,255,.04)}.container{padding:0 16px;max-width:100%;overflow-x:hidden}.hero{padding-top:120px}.hero h1{font-size:46px}.cards,.steps,.stat-grid,.floating-chip-wrap{grid-template-columns:1fr}.section{padding:72px 0}.section-head{display:block}.nav-links:not(.active){display:flex}.footer-box{display:grid !important;grid-template-columns:1fr !important;gap:14px !important;width:100% !important;overflow:hidden;max-width:100%}.footer-box > div{min-width:0;width:100%}.footer-box .social-link{width:100%;justify-content:center;text-align:center;white-space:normal;word-break:break-word}}html,body{max-width:100%;overflow-x:hidden}img,svg,canvas{max-width:100%;height:auto}.footer-box{max-width:100%}.social-link{max-width:100%}
/* FIX: mobile parallax causing content overlap */
@media (max-width:760px){
  .parallax{
    transform:none !important;
  }

  .reveal{
    transform:none !important;
    opacity:1 !important;
  }

  /* ensure content always above visual layers */
  .section,
  .container{
    position:relative;
    z-index:2;
  }

  .orb,
  .cursor-glow,
  .noise,
  .grid,
  canvas#magic-canvas{
    z-index:0 !important;
  }
}

/* mobile spacing polish baseline */
@media (max-width:760px){
  .hero{
    padding-top:112px !important;
    padding-bottom:44px !important;
  }

  .hero-actions{
    margin-top:20px !important;
    gap:10px !important;
  }

  .section{
    padding:56px 0 !important;
  }

  .section-head{
    margin-bottom:20px !important;
  }

  .section-title{
    margin-bottom:10px !important;
  }

  .section-copy{
    margin-top:0 !important;
  }

  .split,
  .cards,
  .steps,
  .stat-grid,
  .floating-chip-wrap{
    gap:14px !important;
  }

  .card,
  .premium-panel,
  .step,
  .cta,
  .floating-chip,
  .stat{
    padding:20px !important;
  }

  .hero-card-content{
    padding:22px !important;
  }

  #about .section-head,
  #courses .section-head,
  #portfolio .section-head,
  #blog .section-head,
  #cta .section-head{
    margin-bottom:18px !important;
  }

  #about,
  #courses,
  #portfolio,
  #blog,
  #cta{
    scroll-margin-top:88px;
  }

  footer{
    padding:28px 0 44px !important;
  }

  .footer-box{
    padding:16px !important;
    gap:12px !important;
  }
}

@media (max-width:420px){
  .hero{
    padding-top:104px !important;
    padding-bottom:36px !important;
  }

  .section{
    padding:48px 0 !important;
  }

  .card,
  .premium-panel,
  .step,
  .cta,
  .floating-chip,
  .stat,
  .hero-card-content,
  .footer-box{
    padding:18px !important;
  }

  .split,
  .cards,
  .steps,
  .stat-grid,
  .floating-chip-wrap{
    gap:12px !important;
  }
}

/* mobile spacing refinement: intentional rhythm */
@media (max-width:760px){
  .hero{
    padding-top:120px !important;
    padding-bottom:56px !important;
  }

  .hero-inner{
    gap:24px !important;
  }

  .hero p{
    margin-top:14px !important;
  }

  .hero-actions{
    margin-top:24px !important;
    gap:12px !important;
  }

  .section{
    padding:68px 0 !important;
  }

  .section + .section{
    padding-top:0 !important;
  }

  .section-head{
    margin-bottom:24px !important;
  }

  .section-title{
    margin-bottom:12px !important;
  }

  .section-copy{
    margin-top:0 !important;
  }

  .split,
  .cards,
  .steps,
  .stat-grid,
  .floating-chip-wrap{
    gap:16px !important;
  }

  .card,
  .premium-panel,
  .step,
  .cta,
  .floating-chip,
  .stat{
    padding:22px !important;
  }

  .hero-card-content{
    padding:24px !important;
  }

  .quote-card,
  .hero-quote{
    margin-bottom:18px !important;
  }

  footer{
    padding:36px 0 52px !important;
  }

  .footer-box{
    padding:18px !important;
    gap:14px !important;
  }
}

@media (max-width:420px){
  .hero{
    padding-top:112px !important;
    padding-bottom:48px !important;
  }

  .hero-inner{
    gap:20px !important;
  }

  .section{
    padding:60px 0 !important;
  }

  .section-head{
    margin-bottom:20px !important;
  }

  .split,
  .cards,
  .steps,
  .stat-grid,
  .floating-chip-wrap{
    gap:14px !important;
  }

  .card,
  .premium-panel,
  .step,
  .cta,
  .floating-chip,
  .stat,
  .hero-card-content,
  .footer-box{
    padding:20px !important;
  }
}

/* mobile refinement: about section typography + spacing */
@media (max-width:760px){
  #about .premium-panel:first-child{
    margin-bottom:28px !important;
  }

  #about .premium-panel h3{
    font-size:22px !important;
    margin-bottom:14px !important;
  }

  #about .card h3{
    font-size:20px !important;
  }

  #about .card p,
  #about .quote-card,
  #about .stat span{
    font-size:15px !important;
    line-height:1.6 !important;
  }

  #about .stat strong{
    font-size:18px !important;
  }

  #about .stat-grid{
    gap:12px !important;
    margin-top:16px !important;
  }
}

/* logo block style */
.brand-logo{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 6px 20px rgba(0,0,0,0.25);
}

.brand-logo img{
  width:70%;
  height:70%;
  display:block;
}

@media (max-width:760px){
  .brand-logo{
    width:34px;
    height:34px;
    border-radius:10px;
  }
}

/* logo sizing: make SVG itself the full badge, not a badge inside a badge */
.brand-logo{
  width:46px !important;
  height:46px !important;
  padding:0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  border-radius:0 !important;
}

.brand-logo img{
  width:100% !important;
  height:100% !important;
  display:block;
}

@media (max-width:760px){
  .brand-logo{
    width:40px !important;
    height:40px !important;
  }
}

/* mobile: logo same visual size as burger */
@media (max-width:760px){
  .brand-logo{
    width:34px !important;
    height:34px !important;
  }
  .brand-logo img{
    width:100% !important;
    height:100% !important;
  }
}

/* logo size bump */
.brand-logo{
  width:52px !important;
  height:52px !important;
}

@media (max-width:760px){
  .brand-logo{
    width:38px !important;
    height:38px !important;
  }
}

/* mobile-only logo size increase */
@media (max-width:760px){
  .brand-logo{
    width:42px !important;
    height:42px !important;
  }
}

/* mobile logo force bigger */
@media (max-width:760px){
  .nav .brand .brand-logo,
  .brand .brand-logo,
  a.brand .brand-logo{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
    flex:0 0 48px !important;
  }

  .nav .brand .brand-logo img,
  .brand .brand-logo img,
  a.brand .brand-logo img{
    width:100% !important;
    height:100% !important;
  }
}

/* unify burger shape with square logo */
.burger{
  width:52px !important;
  height:52px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  border-radius:16px !important;
}

.burger span{
  width:20px !important;
  height:2px !important;
}

@media (max-width:760px){
  .burger{
    width:48px !important;
    height:48px !important;
    border-radius:14px !important;
  }
}

/* make logo match burger outer size */
.brand-logo{
  width:60px !important;
  height:60px !important;
}

@media (max-width:760px){
  .brand-logo{
    width:52px !important;
    height:52px !important;
  }
}
/* FINAL ALIGN: logo == burger exact size */
.burger{
  width:56px !important;
  height:56px !important;
}

.brand-logo{
  width:56px !important;
  height:56px !important;
}

@media (max-width:760px){
  .burger{
    width:50px !important;
    height:50px !important;
  }
  .brand-logo{
    width:50px !important;
    height:50px !important;
  }
}
/* restore desktop header balance, mobile-only logo/burger alignment */
.nav .burger,
.burger{
  width:52px !important;
  height:52px !important;
}

.nav .brand .brand-logo,
.brand .brand-logo,
a.brand .brand-logo{
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  min-height:52px !important;
  flex:0 0 52px !important;
}

@media (max-width:760px){
  .nav .burger,
  .burger{
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    min-height:54px !important;
    flex:0 0 54px !important;
  }

  .nav .brand .brand-logo,
  .brand .brand-logo,
  a.brand .brand-logo{
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    min-height:54px !important;
    flex:0 0 54px !important;
  }
}

/* FIX desktop: burger only on mobile, restore header */
.burger{
  display:none !important;
}

@media (max-width:760px){
  .burger{
    display:flex !important;
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    min-height:54px !important;
    flex:0 0 54px !important;
  }

  .nav .brand .brand-logo,
  .brand .brand-logo,
  a.brand .brand-logo{
    width:58px !important;
    height:58px !important;
    min-width:58px !important;
    min-height:58px !important;
    flex:0 0 58px !important;
  }
}

/* mobile: strong logo increase without breaking header */
@media (max-width:760px){
  .nav .brand .brand-logo,
  .brand .brand-logo,
  a.brand .brand-logo{
    width:72px !important;
    height:72px !important;
    min-width:72px !important;
    min-height:72px !important;
    flex:0 0 72px !important;
  }

  .nav .brand .brand-logo img,
  .brand .brand-logo img,
  a.brand .brand-logo img{
    width:100% !important;
    height:100% !important;
  }
}

/* burger outline soften to match logo */
.burger{
  border-width:1px !important;
  box-shadow:0 4px 12px rgba(0,0,0,0.16) !important;
}

@media (max-width:760px){
  .burger{
    border-width:1px !important;
    box-shadow:0 3px 10px rgba(0,0,0,0.14) !important;
  }
}

/* burger spacing: reduce inner padding, keep outer size */
.burger{
  padding:6px !important;
}

@media (max-width:760px){
  .burger{
    padding:4px !important;
    gap:3px !important;
  }
  .burger span{
    width:20px !important;
  }
}

/* burger inner empty space reduce further */
.burger{
  padding:4px !important;
}

@media (max-width:760px){
  .burger{
    padding:2.8px !important;
    gap:2px !important;
  }
  .burger span{
    width:22px !important;
  }
}

/* mobile burger: reduce inner field by ~30% more */
@media (max-width:760px){
  .burger{
    padding:1.8px !important;
    gap:1.4px !important;
  }
  .burger span{
    width:24px !important;
    height:2px !important;
  }
}

/* RESET BURGER TO CLEAN BASELINE */
.burger{
  display:none !important;
  padding:8px !important;
  gap:5px !important;
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  min-height:52px !important;
  flex:0 0 52px !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:14px !important;
}

.burger span{
  width:24px !important;
  height:2px !important;
  border-radius:2px !important;
}

@media (max-width:760px){
  .burger{
    display:flex !important;
    padding:8px !important;
    gap:5px !important;
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    min-height:54px !important;
    flex:0 0 54px !important;
    border-radius:14px !important;
  }

  .burger span{
    width:24px !important;
    height:2px !important;
    border-radius:2px !important;
  }
}

/* FIX: reduce ONLY burger frame (outline box), keep lines block intact */
@media (max-width:760px){
  .burger{
    padding:10px !important; /* keep inner space for lines */
    box-sizing:border-box;
  }

  /* make outer frame visually smaller using inset border */
  .burger{
    border:1px solid rgba(255,255,255,0.12) !important;
  }

  /* shrink visual frame without touching lines */
  .burger::before{
    content:"";
    position:absolute;
    inset:4px; /* THIS is the real shrink (~30%) */
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.18);
    pointer-events:none;
  }

  .burger{
    position:relative;
  }
}

/* remove outer burger outline, keep only inner small frame */
@media (max-width:760px){
  .burger{
    border-color: transparent !important;
    box-shadow: none !important;
  }
}

/* desktop custom cursor: pen */
@media (min-width:761px){
  body{
    cursor:url('../img/pen-cursor.svg') 12 4, auto;
  }

  a, button, .btn, .magnetic{
    cursor:url('../img/pen-cursor.svg') 12 4, pointer;
  }
}

/* fix hero quote spacing */
.hero-quote{
  margin-bottom:16px !important;
}

/* reduce excessive bottom space in hero card */
.hero-card-content{
  padding-bottom:20px !important;
}

/* refine about section balance */
.about-head-refined{
  align-items:center;
  gap:48px;
}

.about-head-refined .section-copy{
  font-size:18px;
  line-height:1.65;
  max-width:520px;
  opacity:0.92;
}

/* fix overlap in about heading */
#about .section-title{
  line-height:1.06 !important;
  letter-spacing:-0.03em !important;
}

@media (min-width:761px){
  .about-head-refined{
    align-items:start;
  }
}

/* expand big title into empty middle space */
@media (min-width:761px){
  #about .section-head,
  #about .about-head-refined{
    grid-template-columns: minmax(0,1.7fr) minmax(280px,0.6fr) !important;
    gap:20px !important;
  }

  #about .section-title{
    max-width:1000px !important;
  }
}

/* about section: push big title ~40% further into center */
@media (min-width:761px){
  #about .section-head,
  #about .about-head-refined{
    grid-template-columns:minmax(0,1.95fr) minmax(250px,0.5fr) !important;
    gap:12px !important;
  }

  #about .section-title{
    max-width:1180px !important;
  }

  #about .section-copy{
    max-width:500px !important;
  }
}

/* about section composition rebalance on desktop */
@media (min-width:761px){
  #about .section-head,
  #about .about-head-refined{
    display:grid !important;
    grid-template-columns:minmax(0,1.18fr) minmax(420px,0.82fr) !important;
    gap:42px !important;
    align-items:start !important;
  }

  #about .section-title{
    max-width:760px !important;
  }

  #about .section-copy{
    max-width:560px !important;
    justify-self:start !important;
    margin-top:46px !important;
  }
}

/* fix blog button position */
.blog-more{
  margin-top:32px;
}

.blog-more .btn{
  display:inline-block;
}

/* ARTICLE FULL WIDTH FIX */
.article-page{
  max-width:100%;
}

.article-hero,
.article-body,
.article-nav{
  max-width:1000px;
  margin:0 auto;
}

.article-title{
  font-size: clamp(32px, 4vw, 52px);
  line-height:1.1;
  margin-top:12px;
}

.article-meta{
  margin-top:10px;
  opacity:0.6;
  font-size:14px;
}

.article-content{
  font-size:18px;
  line-height:1.75;
}

.article-content p{
  margin-bottom:18px;
}

/* ARTICLES: wider layout + better spacing */
.article-hero,
.article-body,
.article-nav{
  max-width:1180px !important;
}

.article-body{
  padding:42px !important;
}

.article-content{
  max-width:980px;
  font-size:19px;
  line-height:1.9;
}

.article-content h2{
  margin:30px 0 18px;
  font-size:34px;
  line-height:1.15;
}

.article-content h3{
  margin:26px 0 14px;
  font-size:26px;
  line-height:1.2;
}

.article-content p{
  margin:0 0 22px;
}

.article-content ul,
.article-content ol{
  margin:0 0 24px 24px;
  padding:0;
}

.article-content li{
  margin-bottom:10px;
}

.article-nav{
  margin-top:24px;
}

@media (max-width:760px){
  .article-hero,
  .article-body,
  .article-nav{
    max-width:100% !important;
  }

  .article-body{
    padding:24px !important;
  }

  .article-content{
    max-width:100%;
    font-size:16px;
    line-height:1.75;
  }
}

/* === FIX GRID ALIGNMENT FOR ARTICLES === */
.article-section{
  padding-top:140px;
}

.article-container{
  max-width:1240px;
  margin:0 auto;
}

.article-page{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.article-hero,
.article-body{
  width:100%;
  margin:0;
}

.article-body{
  padding:48px 56px;
}

.article-content{
  max-width:860px;
}

/* remove huge empty block under button */
.article-nav{
  margin-top:8px;
}

.article-nav .btn{
  padding:10px 18px;
}

/* unify left alignment with header/footer */
.container{
  padding-left:32px;
  padding-right:32px;
}

@media (max-width:760px){
  .article-body{
    padding:28px;
  }

  .container{
    padding-left:18px;
    padding-right:18px;
  }
}

/* === ARTICLE + FOOTER GRID NORMALIZATION === */
@media (min-width:761px){
  .article-section{
    padding-top:136px !important;
    padding-bottom:36px !important;
  }

  .article-container,
  footer .container,
  .footer-box,
  .article-hero,
  .article-body,
  .article-nav{
    max-width:1240px !important;
  }

  .article-hero,
  .article-body,
  .article-nav,
  footer .container{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .article-page{
    gap:18px !important;
  }

  .article-nav{
    margin-top:0 !important;
    margin-bottom:0 !important;
    text-align:left !important;
  }

  .article-nav .btn{
    margin-left:0 !important;
  }

  footer{
    padding-top:20px !important;
  }

  .footer-box{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

@media (max-width:760px){
  .article-section{
    padding-bottom:20px !important;
  }

  .article-nav{
    text-align:left !important;
  }

  footer{
    padding-top:14px !important;
  }
}

/* === ARTICLE BUTTON FIX (LEFT + BEAUTIFUL BLOCK) === */
.article-nav-panel{
  padding:28px 36px !important;
  display:flex;
  align-items:center;
  justify-content:flex-start !important;
}

.article-nav-panel .btn{
  margin:0 !important;
}

@media (max-width:760px){
  .article-nav-panel{
    padding:20px;
  }
}

/* force left alignment for article button */
.article-nav{
  display:block !important;
  text-align:left !important;
  margin-top:12px;
}

.article-nav .btn{
  margin-left:0 !important;
}

/* HARD FIX: article back button strictly left */
.article-nav{
  width:100% !important;
  max-width:none !important;
  margin:12px 0 0 0 !important;
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  align-self:stretch !important;
  text-align:left !important;
}

.article-nav .btn{
  margin:0 !important;
}


/* About section photo insert */
#about .premium-panel.has-photo{
  display:flex;
  flex-direction:column;
}
#about .about-feature-photo-wrap{
  margin:22px 0 18px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  box-shadow:0 14px 40px rgba(0,0,0,.22);
}
#about .about-feature-photo{
  display:block;
  width:100%;
  aspect-ratio:16/7;
  object-fit:cover;
  object-position:center;
}
#about .has-photo .stat-grid{
  margin-top:0;
}
@media (max-width:760px){
  #about .about-feature-photo{
    aspect-ratio:16/10;
  }
}


/* ChatGPT override: final about photo */
#about .premium-panel.has-photo .about-feature-photo{opacity:0;display:block;width:100%;height:100%;}
#about .premium-panel.has-photo .about-feature-photo-wrap{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  min-height:260px;
  background-image:url("data:image/webp;base64,UklGRkgHAQBXRUJQVlA4IDwHAQDwxwedASoABgAEPmEsk0ekIiqsoVCa4ZAMCWlukqR1auPgALw/tFuuJScA/9nLsLCfjPlfmsjL8IhGc9f9y5qzrXWj2Ci+qgwdQm+Tn2Hn0zG6mqgCj9Ykgd9tfv6D+JjF9sObxBrPlRkSxQZ3tNxqEEeWS66m0tS0kG0QX8h/5H3j+4rQGQ3Q0rQ/yW0YH2vM1b4p4g3m1KQ9dC+KqS7H2taX4Jq2Q6Q7yQ+G0jX9otbMl6p7Yb2u4k9z5WfX3T3mXvbvQ0bN8oI9+edq0Qmq8P4N1w4V0oF7v4Y5W6G6+r9y0mC4QYfA2v6F7mQqZx1i1Qm7aF0mJb9W6QyC9gQp5B5yI3dP4s3z7b7mU1K9pYkP+QeJw7q2B9n3Yk4O7mYw4h7KjGd7wGg8N4kJ0Bz7xH0l1d6pXJ8l5h8V2D8e0y7v8V9R3CwQ8H7V3wGf6F1q6m1JpQhO8B6Ww8lY0M+GQ0U8Vb+3c6K9x4P5I7Sg2v2m8v5xk2f7Qz+o7m6lq1x9V0R5H6S4v3y2M5R9g0P0B4u2wH1L7yP1r9R8p5u7Q7o3J4J7yI3o6i0o1h5o3Z8B5Q2J2U0w7M7d4u9C9x5x7j4h7d8P7Q7u2z6A5r7v0n1Q1g8n7R9y4U7b7e5R5q7W1k3l8d8J2s2n8m7S0Q4G4d6b6N8L4f2d4e8C5d3V4J4g0M6I4Q4R9M9f6m6T4D4m7a9R9P2Q8n6P6A4A6c5R4v6Q7b8D7c3b6M7w7i5W5M5E6M6f6Y8d8a8f7u9C8e7g8I8I9P9a9O8g8n8H8R7y7o8m8v8K8A9b9P9T9g+K+E+M+Q+Z+f+e+g+m+y/8f/9gP9hP9kP9mP9nP9qP9uP92P95P98P+AP+CP+DP+GP+IP+MP+OP+TP+VP+YP+bP+dP+fP+hP+jP+lP+nP+pP+rP+tP+vP+wP+xP+yP+zP+0P+1P+2P+3P+4P+5P+6P+7P+8P+9P++P//8AA==");
  background-size:cover;
  background-position:center center;
  box-shadow:0 14px 40px rgba(0,0,0,.28);
  margin:18px 0 20px;
}
#about .premium-panel.has-photo .about-feature-photo-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));
  pointer-events:none;
}
@media (max-width:1100px){
  #about .premium-panel.has-photo .about-feature-photo-wrap{min-height:220px;}
}
@media (max-width:760px){
  #about .premium-panel.has-photo .about-feature-photo-wrap{min-height:180px; border-radius:20px;}
}


/* about section video */
#about .premium-panel.has-photo .about-feature-photo-wrap.is-video{
  overflow:hidden;
  background:rgba(255,255,255,.04);
}

#about .premium-panel.has-photo .about-feature-video{
  display:block;
  width:100%;
  height:100%;
  min-height:inherit;
  object-fit:cover;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
}

#about .premium-panel.has-photo .about-feature-photo-wrap.is-video::after{
  pointer-events:none;
}


/* about heading full width */
#about .section-head.about-head-refined{
  display:block;
}

#about .section-head.about-head-refined .section-title{
  display:block;
  width:100%;
  max-width:none;
  margin-bottom:18px;
}

#about .section-head.about-head-refined .section-copy{
  display:block;
  width:100%;
  max-width:none;
}

@media (max-width:760px){
  #about .section-head.about-head-refined .section-title{
    margin-bottom:14px;
  }
}


/* about: full-width heading and text on desktop */
@media (min-width:761px){
  #about .section-head.about-head-refined,
  #about .about-head-refined{
    display:block !important;
    width:100% !important;
    max-width:none !important;
  }

  #about .section-head.about-head-refined .section-title,
  #about .about-head-refined .section-title{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 0 22px 0 !important;
  }

  #about .section-head.about-head-refined .section-copy,
  #about .about-head-refined .section-copy{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }
}


/* about stat cards: align headings and make them a bit smaller */
#about .stat-grid{
  align-items:stretch;
}

#about .stat{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  min-height:142px;
}

#about .stat strong{
  display:block;
  font-size:24px !important;
  line-height:1.05 !important;
  margin-bottom:10px !important;
}

#about .stat span{
  display:block;
  font-size:14px;
  line-height:1.45;
}

@media (max-width:760px){
  #about .stat{
    min-height:auto;
  }

  #about .stat strong{
    font-size:20px !important;
    margin-bottom:8px !important;
  }

  #about .stat span{
    font-size:14px !important;
    line-height:1.5 !important;
  }
}


/* courses: stretch intro text wider on desktop */
@media (min-width:761px){
  #courses .section-head{
    display:grid !important;
    grid-template-columns:minmax(320px,0.85fr) minmax(0,1.15fr) !important;
    gap:28px !important;
    align-items:start !important;
  }

  #courses .section-title{
    max-width:none !important;
    margin:0 !important;
  }

  #courses .section-copy{
    max-width:none !important;
    width:100% !important;
    margin:0 !important;
  }
}


/* courses: pull intro text left and stretch it to the right edge */
@media (min-width:761px){
  #courses .section-head{
    display:grid !important;
    grid-template-columns:390px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    justify-content:stretch !important;
  }

  #courses .section-title{
    width:390px !important;
    max-width:390px !important;
    margin:0 !important;
  }

  #courses .section-copy{
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
    margin:0 !important;
  }
}


/* portfolio: pull intro text left and stretch it across the full free width */
@media (min-width:761px){
  #portfolio .section-head{
    display:grid !important;
    grid-template-columns:320px minmax(0,1fr) !important;
    gap:22px !important;
    align-items:start !important;
    justify-content:stretch !important;
  }

  #portfolio .section-title{
    width:320px !important;
    max-width:320px !important;
    margin:0 !important;
  }

  #portfolio .section-copy{
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
    margin:0 !important;
  }
}


/* portfolio: pull intro text left and stretch it wider on desktop */
@media (min-width:761px){
  #portfolio .section-head{
    display:grid !important;
    grid-template-columns:420px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    justify-content:stretch !important;
  }

  #portfolio .section-title{
    width:420px !important;
    max-width:420px !important;
    margin:0 !important;
  }

  #portfolio .section-copy{
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
    margin:0 !important;
  }
}


/* hero: align top block width with lower sections */
@media (min-width:761px){
  .hero .hero-inner{
    display:grid !important;
    grid-template-columns:minmax(0,1.08fr) minmax(420px,0.92fr) !important;
    gap:24px !important;
    align-items:start !important;
  }

  .hero .hero-card{
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
  }

  .hero .hero-quote{
    max-width:none !important;
  }
}


/* revert hero width tweak */
@media (min-width:761px){
  .hero .hero-inner{
    grid-template-columns:1.1fr .9fr !important;
    gap:40px !important;
    align-items:center !important;
  }

  .hero .hero-card{
    width:auto !important;
    max-width:none !important;
    justify-self:auto !important;
  }

  .hero .hero-quote{
    max-width:420px !important;
  }
}


/* normalize desktop widths across homepage sections */
@media (min-width:761px){
  #courses .section-head,
  #portfolio .section-head,
  #blog .section-head{
    display:grid !important;
    grid-template-columns:390px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    justify-content:stretch !important;
  }

  #courses .section-title,
  #portfolio .section-title,
  #blog .section-title{
    width:390px !important;
    max-width:390px !important;
    margin:0 !important;
  }

  #courses .section-copy,
  #portfolio .section-copy,
  #blog .section-copy{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    justify-self:stretch !important;
  }
}


/* revert last section-width normalization and align hero block widths with lower split */
@media (min-width:761px){
  #courses .section-head{
    display:grid !important;
    grid-template-columns:390px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    justify-content:stretch !important;
  }

  #courses .section-title{
    width:390px !important;
    max-width:390px !important;
    margin:0 !important;
  }

  #courses .section-copy{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    justify-self:stretch !important;
  }

  #portfolio .section-head{
    display:grid !important;
    grid-template-columns:420px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    justify-content:stretch !important;
  }

  #portfolio .section-title{
    width:420px !important;
    max-width:420px !important;
    margin:0 !important;
  }

  #portfolio .section-copy{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    justify-self:stretch !important;
  }

  #blog .section-head{
    display:flex !important;
    justify-content:space-between !important;
    gap:20px !important;
    align-items:end !important;
  }

  #blog .section-title{
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
  }

  #blog .section-copy{
    width:auto !important;
    max-width:620px !important;
    margin:0 !important;
  }

  .hero .hero-inner{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:18px !important;
    align-items:start !important;
  }

  .hero .hero-card{
    width:100% !important;
    justify-self:stretch !important;
  }
}


/* restore previous state before the last accidental layout change */
@media (min-width:761px){
  .hero .hero-inner{
    grid-template-columns:1.1fr .9fr !important;
    gap:40px !important;
    align-items:center !important;
  }

  .hero .hero-card{
    width:auto !important;
    max-width:none !important;
    justify-self:auto !important;
  }

  .hero .hero-quote{
    max-width:420px !important;
  }

  #courses .section-head,
  #portfolio .section-head,
  #blog .section-head{
    display:grid !important;
    grid-template-columns:390px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    justify-content:stretch !important;
  }

  #courses .section-title,
  #portfolio .section-title,
  #blog .section-title{
    width:390px !important;
    max-width:390px !important;
    margin:0 !important;
  }

  #courses .section-copy,
  #portfolio .section-copy,
  #blog .section-copy{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    justify-self:stretch !important;
  }
}


/* hero: make top two columns the same width as lower split blocks */
@media (min-width:761px){
  .hero .hero-inner{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
    align-items:center !important;
  }

  .hero .hero-card{
    width:100% !important;
    justify-self:stretch !important;
  }
}


/* hero: keep original left block, but move the right card to the right and match lower panel width */
@media (min-width:761px){
  .hero .hero-inner{
    grid-template-columns:1.1fr .9fr !important;
    gap:40px !important;
    align-items:center !important;
  }

  .hero .hero-card{
    width:calc((100% - 18px) / 2) !important;
    max-width:calc((100% - 18px) / 2) !important;
    justify-self:end !important;
    margin-left:auto !important;
  }
}


/* revert the last two hero experiments */
@media (min-width:761px){
  .hero .hero-inner{
    grid-template-columns:1.1fr .9fr !important;
    gap:40px !important;
    align-items:center !important;
  }

  .hero .hero-card{
    width:auto !important;
    max-width:none !important;
    justify-self:stretch !important;
    margin-left:0 !important;
  }
}


/* hero: move the right card to the right without changing its size */
@media (min-width:761px){
  .hero .hero-inner{
    grid-template-columns:1.1fr .9fr !important;
    gap:40px !important;
    align-items:center !important;
  }

  .hero .hero-card{
    transform:translateX(60px) !important;
  }
}


/* hero: soften right shift to align with lower blocks more precisely */
@media (min-width:761px){
  .hero .hero-card{
    transform:translateX(35px) !important;
  }
}


/* hero: tiny correction left to match lower block width line */
@media (min-width:761px){
  .hero .hero-card{
    transform:translateX(28px) !important;
  }
}


/* hero: final tiny push right to match header width line */
@media (min-width:761px){
  .hero .hero-card{
    transform:translateX(34px) !important;
  }
}


/* hero card: balance inner vertical spacing */
@media (min-width:761px){
  .hero .hero-card{
    display:flex;
  }

  .hero .hero-card-content{
    flex:1 1 auto;
    min-height:100%;
    height:auto !important;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:24px;
    padding-top:28px !important;
    padding-bottom:28px !important;
  }

  .hero .hero-quote{
    margin-bottom:0 !important;
  }

  .hero .floating-chip-wrap{
    margin-top:auto;
  }
}


/* hero card: restore balanced inner spacing, do not pin chips to bottom */
@media (min-width:761px){
  .hero .hero-card-content{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    gap:18px !important;
    padding-top:28px !important;
    padding-bottom:28px !important;
  }

  .hero .hero-quote{
    margin-bottom:0 !important;
  }

  .hero .floating-chip-wrap{
    margin-top:6px !important;
    align-self:stretch !important;
  }
}


/* hero: tiny extra right shift to match lower block line */
@media (min-width:761px){
  .hero .hero-card{
    transform:translateX(40px) !important;
  }
}


/* hero: final tiny right adjustment to match header line */
@media (min-width:761px){
  .hero .hero-card{
    transform:translateX(48px) !important;
  }
}


/* hero card: increase space under quote before stat chips */
@media (min-width:761px){
  .hero .floating-chip-wrap{
    margin-top:20px !important;
  }
}


/* hero card: add a bit more top air so inner content feels centered */
@media (min-width:761px){
  .hero .hero-card-content{
    padding-top:40px !important;
  }
}


/* hero card: truly center inner content vertically with equal top and bottom air */
@media (min-width:761px){
  .hero .hero-card-content{
    justify-content:center !important;
    gap:22px !important;
    padding-top:34px !important;
    padding-bottom:34px !important;
  }

  .hero .floating-chip-wrap{
    margin-top:0 !important;
  }
}


/* hero card: reduce top inner air by 6px for visual balance */
@media (min-width:761px){
  .hero .hero-card-content{
    padding-top:28px !important;
    padding-bottom:34px !important;
  }
}


/* hero card: fluid full-width layout when hero stacks on tablet/mobile */
@media (max-width:1100px){
  .hero .hero-card{
    width:100% !important;
    max-width:none !important;
    transform:none !important;
    margin-left:0 !important;
  }

  .hero .hero-card-content{
    width:100% !important;
    padding:24px !important;
  }

  .hero .hero-quote{
    max-width:none !important;
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .hero .floating-chip-wrap{
    width:100% !important;
    max-width:none !important;
    align-self:stretch !important;
    margin-top:18px !important;
  }
}


/* desktop: align section intro copy to the bottom beside big titles */
@media (min-width:761px){
  #courses .section-head,
  #portfolio .section-head,
  #blog .section-head{
    align-items:end !important;
  }

  #courses .section-title,
  #portfolio .section-title,
  #blog .section-title{
    align-self:end !important;
  }

  #courses .section-copy,
  #portfolio .section-copy,
  #blog .section-copy{
    align-self:end !important;
    margin:0 !important;
  }
}


/* video gallery */
.video-gallery-section{
  padding-top:20px;
}

.video-gallery{
  position:relative;
  padding:28px;
  border-radius:34px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid var(--line);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
}

.video-gallery-stage-wrap{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  box-shadow:0 16px 40px rgba(0,0,0,.24);
}

.video-gallery-stage{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  background:#09101f;
}

.video-gallery-controls{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:16px;
  align-items:center;
  margin-top:18px;
}

.video-gallery-nav{
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-size:28px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.25s ease;
}

.video-gallery-nav:hover{
  background:rgba(255,255,255,.1);
  transform:translateY(-2px);
}

.video-gallery-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(220px,1fr);
  gap:14px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
}

.video-gallery-rail::-webkit-scrollbar{
  display:none;
}

.video-thumb{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:10px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:var(--text);
  text-align:left;
  cursor:pointer;
  transition:.25s ease;
}

.video-thumb:hover,
.video-thumb.is-active{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
}

.video-thumb-media{
  display:block;
  overflow:hidden;
  border-radius:16px;
  aspect-ratio:16/9;
  background:rgba(255,255,255,.04);
}

.video-thumb-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.video-thumb-label{
  font-size:15px;
  line-height:1.35;
  font-weight:700;
}

@media (max-width:1100px){
  .video-gallery{
    padding:24px;
  }

  .video-gallery-controls{
    grid-template-columns:1fr;
    gap:12px;
  }

  .video-gallery-nav{
    display:none;
  }

  .video-gallery-rail{
    grid-auto-columns:minmax(200px,78%);
  }
}

@media (max-width:760px){
  .video-gallery-section{
    padding-top:0;
  }

  .video-gallery{
    padding:18px;
    border-radius:26px;
  }

  .video-gallery-stage-wrap{
    border-radius:20px;
  }

  .video-gallery-controls{
    margin-top:14px;
  }

  .video-gallery-rail{
    grid-auto-columns:minmax(170px,82%);
    gap:10px;
  }

  .video-thumb{
    padding:8px;
    border-radius:18px;
  }

  .video-thumb-label{
    font-size:14px;
  }
}


/* video gallery refinements: 5 placeholders + better mobile filmstrip */
.video-gallery-rail{
  scroll-snap-type:x proximity;
}

.video-thumb{
  scroll-snap-align:start;
}

.video-thumb-label{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media (min-width:1101px){
  .video-gallery-rail{
    grid-auto-columns:minmax(190px,220px);
  }
}

@media (max-width:1100px){
  .video-gallery-stage{
    aspect-ratio:16/10;
  }

  .video-gallery-controls{
    grid-template-columns:1fr;
    gap:12px;
  }

  .video-gallery-nav{
    display:none;
  }

  .video-gallery-rail{
    grid-auto-columns:minmax(180px,48%);
    gap:12px;
  }
}

@media (max-width:760px){
  .video-gallery{
    padding:16px;
  }

  .video-gallery-stage{
    aspect-ratio:16/10;
  }

  .video-gallery-controls{
    margin-top:12px;
  }

  .video-gallery-rail{
    grid-auto-columns:minmax(146px,46%);
    gap:10px;
  }

  .video-thumb{
    padding:8px;
    gap:8px;
  }

  .video-thumb-media{
    border-radius:14px;
  }

  .video-thumb-label{
    font-size:13px;
  }
}

@media (max-width:520px){
  .video-gallery-stage{
    aspect-ratio:4/3;
  }

  .video-gallery-rail{
    grid-auto-columns:minmax(128px,56%);
  }
}


/* video gallery heading */
.video-gallery-head{
  display:grid;
  gap:12px;
  margin-bottom:22px;
}

.video-gallery-kicker{
  width:max-content;
}

.video-gallery-title{
  margin:0;
  font-size:clamp(34px,4.7vw,58px);
  line-height:.98;
  letter-spacing:-.04em;
}

.video-gallery-copy{
  margin:0;
  max-width:860px;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}

@media (max-width:760px){
  .video-gallery-head{
    gap:10px;
    margin-bottom:16px;
  }

  .video-gallery-title{
    font-size:clamp(30px,9vw,42px);
    line-height:1.02;
  }

  .video-gallery-copy{
    font-size:15px;
    line-height:1.6;
  }
}


/* article cards with preview images */
.article-card-link{
  display:flex;
  flex-direction:column;
  text-decoration:none;
}

.article-card-media{
  display:block;
  overflow:hidden;
  border-radius:20px;
  margin-bottom:16px;
  aspect-ratio:16/10;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
}

.article-card-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.article-card-body{
  display:grid;
  gap:10px;
}

.article-card-body h3,
.article-card-body p{
  margin:0;
}

@media (max-width:760px){
  .article-card-media{
    border-radius:16px;
    margin-bottom:14px;
  }
}


/* single post featured image */
.article-featured-media{
  margin:28px 0 0;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
}

.article-featured-image{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

@media (max-width:760px){
  .article-featured-media{
    margin-top:20px;
    border-radius:22px;
  }
}


/* articles: featured image belongs inside content after the first paragraph */
.article-inline-media{
  margin:24px 0 28px !important;
}

.article-inline-media img,
.article-inline-image{
  display:block;
  width:100%;
  height:auto;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.1);
}

.article-hero .article-featured-media,
.article-hero .article-featured-image{
  display:none !important;
}

@media (max-width:760px){
  .article-inline-media{
    margin:18px 0 22px !important;
  }

  .article-inline-media img,
  .article-inline-image{
    border-radius:18px;
  }
}

/* article widget on all single posts */
.article-section{
  padding-bottom:40px;
}

.article-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.article-nav{
  margin-top:0;
  margin-bottom:0;
}

.article-widget-box{
  margin-top:0;
}

.article-widget-socials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.article-widget-socials .social-link{
  text-decoration:none;
}

@media (max-width:760px){
  .article-section{
    padding-bottom:24px !important;
  }

  .article-page{
    gap:14px !important;
  }

  .article-nav{
    margin-top:0 !important;
    margin-bottom:0 !important;
  }

  .article-widget-box{
    margin-top:0 !important;
    padding:16px !important;
    gap:12px !important;
  }

  .article-widget-socials{
    display:grid !important;
    grid-template-columns:1fr;
    gap:10px !important;
    width:100%;
  }

  .article-widget-socials .social-link,
  .article-widget-box .social-link{
    width:100%;
    justify-content:center;
    text-align:center;
  }
}

/* single article: read more media block */
.article-section{
  padding-bottom:40px;
}

.article-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.article-more-block{
  margin-top:0;
  overflow:hidden;
}

.article-more-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.article-more-title{
  margin:12px 0 0;
  font-size:clamp(24px,3.2vw,36px);
  line-height:1.05;
  letter-spacing:-.03em;
}

.article-more-link{
  flex:0 0 auto;
}

.article-more-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(280px, 32%);
  gap:16px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;
  padding-bottom:6px;
}

.article-more-rail::-webkit-scrollbar{
  height:8px;
}

.article-more-rail::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.14);
  border-radius:999px;
}

.article-more-card{
  min-width:0;
  height:100%;
  scroll-snap-align:start;
  text-decoration:none;
}

.article-nav{
  margin-top:0;
  margin-bottom:0;
}

@media (max-width:980px){
  .article-more-rail{
    grid-auto-columns:minmax(300px, 68%);
  }
}

@media (max-width:760px){
  .article-section{
    padding-bottom:24px !important;
  }

  .article-page{
    gap:14px !important;
  }

  .article-more-block{
    padding:18px !important;
  }

  .article-more-head{
    display:block;
    margin-bottom:16px !important;
  }

  .article-more-title{
    margin-top:10px !important;
    font-size:24px !important;
  }

  .article-more-link{
    margin-top:14px;
    width:100%;
    justify-content:center;
  }

  .article-more-rail{
    grid-auto-columns:minmax(260px, 86%);
    gap:14px !important;
    padding-bottom:4px;
  }

  .article-nav{
    margin-top:0 !important;
    margin-bottom:0 !important;
  }
}

/* tune read-more rail: show 3 cards on desktop instead of 4 narrow ones */
.article-more-rail{
  grid-auto-columns:calc((100% - 32px) / 3) !important;
}

@media (max-width:1180px){
  .article-more-rail{
    grid-auto-columns:calc((100% - 16px) / 2) !important;
  }
}

@media (max-width:760px){
  .article-more-rail{
    grid-auto-columns:minmax(260px, 86%) !important;
  }
}

/* read-more block: remove top CTA, place all-articles button at bottom-right */
.article-more-head{
  margin-bottom:18px;
}

.article-more-head .kicker,
.article-more-head .article-more-link{
  display:none !important;
}

.article-more-title{
  margin-top:0 !important;
}

.article-more-footer{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
}

.article-more-footer .article-more-link{
  display:inline-flex !important;
}

@media (max-width:760px){
  .article-more-footer{
    justify-content:stretch;
    margin-top:14px;
  }

  .article-more-footer .article-more-link{
    width:100%;
    justify-content:center;
  }
}

/* footer phone: stable tone, no red emoji flash, no width jump */
footer .footer-phone-link,
footer .footer-phone-link:visited,
footer .footer-phone-link:hover,
footer .footer-phone-link:focus,
footer .footer-phone-link:active{
  color:var(--text) !important;
  opacity:1 !important;
  filter:none !important;
  -webkit-text-fill-color:var(--text) !important;
  text-decoration:none !important;
  white-space:nowrap;
  min-width:max-content;
  -webkit-tap-highlight-color:transparent;
}

footer .footer-phone-link{
  background:rgba(255,255,255,.08) !important;
  border:1px solid var(--line) !important;
}

footer .footer-phone-link span{
  color:inherit !important;
}

footer .footer-phone-icon{
  color:var(--text) !important;
  opacity:1 !important;
  font-size:15px;
  line-height:1;
}

footer .footer-phone-icon svg{
  display:block;
  width:16px;
  height:16px;
  color:currentColor;
}

/* article recommendations: restore breathing space */
.article-more-block{
  padding:28px !important;
}

.article-more-head{
  margin-bottom:22px !important;
}

.article-more-title{
  margin:0 0 4px 0 !important;
}

.article-more-rail{
  gap:18px !important;
  padding-top:4px !important;
  padding-bottom:14px !important;
  margin-bottom:6px !important;
}

.article-more-card{
  border-radius:26px !important;
}

.article-more-card .article-card-media{
  margin-bottom:14px !important;
}

.article-more-card .article-card-body{
  gap:10px;
}

.article-more-footer{
  margin-top:20px !important;
  padding-top:2px;
}

@media (max-width:760px){
  footer .footer-phone-link{
    width:100%;
    justify-content:center;
  }

  .article-more-block{
    padding:20px !important;
  }

  .article-more-head{
    margin-bottom:18px !important;
  }

  .article-more-rail{
    gap:16px !important;
    padding-top:2px !important;
    padding-bottom:12px !important;
  }

  .article-more-footer{
    margin-top:16px !important;
  }
}


/* multilingual navigation */
.lang-switcher{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:6px;
  flex-wrap:wrap;
}

.lang-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  padding:10px 12px;
  border-radius:999px;
  text-decoration:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:.25s ease;
}

.lang-pill:hover,
.lang-pill.is-active{
  background:rgba(255,255,255,.1);
  color:var(--text);
}

.article-content{
  color:var(--text);
  line-height:1.8;
  font-size:18px;
}

.article-content p{
  margin:0 0 1.15em;
}

.article-content h2,
.article-content h3,
.article-content h4{
  margin:1.4em 0 .6em;
}

.article-inline-media,
.article-content figure{
  margin:0 0 1.2em;
}

.article-inline-image{
  width:100%;
  height:auto;
  border-radius:24px;
}

@media (max-width:760px){
  .lang-switcher{
    width:100%;
    justify-content:flex-start;
    margin-left:0;
    padding-top:6px;
  }

  .lang-pill{
    min-width:46px;
    padding:10px 11px;
  }
}


/* language dropdown switcher */
.lang-dropdown-wrap{
  position:relative;
  margin-left:8px;
}

.lang-dropdown{
  position:relative;
}

.lang-dropdown summary{
  list-style:none;
}

.lang-dropdown summary::-webkit-details-marker{
  display:none;
}

.lang-dropdown-summary{
  min-width:190px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(180deg,rgba(12,18,36,.96),rgba(10,15,30,.96));
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 14px 40px rgba(0,0,0,.22);
  transition:.25s ease;
}

.lang-dropdown-summary:hover{
  border-color:rgba(255,255,255,.16);
  background:linear-gradient(180deg,rgba(14,21,42,.98),rgba(11,17,34,.98));
}

.lang-dropdown-current{
  font-size:15px;
  font-weight:700;
  letter-spacing:-.01em;
  white-space:nowrap;
}

.lang-dropdown-chevron{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#cfd8f6;
  transition:transform .22s ease;
  flex:0 0 auto;
}

.lang-dropdown[open] .lang-dropdown-chevron{
  transform:rotate(180deg);
}

.lang-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:220px;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(180deg,rgba(12,18,36,.98),rgba(10,15,30,.98));
  box-shadow:0 18px 54px rgba(0,0,0,.32);
  backdrop-filter:blur(18px);
  z-index:80;
}

.lang-dropdown-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-radius:14px;
  text-decoration:none;
  color:var(--text);
  transition:.22s ease;
}

.lang-dropdown-item:hover,
.lang-dropdown-item.is-active{
  background:rgba(255,255,255,.07);
}

.lang-dropdown-item-name{
  font-size:14px;
  font-weight:600;
}

.lang-dropdown-item-code{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

@media (max-width:760px){
  .lang-dropdown-wrap{
    width:100%;
    margin-left:0;
    margin-top:6px;
  }

  .lang-dropdown,
  .lang-dropdown-summary,
  .lang-dropdown-menu{
    width:100%;
  }

  .lang-dropdown-summary{
    min-width:0;
    padding:14px 16px;
    border-radius:16px;
  }

  .lang-dropdown-menu{
    position:static;
    margin-top:8px;
    min-width:0;
  }
}


/* dropdown closer to reference screenshot */
.lang-dropdown-wrap{
  position:relative;
  margin-left:10px;
}

.lang-dropdown-summary{
  min-width:186px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 18px;
  border-radius:16px;
  border:1px solid #2b83ff;
  background:linear-gradient(180deg,#101e3a 0%, #0d1730 100%);
  color:#ffffff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}

.lang-dropdown-current{
  font-size:15px;
  font-weight:700;
  color:#ffffff;
}

.lang-dropdown-chevron{
  color:#d7e2ff;
}

.lang-dropdown-menu{
  position:absolute;
  top:calc(100% + 2px);
  right:0;
  min-width:186px;
  padding:0;
  border-radius:0;
  border:0;
  background:#ffffff;
  box-shadow:none;
  overflow:hidden;
}

.lang-dropdown-item{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:38px;
  padding:0 14px;
  border-radius:0;
  background:#ffffff;
  color:#111111;
  font-size:15px;
  font-weight:400;
}

.lang-dropdown-item:hover,
.lang-dropdown-item.is-active{
  background:#2f75e8;
  color:#ffffff;
}

.lang-dropdown-item.is-disabled{
  color:#111111;
  opacity:1;
  cursor:default;
}

.lang-dropdown-item.is-disabled:hover{
  background:#ffffff;
  color:#111111;
}

.lang-dropdown-item-name{
  font-size:15px;
  font-weight:400;
}

@media (max-width:760px){
  .lang-dropdown-wrap{
    width:100%;
    margin-left:0;
    margin-top:8px;
  }

  .lang-dropdown-summary{
    width:100%;
    min-width:0;
  }

  .lang-dropdown-menu{
    position:static;
    min-width:0;
    width:100%;
    margin-top:4px;
  }
}


/* restore elegant dark language dropdown */
.lang-dropdown-wrap{
  position:relative;
  margin-left:8px;
}

.lang-dropdown{
  position:relative;
}

.lang-dropdown summary{
  list-style:none;
}

.lang-dropdown summary::-webkit-details-marker{
  display:none;
}

.lang-dropdown-summary{
  min-width:190px;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(180deg,rgba(12,18,36,.96),rgba(10,15,30,.96));
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 14px 40px rgba(0,0,0,.22);
  transition:.25s ease;
}

.lang-dropdown-summary:hover{
  border-color:rgba(255,255,255,.16);
  background:linear-gradient(180deg,rgba(14,21,42,.98),rgba(11,17,34,.98));
}

.lang-dropdown-current{
  font-size:15px;
  font-weight:700;
  letter-spacing:-.01em;
  white-space:nowrap;
  color:var(--text);
}

.lang-dropdown-chevron{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#cfd8f6;
  transition:transform .22s ease;
  flex:0 0 auto;
}

.lang-dropdown[open] .lang-dropdown-chevron{
  transform:rotate(180deg);
}

.lang-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:220px;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(180deg,rgba(12,18,36,.98),rgba(10,15,30,.98));
  box-shadow:0 18px 54px rgba(0,0,0,.32);
  backdrop-filter:blur(18px);
  overflow:hidden;
  z-index:80;
}

.lang-dropdown-item{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:42px;
  padding:0 14px;
  border-radius:14px;
  background:transparent;
  color:var(--text);
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  transition:.22s ease;
}

.lang-dropdown-item:hover,
.lang-dropdown-item.is-active{
  background:rgba(255,255,255,.07);
  color:var(--text);
}

.lang-dropdown-item.is-disabled{
  color:var(--muted);
  opacity:.78;
  cursor:default;
}

.lang-dropdown-item.is-disabled:hover{
  background:transparent;
  color:var(--muted);
}

.lang-dropdown-item-name{
  font-size:14px;
  font-weight:600;
}

@media (max-width:760px){
  .lang-dropdown-wrap{
    width:100%;
    margin-left:0;
    margin-top:6px;
  }

  .lang-dropdown,
  .lang-dropdown-summary,
  .lang-dropdown-menu{
    width:100%;
  }

  .lang-dropdown-summary{
    min-width:0;
    padding:14px 16px;
    border-radius:16px;
  }

  .lang-dropdown-menu{
    position:static;
    margin-top:8px;
    min-width:0;
  }
}


/* theme toggle */
.theme-toggle{
  position:relative;
  flex:0 0 auto;
  width:56px;
  height:56px;
  border-radius:18px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  color:#ffbf47;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:var(--shadow);
  transition:.28s ease;
}

.theme-toggle:hover{
  transform:translateY(-2px);
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.05));
}

.theme-toggle-icon{
  position:absolute;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:opacity .25s ease, transform .25s ease;
}

.theme-toggle-moon{
  opacity:0;
  transform:scale(.7) rotate(-18deg);
  color:#f5f7ff;
}

.theme-light .theme-toggle-sun{
  opacity:0;
  transform:scale(.7) rotate(18deg);
}

.theme-light .theme-toggle-moon{
  opacity:1;
  transform:scale(1) rotate(0deg);
}

/* light theme */
.theme-light{
  --bg:#f4f7ff;
  --bg2:#ffffff;
  --text:#0f1830;
  --muted:#5f6b8b;
  --line:rgba(14,24,48,.12);
  --glass:rgba(255,255,255,.72);
  --shadow:0 20px 60px rgba(15,24,48,.10);
}

.theme-light body{
  color:var(--text);
  background:
    radial-gradient(900px 600px at 10% 10%,rgba(129,145,255,.12),transparent 60%),
    radial-gradient(700px 500px at 90% 15%,rgba(85,214,255,.14),transparent 55%),
    radial-gradient(700px 500px at 70% 80%,rgba(255,105,200,.08),transparent 55%),
    linear-gradient(180deg,#f8fbff 0%,#eef3ff 35%,#f7f9ff 100%);
}

.theme-light .grid{
  background-image:linear-gradient(rgba(14,24,48,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(14,24,48,.06) 1px,transparent 1px);
}

.theme-light .noise{opacity:.022}

.theme-light .cursor-glow{
  background:radial-gradient(420px circle at var(--mx,50%) var(--my,40%),rgba(77,113,255,.10),transparent 45%);
}

.theme-light .nav{
  background:rgba(255,255,255,.72);
  box-shadow:0 18px 40px rgba(15,24,48,.08);
}

.theme-light .nav-links a:hover,
.theme-light .btn-ghost:hover,
.theme-light .social-link:hover,
.theme-light .lang-dropdown-item:hover,
.theme-light .lang-dropdown-item.is-active{
  background:rgba(15,24,48,.06);
}

.theme-light .burger,
.theme-light .btn-ghost,
.theme-light .social-link,
.theme-light .stat,
.theme-light .floating-chip,
.theme-light .kicker,
.theme-light .footer-box{
  background:rgba(255,255,255,.72);
}

.theme-light .burger span{background:#17213d}

.theme-light .nav-links.active{
  background:rgba(255,255,255,.94);
}

.theme-light .hero-card,
.theme-light .card,
.theme-light .premium-panel,
.theme-light .step,
.theme-light .cta,
.theme-light .lang-dropdown-summary,
.theme-light .lang-dropdown-menu,
.theme-light .theme-toggle{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.74));
  box-shadow:0 20px 60px rgba(15,24,48,.10);
}

.theme-light .cta{
  background:linear-gradient(135deg,rgba(129,145,255,.18),rgba(85,214,255,.16),rgba(255,105,200,.12));
}

.theme-light .hero-card::before{
  opacity:.55;
}

.theme-light .lang-dropdown-summary:hover,
.theme-light .theme-toggle:hover{
  border-color:rgba(14,24,48,.18);
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,252,255,.86));
}

.theme-light .lang-dropdown-item.is-disabled{
  color:#7a849f;
}

.theme-light .section-copy,
.theme-light .card p,
.theme-light .step p,
.theme-light .hero p,
.theme-light footer,
.theme-light .video-gallery-copy,
.theme-light .article-content{
  color:var(--muted);
}

.theme-light .gradient-text{
  background:linear-gradient(135deg,#0f1830 0%,#4d71ff 45%,#4cb9ea 75%,#0f1830 100%);
  -webkit-background-clip:text;
  background-clip:text;
}

.theme-light .menu-overlay{
  background:rgba(238,243,255,.45);
}

@media (max-width:760px){
  .theme-toggle{
    width:52px;
    height:52px;
    border-radius:16px;
  }
}


/* stronger visibility for theme toggle in light mode + dark by default */
.theme-light .theme-toggle{
  border:1px solid rgba(15,24,48,.18);
  background:linear-gradient(180deg,#ffffff,#eef3ff);
  color:#1a2747;
  box-shadow:0 12px 34px rgba(15,24,48,.14), inset 0 0 0 1px rgba(255,255,255,.7);
}

.theme-light .theme-toggle:hover{
  border-color:rgba(15,24,48,.28);
  background:linear-gradient(180deg,#ffffff,#e8efff);
  box-shadow:0 16px 40px rgba(15,24,48,.16), inset 0 0 0 1px rgba(255,255,255,.84);
}

.theme-light .theme-toggle-sun,
.theme-light .theme-toggle-moon{
  color:#1a2747;
}


/* refined premium light theme */
.theme-light{
  --bg:#f3f6ff;
  --bg2:#ffffff;
  --text:#10182f;
  --muted:#667392;
  --line:rgba(16,24,47,.10);
  --glass:rgba(255,255,255,.72);
  --shadow:0 24px 70px rgba(18,30,58,.10);
}

.theme-light body{
  background:
    radial-gradient(900px 620px at 8% 6%,rgba(120,135,255,.14),transparent 58%),
    radial-gradient(760px 560px at 92% 10%,rgba(76,185,234,.13),transparent 54%),
    radial-gradient(760px 560px at 78% 78%,rgba(255,105,200,.08),transparent 52%),
    linear-gradient(180deg,#fbfdff 0%,#f1f5ff 34%,#f8fbff 100%);
}

.theme-light .noise{
  opacity:.018;
}

.theme-light .cursor-glow{
  opacity:.7;
  background:radial-gradient(460px circle at var(--mx,50%) var(--my,40%),rgba(77,113,255,.11),transparent 45%);
}

.theme-light .orb-1{background:radial-gradient(circle,rgba(126,115,255,.18),transparent 60%)}
.theme-light .orb-2{background:radial-gradient(circle,rgba(76,185,234,.16),transparent 60%)}
.theme-light .orb-3{background:radial-gradient(circle,rgba(255,105,200,.10),transparent 60%)}

.theme-light .nav{
  background:rgba(255,255,255,.78);
  border-color:rgba(16,24,47,.08);
  backdrop-filter:blur(20px);
  box-shadow:0 16px 42px rgba(18,30,58,.08);
}

.theme-light .brand,
.theme-light .nav-links a,
.theme-light .section-title,
.theme-light .card h3,
.theme-light .step h3,
.theme-light .premium-panel h3,
.theme-light .quote-card,
.theme-light .hero-quote,
.theme-light .article-title,
.theme-light strong{
  color:var(--text);
}

.theme-light .nav-links a{
  color:#576583;
}

.theme-light .nav-links a:hover{
  color:var(--text);
  background:rgba(16,24,47,.055);
}

.theme-light .kicker{
  color:#4d5d83;
  background:rgba(255,255,255,.72);
  border-color:rgba(16,24,47,.09);
  box-shadow:0 8px 24px rgba(18,30,58,.05);
}

.theme-light .hero p,
.theme-light .section-copy,
.theme-light .card p,
.theme-light .step p,
.theme-light .article-content,
.theme-light .article-meta,
.theme-light footer,
.theme-light .video-gallery-copy,
.theme-light .lang-dropdown-item.is-disabled,
.theme-light .stat span,
.theme-light .floating-chip span{
  color:var(--muted);
}

.theme-light .gradient-text{
  background:linear-gradient(135deg,#111a32 0%,#3f63ff 42%,#34b7ea 76%,#111a32 100%);
  -webkit-background-clip:text;
  background-clip:text;
}

.theme-light .btn-primary{
  color:#fff;
  background:linear-gradient(135deg,#4f70ff,#44c2ef);
  box-shadow:0 16px 34px rgba(79,112,255,.22);
}

.theme-light .btn-primary:hover{
  box-shadow:0 20px 40px rgba(79,112,255,.26);
}

.theme-light .btn-ghost,
.theme-light .social-link{
  background:rgba(255,255,255,.78);
  border-color:rgba(16,24,47,.10);
  color:var(--text);
  box-shadow:0 10px 24px rgba(18,30,58,.05);
}

.theme-light .btn-ghost:hover,
.theme-light .social-link:hover{
  background:rgba(255,255,255,.96);
  border-color:rgba(16,24,47,.14);
}

.theme-light .hero-card,
.theme-light .card,
.theme-light .premium-panel,
.theme-light .step,
.theme-light .cta,
.theme-light .footer-box,
.theme-light .article-hero,
.theme-light .article-body,
.theme-light .article-more-block,
.theme-light .lang-dropdown-summary,
.theme-light .lang-dropdown-menu{
  border-color:rgba(16,24,47,.09);
  background:linear-gradient(180deg,rgba(255,255,255,.90),rgba(250,252,255,.76));
  box-shadow:0 20px 60px rgba(18,30,58,.09);
}

.theme-light .hero-card::before{
  opacity:.42;
  filter:blur(72px);
}

.theme-light .floating-chip,
.theme-light .stat{
  background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(246,249,255,.78));
  border-color:rgba(16,24,47,.08);
  box-shadow:0 10px 26px rgba(18,30,58,.05);
}

.theme-light .card::after,
.theme-light .premium-panel::after,
.theme-light .step::after{
  background:radial-gradient(circle,rgba(79,112,255,.10),transparent 68%);
  filter:blur(24px);
}

.theme-light .cta{
  background:linear-gradient(135deg,rgba(92,115,255,.16),rgba(76,185,234,.14),rgba(255,105,200,.08));
}

.theme-light .step-num{
  color:#fff;
  box-shadow:0 10px 22px rgba(79,112,255,.22);
}

.theme-light .video-gallery-stage-wrap,
.theme-light .video-thumb{
  border-color:rgba(16,24,47,.10);
  box-shadow:0 14px 34px rgba(18,30,58,.08);
}

.theme-light .video-thumb{
  background:linear-gradient(180deg,rgba(255,255,255,.90),rgba(247,250,255,.80));
}

.theme-light .video-thumb.is-active{
  border-color:rgba(79,112,255,.30);
  box-shadow:0 18px 38px rgba(79,112,255,.15);
}

.theme-light .video-gallery-nav{
  background:rgba(255,255,255,.82);
  border-color:rgba(16,24,47,.10);
  color:var(--text);
}

.theme-light .lang-dropdown-summary{
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(246,249,255,.84));
}

.theme-light .lang-dropdown-summary:hover{
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,255,.90));
}

.theme-light .lang-dropdown-item:hover,
.theme-light .lang-dropdown-item.is-active{
  background:rgba(79,112,255,.08);
  color:var(--text);
}

.theme-light .menu-overlay{
  background:rgba(241,245,255,.50);
}

.theme-light .article-content h2,
.theme-light .article-content h3,
.theme-light .article-content h4{
  color:var(--text);
}

.theme-light .article-inline-image,
.theme-light .article-card-media img,
.theme-light .about-feature-photo-wrap,
.theme-light .about-feature-video,
.theme-light .video-gallery-stage{
  box-shadow:0 16px 36px rgba(18,30,58,.10);
}

.theme-light footer{
  color:#6b7693;
}

.theme-light .footer-box{
  background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(247,250,255,.78));
}

.theme-light .burger{
  background:rgba(255,255,255,.82);
  border-color:rgba(16,24,47,.10);
  box-shadow:0 10px 24px rgba(18,30,58,.06);
}

.theme-light .burger span{
  background:#16203c;
}

@media (max-width:760px){
  .theme-light .nav-links.active{
    background:rgba(255,255,255,.94);
    border-color:rgba(16,24,47,.10);
    box-shadow:0 24px 48px rgba(18,30,58,.10);
  }

  .theme-light .nav-links a{
    background:rgba(16,24,47,.035);
  }
}


/* slightly smaller main h1 */
.hero h1{
  font-size:clamp(44px,7.2vw,94px);
}

@media (max-width:760px){
  .hero h1{
    font-size:42px;
  }
}


/* safer multilingual section headings: copy always below title */
.section-head,
.about-head-refined{
  display:block;
  align-items:initial;
}

.section-head .section-title,
.about-head-refined .section-title{
  display:block;
  max-width:980px;
  margin-bottom:18px;
}

.section-head .section-copy,
.about-head-refined .section-copy{
  display:block;
  max-width:920px;
  margin-top:0;
}

@media (min-width:761px){
  .section-head,
  .about-head-refined{
    margin-bottom:30px;
  }
}


/* global hard fix for multilingual section header overflows */
#about .section-head,
#about .section-head.about-head-refined,
#courses .section-head,
#portfolio .section-head,
#blog .section-head,
#cta .section-head,
.article-more-head,
.article-hero,
.articles-grid + .section-head,
.section .section-head{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  align-items:start !important;
  justify-content:stretch !important;
  gap:16px !important;
}

#about .section-head > .section-title,
#about .section-head.about-head-refined > .section-title,
#courses .section-head > .section-title,
#portfolio .section-head > .section-title,
#blog .section-head > .section-title,
#cta .section-head > .section-title,
.section .section-head > .section-title{
  display:block !important;
  width:100% !important;
  max-width:980px !important;
  margin:0 0 12px 0 !important;
}

#about .section-head > .section-copy,
#about .section-head.about-head-refined > .section-copy,
#courses .section-head > .section-copy,
#portfolio .section-head > .section-copy,
#blog .section-head > .section-copy,
#cta .section-head > .section-copy,
.section .section-head > .section-copy{
  display:block !important;
  width:100% !important;
  max-width:920px !important;
  margin:0 !important;
  padding:0 !important;
}

#about .section-head > *,
#about .section-head.about-head-refined > *,
#courses .section-head > *,
#portfolio .section-head > *,
#blog .section-head > *,
#cta .section-head > *,
.section .section-head > *{
  min-width:0 !important;
}

@media (max-width:760px){
  #about .section-head > .section-title,
  #about .section-head.about-head-refined > .section-title,
  #courses .section-head > .section-title,
  #portfolio .section-head > .section-title,
  #blog .section-head > .section-title,
  #cta .section-head > .section-title,
  .section .section-head > .section-title{
    max-width:100% !important;
    margin-bottom:10px !important;
  }

  #about .section-head > .section-copy,
  #about .section-head.about-head-refined > .section-copy,
  #courses .section-head > .section-copy,
  #portfolio .section-head > .section-copy,
  #blog .section-head > .section-copy,
  #cta .section-head > .section-copy,
  .section .section-head > .section-copy{
    max-width:100% !important;
  }
}
