/*
 * Music Coast UI v2.3
 * Production overlay for the active public PHP templates.
 *
 * Intent:
 * - preserve the existing logo, routes, theme mode, accent selector and content
 * - replace the heavily layered/glass visual language with a restrained,
 *   editorial, app-first interface
 * - remain additive: no existing selectors, data attributes or JS contracts are removed
 */

:root {
  --mc-v2-accent-rgb: var(--accent-rgb, 212, 175, 55);
  --mc-v2-accent-2-rgb: var(--accent-2-rgb, 246, 207, 92);
  --mc-v2-radius-xs: 6px;
  --mc-v2-radius-sm: 10px;
  --mc-v2-radius-md: 14px;
  --mc-v2-radius-lg: 20px;
  --mc-v2-header-h: 72px;
  --mc-v2-content-max: 1360px;
  --mc-v2-reading-max: 760px;
  --mc-v2-ease: cubic-bezier(.2, .75, .25, 1);
  --mc-v2-shadow-1: 0 1px 2px rgba(11, 13, 18, .05), 0 8px 24px rgba(11, 13, 18, .06);
  --mc-v2-shadow-2: 0 16px 44px rgba(11, 13, 18, .11);
}

html[data-theme="light"],
html:not([data-theme="dark"]) {
  --mc-v2-page: #f7f7f5;
  --mc-v2-page-alt: #efefec;
  --mc-v2-surface: #ffffff;
  --mc-v2-surface-2: #f2f2ef;
  --mc-v2-surface-3: #e9e9e5;
  --mc-v2-text: #121316;
  --mc-v2-text-2: #565a61;
  --mc-v2-text-3: #767b84;
  --mc-v2-border: rgba(18, 19, 22, .12);
  --mc-v2-border-strong: rgba(18, 19, 22, .20);
  --mc-v2-header: rgba(255, 255, 255, .96);
  --mc-v2-footer: #151619;
  --mc-v2-footer-2: #1d1f23;
  --mc-v2-on-footer: #f5f5f3;
  --mc-v2-on-footer-2: rgba(245, 245, 243, .68);
}

html[data-theme="dark"] {
  --mc-v2-page: #101114;
  --mc-v2-page-alt: #17181c;
  --mc-v2-surface: #1a1b1f;
  --mc-v2-surface-2: #222429;
  --mc-v2-surface-3: #2a2c32;
  --mc-v2-text: #f4f4f2;
  --mc-v2-text-2: #b9bbc2;
  --mc-v2-text-3: #8f929b;
  --mc-v2-border: rgba(255, 255, 255, .11);
  --mc-v2-border-strong: rgba(255, 255, 255, .20);
  --mc-v2-header: rgba(16, 17, 20, .96);
  --mc-v2-footer: #0a0b0d;
  --mc-v2-footer-2: #121317;
  --mc-v2-on-footer: #f7f7f5;
  --mc-v2-on-footer-2: rgba(247, 247, 245, .66);
  --mc-v2-shadow-1: 0 1px 2px rgba(0, 0, 0, .22), 0 10px 28px rgba(0, 0, 0, .18);
  --mc-v2-shadow-2: 0 18px 48px rgba(0, 0, 0, .30);
}

/* ------------------------------
   Public foundation
   ------------------------------ */
body.mc-public,
body.mc-homepage,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) {
  --header-height: var(--mc-v2-header-h);
  background: var(--mc-v2-page);
  color: var(--mc-v2-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

body.mc-public *,
body.mc-homepage *,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) * {
  box-sizing: border-box;
}

body.mc-public .wrap,
body.mc-homepage .wrap,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .wrap {
  width: min(calc(100% - 40px), var(--mc-v2-content-max));
}

body.mc-public h1,
body.mc-public h2,
body.mc-public h3,
body.mc-public h4,
body.mc-homepage h1,
body.mc-homepage h2,
body.mc-homepage h3,
body.mc-homepage h4,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) h1,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) h2,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) h3,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) h4 {
  color: var(--mc-v2-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body.mc-public p,
body.mc-homepage p,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) p {
  color: var(--mc-v2-text-2);
}

body.mc-public a,
body.mc-homepage a,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) a {
  text-underline-offset: 3px;
}

body.mc-public :where(a, button, input, select, textarea, [tabindex]):focus-visible,
body.mc-homepage :where(a, button, input, select, textarea, [tabindex]):focus-visible,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(var(--mc-v2-accent-rgb), .52);
  outline-offset: 3px;
}

.mc-v2-skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 20000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border: 1px solid var(--mc-v2-border-strong);
  border-radius: var(--mc-v2-radius-sm);
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--mc-v2-shadow-2);
  transition: transform 150ms var(--mc-v2-ease);
}

.mc-v2-skip-link:focus {
  transform: translateY(0);
}

/* ------------------------------
   Header + navigation
   ------------------------------ */
body.mc-public .site-header,
body.mc-homepage .site-header,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header {
  min-height: var(--mc-v2-header-h);
  border-bottom: 1px solid var(--mc-v2-border);
  background: var(--mc-v2-header);
  box-shadow: none;
  z-index: 1100;
  transition: box-shadow 180ms var(--mc-v2-ease), background-color 180ms var(--mc-v2-ease);
}

@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  body.mc-public .site-header,
  body.mc-homepage .site-header,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header {
    backdrop-filter: saturate(130%) blur(14px);
    -webkit-backdrop-filter: saturate(130%) blur(14px);
  }
}

body.mc-public .site-header.is-scrolled,
body.mc-homepage .site-header.is-scrolled,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(10, 12, 18, .08);
}

body.mc-public .site-header .wrap,
body.mc-homepage .site-header .wrap,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .wrap {
  width: min(calc(100% - 28px), 1480px);
}

body.mc-public .site-header .header-inner,
body.mc-homepage .site-header .header-inner,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .header-inner {
  min-height: var(--mc-v2-header-h);
  gap: clamp(14px, 2vw, 28px);
}

body.mc-public .site-header .logo,
body.mc-homepage .site-header .logo,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .logo {
  flex: 0 0 auto;
  gap: 10px;
  color: var(--mc-v2-text);
  text-decoration: none;
}

body.mc-public .site-header .logo-img,
body.mc-homepage .site-header .logo-img,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .logo-img {
  width: auto;
  max-width: 52px;
  height: 42px;
  object-fit: contain;
  filter: none;
}

body.mc-public .site-header .logo-text,
body.mc-homepage .site-header .logo-text,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.035em;
}

body.mc-public .nav-main,
body.mc-homepage .nav-main,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .nav-main {
  align-self: stretch;
  gap: 2px;
}

body.mc-public .nav-main > a,
body.mc-homepage .nav-main > a,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .nav-main > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--mc-v2-header-h);
  padding: 0 clamp(9px, 1.05vw, 15px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mc-v2-text-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease;
}

body.mc-public .nav-main > a::after,
body.mc-homepage .nav-main > a::after,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .nav-main > a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: rgb(var(--mc-v2-accent-rgb));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 150ms var(--mc-v2-ease);
}

