.mobile-menu{display:none}
@media(min-width:801px){
  .site-header .navline{flex-wrap:wrap;height:auto;min-height:58px;overflow:visible;padding-top:7px;padding-bottom:7px;align-content:center}
  .site-header .navline>.rayons,.site-header .navline>a{flex:0 0 auto;white-space:nowrap}
  .site-header .navline>.nav-last{margin-left:auto}
}
@media(max-width:800px){
  .site-header .header-main{position:relative}
  .mobile-menu{display:block;position:relative;order:-1;flex:0 0 auto;color:#fff}
  .mobile-menu>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:46px;padding:8px;border:1px solid #dce8d780;border-radius:10px;background:#ffffff12;color:inherit;cursor:pointer;list-style:none}
  .mobile-menu>summary::-webkit-details-marker{display:none}
  .mobile-menu>summary span{display:block;width:19px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s,opacity .2s}
  .mobile-menu[open]>summary span:first-child{transform:translateY(7px) rotate(45deg)}
  .mobile-menu[open]>summary span:nth-child(2){opacity:0}
  .mobile-menu[open]>summary span:last-child{transform:translateY(-7px) rotate(-45deg)}
  .mobile-menu>nav{position:absolute;top:calc(100% + 12px);left:0;z-index:50;display:grid;width:min(340px,calc(100vw - 36px));max-height:min(70vh,560px);overflow:auto;padding:9px;border:1px solid #bacbad;border-radius:14px;background:#fff;color:#173e2e;box-shadow:0 18px 42px #0d2e3029}
  .mobile-menu>nav a{display:flex;align-items:center;min-height:48px;padding:11px 13px;border-radius:8px;color:inherit;font-size:15px;font-weight:600;text-decoration:none}
  .mobile-menu>nav a:hover,.mobile-menu>nav a:focus-visible{background:#eef3e8}
}
@media(max-width:520px){.mobile-menu>summary{width:40px;height:44px}.mobile-menu>nav{width:min(340px,calc(100vw - 24px))}}
@media(prefers-reduced-motion:reduce){.mobile-menu>summary span{transition:none}}

@media (max-width: 520px) {
  .topline { display: none; }
  .site-header .header-main {
    display: grid;
    grid-template-columns: 44px auto minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
  }
  .site-header .mobile-menu,
  .site-header .searchbar,
  .site-header .header-main .header-actions { order: 0; }
  .site-header .wordmark { margin: 0; gap: 2px; font-size: 24px; }
  .site-header .wordmark .brand-market { display: none; }
  .site-header .mobile-menu > summary { width: 44px; }
  .site-header .mobile-menu > nav { top: calc(100% + 8px); }
  .site-header .header-main .header-actions { display: block; }
  .site-header .header-actions a:first-child,
  .site-header .header-actions a:last-child span,
  .site-header .search-submit-label,
  .site-header .navline { display: none; }
  .site-header .header-actions a:last-child { width: 44px; min-height: 44px; padding: 9px; }
  .site-header .searchbar { min-width: 0; height: 46px; border-width: 1px; }
  .site-header .searchbar input { min-width: 0; padding: 0 6px 0 9px; }
  .site-header .searchbar input::placeholder { font-size: 13px; }
  .site-header .searchbar button { min-width: 44px; width: 44px; height: 44px; padding: 0; }
  .intro-line .pilot { font-size: 12px; }
  .hero-grid { margin-top: 10px; }
  .hero-main { min-height: 330px; }
  .hero-copy { padding: 22px 18px 76px; }
  .eyebrow,
  .hero-gallery-controls [data-story-play],
  .hero-gallery-controls [data-story-status] { font-size: 12px; }
  .hero-copy h1 { font-size: 30px; line-height: 1.12; }
  .hero-copy p { margin: 12px 0 16px; }
  .hero-gallery-controls button { min-height: 44px; }
}
