/* v17 responsive/mobile polish */
html,body{max-width:100%;overflow-x:hidden}
img,svg,canvas{max-width:100%}
.menu-btn{position:relative;z-index:1002}

@media (max-width:900px){
  body{cursor:auto}
  .cursor-dot,.cursor-ring,.cursor-trail{display:none!important}
  .site-header{width:calc(100% - 24px);top:12px;padding:10px 12px;border-radius:20px;gap:8px;min-height:68px}
  .site-header .brand img{width:42px;height:42px}
  .site-header .brand b{font-size:15px}.site-header .brand small{font-size:8px}
  .site-header nav{position:fixed;top:0;right:0;width:min(86vw,360px);height:100dvh;padding:105px 22px 30px;display:flex!important;flex-direction:column;align-items:stretch;gap:8px;background:linear-gradient(160deg,rgba(7,24,43,.98),rgba(4,13,25,.97));backdrop-filter:blur(24px) saturate(1.2);border-left:1px solid rgba(137,221,255,.16);box-shadow:-30px 0 90px rgba(0,0,0,.5);transform:translateX(105%);opacity:0;visibility:hidden;transition:.45s cubic-bezier(.16,1,.3,1);z-index:1001}
  .site-header nav.open{transform:none;opacity:1;visibility:visible}
  .site-header nav a,.site-header nav button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:48px;padding:0 16px;border-radius:14px;color:#eaf8ff;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.055);font-size:14px}
  .site-header nav a:active,.site-header nav button:active{background:rgba(104,224,255,.11)}
  .header-actions{gap:7px}.header-actions .pill{display:none}.lang{min-width:42px;height:40px;padding:0 9px}.menu-btn{display:grid!important;place-items:center;width:42px;height:40px;border-radius:13px;font-size:0}.menu-btn:before{content:'☰';font-size:20px}.menu-btn.active:before{content:'×';font-size:28px}
  body.menu-open:after{content:'';position:fixed;inset:0;background:rgba(0,7,15,.58);backdrop-filter:blur(4px);z-index:999}

  .hero{min-height:auto!important;padding:112px 18px 56px!important;display:flex!important;flex-direction:column;gap:46px;text-align:center}
  .hero-copy{width:100%;max-width:680px;margin:auto}.hero-copy .eyebrow{font-size:11px;line-height:1.8}
  .display-script{font-size:clamp(43px,14vw,68px)!important;line-height:1.52!important;margin:20px 0 14px!important;padding-inline:10px!important;padding-bottom:.45em!important}
  .display-script em{margin-top:.38em!important;padding-inline:.12em!important}
  .hero-copy>p{font-size:13px;line-height:2.05;margin-inline:auto}
  .actions{justify-content:center;flex-wrap:wrap}.actions .pill{min-width:145px}
  .metrics{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:30px}.metrics>div{padding:13px 5px}.metrics strong{font-size:22px}.metrics span{font-size:9px}
  .hero-art{width:100%;min-height:auto!important;display:block}
  .planet{width:100%!important;height:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:22px 0 0;transform:none!important}
  .planet .orbit{display:none!important}.logo-core{position:relative!important;inset:auto!important;transform:none!important;grid-column:1/-1;margin:0 auto 14px;width:150px!important;height:150px!important}
  .planet button{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;min-height:54px!important;padding:10px 8px!important;font-size:11px!important;border-radius:16px!important;opacity:1!important;filter:none!important;animation:none!important}
  .planet button:hover{transform:translateY(-2px)!important}.global-orbit-tip,.orbit-tip{display:none!important}.scroll-hint{display:none}

  .access{width:calc(100% - 28px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:6px!important}.access a{min-height:126px;padding:17px 10px!important}.access i{font-size:23px}.access b{font-size:13px}.access small{font-size:9px}
  .section{padding:74px 18px!important}.section-title h2,.about-copy h2,.contact-card h2,.page-hero h1{font-size:clamp(31px,9vw,48px)!important;line-height:1.45!important}.section-title p,.about-copy p,.contact-card p,.page-hero p{font-size:13px;line-height:2}
  .product-teaser,.about{grid-template-columns:1fr!important;gap:44px!important}.stack-cards{min-height:auto!important;display:grid;gap:12px}.tilt-card{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;min-height:160px!important}.tilt-card:hover{transform:translateY(-5px)!important}
  .horizontal-section{padding:78px 0 90px!important}.horizontal-track{width:calc(100% - 28px)!important;grid-template-columns:1fr!important;gap:16px!important}.story{height:auto!important;min-height:260px!important;padding:28px!important}.story h2,.story h3{font-size:27px!important}.story p{font-size:12px;line-height:2}
  .about-visual{min-height:300px!important}.year-ring{width:220px!important;height:220px!important}.timeline{grid-template-columns:1fr!important;gap:10px}.about-points{grid-template-columns:1fr!important}
  .contact-card{grid-template-columns:1fr!important;padding:28px 20px!important;gap:26px!important}.contact-orb{width:150px!important;height:150px!important;margin:auto}.contact-lines{word-break:break-word}.contact-address{line-height:2}

  footer{padding:55px 18px 22px!important}.footer-grid{grid-template-columns:1fr!important;gap:28px!important;text-align:center}.footer-grid>div{align-items:center}.footer-brand{justify-content:center}.enamad-box{margin:auto}.copyright{display:flex;flex-direction:column;gap:8px;text-align:center;line-height:1.9}
  .service-panel aside{width:calc(100% - 24px)!important;max-height:88dvh;padding:27px 18px!important;border-radius:26px!important;overflow:auto}.service-links{grid-template-columns:1fr!important}.service-links a{min-height:92px}

  .page-hero{padding:132px 18px 55px!important;min-height:auto!important}.page-hero p{max-width:100%!important}
  .mandegar-map{padding:15px 14px 70px!important;margin-bottom:20px!important}.mandegar-stage{min-height:auto!important;padding:28px 14px!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:hidden!important}.mandegar-stage:before,.module-line{display:none!important}.mandegar-center{position:relative!important;left:auto!important;top:auto!important;transform:none!important;grid-column:1/-1;margin:4px auto 18px!important;width:160px!important;height:160px!important}.module-node{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;min-height:58px!important;margin:0!important;opacity:1!important;filter:none!important;border-radius:16px!important}.module-node:hover,.module-node.active{transform:translateY(-2px)!important}.module-preview{position:relative!important;inset:auto!important;grid-column:1/-1;margin-top:10px!important;min-height:145px!important;padding:20px!important}.family-grid{grid-template-columns:1fr!important}.family-card{min-height:320px!important;padding:27px!important}.family-card h3{font-size:24px!important}.family-card a{right:27px!important;bottom:24px!important}
  .download-grid{grid-template-columns:1fr!important}.download-card{min-height:auto!important;padding:22px!important}.search{width:100%!important}.downloads-hero{padding-inline:18px!important}.notice{margin-inline:14px!important}
}

@media (max-width:520px){
  .site-header{width:calc(100% - 16px);padding:8px 9px}.site-header .brand small{display:none}.site-header .brand img{width:38px;height:38px}.site-header .brand b{font-size:14px}
  .hero{padding-inline:13px!important}.display-script{font-size:clamp(40px,13vw,56px)!important}.hero-copy>p{font-size:12px}.metrics{grid-template-columns:1fr 1fr}.metrics>div:last-child{grid-column:1/-1}.planet{gap:8px}.planet button{font-size:10px!important;min-height:52px!important}.logo-core{width:136px!important;height:136px!important}
  .access{grid-template-columns:1fr!important}.access a{min-height:104px}
  .section{padding-inline:14px!important}.story{min-height:230px!important;padding:23px!important}.mandegar-stage{grid-template-columns:1fr!important}.mandegar-center,.module-preview{grid-column:auto}.module-node{font-size:11px}.family-card{padding:23px!important}.contact-card{padding:24px 16px!important}.service-panel aside h2{font-size:28px}
}

@media (orientation:landscape) and (max-height:520px) and (max-width:950px){
  .site-header nav{padding-top:78px}.hero{padding-top:95px!important}.intro-stage{transform:scale(.78)!important}
}
