/* Homepage base styles; hero geometry is defined by the scoped desktop rules below and home-mobile.css. */

    :root {
      --ink: #06101b;
      --ink-2: #0a1827;
      --cream: #f1dfb5;
      --cream-2: #fff1ce;
      --gold: #d4a94d;
      --gold-2: #f0ca73;
      --blue: #2c86cf;
      --white: #f7f3e9;
      --muted: rgba(247, 243, 233, .72);
      --line: rgba(235, 205, 139, .30);
      --glass: rgba(4, 12, 22, .58);
      --glass-strong: rgba(4, 10, 18, .78);
      --shadow: 0 24px 70px rgba(0,0,0,.42);
      --max: 1440px;
      --nav-h: 78px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--ink);
      color: var(--white);
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      overflow-x: hidden;
    }
    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; }
    button, input, textarea, select { font: inherit; }

    .container {
      width: min(calc(100% - 48px), var(--max));
      margin: 0 auto;
    }

    .page-section {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      background-color: var(--ink);
      border-bottom: 1px solid rgba(226,188,107,.22);
    }

    /*
      The four section backgrounds are rendered as actual images instead of CSS
      background-size: cover. On desktop this preserves the COMPLETE artwork
      edge-to-edge, including the Chicago theatre sign in sec1bg.png.
    */
    .section-bg {
      position: absolute;
      z-index: -3;
      inset: 0;
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      object-position: center center;
      pointer-events: none;
      user-select: none;
    }

    /* Preserve the theatre sign in the hero on wide and short screens. */
    .hero .section-bg {
      object-position: right center;
    }

    .page-section::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
    }

    /* SECTION 1 — HERO */
    .hero {
      
      
      
      
      display: flex;
      align-items: stretch;
    }

    .hero::before {
      background:
        linear-gradient(90deg, rgba(1,8,14,.04) 0%, rgba(1,8,14,.02) 38%, rgba(1,8,14,.13) 64%, rgba(1,8,14,.36) 100%),
        linear-gradient(180deg, rgba(1,7,12,.08), rgba(1,7,12,.04) 62%, rgba(1,7,12,.46));
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, .98fr) minmax(470px, 1.02fr);
      align-items: stretch;
      gap: clamp(18px, 2vw, 36px);
      width: 100%;
      min-height: 0;
    }

    .hero-art {
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      min-width: 0;
      z-index: 1;
    }

    .hero-portrait {
      width: min(100%, 760px);
      max-height: calc(100svh - var(--nav-h) - 28px);
      object-fit: contain;
      object-position: left bottom;
      filter:
        drop-shadow(0 28px 46px rgba(0,0,0,.42))
        drop-shadow(0 7px 16px rgba(0,0,0,.26));
      transform: translateX(-3%);
    }

    .hero-copy {
      align-self: center;
      justify-self: end;
      width: min(100%, 650px);
      
      animation: fadeUp .85s ease both;
      position: relative;
      z-index: 2;
    }

    .hero-copy::before {
      content: "";
      position: absolute;
      z-index: -1;
      inset: -28px -18px;
      background: radial-gradient(ellipse at center, rgba(2,9,17,.58), rgba(2,9,17,.22) 58%, transparent 78%);
      filter: blur(2px);
      pointer-events: none;
    }

    .hero-wordmark {
      
      filter: drop-shadow(0 14px 28px rgba(0,0,0,.35));
      margin-bottom: 16px;
    }

    .hero-kicker {
      margin: 0 0 18px;
      color: var(--gold-2);
      font-family: "Bebas Neue", sans-serif;
      
      letter-spacing: .09em;
      
      text-transform: uppercase;
    }

    .hero-lede {
      max-width: 560px;
      margin: 0;
      color: rgba(255,255,255,.84);
      font-family: "Cormorant Garamond", serif;
      
      
      text-shadow: 0 2px 12px rgba(0,0,0,.55);
    }

    .hero-actions,
    .release-actions,
    .booking-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 13px;
      margin-top: 28px;
    }

    .btn {
      min-height: 50px;
      padding: 0 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 1px solid rgba(240,202,115,.50);
      border-radius: 5px;
      text-decoration: none;
      text-transform: uppercase;
      font-family: "Bebas Neue", sans-serif;
      font-size: .98rem;
      letter-spacing: .11em;
      transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    }

    .btn:hover { transform: translateY(-2px); }

    .btn-gold {
      color: #09111b;
      border-color: var(--gold-2);
      background: linear-gradient(180deg, #f7d989, #d9aa4b);
      box-shadow: 0 9px 26px rgba(206,157,54,.18);
    }

    .btn-outline {
      color: var(--white);
      background: rgba(2,10,18,.42);
      backdrop-filter: blur(9px);
    }

    .btn-outline:hover { border-color: var(--gold-2); color: var(--gold-2); }

    .btn-outline-gold {
      color: var(--gold-2);
      border-color: rgba(224,177,81,.92);
      background: rgba(2,10,18,.48);
      backdrop-filter: blur(7px);
      box-shadow: inset 0 0 0 1px rgba(240,202,115,.05);
    }

    .btn-outline-gold:hover {
      color: #07111d;
      background: linear-gradient(180deg, #f3cf78, #d4a94d);
      border-color: var(--gold-2);
    }

    .btn-icon {
      width: 21px;
      height: 21px;
      flex: 0 0 21px;
      display: inline-block;
    }

    .btn-icon svg {
      width: 100%;
      height: 100%;
      display: block;
      fill: currentColor;
    }

    .release-actions .btn {
      min-height: 54px;
      padding-inline: 22px;
    }

    .scroll-cue {
      position: absolute;
      left: 50%;
      
      /* Stay inside both the hero and the first visible viewport. */
      
      
      min-height: 44px;
      padding: 4px 8px 8px;
      line-height: 1.4;
      text-align: center;
      white-space: nowrap;
      translate: -50% 0;
      color: rgba(255,255,255,.58);
      font-size: .67rem;
      letter-spacing: .24em;
      text-transform: uppercase;
      text-decoration: none;
      z-index: 4;
    }

    .scroll-cue::after {
      content: "";
      display: block;
      width: 1px;
      height: 20px;
      margin: 7px auto 0;
      background: linear-gradient(var(--gold-2), transparent);
      animation: pulseLine 1.7s ease-in-out infinite;
    }

    /* SECTION 2 — FEATURED RELEASE */
    .release {
      min-height: max(620px, 42.71vw);
      padding: 72px 0;
      display: flex;
      align-items: center;
    }
    .release::before {
      background: linear-gradient(90deg, rgba(2,9,16,.12), rgba(2,9,16,.24) 47%, rgba(2,9,16,.08));
    }
    .release-grid {
      display: grid;
      grid-template-columns: minmax(280px, 480px) minmax(0, 720px);
      gap: clamp(42px, 6vw, 90px);
      align-items: center;
    }
    .album-wrap { position: relative; }
    .album-cover {
      width: min(100%, 455px);
      aspect-ratio: 1;
      object-fit: cover;
      border: 1px solid rgba(238,205,134,.45);
      box-shadow: 0 28px 80px rgba(0,0,0,.52), 0 0 0 8px rgba(4,15,27,.34);
      transform: rotate(-1deg);
      transition: transform .45s cubic-bezier(.2,.8,.2,1);
    }
    .album-wrap:hover .album-cover { transform: rotate(0) scale(1.015); }
    .release-copy {
      padding: 34px 34px 34px 0;
      background: linear-gradient(90deg, rgba(3,12,22,.75), rgba(3,12,22,.22), transparent);
    }
    .section-kicker {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 12px;
      color: var(--gold-2);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .35em;
      text-transform: uppercase;
    }
    .section-kicker::before,
    .section-kicker::after {
      content: "";
      width: 42px;
      height: 1px;
      background: currentColor;
      opacity: .75;
    }
    .section-kicker::after { display: none; }
    .release-title {
      margin: 0;
      font-family: "Bebas Neue", sans-serif;
      font-size: clamp(4rem, 8.5vw, 7.4rem);
      letter-spacing: .025em;
      line-height: .83;
      text-transform: uppercase;
      color: var(--cream-2);
      text-shadow: 0 5px 30px rgba(0,0,0,.42);
    }
    .release-title .blue { color: var(--blue); }
    .release-credit {
      margin: 12px 0 0;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(1.5rem, 2.35vw, 2.1rem);
      font-weight: 700;
      color: var(--cream);
    }
    .release-credit .secret { color: #6d62c7; }
    .release-description {
      max-width: 690px;
      margin: 20px 0 0;
      color: rgba(255,255,255,.80);
      font-family: "Cormorant Garamond", serif;
      font-size: 1.2rem;
      line-height: 1.55;
    }
    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 23px;
      color: var(--gold-2);
      text-decoration: none;
      text-transform: uppercase;
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .22em;
    }
    .text-link span { transition: transform .2s ease; }
    .text-link:hover span { transform: translateX(5px); }

    /* SECTION 3 — STORY + GALLERY
       Art-directed composition: Willie is an independent cutout that crosses
       the internal layout boundaries rather than sitting inside a photo box.
    */
    .legacy {
      min-height: max(650px, 44.79vw);
      padding: 0;
      overflow: hidden;
      display: flex;
      align-items: stretch;
    }

    .legacy::before {
      background:
        linear-gradient(90deg,
          rgba(1,8,15,.20) 0%,
          rgba(1,8,15,.42) 25%,
          rgba(1,8,15,.66) 48%,
          rgba(1,8,15,.38) 78%,
          rgba(1,8,15,.18) 100%);
    }

    .legacy-stage {
      position: relative;
      width: 100%;
      min-height: max(650px, 44.79vw);
      display: grid;
      grid-template-columns: 29% 29% 42%;
      align-items: stretch;
    }

    .legacy-stage::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 58%;
      width: 1px;
      background: linear-gradient(
        to bottom,
        transparent,
        rgba(235,205,139,.36) 14%,
        rgba(235,205,139,.36) 86%,
        transparent
      );
      z-index: 2;
      pointer-events: none;
    }

    .legacy-portrait {
      position: absolute;
      z-index: 3;
      left: -2.2%;
      bottom: -2.5%;
      height: 107%;
      width: auto;
      max-width: 38%;
      object-fit: contain;
      object-position: left bottom;
      filter:
        drop-shadow(20px 20px 38px rgba(0,0,0,.40))
        drop-shadow(0 7px 12px rgba(0,0,0,.22));
      pointer-events: none;
      user-select: none;
    }

    .story-panel,
    .gallery-panel {
      position: relative;
      z-index: 4;
      background: none;
      border: 0;
      box-shadow: none;
      backdrop-filter: none;
    }

    .story-panel {
      grid-column: 2;
      padding: clamp(58px, 5vw, 86px) clamp(30px, 3vw, 48px) 46px clamp(12px, 1.8vw, 28px);
      align-self: center;
    }

    .gallery-panel {
      grid-column: 3;
      padding: clamp(58px, 5vw, 86px) clamp(18px, 2.5vw, 38px) 46px clamp(36px, 3vw, 52px);
      align-self: center;
    }

    .mini-label {
      color: var(--gold-2);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .30em;
      text-transform: uppercase;
    }

    .mini-label::after {
      content: "";
      display: inline-block;
      vertical-align: middle;
      width: 74px;
      height: 1px;
      margin-left: 12px;
      background: linear-gradient(90deg, var(--gold-2), transparent);
      opacity: .75;
    }

    .story-title,
    .gallery-title,
    .booking-title {
      margin: 12px 0 0;
      font-family: "Cormorant Garamond", serif;
      font-weight: 700;
      color: var(--cream-2);
      line-height: .88;
      text-transform: uppercase;
      text-shadow: 0 5px 24px rgba(0,0,0,.35);
    }

    .story-title {
      font-size: clamp(3.75rem, 5.25vw, 5.6rem);
    }

    .gallery-title {
      font-size: clamp(3.4rem, 4.7vw, 5.1rem);
    }

    .story-copy,
    .gallery-copy {
      max-width: 570px;
      margin: 22px 0 0;
      color: rgba(255,255,255,.83);
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(1.04rem, 1.35vw, 1.22rem);
      line-height: 1.46;
      text-shadow: 0 2px 12px rgba(0,0,0,.42);
    }

    .story-quote {
      display: none;
    }

    .story-cta,
    .gallery-cta {
      margin-top: 30px;
    }

    .story-cta .btn {
      min-width: 230px;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 9px;
      margin-top: 26px;
    }

    .gallery-card {
      position: relative;
      aspect-ratio: 1 / .92;
      overflow: hidden;
      border: 1px solid rgba(235,205,139,.45);
      background:
        linear-gradient(135deg, rgba(44,134,207,.18), rgba(2,9,16,.45)),
        rgba(7,19,31,.82);
      box-shadow: 0 8px 24px rgba(0,0,0,.22);
    }

    .gallery-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(.84) contrast(1.05);
      transition: transform .45s ease, filter .45s ease;
    }

    .gallery-card:hover img {
      transform: scale(1.05);
      filter: saturate(1) contrast(1.05);
    }

    .gallery-card.is-placeholder::after {
      content: "Archive";
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: rgba(255,255,255,.42);
      font-family: "Bebas Neue", sans-serif;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .gallery-cta .btn {
      min-width: 172px;
    }

    /* SECTION 4 — BOOKING / EPK */
    .booking {
      min-height: max(520px, 36.46vw);
      padding: 72px 0 58px;
      display: flex;
      align-items: center;
    }
    .booking::before {
      background:
        linear-gradient(90deg, rgba(1,7,13,.48), rgba(1,7,13,.78) 48%, rgba(1,7,13,.34)),
        linear-gradient(180deg, rgba(1,7,13,.15), rgba(1,7,13,.38));
    }
    .booking-shell {
      width: min(100%, 1240px);
      margin: 0 auto;
      padding: clamp(24px, 3vw, 42px) 0;
      display: grid;
      grid-template-columns: 1.02fr .98fr;
      gap: clamp(40px, 5vw, 72px);
      align-items: center;
      border: 0;
      background: transparent;
      backdrop-filter: none;
      box-shadow: none;
    }
    .booking-title { font-size: clamp(3.6rem, 6.4vw, 6.4rem); }
    .booking-copy {
      margin: 0;
      color: rgba(255,255,255,.78);
      font-family: "Cormorant Garamond", serif;
      font-size: 1.23rem;
      line-height: 1.6;
    }
    .booking-side { align-self: center; }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .72s ease, transform .72s ease;
    }
    .reveal.is-visible { opacity: 1; transform: translateY(0); }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(22px); }
      to { opacity: 1; transform: none; }
    }
    @keyframes pulseLine {
      0%,100% { opacity: .25; transform: scaleY(.7); transform-origin: top; }
      50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    }

    @media (max-width: 900px) {
/*
        On tablet/mobile the sections become much taller than the panoramic
        artwork. The image layers intentionally switch to a controlled crop.
      */
      .section-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .hero .section-bg { object-position: right center; }
      .release .section-bg { object-position: 60% center; }
      .legacy .section-bg { object-position: 60% center; }
      .booking .section-bg { object-position: center center; }

      .container { width: min(calc(100% - 28px), var(--max)); }

      

      .hero-grid {
        grid-template-columns: minmax(0, .92fr) minmax(300px, 1.08fr);
        gap: 8px;
      }

      .hero-portrait {
        width: 112%;
        max-width: none;
        transform: translateX(-14%);
      }

      .hero-copy {
        
        background: linear-gradient(90deg, rgba(1,8,14,.50), rgba(1,8,14,.22), transparent);
      }

      .release-grid { gap: 32px; }
      .album-cover { max-width: 390px; margin: 0 auto; }
      .release-copy { padding: 0; }

      .legacy {
        min-height: 760px;
      }

      .legacy-stage {
        min-height: 760px;
        grid-template-columns: 32% 34% 34%;
      }

      .legacy-stage::before {
        left: 66%;
      }

      .legacy-portrait {
        left: -6%;
        bottom: -2%;
        height: 104%;
        max-width: 43%;
      }

      .story-panel {
        grid-column: 2;
        padding: 58px 24px 44px 8px;
      }

      .gallery-panel {
        grid-column: 3;
        padding: 58px 12px 44px 28px;
      }

      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .booking-side { max-width: 680px; }
}

    @media (max-width: 640px) {
:root { --nav-h: 68px; }
      .container { width: min(calc(100% - 20px), var(--max)); }
      

      .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(330px, 43vh) auto;
      }

      .hero-art {
        grid-row: 1;
        justify-content: center;
        overflow: visible;
      }

      .hero-portrait {
        width: min(118%, 600px);
        max-height: 440px;
        transform: none;
        object-position: center bottom;
      }

      .hero-copy {
        grid-row: 2;
        width: 100%;
        justify-self: stretch;
        align-self: start;
        
        background: linear-gradient(180deg, rgba(1,8,14,.28), rgba(1,8,14,.86) 32%, rgba(1,8,14,.92));
      }

      .hero-copy::before { display: none; }
      
      .hero-actions .btn,
      .release-actions .btn,
      .booking-actions .btn { width: 100%; }
      .scroll-cue { display: none; }
      .release,
      .legacy,
      .booking { padding: 58px 0; }
      .release-title { font-size: clamp(3.9rem, 20vw, 6rem); }
      .section-kicker::before { width: 24px; }
      .legacy {
        min-height: auto;
        padding-top: 0;
        overflow: hidden;
      }

      .legacy-stage {
        min-height: 0;
        display: block;
        padding-top: 390px;
      }

      .legacy-stage::before {
        display: none;
      }

      .legacy-portrait {
        top: 0;
        left: 50%;
        bottom: auto;
        height: 430px;
        max-width: none;
        transform: translateX(-50%);
      }

      .story-panel,
      .gallery-panel {
        padding: 36px 22px;
        background: linear-gradient(180deg, rgba(2,9,16,.78), rgba(2,9,16,.91));
      }

      .gallery-panel {
        border-top: 1px solid rgba(235,205,139,.25);
      }

      .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .gallery-card {
        aspect-ratio: 1 / .92;
      }

      .story-panel,
      .gallery-panel,
      .booking-shell { padding-left: 22px; padding-right: 22px; }
      .story-title { font-size: clamp(3.4rem, 15vw, 5rem); }
      .gallery-title { font-size: clamp(3rem, 13vw, 4.5rem); }
      .booking-title { font-size: clamp(3.4rem, 14vw, 5rem); }
}

    @media (max-width: 460px) {
.legacy-stage { padding-top: 350px; }
      .legacy-portrait { height: 390px; }
      .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
      .story-cta .btn,
      .gallery-cta .btn { width: 100%; }
}

    @media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
      }
      .reveal { opacity: 1; transform: none; }
}