body.mc-public .nav-main > a:hover,
body.mc-homepage .nav-main > a:hover,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .nav-main > a:hover {
  background: var(--mc-v2-surface-2);
  color: var(--mc-v2-text);
}

body.mc-public .nav-main > a.active,
body.mc-homepage .nav-main > a.active,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .nav-main > a.active {
  color: var(--mc-v2-text);
}

body.mc-public .nav-main > a.active::after,
body.mc-homepage .nav-main > a.active::after,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .nav-main > a.active::after {
  transform: scaleX(1);
}

body.mc-public .header-actions,
body.mc-homepage .header-actions,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .header-actions {
  gap: 7px;
}

body.mc-public .site-header :where(.search-link, .cart-link, .theme-toggle, .mobile-menu-btn),
body.mc-homepage .site-header :where(.search-link, .cart-link, .theme-toggle, .mobile-menu-btn),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header :where(.search-link, .cart-link, .theme-toggle, .mobile-menu-btn) {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid var(--mc-v2-border);
  border-radius: var(--mc-v2-radius-sm);
  background: transparent;
  color: var(--mc-v2-text);
  box-shadow: none;
}

body.mc-public .site-header :where(.search-link, .cart-link, .theme-toggle, .mobile-menu-btn):hover,
body.mc-homepage .site-header :where(.search-link, .cart-link, .theme-toggle, .mobile-menu-btn):hover,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header :where(.search-link, .cart-link, .theme-toggle, .mobile-menu-btn):hover {
  border-color: var(--mc-v2-border-strong);
  background: var(--mc-v2-surface-2);
  transform: none;
}

.mc-v2-header-app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgb(var(--mc-v2-accent-rgb));
  border-radius: var(--mc-v2-radius-sm);
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214 !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: filter 140ms ease, transform 140ms var(--mc-v2-ease);
}

.mc-v2-header-app-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.mc-v2-header-app-cta svg {
  width: 15px;
  height: 15px;
}

body.mc-public .theme-menu,
body.mc-homepage .theme-menu,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .theme-menu {
  border: 1px solid var(--mc-v2-border-strong);
  border-radius: var(--mc-v2-radius-md);
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
  box-shadow: var(--mc-v2-shadow-2);
}

body.mc-public .mobile-nav,
body.mc-homepage .mobile-nav,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .mobile-nav {
  border-top: 1px solid var(--mc-v2-border);
  background: var(--mc-v2-surface);
  box-shadow: 0 24px 42px rgba(10, 12, 18, .12);
}

body.mc-public .mobile-nav > a,
body.mc-homepage .mobile-nav > a,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .mobile-nav > a {
  border-bottom: 1px solid var(--mc-v2-border);
  border-radius: 0;
  color: var(--mc-v2-text);
  font-weight: 750;
}

body.mc-public .mobile-nav > a.active,
body.mc-homepage .mobile-nav > a.active,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .mobile-nav > a.active {
  border-left: 3px solid rgb(var(--mc-v2-accent-rgb));
  background: var(--mc-v2-surface-2);
}

/* ------------------------------
   Buttons + controls
   ------------------------------ */
body.mc-public .btn,
body.mc-homepage .btn,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .btn {
  min-height: 44px;
  border-radius: var(--mc-v2-radius-sm);
  box-shadow: none;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform 140ms var(--mc-v2-ease), filter 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

body.mc-public .btn:hover,
body.mc-homepage .btn:hover,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .btn:hover {
  transform: translateY(-1px);
}

body.mc-public :where(.btn-primary, .btn-home-gold),
body.mc-homepage :where(.btn-primary, .btn-home-gold),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.btn-primary, .btn-home-gold) {
  border-color: rgb(var(--mc-v2-accent-rgb));
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214;
  text-shadow: none;
}

body.mc-public :where(.btn-outline, .btn-secondary),
body.mc-homepage :where(.btn-outline, .btn-secondary),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.btn-outline, .btn-secondary) {
  border-color: var(--mc-v2-border-strong);
  background: transparent;
  color: var(--mc-v2-text);
}

body.mc-public :where(input, select, textarea),
body.mc-homepage :where(input, select, textarea),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(input, select, textarea) {
  border: 1px solid var(--mc-v2-border-strong);
  border-radius: var(--mc-v2-radius-sm);
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
  box-shadow: none;
}

/* ------------------------------
   Homepage: app-first hierarchy
   ------------------------------ */
body.mc-homepage .hero,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero {
  min-height: min(760px, 86svh);
  border-bottom: 1px solid var(--mc-v2-border);
}

body.mc-homepage .hero::after,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .56));
}

body.mc-homepage .hero .hero-grid,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid {
  position: relative;
  z-index: 3;
  align-items: end;
  min-height: min(760px, 86svh);
  padding-top: calc(var(--mc-v2-header-h) + 64px);
  padding-bottom: clamp(52px, 8vh, 92px);
}

body.mc-homepage .hero .hero-grid > div:first-child,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid > div:first-child {
  max-width: 900px;
}

body.mc-homepage .hero h1,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero h1 {
  max-width: 830px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(3.3rem, 8vw, 7.6rem);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.07em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

body.mc-homepage .hero .lead,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .lead {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.58;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .44);
}

body.mc-homepage .hero .cta-row,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .cta-row {
  gap: 9px;
}

body.mc-homepage .hero .cta-row .btn,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .cta-row .btn {
  min-height: 46px;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(10, 11, 13, .62);
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.mc-homepage .hero .mc-v2-hero-app-cta,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-app-cta {
  border-color: rgb(var(--mc-v2-accent-rgb)) !important;
  background: rgb(var(--mc-v2-accent-rgb)) !important;
  color: #111214 !important;
}

body.mc-homepage .hero .hero-secondary-jump-row,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-secondary-jump-row {
  margin-top: 10px;
}

body.mc-homepage .hero .hero-secondary-jump-row .btn:last-child,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-secondary-jump-row .btn:last-child {
  border-color: rgb(var(--mc-v2-accent-rgb));
  background: transparent;
  color: #fff;
}

/* Existing app section: flatten the previous layered/glass treatment. */
body.mc-homepage #app-experience.mc-app-experience-v2,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience.mc-app-experience-v2 {
  position: relative;
  width: min(calc(100% - 40px), var(--mc-v2-content-max));
  margin: clamp(38px, 6vw, 82px) auto;
  padding: clamp(28px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--mc-v2-border-strong);
  border-radius: var(--mc-v2-radius-lg);
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
  box-shadow: var(--mc-v2-shadow-1);
}

body.mc-homepage #app-experience.mc-app-experience-v2::before,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience.mc-app-experience-v2::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: rgb(var(--mc-v2-accent-rgb));
  opacity: 1;
}

body.mc-homepage #app-experience.mc-app-experience-v2::after,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience.mc-app-experience-v2::after {
  content: "MUSIC COAST APP";
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--mc-v2-text-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  pointer-events: none;
}

