/* Chalice sitewide mobile layer — loaded after all page styles */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 118px;
  }
  body {
    overflow-x: hidden;
  }
  .shell {
    width: min(100% - 32px, 1160px);
  }
  .site-header {
    position: sticky;
    top: 0;
  }
  .nav-wrap {
    position: relative;
    height: 72px !important;
    min-height: 72px;
    padding: 8px 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }
  .brand {
    position: relative;
    z-index: 35;
  }
  .brand img {
    width: 148px !important;
    height: 54px !important;
  }
  .mobile-menu-toggle {
    display: grid;
    position: relative;
    z-index: 35;
    width: 48px;
    height: 44px;
    padding: 11px;
    border: 1px solid #f2bd24;
    border-radius: 999px;
    background: #090a08;
    place-content: center;
    gap: 5px;
    cursor: pointer;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition:
      transform 0.2s,
      opacity 0.2s;
  }
  .mobile-nav-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-nav-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-wrap nav {
    display: none !important;
    position: absolute !important;
    z-index: 34;
    top: 72px;
    left: -16px;
    right: -16px;
    width: auto !important;
    max-height: calc(100vh - 112px);
    overflow-y: auto !important;
    padding: 14px 16px 20px !important;
    background: #080907f7;
    border-top: 1px solid #ffffff1a;
    border-bottom: 1px solid #f2bd2455;
    box-shadow: 0 22px 45px #000c;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
  }
  .mobile-nav-open .nav-wrap nav {
    display: flex !important;
  }
  .nav-wrap nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 15px;
    border-bottom: 1px solid #ffffff12;
  }
  .nav-wrap nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
    border: 1px solid #f2bd24;
    border-radius: 999px;
  }
  .release-bar {
    min-height: 44px;
    padding: 8px 16px !important;
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 3px 12px !important;
    justify-content: center !important;
    text-align: left;
  }
  .release-bar strong {
    grid-row: 1/3;
    align-self: center;
    font-size: 10px !important;
  }
  .release-bar span {
    font-size: 12px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .release-bar b {
    font-size: 11px !important;
  }
  .hero-copy h1,
  .page-hero h1,
  .member-page-hero h1,
  .gallery-page-hero h1,
  .tour-page-hero h1,
  .merch-page-hero h1,
  .press-kit-hero h1 {
    font-size: clamp(42px, 8vw, 64px) !important;
    line-height: 1 !important;
    overflow-wrap: anywhere;
  }
  .lede,
  .page-hero .lede {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }
  .eyebrow {
    font-size: 10px !important;
    line-height: 1.4;
    letter-spacing: 0.18em !important;
  }
  .section,
  .page-content,
  .booking-form-section {
    padding: 58px 0 !important;
  }
  .section h2,
  .page-content h2 {
    font-size: clamp(34px, 6vw, 52px) !important;
  }
  .split,
  .contact-grid,
  .booking-form-layout,
  .press-kit-bio,
  .press-assets {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .section-head {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  .members-grid,
  .merch-grid,
  .timeline,
  .legacy-grid,
  .press-lineup,
  .press-highlights,
  .press-media-grid,
  .press-discography {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .gallery-grid,
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-logo {
    width: 165px;
  }
  .button {
    min-height: 48px;
  }
  .event-feature,
  .featured-album {
    grid-template-columns: 180px 1fr !important;
    gap: 24px !important;
  }
  .tour-card {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .media-grid {
    grid-template-columns: 1fr !important;
  }
  .music-row-head {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  .music-platform-actions {
    justify-content: flex-start !important;
  }
  .booking-contact-grid {
    grid-template-columns: 1fr !important;
  }
  .booking-form-layout {
    display: grid !important;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .form-wide {
    grid-column: 1/-1;
  }
  .contact-panel {
    padding: 26px !important;
  }
  .press-kit-jump {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 16px !important;
  }
  .press-kit-jump a {
    white-space: nowrap;
  }
  .press-kit-facts {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .album-dialog {
    width: calc(100% - 24px) !important;
    max-height: 92vh !important;
  }
  .album-dialog-layout {
    grid-template-columns: 280px 1fr !important;
    min-height: 0 !important;
  }
  .album-dialog-layout > img {
    min-height: 0 !important;
    height: 100% !important;
  }
  .album-dialog-content {
    padding: 38px 28px !important;
  }
  .album-meta {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 110px;
  }
  .shell {
    width: min(100% - 26px, 1160px);
  }
  .nav-wrap {
    height: 66px !important;
    min-height: 66px;
  }
  .brand img {
    width: 132px !important;
    height: 48px !important;
  }
  .nav-wrap nav {
    top: 66px;
  }
  .release-bar {
    min-height: 42px;
    padding: 7px 13px !important;
    grid-template-columns: auto minmax(0, 1fr);
  }
  .release-bar strong {
    font-size: 9px !important;
  }
  .release-bar span {
    font-size: 11px !important;
  }
  .release-bar b {
    font-size: 10px !important;
  }
  .home-hero {
    min-height: 590px !important;
    align-items: flex-end;
  }
  .home-hero > img {
    object-position: 62% center;
  }
  .hero-shade {
    background:
      linear-gradient(0deg, #000 0%, #000e 34%, #0005 72%, #0002),
      linear-gradient(90deg, #0009, transparent);
  }
  .hero-copy {
    padding: 54px 0 48px !important;
  }
  .hero-copy h1,
  .page-hero h1,
  .member-page-hero h1,
  .gallery-page-hero h1,
  .tour-page-hero h1,
  .merch-page-hero h1,
  .press-kit-hero h1 {
    font-size: 42px !important;
    line-height: 1.02 !important;
    letter-spacing: -0.02em !important;
    white-space: normal !important;
  }
  .hero-copy > p:not(.eyebrow),
  .lede,
  .page-hero .lede {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  .actions {
    display: grid !important;
    grid-template-columns: 1fr;
    margin-top: 24px !important;
  }
  .actions .button,
  .about-actions .button {
    width: 100%;
  }
  .page-hero:not(.member-page-hero):not(.gallery-page-hero):not(
      .tour-page-hero
    ):not(.merch-page-hero) {
    padding: 58px 0 48px !important;
  }
  .member-page-hero,
  .gallery-page-hero,
  .tour-page-hero,
  .merch-page-hero,
  .press-kit-hero {
    height: 500px !important;
    min-height: 500px !important;
    align-items: flex-end !important;
    padding: 40px 0 32px !important;
  }
  .member-page-hero .shell,
  .gallery-page-hero .shell,
  .tour-page-hero .shell,
  .merch-page-hero .shell,
  .press-kit-hero-copy {
    width: min(100% - 26px, 1160px) !important;
    padding: 0 !important;
  }
  .member-page-hero::before,
  .gallery-page-hero::before,
  .tour-page-hero::before,
  .merch-page-hero::before {
    inset: 0 !important;
    height: 72% !important;
    background-size: auto 100% !important;
    background-position: center top !important;
  }
  .member-page-hero::after,
  .gallery-page-hero::after,
  .tour-page-hero::after,
  .merch-page-hero::after {
    background: linear-gradient(
      0deg,
      #050605 0%,
      #050605 31%,
      #050605ee 48%,
      #0506057d 68%,
      #05060518 100%
    ) !important;
  }
  .member-page-hero h1,
  .member-page-hero .lede,
  .gallery-page-hero h1,
  .gallery-page-hero .lede,
  .tour-page-hero h1,
  .tour-page-hero .lede,
  .merch-page-hero h1,
  .merch-page-hero .lede {
    max-width: 100% !important;
  }
  .hero-member-name {
    margin-top: 15px !important;
    font-size: 9px !important;
    line-height: 1.5 !important;
  }
  .press-kit-hero:before {
    inset: 0 !important;
    width: 100% !important;
    height: 72% !important;
    background-size: auto 108% !important;
    background-position: center top !important;
    -webkit-mask-image: linear-gradient(
      0deg,
      transparent 0%,
      rgba(0, 0, 0, 0.62) 38%,
      #000 70%
    ) !important;
    mask-image: linear-gradient(
      0deg,
      transparent 0%,
      rgba(0, 0, 0, 0.62) 38%,
      #000 70%
    ) !important;
  }
  .press-kit-hero:after {
    background: linear-gradient(
      0deg,
      #050505 0%,
      #050505 31%,
      #050505ed 49%,
      #05050575 69%,
      #05050518 100%
    ) !important;
  }
  .press-kit-hero .lede {
    max-width: 100% !important;
  }
  .section,
  .page-content,
  .booking-form-section {
    padding: 46px 0 !important;
  }
  .section h2,
  .page-content h2 {
    font-size: 36px !important;
  }
  .section p,
  .page-content p {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
  .members-grid,
  .merch-grid,
  .timeline,
  .legacy-grid,
  .press-lineup,
  .press-highlights,
  .press-media-grid,
  .press-discography,
  .press-kit-facts,
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-grid,
  .album-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .member-card > div,
  .merch-card > div {
    padding: 0 18px 20px !important;
  }
  .member-card h2,
  .merch-card h2 {
    font-size: 25px !important;
  }
  .foundation-panel {
    padding: 28px 18px !important;
  }
  .founder-grid,
  .about-lead-columns,
  .about-chapter,
  .archive-moments {
    grid-template-columns: 1fr !important;
  }
  .about-milestones {
    grid-template-columns: 1fr !important;
  }
  .about-quote {
    padding: 30px 22px !important;
  }
  .event-feature,
  .featured-album {
    grid-template-columns: 1fr !important;
  }
  .event-feature img {
    height: auto !important;
    max-height: none !important;
  }
  .release-cover {
    max-width: 240px;
    margin: auto;
  }
  .media-switch {
    position: relative !important;
    top: auto !important;
    width: calc(100% - 26px) !important;
    margin: -20px auto 10px !important;
  }
  .media-switch a {
    min-width: 0 !important;
    flex: 1;
    padding: 11px 7px !important;
    font-size: 11px !important;
  }
  .music-dark-section {
    padding: 46px 0 !important;
  }
  .music-spotify {
    height: 430px !important;
  }
  .album-card-copy strong {
    font-size: 16px !important;
  }
  .album-dialog {
    width: calc(100% - 14px) !important;
    max-height: 95vh !important;
    border-radius: 9px !important;
  }
  .album-dialog-layout {
    grid-template-columns: 1fr !important;
  }
  .album-dialog-layout > img {
    height: auto !important;
    aspect-ratio: 1/1 !important;
  }
  .album-dialog-content {
    padding: 28px 20px 36px !important;
  }
  .album-dialog-content h2 {
    font-size: 38px !important;
  }
  .album-close {
    position: fixed !important;
    right: 12px !important;
    top: 12px !important;
  }
  .booking-form {
    padding: 22px 16px !important;
  }
  .contact-panel {
    padding: 22px 18px !important;
  }
  .booking-region,
  .booking-emails a,
  .press-contact-grid a {
    overflow-wrap: anywhere;
  }
  .press-kit-jump {
    margin-inline: -13px;
    padding-inline: 13px;
  }
  .press-kit-section {
    padding: 42px 0 !important;
  }
  .legacy-lineup {
    padding: 21px 17px !important;
  }
  .press-recognition ul {
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  footer {
    padding: 44px 0 !important;
  }
}

@media (max-width: 380px) {
  .gallery-grid,
  .album-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-copy h1,
  .page-hero h1,
  .member-page-hero h1,
  .gallery-page-hero h1,
  .tour-page-hero h1,
  .merch-page-hero h1,
  .press-kit-hero h1 {
    font-size: 38px !important;
  }
  .brand img {
    width: 120px !important;
  }
  .mobile-menu-toggle {
    width: 44px;
    height: 42px;
  }
  .release-bar strong {
    display: none;
  }
  .release-bar {
    grid-template-columns: 1fr;
  }
  .release-bar span,
  .release-bar b {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-toggle span {
    transition: none;
  }
}
