/* ==========================================================================
   IGNC — Responsive overrides (mobile-first refinements, loaded last)
   ========================================================================== */

/* --- Large tablet / small laptop ----------------------------------------- */

@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__col--last {
    grid-column: 1 / -1;
  }

  .hero__inner {
    gap: 2.5rem;
  }
}

/* --- Tablet: switch to the drawer navigation ----------------------------- */

@media (max-width: 960px) {
  .nav,
  .header__actions .btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__cta,
  .hero__stats {
    justify-content: center;
  }

  .hero__emblem {
    order: -1;
    max-width: 320px;
  }

  .hero__scroll {
    display: none;
  }

  .event {
    grid-template-columns: 1fr;
  }

  .event__media {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .split--reverse > *:first-child {
    order: 0;
  }
}

/* --- Phone --------------------------------------------------------------- */

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  /* On narrow screens the open drawer slides under the brand lockup, so the
     light overlay text would sit white-on-white. Wider viewports keep the
     drawer clear of it and are left alone. */
  .header.is-menu-open .brand__text {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-fast) var(--ease-out);
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand__name {
    font-size: 1.02rem;
  }

  .brand__tag {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: auto;
  }

  .hero__stats {
    gap: 1.4rem 2rem;
  }

  .hero__stat {
    flex: 1 1 40%;
  }

  /* Full-width tap targets so buttons never crowd on one line. */
  .hero__cta .btn,
  .cta-band__actions .btn {
    width: 100%;
  }

  .hero__cta,
  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline {
    padding-left: 1.8rem;
  }

  .timeline__item::before {
    left: -1.8rem;
    width: 14px;
    height: 14px;
  }

  .media--poster {
    aspect-ratio: 1 / 1.28;
  }

  .verse::before {
    font-size: 7rem;
    top: -1rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown__unit {
    flex: 1 1 calc(50% - 0.5rem);
    padding: 0.9rem 0.4rem;
  }

  .to-top {
    width: 44px;
    height: 44px;
  }

  .marquee__track {
    gap: 1.6rem;
    padding-right: 1.6rem;
    animation-duration: 24s;
  }
}

/* --- Very small phones --------------------------------------------------- */

@media (max-width: 380px) {
  .brand__text {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .speaker__avatar {
    max-width: 150px;
  }
}

/* --- Short landscape phones ---------------------------------------------- */

@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 2rem) 3rem;
  }

  .hero__emblem {
    max-width: 220px;
  }
}

/* --- Pointer-coarse: disable hover-only affordances ---------------------- */

@media (hover: none) {
  .media__cap {
    opacity: 1;
    transform: none;
  }

  .card:hover {
    transform: none;
  }

  .media:hover img,
  .event:hover .event__media img {
    transform: none;
  }
}

/* --- Print --------------------------------------------------------------- */

@media print {
  .header,
  .drawer,
  .drawer-scrim,
  .to-top,
  .scroll-progress,
  .hero__scroll,
  .marquee {
    display: none !important;
  }

  .hero,
  .page-hero,
  .footer,
  .section--night {
    background: #fff !important;
    color: #000 !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