body.mc-homepage #app-experience .mc-app-experience-v2-copy,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-experience-v2-copy {
  width: min(100%, 1040px);
  margin-inline: 0;
  text-align: left;
}

body.mc-homepage #app-experience .mc-app-experience-v2-copy h2,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-experience-v2-copy h2 {
  max-width: 920px;
  margin: 0;
  color: var(--mc-v2-text);
  font-size: clamp(2.55rem, 6.2vw, 6.2rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.067em;
}

body.mc-homepage #app-experience .mc-app-experience-v2-copy > p,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-experience-v2-copy > p {
  max-width: 770px;
  margin: 18px 0 0;
  color: var(--mc-v2-text-2);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}

body.mc-homepage #app-experience .mc-app-badge-row,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-badge-row {
  justify-content: flex-start;
  margin-top: 24px;
  gap: 10px;
}

body.mc-homepage #app-experience .mc-app-store-badge,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-store-badge {
  min-height: 54px;
  border: 1px solid var(--mc-v2-border-strong);
  border-radius: var(--mc-v2-radius-sm);
  background: #111214;
  color: #fff;
  box-shadow: none;
}

body.mc-homepage #app-experience :where(.mc-app-shot-card, .mc-app-feature-card-v2, .mc-artist-support-card, .mc-app-premium-card),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience :where(.mc-app-shot-card, .mc-app-feature-card-v2, .mc-artist-support-card, .mc-app-premium-card) {
  border: 1px solid var(--mc-v2-border);
  border-radius: var(--mc-v2-radius-md);
  background: var(--mc-v2-surface-2);
  color: var(--mc-v2-text);
  box-shadow: none;
}

body.mc-homepage #app-experience :where(.mc-app-feature-card-v2, .mc-app-premium-card),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience :where(.mc-app-feature-card-v2, .mc-app-premium-card) {
  align-content: start;
  justify-items: start;
  text-align: left;
}

body.mc-homepage #app-experience :where(.mc-app-feature-card-v2, .mc-app-premium-card) > span,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience :where(.mc-app-feature-card-v2, .mc-app-premium-card) > span {
  margin-inline: 0;
  border: 0;
  background: transparent;
  color: rgb(var(--mc-v2-accent-rgb));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

body.mc-homepage #app-experience .mc-app-shot-stage-nav,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-shot-stage-nav {
  border: 1px solid var(--mc-v2-border-strong);
  border-radius: var(--mc-v2-radius-sm);
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
  box-shadow: none;
}

body.mc-homepage #app-experience .mc-app-shot-open,
body.mc-homepage #app-experience .mc-app-shot-card img,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-shot-open,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-shot-card img {
  border-radius: var(--mc-v2-radius-sm);
  box-shadow: none;
}

body.mc-homepage #app-experience .mc-app-video-shell,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-video-shell {
  overflow: hidden;
  border: 1px solid var(--mc-v2-border-strong);
  border-radius: var(--mc-v2-radius-md);
  box-shadow: none;
}

/* ------------------------------
   Directory pages + content cards
   ------------------------------ */
body.mc-public .site-main > .section,
body.mc-public .site-main > section.wrap,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-main > .section,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-main > section.wrap {
  padding-top: calc(var(--mc-v2-header-h) + clamp(42px, 6vw, 82px));
}

body.mc-public .section-head,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .section-head {
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--mc-v2-border);
}

body.mc-public .section-head h1,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .section-head h1 {
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.06em;
}

body.mc-public .section-desc,
body.mc-public .section-head .subtle,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .section-desc,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .section-head .subtle {
  max-width: 760px;
  color: var(--mc-v2-text-2);
  line-height: 1.65;
}

body.mc-public :where(.card, .article-card, .interview-card, .album-card, .artist-card, .resource-card, .policy-card, .shop-card),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.card, .article-card, .interview-card, .album-card, .artist-card, .resource-card, .policy-card, .shop-card) {
  border: 1px solid var(--mc-v2-border);
  border-radius: var(--mc-v2-radius-md);
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
  box-shadow: none;
}

body.mc-public :where(.article-card, .interview-card, .album-card, .artist-card, .resource-card, .shop-card),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.article-card, .interview-card, .album-card, .artist-card, .resource-card, .shop-card) {
  transition: border-color 160ms ease, transform 160ms var(--mc-v2-ease), box-shadow 160ms ease;
}

body.mc-public :where(.article-card, .interview-card, .album-card, .artist-card, .resource-card, .shop-card):hover,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.article-card, .interview-card, .album-card, .artist-card, .resource-card, .shop-card):hover {
  border-color: var(--mc-v2-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--mc-v2-shadow-1);
}

body.mc-public :where(.article-card, .interview-card, .album-card, .artist-card, .resource-card, .shop-card) img,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.article-card, .interview-card, .album-card, .artist-card, .resource-card, .shop-card) img {
  border-radius: calc(var(--mc-v2-radius-md) - 1px) calc(var(--mc-v2-radius-md) - 1px) 0 0;
}

body.mc-public :where(.card-tag, .eyebrow, .shop-hero-eyebrow),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.card-tag, .eyebrow, .shop-hero-eyebrow) {
  color: rgb(var(--mc-v2-accent-rgb));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.mc-public :where(.pill, .stat-pill, .shop-hero-signal),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.pill, .stat-pill, .shop-hero-signal) {
  border: 1px solid var(--mc-v2-border);
  border-radius: 999px;
  background: var(--mc-v2-surface-2);
  color: var(--mc-v2-text-2);
  box-shadow: none;
}

body.mc-public .pagination :where(a, span),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .pagination :where(a, span) {
  border: 1px solid var(--mc-v2-border);
  border-radius: var(--mc-v2-radius-sm);
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
}

body.mc-public .pagination .active,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .pagination .active {
  border-color: rgb(var(--mc-v2-accent-rgb));
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214;
}

/* ------------------------------
   Footer: editorial, app-forward
   ------------------------------ */
body.mc-public .site-footer,
body.mc-homepage .site-footer,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer {
  position: relative;
  margin-top: clamp(52px, 8vw, 110px);
  border-top: 5px solid rgb(var(--mc-v2-accent-rgb));
  background: var(--mc-v2-footer);
  color: var(--mc-v2-on-footer);
}

body.mc-public .site-footer > .wrap,
body.mc-homepage .site-footer > .wrap,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer > .wrap {
  width: min(calc(100% - 40px), var(--mc-v2-content-max));
  padding-top: clamp(36px, 5vw, 68px);
  padding-bottom: 30px;
}

.mc-v2-footer-app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-bottom: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.mc-v2-footer-app-copy {
  max-width: 780px;
}

.mc-v2-footer-app-kicker {
  display: block;
  margin-bottom: 8px;
  color: rgb(var(--mc-v2-accent-rgb));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mc-v2-footer-app h2 {
  margin: 0;
  color: var(--mc-v2-on-footer) !important;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.055em;
}

.mc-v2-footer-app p {
  max-width: 650px;
  margin: 13px 0 0;
  color: var(--mc-v2-on-footer-2) !important;
  line-height: 1.6;
}

.mc-v2-footer-app-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.mc-v2-footer-app-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--mc-v2-radius-sm);
  color: var(--mc-v2-on-footer);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.mc-v2-footer-app-actions a:first-child {
  border-color: rgb(var(--mc-v2-accent-rgb));
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214;
}

