/* V2.3 native mobile navigation and cache-resistant hero repair. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.hero-line {
  display: block;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.acb-native-menu {
  display: none;
}

@media (max-width: 920px) {
  header.nav {
    z-index: 1000;
    padding-top: env(safe-area-inset-top);
    background: rgba(17, 23, 22, .97);
  }

  header.nav .nav-row {
    min-height: 72px;
    gap: 12px;
  }

  header.nav .brand-logo {
    width: min(164px, calc(100vw - 92px));
    height: 50px;
    min-width: 0;
  }

  header.nav .nav-links,
  header.nav .nav-fit {
    display: none;
  }

  .acb-native-menu {
    display: block;
    margin-left: auto;
  }

  .acb-native-menu > summary {
    -webkit-appearance: none;
    appearance: none;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid #5c9fa1;
    border-radius: 0;
    background: #06383d;
    color: #ddeae7;
    cursor: pointer;
  }

  .acb-native-menu > summary::-webkit-details-marker {
    display: none;
  }

  .acb-native-menu > summary::marker {
    content: "";
  }

  .acb-native-menu > summary svg {
    display: block;
    width: 25px;
    height: 25px;
    overflow: visible;
    stroke: #ddeae7;
  }

  .acb-native-menu > summary:focus-visible {
    outline: 3px solid #ddeae7;
    outline-offset: 3px;
  }

  .acb-native-menu-panel {
    position: fixed;
    z-index: 1001;
    top: calc(72px + env(safe-area-inset-top));
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #111716;
    border-top: 1px solid rgba(221, 234, 231, .2);
  }

  .acb-native-menu-inner {
    display: grid;
    padding-top: 24px;
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }

  .acb-native-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 54px;
    border-bottom: 1px solid rgba(221, 234, 231, .16);
    color: #fff;
    font: 600 19px/1.3 "IBM Plex Sans", Arial, sans-serif;
  }

  .acb-native-menu-panel .mobile-sub {
    padding-left: 22px;
    color: #b8ceca;
    font-size: 16px;
  }

  .acb-native-menu-panel .mobile-stage-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(221, 234, 231, .16);
  }

  .acb-native-menu-panel .mobile-stage-links a {
    justify-content: center;
    min-height: 50px;
    border: 0;
    border-right: 1px solid rgba(221, 234, 231, .16);
    color: #b8ceca;
    font-size: 15px;
  }

  .acb-native-menu-panel .mobile-stage-links a:last-child {
    border-right: 0;
  }

  .acb-native-menu-panel .btn {
    justify-content: center;
    margin-top: 28px;
    border-bottom: 0;
    font: 600 11px/1 "IBM Plex Mono", monospace;
  }

  body.admin-bar .acb-native-menu-panel {
    top: calc(104px + env(safe-area-inset-top));
  }

  .hero {
    min-height: 100svh;
  }

  .hero .hero-grid {
    display: block;
    min-height: calc(100svh - 54px);
    padding-top: calc(112px + env(safe-area-inset-top));
  }

  .hero .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 34px 0 88px;
  }

  .hero .hero-copy h1 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(34px, 10.5vw, 54px);
    line-height: 1;
    letter-spacing: -.04em;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: wrap;
  }

  .hero .hero-copy h1 em,
  .hero .hero-copy h1 em span {
    display: block;
    max-width: 100%;
    line-height: 1.02;
  }

  .hero .hero-copy h1 em {
    margin-top: .08em;
  }
}

@media (max-width: 782px) {
  body.admin-bar .acb-native-menu-panel {
    top: calc(118px + env(safe-area-inset-top));
  }
}

@media (max-width: 620px) {
  header.nav .nav-row {
    min-height: 68px;
  }

  header.nav .brand-logo {
    width: min(146px, calc(100vw - 84px));
    height: 46px;
  }

  .acb-native-menu > summary {
    width: 44px;
    height: 44px;
  }

  .acb-native-menu-panel {
    top: calc(68px + env(safe-area-inset-top));
  }

  body.admin-bar .acb-native-menu-panel {
    top: calc(114px + env(safe-area-inset-top));
  }

  .hero .hero-grid {
    padding-top: calc(100px + env(safe-area-inset-top));
  }

  .hero .hero-copy {
    padding-top: 30px;
  }
}