/* Desktop/tablet hero: one viewport, with artwork ending at the section edge. */
@media (min-width: 721px) {
  .home-page .hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    max-height: none;
    padding: var(--nav-h, 78px) 0 0;
  }
  .home-page .hero-grid {
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
  }
  .home-page .hero-art {
    height: 100%;
    min-height: 0;
    align-items: flex-end;
  }
  .home-page .hero-portrait {
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left bottom;
    margin: 0;
    align-self: flex-end;
  }
  .home-page .hero-copy {
    padding: 16px 18px 56px 12px;
    min-height: 0;
  }
  .home-page .hero-wordmark {
    width: auto;
    height: clamp(90px, calc(50vh - 180px), 300px);
    height: clamp(90px, calc(50svh - 180px), 300px);
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 12px;
  }
  .home-page .hero-kicker {
    font-size: clamp(1rem, 1.8vw, 1.6rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .home-page .hero-lede {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    line-height: 1.4;
  }
  .home-page .hero-actions {
    flex-wrap: nowrap;
    margin-top: 18px;
  }
  .home-page .hero-actions .btn {
    min-width: 0;
    min-height: 48px;
    padding: 10px 16px;
    text-align: center;
  }
  .home-page .scroll-cue {
    top: auto;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width: 721px) and (max-height: 560px) {
  .home-page .hero-copy { padding-top: 8px; padding-bottom: 40px; }
  .home-page .hero-wordmark { margin-bottom: 8px; }
  .home-page .hero-kicker { font-size: 1rem; margin-bottom: 8px; }
  .home-page .hero-lede { font-size: 1rem; line-height: 1.3; }
  .home-page .hero-actions { margin-top: 12px; gap: 8px; }
  .home-page .hero-actions .btn { padding: 8px 12px; font-size: .9rem; }
}