body.mc-public .footer-grid,
body.mc-homepage .footer-grid,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .footer-grid {
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .75fr));
  gap: clamp(28px, 4vw, 66px);
}

body.mc-public .site-footer :where(.logo-text, h4),
body.mc-homepage .site-footer :where(.logo-text, h4),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer :where(.logo-text, h4) {
  color: var(--mc-v2-on-footer);
}

body.mc-public .site-footer h4,
body.mc-homepage .site-footer h4,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer h4 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.mc-public .site-footer .footer-brand > p,
body.mc-homepage .site-footer .footer-brand > p,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer .footer-brand > p {
  max-width: 410px;
  color: var(--mc-v2-on-footer-2);
  line-height: 1.62;
}

body.mc-public .site-footer .footer-list,
body.mc-homepage .site-footer .footer-list,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer .footer-list {
  gap: 2px;
}

body.mc-public .site-footer .footer-list a,
body.mc-homepage .site-footer .footer-list a,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer .footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  color: var(--mc-v2-on-footer-2);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

body.mc-public .site-footer .footer-list a:hover,
body.mc-homepage .site-footer .footer-list a:hover,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer .footer-list a:hover {
  color: var(--mc-v2-on-footer);
}

body.mc-public .site-footer .footer-link-icon,
body.mc-public .site-footer .footer-social-icon,
body.mc-homepage .site-footer .footer-link-icon,
body.mc-homepage .site-footer .footer-social-icon,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer .footer-link-icon,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer .footer-social-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-color: rgba(255, 255, 255, .14);
  background: transparent;
  color: var(--mc-v2-on-footer-2);
}

body.mc-public .footer-bottom,
body.mc-homepage .footer-bottom,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .footer-bottom {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

body.mc-public .footer-bottom p,
body.mc-homepage .footer-bottom p,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .footer-bottom p {
  color: var(--mc-v2-on-footer-2);
  font-size: 12px;
  line-height: 1.55;
}

/* ------------------------------
   Mobile app rail
   ------------------------------ */
.mc-v2-mobile-appbar {
  position: fixed;
  z-index: 1060;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  display: none;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-left: 4px solid rgb(var(--mc-v2-accent-rgb));
  border-radius: var(--mc-v2-radius-md);
  background: #151619;
  color: #fff;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .34);
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  transition: transform 220ms var(--mc-v2-ease), opacity 180ms ease;
}

.mc-v2-mobile-appbar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.mc-v2-mobile-appbar-copy {
  min-width: 0;
}

.mc-v2-mobile-appbar-copy strong,
.mc-v2-mobile-appbar-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-v2-mobile-appbar-copy strong {
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.mc-v2-mobile-appbar-copy span {
  margin-top: 2px;
  color: rgba(255, 255, 255, .65);
  font-size: 11px;
}

.mc-v2-mobile-appbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: var(--mc-v2-radius-sm);
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214 !important;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.mc-v2-mobile-appbar-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--mc-v2-radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-size: 20px;
}

/* Keep the new rail clear of the existing cookie/accessibility controls. */
body.mc-v2-has-mobile-appbar .mc-cookie-root,
body.mc-v2-has-mobile-appbar .mc-a11y-root {
  --mc-cookie-edge-offset: 88px;
}

/* ------------------------------
   Responsive
   ------------------------------ */
@media (max-width: 1240px) {
  .mc-v2-header-app-cta {
    display: none;
  }

  body.mc-public .nav-main > a,
  body.mc-homepage .nav-main > a,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .nav-main > a {
    padding-inline: 8px;
    font-size: 13px;
  }
}

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

  body.mc-public .wrap,
  body.mc-homepage .wrap,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .wrap {
    width: min(calc(100% - 30px), var(--mc-v2-content-max));
  }

  body.mc-public .site-header .wrap,
  body.mc-homepage .site-header .wrap,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .wrap {
    width: min(calc(100% - 22px), 1480px);
  }

  body.mc-homepage .hero,
  body.mc-homepage .hero .hero-grid,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid {
    min-height: min(720px, 82svh);
  }

  body.mc-public .footer-grid,
  body.mc-homepage .footer-grid,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.mc-public .wrap,
  body.mc-homepage .wrap,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .wrap {
    width: min(calc(100% - 24px), var(--mc-v2-content-max));
  }

  body.mc-public .site-header .logo-img,
  body.mc-homepage .site-header .logo-img,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .logo-img {
    height: 38px;
    max-width: 46px;
  }

  body.mc-public .site-header .logo-text,
  body.mc-homepage .site-header .logo-text,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .logo-text {
    display: none;
  }

  body.mc-homepage .hero,
  body.mc-homepage .hero .hero-grid,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid {
    min-height: min(700px, 86svh);
  }

  body.mc-homepage .hero .hero-grid,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid {
    padding-top: calc(var(--mc-v2-header-h) + 40px);
    padding-bottom: 42px;
  }

  body.mc-homepage .hero h1,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero h1 {
    font-size: clamp(3rem, 18vw, 5.2rem);
  }

  body.mc-homepage .hero .lead,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .lead {
    font-size: .98rem;
  }

  body.mc-homepage .hero .cta-row,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mc-homepage .hero .cta-row .btn,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .cta-row .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: 12px;
  }

  body.mc-homepage #app-experience.mc-app-experience-v2,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience.mc-app-experience-v2 {
    width: calc(100% - 24px);
    margin: 34px auto;
    padding: 46px 16px 20px;
    border-radius: var(--mc-v2-radius-md);
  }

  body.mc-homepage #app-experience.mc-app-experience-v2::after,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience.mc-app-experience-v2::after {
    top: 17px;
    right: 16px;
    font-size: 9px;
  }

  body.mc-homepage #app-experience .mc-app-experience-v2-copy h2,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-experience-v2-copy h2 {
    font-size: clamp(2.15rem, 12.5vw, 3.8rem);
  }

  body.mc-homepage #app-experience .mc-app-badge-row,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-badge-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.mc-homepage #app-experience .mc-app-store-badge,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience .mc-app-store-badge {
    width: 100%;
    justify-content: center;
  }

  body.mc-public .section-head h1,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .section-head h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .mc-v2-footer-app {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mc-v2-footer-app-actions {
    justify-content: flex-start;
  }

  .mc-v2-footer-app-actions a {
    flex: 1 1 150px;
  }

  body.mc-public .footer-grid,
  body.mc-homepage .footer-grid,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mc-v2-mobile-appbar {
    display: grid;
  }

  body.mc-v2-has-mobile-appbar {
    padding-bottom: 84px;
  }
}

