.site-header {
  background: #100e16f5;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.story-tile,
.brand-wave-slot .brand-tile {
  background: linear-gradient(150deg, #22202b, #18171e);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero {
  background: #121018;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #120e1cdd, #1710228c 55%, #100e16c9),
    url('assets/venue-hero.webp') center 58% / cover no-repeat;
}

@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .hero {
    background: #121018;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(180deg, #120e1cec 0%, #19112838 33%, #1a103537 67%, #100e16 100%),
      var(--hero-photo, url('assets/venue-hero.webp')) 50% 59% / cover no-repeat;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: clamp(70px, 13svh, 140px);
  }

  .hero-title,
  .hero h1 {
    text-shadow: 0 3px 26px #0d0a1c;
  }

  .hero .title-outline {
    -webkit-text-stroke: 1.6px var(--cyan);
    color: #a9fffb18;
  }

  .hero-description {
    padding: 9px 14px;
    border: 1px solid #bcb5e83b;
    border-radius: 5px;
    background: #100e16c9;
  }

  .hero-bottom .circle-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: #12151a;
  }

  .flip-section .flip-scene {
    display: none;
  }

  .flip-section .discipline-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .flip-section .discipline-links > a {
    min-height: 105px;
    padding: 14px 16px;
    align-items: flex-end;
    border: 1px solid #ffffff38;
    border-radius: 7px;
    color: #f6f6f3;
    font-size: 15px;
    font-weight: 650;
  }

  .flip-section .discipline-links svg {
    flex-shrink: 0;
    color: var(--cyan);
  }

  .stage-build.is-ready canvas { opacity: 0; }
  .stage-build.is-ready .stage-build-fallback { visibility: visible; }
  .work-section .project-image > img { filter: none; }
}

@media (max-width: 600px) and (orientation: portrait) {
  .hero { --hero-photo: url('assets/venue-hero-mobile.webp'); }
}

@media (max-height: 520px) and (pointer: coarse) {
  .hero-content {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(54px, 13svh, 72px);
  }
}

/* Let deep links and the browser preserve their position without scripted interpolation. */
html { scroll-behavior: auto; }

/* Keep the same footprint while the optional desktop cards start up. */
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .flip-stage { display: grid; grid-template-columns: minmax(0, 1fr); }
  .flip-heading { grid-row: 1; grid-column: 1; }
  .flip-stage .flip-scene { grid-row: 2; grid-column: 1; display: block; }
  .flip-stage .flip-scene:not(.is-ready) { display: block; visibility: hidden; }
  .flip-stage .discipline-links { grid-row: 2; grid-column: 1; align-self: center; z-index: 1; }
  .flip-section:not(.has-scene) .discipline-links { margin-top: 0; }
  .flip-stage .discipline-links > a {
    min-height: clamp(160px, 24vh, 245px);
    padding: 16px;
    align-items: flex-end;
    border: 1px solid #ffffff38;
    border-radius: 7px;
  }
}

.discipline-links > a { position: relative; isolation: isolate; overflow: hidden; }
.discipline-links > a img, .discipline-links > a::before {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.discipline-links > a img { object-fit: cover; object-position: center 48%; z-index: -2; }
.discipline-links > a::before {
  content: ''; z-index: -1;
  background: linear-gradient(0deg, #100e16ed, #16122352 86%);
}

