/* ASTRIA 031 — SINGLE AUTHORITATIVE PHONE-LANDSCAPE LAYOUT
   Visual reference: ASTRIA 025 homepage phone landscape.
   Scope: landscape phones only. Portrait phones, iPad/tablet, desktop are untouched. */
@media screen and (orientation:landscape) and (min-width:700px) and (max-width:1100px) and (max-height:560px){
  html,body{
    overflow-x:hidden!important;
    max-width:100%!important;
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
  }

  /* ===== 025 HOME REFERENCE: HEADER ===== */
  .site-header{
    height:58px!important;min-height:58px!important;
    padding:0 max(22px,env(safe-area-inset-right)) 0 max(22px,env(safe-area-inset-left))!important;
    display:flex!important;align-items:center!important;gap:18px!important;
  }
  .brand{font-size:20px!important;letter-spacing:.22em!important;line-height:1!important;flex:0 0 auto!important;}
  .menu-toggle{display:none!important;}
  .nav,.nav[hidden],.site-header.menu-open .nav:not([hidden]){
    position:static!important;display:flex!important;flex:1 1 auto!important;
    justify-content:flex-end!important;align-items:center!important;gap:10px!important;
    padding:0!important;margin:0!important;border:0!important;background:transparent!important;overflow:visible!important;
  }
  .nav a{
    display:flex!important;align-items:center!important;width:auto!important;min-height:34px!important;
    padding:0!important;border:0!important;white-space:nowrap!important;
    font-size:9.5px!important;line-height:1!important;letter-spacing:.055em!important;
  }

  /* ===== 025 HOME REFERENCE: CANVAS ===== */
  .page-wrap,.home-stage,.cap-final,.thankyou-main{
    width:100%!important;max-width:none!important;margin:0!important;
    padding:22px 6.4vw 0!important;box-sizing:border-box!important;
  }
  .eyebrow{
    font-size:10.5px!important;line-height:1.2!important;letter-spacing:.17em!important;
    margin:0 0 8px!important;
  }

  /* ===== 025 HOME — LOCKED EXACTLY ===== */
  body.home-029 .home-hero{
    display:grid!important;grid-template-columns:minmax(0,40%) minmax(0,60%)!important;
    gap:28px!important;align-items:center!important;margin:0!important;padding:0!important;
  }
  body.home-029 .home-title{display:none!important;}
  body.home-029 .home-subtitle{
    font-size:25px!important;line-height:1.08!important;font-weight:400!important;
    margin:0 0 12px!important;white-space:normal!important;
  }
  body.home-029 .home-subtitle::before{
    content:'ASTRIA';display:block!important;font-size:10.5px!important;line-height:1.2!important;
    letter-spacing:.18em!important;margin:0 0 8px!important;color:var(--gold)!important;
  }
  body.home-029 .home-copy p{
    font-size:13.5px!important;line-height:1.46!important;margin:0!important;max-width:460px!important;
  }
  body.home-029 .home-visual img{
    width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;display:block!important;
  }
  body.home-029 .home-cards{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0 22px!important;margin:22px 0 0!important;
  }
  body.home-029 .home-card{min-width:0!important;}
  body.home-029 .home-card img{width:44px!important;height:44px!important;object-fit:contain!important;}
  body.home-029 .home-card h2,body.home-029 .home-card h3{
    font-size:14px!important;line-height:1.2!important;margin:7px 0 6px!important;
  }
  body.home-029 .home-card p{
    font-size:12.5px!important;line-height:1.4!important;margin:0!important;
  }

  /* ===== ALL INNER HEROES — SAME 025 HOME SIZE SYSTEM ===== */
  .about-media,.global-hero,.ai-hero,.cap-hero{
    display:grid!important;grid-template-columns:minmax(0,40%) minmax(0,60%)!important;
    gap:28px!important;align-items:center!important;margin:0!important;padding:0!important;
  }
  .about-media>div,.global-copy,.ai-hero>div,.cap-hero-copy{
    min-width:0!important;width:100%!important;max-width:none!important;overflow:visible!important;
  }
  .about-media h1,.global-hero h1,.ai-hero h1,.cap-hero h1,
  body.page-aviation .ai-hero h1,body.page-space .ai-hero h1,body.page-ai .ai-hero h1,body.page-sports .ai-hero h1,
  .ai-main-title{
    font-size:25px!important;line-height:1.08!important;font-weight:400!important;letter-spacing:0!important;
    margin:0 0 12px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  }
  .about-media p,.global-hero p,.ai-hero p,.cap-hero p{
    font-size:13.5px!important;line-height:1.46!important;margin:0!important;max-width:460px!important;
  }
  .about-media p+p{margin-top:8px!important;}
  .about-media img,.global-hero img,.ai-hero img,.cap-visual img,
  body.page-ai .ai-hero img[style]{
    width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/9!important;
    object-fit:cover!important;object-position:center!important;margin:0!important;display:block!important;
    justify-self:stretch!important;align-self:center!important;
  }
  .ai-title-break{display:none!important;}

  /* ===== FOUR-COLUMN CONTENT — SAME 025 HOME CARD SIZE ===== */
  .about-cards,.global-cards,.ai-cards,.cap-services{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:0 22px!important;margin:22px 0 0!important;align-items:start!important;
  }
  .about-cards article,.global-cards article,.ai-cards article,.cap-service{
    padding:0!important;margin:0!important;border:0!important;background:transparent!important;
    min-height:0!important;min-width:0!important;
  }
  .about-cards img,.about-card-icon,.global-card-icon,.project-icon,.cap-icon img{
    width:44px!important;height:44px!important;object-fit:contain!important;margin:0 0 7px!important;
  }
  .about-cards h2,.about-cards h3,.global-cards h2,.global-cards h3,.ai-cards h3,.cap-service h3{
    font-size:14px!important;line-height:1.2!important;margin:0 0 6px!important;white-space:normal!important;
  }
  .about-cards p,.global-cards p,.ai-cards p,.cap-service p{
    font-size:12.5px!important;line-height:1.4!important;margin:0!important;max-width:none!important;
  }

  /* ===== ASK ASTRIA — SAME 025 HOME SCALE ON EVERY PAGE ===== */
  .home-ai{margin-top:22px!important;}
  .ask,.home-ai .ask,.global-ask,.capabilities-ask{
    display:grid!important;grid-template-columns:minmax(0,44%) minmax(0,56%)!important;
    gap:0 30px!important;align-items:start!important;width:100%!important;max-width:none!important;
    margin:22px 0 0!important;padding:0!important;
  }
  .page-capabilities .capabilities-ask{margin-left:0!important;margin-right:0!important;}
  .ask>div:first-child,.home-ai .ask>div:first-child,.global-ask>div:first-child,.capabilities-ask>div:first-child,
  .ask .questions,.home-ai .ask .questions,.global-ask .questions,.capabilities-ask .questions{
    min-width:0!important;width:100%!important;max-width:none!important;
  }
  .ask h1,.ask h2,.home-ai .ask h2,.global-ask h1,.capabilities-ask h1{
    font-size:29px!important;line-height:1.06!important;font-weight:400!important;margin:6px 0 12px!important;
  }
  .ask p,.home-ai .ask p,.global-ask p,.capabilities-ask p{
    font-size:14px!important;line-height:1.44!important;margin:0!important;max-width:none!important;
  }
  .ask .answer,.home-ai .ask .answer,.global-ask .answer,.capabilities-ask .answer{
    display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:10px 0 0!important;padding:0!important;border:0!important;background:transparent!important;
    font-size:13.8px!important;line-height:1.42!important;white-space:normal!important;overflow:visible!important;
  }
  .ask .questions,.home-ai .ask .questions,.global-ask .questions,.capabilities-ask .questions{
    display:grid!important;grid-template-columns:1fr!important;grid-template-rows:none!important;
    gap:6px!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;
  }
  .ask .questions button,.home-ai .ask .questions button,.global-ask .questions button,.capabilities-ask .questions button{
    display:block!important;width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:4px 0!important;border:0!important;outline:0!important;box-shadow:none!important;
    background:transparent!important;color:var(--gold)!important;text-align:left!important;
    font-size:14px!important;line-height:1.34!important;white-space:normal!important;overflow:visible!important;
  }

  /* ===== CONTACT — DESIGNED FOR PHONE LANDSCAPE, SAME VISUAL DENSITY ===== */
  body.page-contact main.page-wrap{
    width:100%!important;max-width:none!important;margin:0!important;padding:18px 6.4vw 0!important;
  }
  body.page-contact .eyebrow{
    font-size:10.5px!important;line-height:1.15!important;letter-spacing:.17em!important;margin:0 0 7px!important;
  }
  body.page-contact .contact-grid{
    display:block!important;width:100%!important;max-width:none!important;margin:0!important;text-align:left!important;
  }
  body.page-contact .contact-grid>div:first-child{width:100%!important;max-width:none!important;margin:0!important;}
  body.page-contact .contact-grid h1,body.page-contact .contact-grid h1[style]{
    font-size:23px!important;line-height:1.08!important;font-weight:400!important;letter-spacing:0!important;
    margin:0 0 9px!important;white-space:nowrap!important;text-align:left!important;
  }
  body.page-contact .contact-intro-final,body.page-contact .contact-grid>div:first-child>p{
    width:100%!important;max-width:none!important;margin:0 0 12px!important;padding:0!important;
    font-size:12.8px!important;line-height:1.36!important;letter-spacing:0!important;
    white-space:normal!important;text-align:left!important;
  }
  body.page-contact .contact-form{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px 12px!important;
    width:100%!important;max-width:none!important;margin:0!important;text-align:left!important;
  }
  body.page-contact .contact-form input,body.page-contact .contact-form textarea{
    width:100%!important;box-sizing:border-box!important;min-height:38px!important;
    padding:8px 11px!important;font-size:12px!important;line-height:1.2!important;
  }
  body.page-contact .contact-form textarea{
    min-height:68px!important;grid-column:1/-1!important;resize:none!important;
  }
  body.page-contact .contact-form button{
    grid-column:1/-1!important;justify-self:start!important;min-width:142px!important;min-height:34px!important;
    margin:2px 0 0!important;padding:8px 16px!important;font-size:11.5px!important;letter-spacing:.08em!important;
  }

  /* ===== THANK YOU ===== */
  .thankyou-main h1{font-size:25px!important;line-height:1.08!important;margin:0 0 12px!important;}
  .thankyou-main p{font-size:13.5px!important;line-height:1.46!important;}

  /* ===== FOOTER — ONE GEOMETRY, ONE LINE, EVERY PAGE ===== */
  body .footer,body .home-unified-footer,body.page-contact .footer{
    position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
    box-sizing:border-box!important;width:calc(100% - 12.8vw)!important;max-width:none!important;
    margin:22px 6.4vw 0!important;padding:9px 0 7px!important;
    border-top:1px solid rgba(176,154,122,.62)!important;
    text-align:center!important;white-space:nowrap!important;overflow:visible!important;
    min-height:31px!important;font-size:inherit!important;line-height:1!important;
  }
  body.page-contact .footer{margin-top:14px!important;}
  body .footer .astria-footer-global,body .home-unified-footer .astria-footer-global,body.page-contact .footer .astria-footer-global{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;
    width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;
    white-space:nowrap!important;text-align:center!important;
    font-size:clamp(9.8px,1.17vw,11.3px)!important;line-height:1!important;letter-spacing:.005em!important;
  }
  body .footer .footer-line-1,body .footer .footer-line-2,body .footer .footer-mid-dot,
  body .home-unified-footer .footer-line-1,body .home-unified-footer .footer-line-2,body .home-unified-footer .footer-mid-dot,
  body.page-contact .footer .footer-line-1,body.page-contact .footer .footer-line-2,body.page-contact .footer .footer-mid-dot{
    display:inline!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;
    white-space:nowrap!important;font-size:inherit!important;line-height:1!important;letter-spacing:inherit!important;
  }
  body .footer .footer-mid-dot,body .home-unified-footer .footer-mid-dot,body.page-contact .footer .footer-mid-dot{padding:0 .55em!important;}

  /* Ask Astria floating launcher lives above footer and never alters footer geometry. */
  .astria-ai-launcher{
    position:absolute!important;right:0!important;bottom:calc(100% + 9px)!important;
    width:auto!important;min-width:138px!important;height:42px!important;padding:0 18px!important;
    font-size:11.5px!important;letter-spacing:.14em!important;
  }
}