@media (max-width: 420px) {
  body.mc-homepage .hero .cta-row,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .cta-row {
    grid-template-columns: 1fr;
  }

  .mc-v2-mobile-appbar {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    gap: 7px;
    padding-left: 11px;
  }

  .mc-v2-mobile-appbar-copy span {
    display: none;
  }

  .mc-v2-mobile-appbar-link {
    padding-inline: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mc-public *,
  body.mc-homepage *,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) *,
  body.mc-public *::before,
  body.mc-public *::after,
  body.mc-homepage *::before,
  body.mc-homepage *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .mc-v2-header-app-cta,
  .mc-v2-mobile-appbar,
  .mc-v2-footer-app {
    display: none !important;
  }
}

/* JS-enhanced app-first hero label. */
body.mc-homepage .mc-v2-hero-kicker,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .mc-v2-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(12, 13, 15, .58);
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ========================================================================== 
   Music Coast UI v2.1 — production-template integration
   ========================================================================== */

/* Keep the header useful at laptop widths without sacrificing existing tools. */
body.mc-public .site-header .lang-switcher,
body.mc-homepage .site-header .lang-switcher,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--mc-v2-border);
  border-radius: var(--mc-v2-radius-sm);
  background: var(--mc-v2-surface-2);
}

body.mc-public .site-header .lang-pill,
body.mc-homepage .site-header .lang-pill,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .lang-pill {
  min-width: 34px;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
}

body.mc-public .site-header .lang-pill.is-active,
body.mc-homepage .site-header .lang-pill.is-active,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .lang-pill.is-active {
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.mc-v2-header-app-cta svg {
  width: 17px;
  height: 17px;
}

body.mc-public .mobile-nav,
body.mc-homepage .mobile-nav,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .mobile-nav {
  border-bottom: 1px solid var(--mc-v2-border);
  background: var(--mc-v2-surface);
  color: var(--mc-v2-text);
  box-shadow: 0 18px 42px rgba(8, 10, 14, .12);
}

body.mc-public .mobile-nav > a,
body.mc-homepage .mobile-nav > a,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .mobile-nav > a {
  border-radius: 8px;
  color: var(--mc-v2-text);
  font-weight: 750;
}

body.mc-public .mobile-nav > a.active,
body.mc-homepage .mobile-nav > a.active,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .mobile-nav > a.active {
  background: var(--mc-v2-surface-2);
  color: var(--mc-v2-text);
}

body.mc-public .mobile-nav > a.mc-v2-mobile-nav-app,
body.mc-homepage .mobile-nav > a.mc-v2-mobile-nav-app,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .mobile-nav > a.mc-v2-mobile-nav-app {
  border: 1px solid rgb(var(--mc-v2-accent-rgb));
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214;
  text-align: center;
}

/* App-first homepage: a deliberate two-column platform introduction. */
body.mc-homepage .hero,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero {
  isolation: isolate;
  min-height: min(778px, calc(100svh - var(--mc-v2-header-h)));
  background: #090a0d;
}

body.mc-homepage .hero .hero-video-bg,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-video-bg {
  opacity: .34;
  filter: saturate(.72) contrast(1.04);
}

body.mc-homepage .hero .hero-video-fade,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-video-fade {
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .98) 0%, rgba(7, 8, 10, .88) 43%, rgba(7, 8, 10, .48) 72%, rgba(7, 8, 10, .70) 100%),
    linear-gradient(0deg, rgba(7, 8, 10, .82) 0%, transparent 45%);
}

body.mc-homepage .hero::after,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero::after {
  height: 30%;
  background: linear-gradient(to bottom, transparent, #090a0d);
}

body.mc-homepage .hero .hero-grid,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  min-height: min(778px, calc(100svh - var(--mc-v2-header-h)));
  padding-top: clamp(58px, 7vh, 92px);
  padding-bottom: clamp(54px, 7vh, 90px);
}

body.mc-homepage .hero .mc-v2-hero-copy,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-copy {
  max-width: 790px;
}

body.mc-homepage .hero h1,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(4rem, 7.2vw, 7.65rem);
  line-height: .86;
  letter-spacing: -.075em;
  text-shadow: none;
}

body.mc-homepage .hero .lead,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .lead {
  max-width: 710px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  text-shadow: none;
}

body.mc-homepage .hero .mc-v2-hero-kicker,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-kicker {
  min-height: 31px;
  margin-bottom: 20px;
  padding: 0 12px;
  border-color: rgba(255, 255, 255, .32);
  background: rgba(9, 10, 13, .48);
  letter-spacing: .13em;
}

body.mc-homepage .hero .mc-v2-hero-actions,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

body.mc-homepage .hero .mc-v2-hero-actions .btn,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-actions .btn {
  width: auto;
  min-height: 48px;
  padding-inline: 17px;
  border-radius: 9px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(9, 10, 13, .66);
  color: #fff;
  font-size: 14px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.mc-homepage .hero .mc-v2-hero-actions .mc-v2-hero-app-cta,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-actions .mc-v2-hero-app-cta {
  border-color: rgb(var(--mc-v2-accent-rgb));
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214;
}

body.mc-homepage .hero .hero-app-column,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-app-column {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-width: 0;
}

.mc-v2-hero-app-visual {
  position: relative;
  width: min(100%, 570px);
  min-height: 560px;
  display: grid;
  place-items: center;
}

.mc-v2-hero-app-visual::before {
  content: "";
  position: absolute;
  width: min(96%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .015);
}

.mc-v2-hero-phone-stage {
  position: relative;
  width: min(100%, 530px);
  height: 520px;
}

.mc-v2-hero-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(170px, 16vw, 230px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .46);
}

.mc-v2-hero-phone--left {
  z-index: 1;
  transform: translate(-113%, -46%) rotate(-8deg) scale(.87);
  opacity: .80;
}

.mc-v2-hero-phone--center {
  z-index: 3;
  transform: translate(-50%, -50%);
}

.mc-v2-hero-phone--right {
  z-index: 2;
  transform: translate(14%, -45%) rotate(8deg) scale(.88);
  opacity: .82;
}

.mc-v2-hero-platform-badge {
  position: absolute;
  right: 1%;
  bottom: 28px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(8, 9, 11, .78);
  color: rgba(255, 255, 255, .84);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body.mc-homepage .hero .hero-media-controls,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-media-controls {
  position: absolute;
  left: 0;
  bottom: 10px;
  z-index: 5;
}

body.mc-homepage .hero-effects,
body.mc-homepage .hero-emoji,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero-effects,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero-emoji {
  display: none !important;
}

/* Page rhythm and content legibility across all shared-template routes. */
body.mc-public .site-main,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-main {
  min-height: 62vh;
}

body.mc-public :where(.prose, .article-body, .interview-body, .policy-content, .resource-copy),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.prose, .article-body, .interview-body, .policy-content, .resource-copy) {
  line-height: 1.76;
}

body.mc-public :where(.filters, .filter-bar, .directory-controls, .search-form, .sort-controls),
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) :where(.filters, .filter-bar, .directory-controls, .search-form, .sort-controls) {
  border-color: var(--mc-v2-border);
  border-radius: var(--mc-v2-radius-md);
  background: var(--mc-v2-surface);
  box-shadow: none;
}

