/* Mobile nav + home polish — linen/ocean system */

@media (max-width: 768px) {
  .bn-nav {
    z-index: 80;
    height: calc(var(--bn-nav-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .bn-burger {
    border-radius: var(--bn-radius-sm);
    background: rgba(11, 31, 42, 0.06);
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    position: relative;
    z-index: 90;
  }

  .bn-burger[aria-expanded="true"] {
    background: rgba(123, 196, 178, 0.22);
  }

  .bn-drawer-backdrop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.42s var(--bn-ease), visibility 0.42s;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .bn-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .bn-drawer {
    width: min(88vw, 360px);
    padding-top: calc(4.75rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
    padding-left: 1.5rem;
    padding-right: calc(1.5rem + env(safe-area-inset-right, 0px));
    transition: transform 0.48s var(--bn-ease);
  }

  .bn-drawer__brand {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.45s var(--bn-ease), transform 0.45s var(--bn-ease);
  }

  .bn-drawer.is-open .bn-drawer__brand {
    opacity: 1;
    transform: none;
    transition-delay: 0.08s;
  }

  .bn-drawer a {
    opacity: 0;
    transform: translateX(28px);
    transition:
      opacity 0.48s var(--bn-ease),
      transform 0.48s var(--bn-ease),
      color 0.2s;
  }

  .bn-drawer.is-open a {
    opacity: 1;
    transform: none;
  }

  .bn-drawer.is-open a:nth-of-type(1) { transition-delay: 0.12s; }
  .bn-drawer.is-open a:nth-of-type(2) { transition-delay: 0.18s; }
  .bn-drawer.is-open a:nth-of-type(3) { transition-delay: 0.24s; }
  .bn-drawer.is-open a:nth-of-type(4) { transition-delay: 0.3s; }
  .bn-drawer.is-open a:nth-of-type(5) { transition-delay: 0.36s; }
  .bn-drawer.is-open a:nth-of-type(6) { transition-delay: 0.42s; }

  .bn-drawer a.is-on { color: var(--bn-mint); }

  .bn-drawer__cta {
    margin-top: 0.85rem;
    justify-content: center;
    border-radius: var(--bn-radius);
    background: var(--bn-mint);
    color: var(--bn-ink) !important;
    padding: 0 1.1rem;
    border-bottom: 0 !important;
  }

  .bn-drawer__meta {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s var(--bn-ease) 0.46s, transform 0.45s var(--bn-ease) 0.46s;
  }

  .bn-drawer.is-open .bn-drawer__meta {
    opacity: 0.75;
    transform: none;
  }

  body.is-nav-open {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
  }

  /* Image scale-on-reveal */
  .js [data-fade] img,
  .js [data-reveal] img {
    transform: scale(1.12);
    filter: saturate(0.9) brightness(0.97);
    transition: transform 1.25s var(--bn-ease), filter 1s ease;
  }

  .js [data-fade].is-in img,
  .js [data-reveal].is-in img {
    transform: scale(1);
    filter: none;
  }

  /* Hero text rise */
  .bn-hero__copy h1,
  .bn-hero__copy .bn-hero__lead,
  .bn-pagehero h1 {
    animation: bnRise 0.9s var(--bn-ease) both;
  }

  .bn-hero__copy .bn-hero__lead { animation-delay: 0.14s; }

  .bn-hero .bn-actions,
  .bn-pagehero .bn-actions {
    animation: bnRise 0.9s var(--bn-ease) 0.26s both;
  }

  .bn-btn {
    transition: transform 0.2s var(--bn-ease), box-shadow 0.2s, background 0.2s, color 0.2s;
  }

  .bn-btn:active { transform: scale(0.94); }

  .bn-hero .bn-btn,
  .bn-finale .bn-btn,
  .bn-actions--hero .bn-btn {
    width: 100%;
  }

  /* Dense home — fill voids */
  .bn-section { padding: 2.5rem 0; }
  .bn-section__head { margin-bottom: 1.25rem; max-width: none; }
  .bn-lead { font-size: 1rem; }
  .bn-more { margin-top: 1.35rem; }
  .bn-ribbon { padding: 0.85rem 0; }

  .bn-intro__media,
  .bn-bento__pic,
  .bn-filmstrip__pic,
  .bn-blogrow__pic,
  .bn-ba figure,
  .bn-split__media,
  .bn-card__pic,
  .bn-steps__pic,
  .bn-why__pic,
  .bn-mosaic__pic,
  .bn-team__pic,
  .bn-notes__pic,
  .bn-season__pic,
  .bn-areas__map,
  .bn-finale__bg,
  .bn-hero__media {
    min-height: 180px;
    background: linear-gradient(145deg, rgba(11, 31, 42, 0.1), rgba(123, 196, 178, 0.14));
    overflow: hidden;
  }

  .bn-intro__media { min-height: 240px; }
  .bn-bento__pic { min-height: 200px; }
  .bn-filmstrip__pic { min-height: 190px; }
  .bn-blogrow__pic { min-height: 180px; }
  .bn-ba figure { min-height: 230px; }
  .bn-card__pic { min-height: 200px; }
  .bn-split__media { min-height: 240px; }
  .bn-team__pic { min-height: 300px; }
  .bn-finale__bg { min-height: 100%; }

  .bn-intro__media img,
  .bn-bento__pic img,
  .bn-filmstrip__pic img,
  .bn-blogrow__pic img,
  .bn-card__pic img,
  .bn-split__media img,
  .bn-steps__pic img,
  .bn-why__pic img,
  .bn-mosaic__pic img,
  .bn-team__pic img,
  .bn-notes__pic img,
  .bn-season__pic img,
  .bn-ba figure img,
  .bn-areas__map img,
  .bn-finale__bg img,
  .bn-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .bn-voices blockquote {
    grid-template-columns: 72px 1fr;
    gap: 0.85rem;
  }

  .bn-price { gap: 0.75rem; }
  .bn-filmstrip {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: calc(100% + 2.5rem);
    max-width: none;
  }
}

@media (max-width: 480px) {
  .bn-hero {
    min-height: 85svh;
  }

  .bn-pagehero {
    min-height: 48svh;
  }

  .bn-hero__copy {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    padding-bottom: max(2.75rem, env(safe-area-inset-bottom, 0px) + 1.25rem);
  }

  .bn-intro__media,
  .bn-split__media,
  .bn-split__media--tall,
  .bn-featured__pic {
    min-height: 210px;
    max-height: 38svh;
    aspect-ratio: 4 / 3;
  }

  .bn-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .bn-film figure,
  .bn-filmstrip__item {
    flex-basis: 85vw;
    min-height: 190px;
  }

  .bn-ba figure { min-height: 210px; }
  .bn-section { padding: 2.2rem 0; }
  .bn-wrap--wide,
  .bn-wrap { padding-left: 0.9rem; padding-right: 0.9rem; }
}

@keyframes bnRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bn-drawer a,
  .bn-drawer__brand,
  .bn-drawer__meta,
  .bn-drawer-backdrop,
  .js [data-fade] img,
  .js [data-reveal] img,
  .bn-hero__copy h1,
  .bn-hero__copy .bn-hero__lead,
  .bn-hero .bn-actions {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
