/* Shared visual system for the RZAH site. Keep layouts fluid and content-led. */
:root {
  color-scheme: light;
  --site-ink: #171715;
  --site-paper: #f3f1ed;
  --site-surface: #fffefa;
  --site-muted: #64615c;
  --site-line: rgba(23, 23, 21, .16);
  --site-header: #090909;
  --site-gutter: clamp(20px, 5vw, 88px);
  --site-content: 1440px;
  --site-radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body.u-body {
  margin: 0;
  color: var(--site-ink);
  background: var(--site-paper) !important;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }

/* Shared header: preserve the logo's native shape and align every control. */
body.u-body > .u-header {
  z-index: 20;
  width: 100%;
  background: var(--site-header) !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.u-header .u-sheet-1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2 * var(--site-gutter)), var(--site-content)) !important;
  min-height: 84px;
  margin-inline: auto;
}
.u-header .u-sheet-1::before,
.u-header .u-sheet-1::after { display: none; }
.u-header .u-logo {
  display: block;
  width: 128px;
  max-width: 100%;
  height: auto;
  margin: 0 !important;
  line-height: 0;
}
.u-header .u-logo-image {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none;
  object-fit: contain;
}
.u-header .u-nav-link {
  min-height: 44px;
  padding: 10px 13px !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.u-header .u-nav-link:hover,
.u-header .u-nav-link:focus-visible { color: #fff !important; background: rgba(255,255,255,.09); }
.u-header .u-social-icons-1 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  width: auto !important;
  min-width: 0 !important;
  height: 44px;
  margin: 0 !important;
  white-space: nowrap;
}
.u-header .u-social-url { display: grid; width: 22px; height: 44px; place-items: center; }
.u-header .u-social-icon {
  display: block;
  width: 20px;
  height: 20px;
  transition: transform .18s ease, opacity .18s ease;
}
.u-header .u-social-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.u-header .u-social-url:hover .u-social-icon { transform: translateY(-2px); }

@media (min-width: 992px) {
  .u-header .u-sheet-1 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: clamp(16px, 1.65vw, 28px);
    min-height: 88px;
  }
  .u-header .u-image-1 {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: clamp(108px, 8vw, 132px);
    height: auto;
    margin: 0 !important;
  }
  .u-header .u-menu-1 {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: auto;
    margin: 0 !important;
    left: auto !important;
  }
  .u-header .u-nav-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    white-space: nowrap;
  }
  .u-header .u-nav-1 > .u-nav-item { flex: 0 0 auto; margin: 0 !important; }
  .u-header .u-nav-1 .u-nav-link { white-space: nowrap; }
  .site-language-menu {
    grid-column: 3;
    justify-self: end;
  }
}

@media (min-width: 1100px) {
  .u-header .u-social-icons-1 {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    display: flex !important;
    gap: clamp(5px, .45vw, 9px);
    margin-right: 0 !important;
  }
  .u-header .u-social-url { width: clamp(18px, 1.15vw, 22px); }
  .u-header .u-social-icon { width: clamp(18px, 1.15vw, 22px); height: clamp(18px, 1.15vw, 22px); }
  .site-language-menu {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}

.site-mobile-socials { display: none; }

@media (min-width: 992px) and (max-width: 1099px) {
  .u-header .u-social-icons-1 {
    grid-column: 3;
    justify-self: center;
    display: flex !important;
    gap: 4px;
    margin-right: 0 !important;
  }
  .u-header .u-social-url { width: 17px; }
  .u-header .u-social-icon { width: 16px; height: 16px; }
  .site-language-menu {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}

@media (max-width: 991px) {
  .u-header .u-sheet-1 {
    display: flex;
    min-height: 76px;
    gap: 16px;
    justify-content: space-between !important;
  }
  .u-header .u-image-1 { width: 112px; margin: 0 !important; }
  .u-header .u-image-1 { position: absolute; left: 50%; transform: translateX(-50%); }
  .u-header .u-menu-1 {
    width: auto;
    margin: 0 !important;
    margin-left: auto !important;
    left: auto !important;
  }
  .u-header .u-hamburger-link-1 {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 8px !important;
    font-size: 1.4rem !important;
  }
  .u-header .u-social-icons-1 { display: none !important; }
  .site-mobile-socials {
    display: flex;
    width: min(360px, calc(100% - 40px));
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 18px auto 0;
    padding: 18px 12px 0;
    border-top: 1px solid rgba(255,255,255,.18);
  }
  .site-mobile-socials .u-social-url {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }
  .site-mobile-socials .u-social-url:hover,
  .site-mobile-socials .u-social-url:focus-visible { background: rgba(255,255,255,.1); }
  .site-mobile-socials .u-social-icon { width: 21px; height: 21px; }
}

/* Shared page width, typography, controls and focus treatment. */
body.u-body > main,
body.u-body > .u-section-1,
body.u-body > #sec-deb5,
body.u-body > #sec-093d,
body.u-body > #sec-1f7f {
  width: 100%;
}
body.u-body main { color: var(--site-ink); }
body.u-body h1, body.u-body h2, body.u-body h3 {
  color: var(--site-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}
body.u-body .u-black h1, body.u-body .u-black h2, body.u-body .u-black h3,
body.u-body .u-over-slide h1, body.u-body .u-over-slide h2, body.u-body .u-over-slide h3,
body.u-body .u-cookies-consent h1, body.u-body .u-cookies-consent h2, body.u-body .u-cookies-consent h3,
body.u-body .service-card h1, body.u-body .service-card h2, body.u-body .service-card h3,
body.u-body .delivery h1, body.u-body .delivery h2, body.u-body .delivery h3 {
  color: #fff;
}
body.u-body .u-text-white { color: #fff !important; }
body.u-body h1 { font-size: clamp(2.5rem, 5.2vw, 5.25rem); }
body.u-body h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
body.u-body p { max-width: 68ch; }
body.u-body :focus-visible {
  outline: 3px solid #bd6945;
  outline-offset: 4px;
}
body.u-body button, body.u-body input, body.u-body textarea { font: inherit; }
body.u-body .u-btn,
body.u-body #contact-form button[type="submit"] {
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--site-ink) !important;
  border-radius: var(--site-radius);
  color: #fff !important;
  background: var(--site-ink) !important;
  font-size: 15px;
  font-weight: 600;
  transition: transform .18s ease, background-color .18s ease;
}
body.u-body .u-btn:hover,
body.u-body #contact-form button[type="submit"]:hover { transform: translateY(-2px); background: #333 !important; }
body.u-body .u-cookies-consent .u-button-confirm { min-height: 44px; border-radius: var(--site-radius); }
body.u-body #contact-form label { color: var(--site-muted); font-size: 14px; font-weight: 600; }
body.u-body #contact-form input,
body.u-body #contact-form textarea {
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  color: var(--site-ink);
  background: var(--site-surface);
}
body.u-body #contact-form input { min-height: 48px; }
body.u-body #contact-form textarea { min-height: 144px; }