/* Footer information is intentionally calm and utilitarian. */
body.mc-public .site-footer,
body.mc-homepage .site-footer,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer {
  border-top: 4px solid rgb(var(--mc-v2-accent-rgb));
}

body.mc-public .site-footer .footer-brand p,
body.mc-homepage .site-footer .footer-brand p,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-footer .footer-brand p {
  max-width: 38ch;
}

@media (max-width: 1380px) {
  body.mc-public .site-header .lang-pill-text,
  body.mc-homepage .site-header .lang-pill-text,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .lang-pill-text {
    display: none;
  }

  body.mc-public .site-header .lang-pill,
  body.mc-homepage .site-header .lang-pill,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .site-header .lang-pill {
    min-width: 34px;
    padding-inline: 6px;
  }
}

@media (max-width: 1180px) {
  body.mc-homepage .hero .hero-grid,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
    gap: 30px;
  }

  .mc-v2-hero-phone-stage {
    transform: scale(.88);
  }
}

@media (max-width: 980px) {
  body.mc-homepage .hero,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero {
    min-height: auto;
  }

  body.mc-homepage .hero .hero-grid,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 52px;
  }

  body.mc-homepage .hero .mc-v2-hero-copy,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-copy {
    max-width: 820px;
  }

  body.mc-homepage .hero .hero-app-column,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-app-column {
    min-height: 400px;
  }

  .mc-v2-hero-app-visual {
    min-height: 390px;
  }

  .mc-v2-hero-phone-stage {
    height: 390px;
    transform: scale(.78);
  }
}

@media (max-width: 760px) {
  body.mc-homepage .hero .hero-grid,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-grid {
    padding-top: 62px;
    padding-bottom: 36px;
    gap: 16px;
  }

  body.mc-homepage .hero h1,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero h1 {
    font-size: clamp(3.1rem, 16.5vw, 5.35rem);
    line-height: .90;
  }

  body.mc-homepage .hero .mc-v2-hero-actions,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.mc-homepage .hero .mc-v2-hero-actions .btn:first-child,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-actions .btn:first-child {
    grid-column: 1 / -1;
  }

  body.mc-homepage .hero .hero-app-column,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-app-column {
    min-height: 330px;
  }

  .mc-v2-hero-app-visual {
    min-height: 320px;
  }

  .mc-v2-hero-phone-stage {
    height: 330px;
    transform: scale(.64);
  }

  .mc-v2-hero-platform-badge {
    right: 8px;
    bottom: 2px;
  }
}

@media (max-width: 430px) {
  body.mc-homepage .hero .mc-v2-hero-actions,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-actions {
    grid-template-columns: 1fr;
  }

  body.mc-homepage .hero .mc-v2-hero-actions .btn:first-child,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .mc-v2-hero-actions .btn:first-child {
    grid-column: auto;
  }

  body.mc-homepage .hero .hero-app-column,
  html.mc-ui-v2 body:not(.mc-admin):not(.links-page) .hero .hero-app-column {
    min-height: 285px;
  }

  .mc-v2-hero-app-visual {
    min-height: 275px;
  }

  .mc-v2-hero-phone-stage {
    height: 285px;
    transform: scale(.54);
  }
}

/* ================================================================
   Music Coast UI v2.3 — homepage media/layout correction
   - app introduction stays first and uses the purpose-built wide artwork
   - the rotating interview reel is contained above Explore Music Coast
   - all media preserves its native aspect ratio on desktop and mobile
   ================================================================ */

body.mc-homepage .mc-v23-app-hero {
  padding: clamp(22px, 3vw, 42px) 0 clamp(30px, 4vw, 58px);
  background: var(--mc-v2-page);
}

body.mc-homepage .mc-v23-app-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.42fr);
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: clamp(18px, 2vw, 28px);
  background: #0b0c0f;
  color: #fff;
  box-shadow: 0 24px 70px rgba(7, 9, 13, .22);
}

body.mc-homepage .mc-v23-app-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7,8,10,.98) 0%, rgba(7,8,10,.88) 34%, rgba(7,8,10,.18) 64%, rgba(7,8,10,.05) 100%);
}

body.mc-homepage .mc-v23-app-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(34px, 5vw, 74px);
}

body.mc-homepage .mc-v23-app-hero-copy h1 {
  max-width: 660px;
  margin: 0 0 20px;
  color: rgb(var(--mc-v2-accent-rgb));
  font-size: clamp(3.2rem, 6.1vw, 6.6rem);
  line-height: .88;
  letter-spacing: -.068em;
}

body.mc-homepage .mc-v23-app-hero-copy > p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.79);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.64;
}

body.mc-homepage .mc-v23-app-hero .mc-v2-hero-kicker {
  display: inline-flex;
  width: auto;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(8,9,12,.52);
  color: rgba(255,255,255,.9);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.mc-homepage .mc-v23-app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

body.mc-homepage .mc-v23-app-hero-actions .btn {
  width: auto;
  min-height: 48px;
  padding-inline: 18px;
  border-radius: 9px;
  border-color: rgba(255,255,255,.28);
  background: rgba(7,8,10,.68);
  color: #fff;
}

body.mc-homepage .mc-v23-app-hero-actions .btn-primary {
  border-color: rgb(var(--mc-v2-accent-rgb));
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214;
}

body.mc-homepage .mc-v23-app-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 750;
  list-style: none;
}

body.mc-homepage .mc-v23-app-hero-points li {
  position: relative;
  padding-left: 14px;
}

body.mc-homepage .mc-v23-app-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(var(--mc-v2-accent-rgb));
}

body.mc-homepage .mc-v23-app-hero-visual {
  position: absolute;
  inset: 0 0 0 32%;
  z-index: 0;
  min-width: 0;
  overflow: hidden;
}

body.mc-homepage .mc-v23-app-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Remove the failed three-poster composition if an older cached index survives. */
body.mc-homepage .mc-v2-hero-app-visual { display: none !important; }

body.mc-homepage .home-social-proof-wrap {
  margin-top: 0;
}

body.mc-homepage .mc-v23-video-hero-wrap {
  width: min(calc(100% - 40px), 1180px);
  margin: clamp(46px, 6vw, 82px) auto clamp(38px, 5vw, 68px);
}

body.mc-homepage .mc-v23-video-hero.hero {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--mc-v2-border-strong);
  border-radius: clamp(16px, 2vw, 26px);
  background: #050608 !important;
  box-shadow: 0 24px 68px rgba(7, 9, 13, .18);
  isolation: isolate;
}

body.mc-homepage .mc-v23-video-hero.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4,5,7,.92) 0%, rgba(4,5,7,.72) 42%, rgba(4,5,7,.12) 76%, rgba(4,5,7,.28) 100%);
  pointer-events: none;
}

body.mc-homepage .mc-v23-video-hero.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(4,5,7,.72));
  pointer-events: none;
}

