/* Page shell, header, footer and glass surfaces are rendered by WebTintKit.
   The page's colours are WebTintKit's (brand "shared"): the gear's scheme and tint reach every
   rule below through these aliases. The header and footer are the package's components. */
:root {
  --text: var(--wtk-color-page-text);
  --muted: var(--wtk-color-page-muted);
  --faint: var(--wtk-color-page-tertiary);
  --content-shell-desktop-gutter: var(--wtk-layout-app-desktop-gutter);
  --content-shell-mobile-gutter: var(--wtk-layout-app-mobile-gutter);
}

/* Loaded before wtk.css: site rules yield to the package's layers. */
@layer site {
  html {
    overflow-x: hidden;
    overflow-x: clip;
  }

  body {
    overflow-x: hidden;
    overflow-x: clip;
  }
}

.externalLinkGlyph {
  display: inline-block;
  margin-left: 0.2em;
  font-size: 1em;
  line-height: inherit;
  vertical-align: baseline;
  opacity: 0.75;
}

.mediaPage {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  min-width: 0;
  padding: 0 0 44px;
}

.mediaIdentity {
  display: grid;
  min-width: 0;
  gap: 24px;
}

.artworkWrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.artworkGlow {
  display: none;
  position: absolute;
  inset: 8%;
  border-radius: 28px;
  background: var(--wtk-color-accent);
  filter: blur(42px);
  opacity: 0.28;
}

.mediaPage.hasArtworkPalette .artworkGlow {
  display: block;
  background: var(--media-accent-fallback);
}

@supports (color: color(display-p3 1 0 0)) {
  .mediaPage.hasArtworkPalette .artworkGlow {
    background: var(--media-accent);
  }
}

.artwork {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.20);
  opacity: 0;
  transform: translateY(6px) scale(0.992);
  animation: artworkFadeIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms forwards;
}

@keyframes artworkFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mediaInfo {
  position: relative;
  z-index: 1;
}

.kind {
  margin: 0 0 10px;
  color: var(--faint);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

@layer site {
  h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.14rem, 1.56vw, 1.42rem);
    font-weight: 740;
    line-height: 1.12;
    letter-spacing: 0;
  }
}

.subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  font-weight: 640;
  line-height: 1.3;
}

.genres {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.servicesTitle {
  margin: 0 0 14px;
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}


.emptyServices {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.messageOnly {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;

}

.messageCard {
  padding: var(--content-shell-desktop-gutter);
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.messageCardContent {
  width: fit-content;
  max-width: 620px;
  text-align: start;
}

.messageCardContent .kind {
  margin-bottom: 6px;
}

.messageCardContent > p:not(.kind) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
}

.appCta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 0;
  padding: var(--content-shell-desktop-gutter);
}

.appCtaCopy {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.appCtaActions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.appCtaKicker {
  margin: 0;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1;
  text-transform: uppercase;
}

.appCta h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
  line-height: 1.1;
}

.appCtaCopy > p:not(.appCtaKicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.38;
}


@media (prefers-reduced-motion: reduce) {
  .artwork {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 780px) {
  .mediaPage {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    min-height: 0;
  }

  .mediaIdentity {
    width: 100%;
    margin: 0;
    gap: 18px;
  }

  .artworkWrap {
    width: 100%;
  }

  .servicesTitle {
    display: none;
  }

  @layer site {
    h1 {
      font-size: 1.08rem;
    }
  }

  .subtitle {
    margin-top: 2px;
    font-size: 0.94rem;
  }

  .messageCard {
    padding: var(--content-shell-mobile-gutter);
  }

  .appCta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 28px;
    padding: var(--content-shell-mobile-gutter);
  }

  .appCtaActions {
    justify-content: flex-start;
  }
}