/* Music catalog: one lead release, then an orderly responsive collection. */
#sec-093d.music-page {
  flex: 1 0 auto;
  padding: clamp(112px, 13vh, 160px) var(--site-gutter) clamp(72px, 9vw, 120px);
  background: var(--site-paper);
  text-align: left;
}
.music-page__inner { width: min(100%, var(--site-content)); margin-inline: auto; }
.music-page__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 0 0 clamp(32px, 5vw, 64px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--site-line);
}
.music-page__head h1 { margin: 0 0 10px; }
.music-page__head p { margin: 0; color: var(--site-muted); font-size: clamp(16px, 1.4vw, 19px); }
.release-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.release-card {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(72px, 38%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.2vw, 18px);
  padding: clamp(12px, 1.4vw, 20px);
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.release-card:hover, .release-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(23,23,21,.38);
  box-shadow: 0 12px 28px rgba(23,23,21,.08);
}
.release-card--featured {
  grid-column: span 2;
  grid-row: span 2;
  grid-template-columns: minmax(150px, 48%) minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 36px);
  padding: clamp(20px, 2.3vw, 34px);
}
.release-card__cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.release-card__info { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; }
.release-card__info > * { margin: 0 !important; }
.release-card__eyebrow { margin: 0; color: var(--site-muted); font-size: 13px; font-weight: 600; }
.release-card:not(.release-card--featured) .release-card__eyebrow { display: none; }
body.u-body .release-card__title { margin: 0; font-size: clamp(16px, 1.2vw, 20px); letter-spacing: -.025em; line-height: 1.25; overflow-wrap: anywhere; }
body.u-body .release-card--featured .release-card__title { font-size: clamp(24px, 2.4vw, 38px); }
.release-card__artist { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.45; }
.release-card__listen {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--site-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: gap .18s ease;
}
.release-card__listen:hover { gap: 13px; }
.release-card__listen::after { content: "↗"; font-size: 17px; }

/* Shared footer and long-screen rhythm. */
.site-footer {
  width: 100%;
  min-height: 84px;
  padding: 20px var(--site-gutter);
  color: rgba(255,255,255,.72);
  background: var(--site-header);
  font-size: 14px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1800px) {
  :root { --site-content: 1500px; }
}
@media (max-width: 1099px) {
  .u-header .u-sheet-1 { min-height: 80px; }
  .release-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .release-card--featured { grid-template-columns: minmax(130px, 42%) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --site-gutter: 24px; }
  .u-header .u-sheet-1 { min-height: 76px; }
  .u-header .u-logo { width: 112px; max-width: 100%; }
  .u-header .u-logo-image { max-height: none; }
  .music-page__head { display: block; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .release-card { grid-template-columns: minmax(64px, 36%) minmax(0, 1fr); gap: 11px; padding: 11px; }
  .release-card--featured { grid-column: 1 / -1; grid-row: auto; grid-template-columns: minmax(130px, 40%) minmax(0,1fr); padding: 16px; }
  body.u-body .release-card__title { font-size: 16px; }
  .release-card__artist { font-size: 13px; }
  .release-card__listen { min-height: 44px; font-size: 13px; }
}
@media (max-width: 480px) {
  :root { --site-gutter: 18px; }
  body.u-body h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  #sec-093d.music-page { padding-top: 102px; }
  .music-page__head { margin-bottom: 24px; padding-bottom: 22px; }
  .release-grid { grid-template-columns: 1fr; gap: 10px; }
  .release-card, .release-card--featured { grid-column: auto; grid-row: auto; grid-template-columns: minmax(88px, 30%) minmax(0, 1fr); padding: 12px; }
  body.u-body .release-card--featured .release-card__title { font-size: clamp(21px, 7vw, 28px); }
  .site-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