body.mc-homepage .mc-v23-video-hero .hero-video-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  background: #050608 !important;
}

body.mc-homepage .mc-v23-video-hero .hero-video-bg iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block !important;
  width: 100.5% !important;
  height: 100.5% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  border: 0 !important;
  opacity: .78 !important;
  filter: saturate(.82) contrast(1.06) brightness(.82) !important;
  transform: translate(-50%, -50%) scale(1.015) !important;
  pointer-events: none !important;
}

body.mc-homepage .mc-v23-video-hero .hero-video-fade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  background: #050608 !important;
  opacity: 0;
  transition: opacity 520ms ease;
  pointer-events: none;
}

body.mc-homepage .mc-v23-video-hero .hero-video-fade.on { opacity: .82; }

body.mc-homepage .mc-v23-video-hero-content {
  position: absolute !important;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 4.5vw, 64px);
}

body.mc-homepage .mc-v23-video-hero-copy {
  max-width: 620px;
  color: #fff;
}

body.mc-homepage .mc-v23-video-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  background: rgba(5,6,8,.62);
  color: rgba(255,255,255,.92);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

body.mc-homepage .mc-v23-video-hero h2 {
  max-width: 560px;
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: .92;
  letter-spacing: -.055em;
}

body.mc-homepage .mc-v23-video-hero-copy > p {
  max-width: 570px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.58;
}

body.mc-homepage .mc-v23-video-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 21px;
}

body.mc-homepage .mc-v23-video-hero-actions .btn {
  min-height: 44px;
  border-radius: 8px;
  border-color: rgba(255,255,255,.30);
  background: rgba(5,6,8,.64);
  color: #fff;
}

body.mc-homepage .mc-v23-video-hero-actions .btn-primary {
  border-color: rgb(var(--mc-v2-accent-rgb));
  background: rgb(var(--mc-v2-accent-rgb));
  color: #111214;
}

body.mc-homepage .mc-v23-video-controls-mobile,
body.mc-homepage .mc-v23-video-controls-desktop {
  position: absolute;
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 5;
}

body.mc-homepage .mc-v23-video-hero .hero-media-controls {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  border-radius: 10px;
  background: rgba(5,6,8,.72);
  box-shadow: 0 14px 38px rgba(0,0,0,.30);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.mc-homepage #home-highlights {
  scroll-margin-top: calc(var(--mc-v2-header-h) + 18px);
}

@media (max-width: 980px) {
  body.mc-homepage .mc-v23-app-hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.mc-homepage .mc-v23-app-hero-card::after {
    background: linear-gradient(180deg, rgba(7,8,10,.98) 0%, rgba(7,8,10,.86) 47%, rgba(7,8,10,.12) 76%, rgba(7,8,10,.28) 100%);
  }

  body.mc-homepage .mc-v23-app-hero-copy {
    min-height: 430px;
    padding-bottom: 118px;
  }

  body.mc-homepage .mc-v23-app-hero-visual {
    inset: auto 0 0;
    height: 50%;
  }
}

