/* AIIA public v44: compact hero frames + title scale + safer plane aspect + email sender tweak
   No admin. No installer. Journey pages are not touched. */

:root{
  --aiia-v44-hero-max-h:620px;
  --aiia-v44-hero-min-h:440px;
}

/* Desktop / tablet inner hero: less stretched, smaller white titles, buttons stay inside frame */
body:not(.aiia-journey-page) .inner-glb-hero{
  min-height:clamp(430px,42vw,560px) !important;
  max-height:none !important;
  height:auto !important;
  padding:clamp(30px,3.2vw,46px) clamp(22px,3.8vw,54px) !important;
  gap:clamp(18px,2.6vw,34px) !important;
  align-items:center !important;
  overflow:hidden !important;
  grid-template-columns:minmax(0,.92fr) minmax(360px,1.08fr) !important;
}
body:not(.aiia-journey-page) .inner-glb-hero__copy,
body:not(.aiia-journey-page) .page-shell .inner-glb-hero__copy{
  transform:translateY(-4px) !important;
  max-width:680px !important;
  min-width:0 !important;
  z-index:4 !important;
}
body:not(.aiia-journey-page) .inner-glb-hero__copy small{
  font-size:clamp(10px,.78vw,12px) !important;
  letter-spacing:.22em !important;
  margin-bottom:12px !important;
}
body:not(.aiia-journey-page) .inner-glb-hero__copy h1,
body:not(.aiia-journey-page) .page-shell h1,
body:not(.aiia-journey-page) .aiia-v36-hero h1{
  font-size:clamp(34px,3.35vw,56px) !important;
  line-height:1.055 !important;
  letter-spacing:-.048em !important;
  font-weight:650 !important;
  margin:0 0 14px !important;
  max-width:680px !important;
}
body:not(.aiia-journey-page) .inner-glb-hero__copy p,
body:not(.aiia-journey-page) .page-shell .inner-glb-hero__copy p{
  font-size:clamp(14px,1.05vw,17px) !important;
  line-height:1.5 !important;
  margin:0 0 14px !important;
  max-width:640px !important;
}
body:not(.aiia-journey-page) .page-cta-row{
  margin-top:12px !important;
  gap:9px !important;
}
body:not(.aiia-journey-page) .page-cta-row .btn{
  padding:10px 15px !important;
  min-height:0 !important;
  font-size:13px !important;
  line-height:1.15 !important;
}

/* Keep 3D plane from looking stretched/deformed */
body:not(.aiia-journey-page) .inner-glb-hero__visual{
  width:100% !important;
  max-width:min(760px,46vw) !important;
  min-height:0 !important;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  align-self:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  transform:translateY(-8px) !important;
}
body:not(.aiia-journey-page) .inner-plane-canvas,
body:not(.aiia-journey-page) canvas.inner-plane-canvas{
  width:100% !important;
  height:auto !important;
  max-height:360px !important;
  aspect-ratio:16 / 9 !important;
  object-fit:contain !important;
  display:block !important;
  transform:none !important;
}
body:not(.aiia-journey-page) .inner-glb-hero__trail{
  inset:auto !important;
  width:100% !important;
  height:100% !important;
}

