/* Homepage only, below the existing desktop-navigation breakpoint.
   Keep all overrides inside this query so desktop styles stay untouched. */
@media (max-width: 767px) {
  .home-page .home-hero {
    overflow: hidden;
  }

  .home-page .home-hero-content {
    /* Leave the faces above the heading instead of placing text over them. */
    padding: clamp(108px, 29vw, 224px) 20px 24px;
  }

  .home-page .home-hero-image {
    /* Preserve the full width of the existing five-person group photo. */
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .home-page .home-hero-shade {
    background:
      linear-gradient(180deg, transparent 45%, #030712 100%),
      linear-gradient(180deg, rgb(3 7 18 / 8%) 0, rgb(3 7 18 / 10%) 12vw, rgb(3 7 18 / 30%) 28vw, rgb(3 7 18 / 86%) 55vw, #030712 73vw);
  }

  .home-page .home-hero h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: clamp(1.5rem, 6.7vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 12px rgb(0 0 0 / 35%);
  }

  .home-page .home-hero h1 img {
    display: block;
    width: clamp(9rem, 40vw, 11.5rem);
    max-width: 100%;
    height: auto;
  }

  .home-page .home-hero-copy {
    max-width: 36ch;
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgb(255 255 255 / 90%);
  }

  .home-page .home-hero-actions {
    margin-top: 18px;
  }

  .home-page .home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
  }

  .home-page .home-actions > :is(a, button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 16px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 999px;
    box-shadow: none;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
  }

  .home-page :is(.home-hero-actions, .home-about-actions) > a {
    flex: 1 1 128px;
  }

  .home-page .home-divider {
    display: none;
  }

  .home-page .home-updates {
    padding-top: 18px;
    padding-bottom: 24px;
    scroll-margin-top: 80px;
  }

  .home-page .home-updates-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-page .home-updates-grid {
    gap: 24px;
  }

  .home-page .home-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 16px;
    background: #111827;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .home-page .home-concert-heading {
    gap: 8px;
  }

  .home-page .home-concert-heading > span {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    font-size: 0.9375rem;
  }

  .home-page .home-card :is(h2, h3) {
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .home-page #nextShow {
    margin-top: 12px;
  }

  /* The generated concert also uses a five-column grid from 640px up.
     Its empty second column must not waste space on the mobile homepage. */
  .home-page #nextShow > .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-page #nextShow > .grid > div {
    grid-column: auto;
    min-width: 0;
  }

  .home-page #nextShow > .grid > div:empty {
    display: none;
  }

  .home-page #nextShow h3 {
    font-size: 1.125rem;
    line-height: 1.35;
  }

  .home-page #nextShow p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .home-page #nextShow p > a {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .home-page #nextActions {
    gap: 8px;
    margin-top: 14px;
  }

  .home-page #nextActions:empty {
    display: none;
  }

  .home-page .home-about {
    padding: 24px 0 0;
    border-width: 1px 0 0;
    border-radius: 0;
    background: transparent;
  }

  .home-page .home-about > p {
    max-width: 45ch;
    margin-top: 12px;
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .home-page .home-about-actions {
    margin-top: 18px;
  }

  .home-page .home-footer {
    margin-top: 0;
  }

  .home-page .home-footer > div {
    padding: 16px 20px 18px;
  }

  .home-page .home-footer > div > div {
    gap: 10px;
  }

  .home-page .home-footer p {
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: center;
  }

  .home-page .home-footer a {
    width: 44px;
    height: 44px;
  }

  .home-page .home-footer a svg {
    width: 18px;
    height: 18px;
  }

  /* The existing scroll-down link is visible from 640px. Reserve its space. */
  @media (min-width: 640px) {
    .home-page .home-hero-content {
      padding-bottom: 72px;
    }
  }

}