@media (max-width: 760px) {
  body.mc-homepage .mc-v23-app-hero {
    padding-top: 14px;
  }

  body.mc-homepage .mc-v23-app-hero-card {
    border-radius: 16px;
  }

  body.mc-homepage .mc-v23-app-hero-copy {
    min-height: 0;
    padding: 34px 24px 26px;
  }

  body.mc-homepage .mc-v23-app-hero-copy h1 {
    font-size: clamp(3rem, 15.8vw, 5rem);
  }

  body.mc-homepage .mc-v23-app-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.mc-homepage .mc-v23-app-hero-actions .btn:first-child {
    grid-column: 1 / -1;
  }

  body.mc-homepage .mc-v23-app-hero-visual {
    position: relative;
    inset: auto;
    z-index: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 1227 / 436;
    border-top: 1px solid rgba(255,255,255,.10);
  }

  body.mc-homepage .mc-v23-app-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  body.mc-homepage .mc-v23-app-hero-card::after {
    display: none;
  }

  body.mc-homepage .mc-v23-video-hero-wrap {
    width: min(calc(100% - 24px), 1180px);
    margin-top: 42px;
  }

  body.mc-homepage .mc-v23-video-hero.hero {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }

  body.mc-homepage .mc-v23-video-hero.hero::before {
    background: linear-gradient(0deg, rgba(4,5,7,.92) 0%, rgba(4,5,7,.56) 56%, rgba(4,5,7,.16) 100%);
  }

  body.mc-homepage .mc-v23-video-hero-content {
    align-items: flex-end;
    padding: 22px;
  }

  body.mc-homepage .mc-v23-video-hero h2 {
    max-width: 360px;
    font-size: clamp(2rem, 10.5vw, 3.45rem);
  }

  body.mc-homepage .mc-v23-video-hero-copy > p {
    display: none;
  }

  body.mc-homepage .mc-v23-video-hero-actions {
    margin-top: 14px;
  }

  body.mc-homepage .mc-v23-video-hero-actions .btn {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  body.mc-homepage .mc-v23-video-controls-mobile,
  body.mc-homepage .mc-v23-video-controls-desktop {
    right: 14px;
    top: 14px;
    bottom: auto;
  }
}

@media (max-width: 430px) {
  body.mc-homepage .mc-v23-app-hero-actions {
    grid-template-columns: 1fr;
  }

  body.mc-homepage .mc-v23-app-hero-actions .btn:first-child {
    grid-column: auto;
  }

  body.mc-homepage .mc-v23-app-hero-points {
    display: grid;
    gap: 7px;
  }

  body.mc-homepage .mc-v23-video-hero.hero {
    aspect-ratio: 4 / 3;
  }

  body.mc-homepage .mc-v23-video-hero-actions .btn:last-child {
    display: none;
  }
}



/* Music Coast UI v2.3.1 — production media sizing */
/* Keep the app introduction substantial but well below a full viewport. */
body.mc-homepage .mc-v23-app-hero > .wrap {
  width: min(calc(100% - 40px), 1180px);
}

body.mc-homepage .mc-v23-app-hero-card {
  min-height: 0 !important;
  max-height: none !important;
}

body.mc-homepage .mc-v23-app-hero-copy {
  column-gap: clamp(34px, 5vw, 74px);
  padding: clamp(34px, 4vw, 54px) clamp(30px, 4.2vw, 58px) clamp(24px, 2.8vw, 36px);
}

body.mc-homepage .mc-v23-app-hero-copy h1 {
  max-width: 610px;
  font-size: clamp(3.05rem, 5.15vw, 5.65rem);
}

body.mc-homepage .mc-v23-app-hero-visual {
  max-height: none !important;
  height: auto !important;
  aspect-ratio: 1227 / 436 !important;
}

body.mc-homepage .mc-v23-app-hero-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* The rotating interview reel is a media card, not a full-screen hero. */
body.mc-homepage .mc-v23-video-hero-wrap {
  width: min(calc(100% - 40px), 1100px);
}

body.mc-homepage .mc-v23-video-hero.hero {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
}

body.mc-homepage .mc-v23-video-hero .hero-video-bg,
body.mc-homepage .mc-v23-video-hero .hero-video-bg iframe,
body.mc-homepage .mc-v23-video-hero .hero-video-fade {
  min-height: 0 !important;
  max-height: none !important;
}

@media (max-width: 980px) {
  body.mc-homepage .mc-v23-app-hero > .wrap {
    width: min(calc(100% - 28px), 1180px);
  }
}

@media (max-width: 760px) {
  body.mc-homepage .mc-v23-app-hero > .wrap {
    width: min(calc(100% - 24px), 1180px);
  }

  body.mc-homepage .mc-v23-app-hero-copy {
    padding: 32px 22px 24px;
  }

  body.mc-homepage .mc-v23-app-hero-copy h1 {
    font-size: clamp(2.9rem, 15.2vw, 4.8rem);
  }

  body.mc-homepage .mc-v23-video-hero-wrap {
    width: min(calc(100% - 24px), 1100px);
  }

  body.mc-homepage .mc-v23-video-hero.hero {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
  }
}

@media (max-width: 430px) {
  body.mc-homepage .mc-v23-video-hero.hero {
    aspect-ratio: 4 / 3 !important;
  }
}

/* Music Coast UI v2.3.1 — compact desktop refinements */
body.mc-homepage .mc-v23-app-hero > .wrap {
  width: min(calc(100% - 40px), 1180px) !important;
  max-width: 1180px !important;
}

body.mc-homepage .mc-v23-app-hero-copy {
  padding: 30px 42px 26px !important;
  column-gap: 42px !important;
}

body.mc-homepage .mc-v23-app-hero-copy h1 {
  max-width: 650px !important;
  font-size: clamp(2.9rem, 4.5vw, 4.65rem) !important;
  line-height: .9 !important;
}

body.mc-homepage .mc-v23-app-hero-copy > p {
  line-height: 1.5 !important;
}

body.mc-homepage .mc-v23-app-hero-actions {
  margin-top: 18px !important;
}

body.mc-homepage .mc-v23-app-hero-points {
  margin-top: 14px !important;
}

body.mc-homepage .mc-v23-video-hero-wrap {
  width: min(calc(100% - 40px), 1100px) !important;
  max-width: 1100px !important;
}

@media (max-width: 980px) {
  body.mc-homepage .mc-v23-app-hero > .wrap {
    width: min(calc(100% - 28px), 1180px) !important;
  }

  body.mc-homepage .mc-v23-app-hero-copy {
    padding: 32px 30px 26px !important;
  }
}

@media (max-width: 760px) {
  body.mc-homepage .mc-v23-app-hero > .wrap,
  body.mc-homepage .mc-v23-video-hero-wrap {
    width: min(calc(100% - 24px), 1100px) !important;
  }

  body.mc-homepage .mc-v23-app-hero-copy {
    padding: 30px 22px 23px !important;
  }

  body.mc-homepage .mc-v23-app-hero-copy h1 {
    font-size: clamp(2.8rem, 14.8vw, 4.55rem) !important;
  }
}

/* ======================================================================
   Music Coast UI v2.3.3 — homepage app-card visual polish
   - centers the existing app montage inside the introduction card
   - fades the artwork into the card instead of leaving it top-aligned
   - removes the decorative "Music Coast App" label
   - improves the Musician Resources button contrast in dark mode
   ====================================================================== */

/* Keep the first card below the fixed navigation at every breakpoint. */
body.mc-homepage .mc-v23-app-hero {
  padding-top: calc(var(--mc-v2-header-h) + clamp(18px, 2.2vw, 30px)) !important;
}

/* The wide montage now behaves like restrained campaign artwork rather
   than a top-aligned banner. Copy remains above it and fully readable. */
@media (min-width: 761px) {
  body.mc-homepage .mc-v23-app-hero-card::after {
    display: block !important;
    background:
      linear-gradient(90deg,
        rgba(7, 8, 10, .99) 0%,
        rgba(7, 8, 10, .97) 28%,
        rgba(7, 8, 10, .88) 39%,
        rgba(7, 8, 10, .38) 61%,
        rgba(7, 8, 10, .20) 78%,
        rgba(7, 8, 10, .58) 100%),
      linear-gradient(180deg,
        rgba(7, 8, 10, .58) 0%,
        rgba(7, 8, 10, .08) 24%,
        rgba(7, 8, 10, .08) 72%,
        rgba(7, 8, 10, .70) 100%) !important;
  }

  body.mc-homepage .mc-v23-app-hero-visual {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    padding: clamp(18px, 2.2vw, 34px) clamp(12px, 2vw, 28px) !important;
    overflow: hidden !important;
    background: #0b0c0f;
  }

  body.mc-homepage .mc-v23-app-hero-visual img {
    position: relative;
    z-index: 0;
    display: block !important;
    width: min(100%, 1227px) !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 92% !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: .82;
    filter: saturate(.88) contrast(1.03) brightness(.88);
    -webkit-mask-image: radial-gradient(ellipse 84% 78% at 61% 50%, #000 43%, rgba(0,0,0,.96) 58%, rgba(0,0,0,.58) 78%, transparent 100%);
    mask-image: radial-gradient(ellipse 84% 78% at 61% 50%, #000 43%, rgba(0,0,0,.96) 58%, rgba(0,0,0,.58) 78%, transparent 100%);
  }
}

/* On phones the artwork remains in normal document flow, preserves its
   native ratio, and receives a light edge fade without stretching. */
@media (max-width: 760px) {
  body.mc-homepage .mc-v23-app-hero {
    padding-top: calc(var(--mc-v2-header-h) + 14px) !important;
  }

  body.mc-homepage .mc-v23-app-hero-visual {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1227 / 436 !important;
    padding: 0 !important;
    background: #0b0c0f;
  }

  body.mc-homepage .mc-v23-app-hero-visual img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: .88;
    filter: saturate(.90) contrast(1.02) brightness(.90);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  }
}

/* The destination section already explains the product; the decorative
   all-caps label added no useful information. */
body.mc-homepage #app-experience.mc-app-experience-v2::after,
html.mc-ui-v2 body:not(.mc-admin):not(.links-page) #app-experience.mc-app-experience-v2::after {
  content: none !important;
  display: none !important;
}

/* Preserve the requested high-contrast resource action in dark mode. */
html[data-theme="dark"] body.mc-homepage #app-experience .mc-app-resource-cta,
html[data-theme="dark"] body.mc-homepage #app-experience .mc-app-resource-cta:link,
html[data-theme="dark"] body.mc-homepage #app-experience .mc-app-resource-cta:visited,
html[data-theme="dark"] body.mc-homepage #app-experience .mc-app-resource-cta:hover,
html[data-theme="dark"] body.mc-homepage #app-experience .mc-app-resource-cta:focus-visible,
html[data-theme="dark"] body.mc-homepage #app-experience .mc-app-resource-cta:active {
  color: #ffffff !important;
}