/* Home hero: compact enough that copy/buttons remain in glass card */
body.aiia-home-page .hero{
  min-height:min(650px, calc(100svh - 92px)) !important;
  padding-top:clamp(26px,3.4vh,48px) !important;
  padding-bottom:clamp(24px,3.2vh,46px) !important;
  margin-top:clamp(8px,1.4vh,18px) !important;
  overflow:hidden !important;
}
body.aiia-home-page .hero-copy{
  transform:translateY(-8px) !important;
  max-width:min(720px,50vw) !important;
}
body.aiia-home-page .hero-copy h1{
  font-size:clamp(38px,4.05vw,66px) !important;
  line-height:1.02 !important;
  letter-spacing:-.05em !important;
  margin-bottom:14px !important;
}
body.aiia-home-page .hero-copy > p{
  font-size:clamp(14px,1vw,17px) !important;
  line-height:1.48 !important;
  margin-bottom:14px !important;
}
body.aiia-home-page .hero-actions{
  margin-top:10px !important;
  margin-bottom:10px !important;
}
body.aiia-home-page .hero-actions .btn,
body.aiia-home-page .hero .btn{
  padding:10px 15px !important;
  font-size:13px !important;
}
body.aiia-home-page .journey-bridge,
body.aiia-home-page .hero-badges{
  margin-top:10px !important;
}
@media(min-width:981px){
  body.aiia-home-page .hero .hero-art.aiia-plane-stage,
  body.aiia-home-page .hero .aiia-plane-stage{
    transform:translateY(-42px) !important;
    margin-top:-42px !important;
    max-height:520px !important;
  }
  body.aiia-home-page .hero .home-plane-stage{
    inset:-42px 0 0 0 !important;
  }
  body.aiia-home-page .hero .home-plane-canvas{
    top:-20px !important;
  }
}

/* General large section titles: slim, not billboard-sized */
.section-title h2,
.section-title.centered h2,
.proof h2,
.final-cta h2,
.team-plain-head h2,
.aiia-home-team-section .section-title h2,
.inner-page .section-title h2,
body:not(.aiia-journey-page) .page-panel h2,
body:not(.aiia-journey-page) .highlight-panel h2{
  font-size:clamp(25px,2.35vw,38px) !important;
  line-height:1.12 !important;
  font-weight:600 !important;
  letter-spacing:-.032em !important;
}
body:not(.aiia-journey-page) .section,
body:not(.aiia-journey-page) .section-spacer,
body:not(.aiia-journey-page) .page-block{
  margin-top:clamp(28px,4vw,58px) !important;
  margin-bottom:clamp(28px,4vw,58px) !important;
}

/* Request consultation / club standalone pages: content lower than sticky menu but not too far down */
body.aiia-v36-page .aiia-v36-main{
  padding-top:clamp(76px,7vw,96px) !important;
  padding-bottom:clamp(42px,5vw,72px) !important;
}
body.aiia-v36-page .aiia-v36-hero h1{
  font-size:clamp(32px,3.25vw,50px) !important;
  line-height:1.07 !important;
  letter-spacing:-.044em !important;
}

@media(max-width:980px){
  body:not(.aiia-journey-page) .inner-glb-hero{
    grid-template-columns:1fr !important;
    min-height:auto !important;
    padding:28px 18px 30px !important;
    gap:16px !important;
  }
  body:not(.aiia-journey-page) .inner-glb-hero__visual{
    max-width:100% !important;
    aspect-ratio:16 / 8.8 !important;
    transform:translateY(-6px) !important;
    order:1 !important;
  }
  body:not(.aiia-journey-page) .inner-glb-hero__copy{
    order:2 !important;
    transform:none !important;
    text-align:center !important;
    margin-inline:auto !important;
  }
  body:not(.aiia-journey-page) .inner-glb-hero__copy h1,
  body:not(.aiia-journey-page) .page-shell h1{
    font-size:clamp(29px,8.3vw,40px) !important;
    line-height:1.08 !important;
  }
  body:not(.aiia-journey-page) .page-cta-row{justify-content:center !important;}
}
@media(max-width:760px){
  body.aiia-home-page .hero{
    min-height:auto !important;
    padding:82px 18px 28px !important;
  }
  body.aiia-home-page .hero-copy{
    transform:translateY(-4px) !important;
    max-width:100% !important;
  }
  body.aiia-home-page .hero-copy h1{
    font-size:clamp(29px,8.4vw,40px) !important;
    line-height:1.07 !important;
  }
  body:not(.aiia-journey-page) .inner-plane-canvas,
  body:not(.aiia-journey-page) canvas.inner-plane-canvas{
    max-height:230px !important;
  }
}
