/*
================================================================================
SANTILAVADENZ — RESPONSIVE DESIGN SYSTEM
External stylesheet for index.html
Target: Safari / iOS / iPadOS / macOS / Chrome / Android / Windows / Linux
Version: 1.0.0
--------------------------------------------------------------------------------
Load this file AFTER Tailwind CSS and the existing inline stylesheet.
This file enhances presentation only; it does not replace HTML or JavaScript.
================================================================================
*/

/* ==========================================================================
   01. TOKENS, RESET & BROWSER NORMALIZATION
   ========================================================================== */

:root {
    color-scheme: dark;

    --sl-color-black: #0a0a0a;
    --sl-color-ink: #09090b;
    --sl-color-panel: #111113;
    --sl-color-panel-raised: #18181b;
    --sl-color-border: rgba(255, 255, 255, 0.09);
    --sl-color-border-strong: rgba(255, 255, 255, 0.16);
    --sl-color-white: #f5f5f5;
    --sl-color-muted: #a1a1aa;
    --sl-color-subtle: #71717a;
    --sl-color-gold: #d97706;
    --sl-color-gold-light: #fbbf24;
    --sl-color-red: #991b1b;
    --sl-color-blue: #1d4ed8;
    --sl-color-green: #1db954;

    --sl-font-sans: "Inter", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --sl-font-serif: "Cinzel", "Times New Roman", Georgia, serif;
    --sl-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco,
        Consolas, "Liberation Mono", monospace;

    --sl-content-width: 80rem;
    --sl-gutter: clamp(1rem, 4vw, 3rem);
    --sl-section-space: clamp(4.5rem, 9vw, 8rem);
    --sl-radius-small: 0.375rem;
    --sl-radius-medium: 0.75rem;
    --sl-radius-large: 1.25rem;
    --sl-radius-pill: 999px;

    --sl-ease-standard: cubic-bezier(0.2, 0.75, 0.25, 1);
    --sl-ease-emphasis: cubic-bezier(0.16, 1, 0.3, 1);
    --sl-duration-fast: 180ms;
    --sl-duration-medium: 320ms;
    --sl-duration-slow: 650ms;

    --sl-safe-top: env(safe-area-inset-top, 0px);
    --sl-safe-right: env(safe-area-inset-right, 0px);
    --sl-safe-bottom: env(safe-area-inset-bottom, 0px);
    --sl-safe-left: env(safe-area-inset-left, 0px);

    --sl-shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.24);
    --sl-shadow-deep: 0 24px 70px rgba(0, 0, 0, 0.42);
    --sl-focus-ring: 0 0 0 3px rgba(251, 191, 36, 0.45);
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: var(--sl-color-black);
    overscroll-behavior-y: contain;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: var(--sl-color-black);
    color: var(--sl-color-white);
    font-family: var(--sl-font-sans);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: clip;
    -webkit-tap-highlight-color: transparent;
}

@supports not (overflow: clip) {
    body {
        overflow-x: hidden;
    }
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input[type="button"],
input[type="submit"],
input[type="range"] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration-thickness: from-font;
    text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--sl-color-gold-light);
    outline-offset: 4px;
    box-shadow: var(--sl-focus-ring);
}

::selection {
    color: #09090b;
    background: #f5f5f5;
}

::-moz-selection {
    color: #09090b;
    background: #f5f5f5;
}

:where(h1, h2, h3, h4, h5, h6, p) {
    overflow-wrap: break-word;
}

:where(button, a, input, textarea, select) {
    -webkit-appearance: none;
    appearance: none;
}

button:disabled,
input:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

/* ==========================================================================
   02. DOCUMENT FLOW & SECTION RHYTHM
   ========================================================================== */

main,
section,
header,
footer,
nav {
    position: relative;
}

section[id],
header[id] {
    scroll-margin-top: 5rem;
}

section {
    isolation: isolate;
}

.safe-padding {
    padding-left: max(var(--sl-gutter), var(--sl-safe-left));
    padding-right: max(var(--sl-gutter), var(--sl-safe-right));
}

.max-w-7xl {
    width: min(100% - 2 * var(--sl-gutter), var(--sl-content-width));
}

.flow-root {
    display: flow-root;
}

section > .max-w-7xl,
section > div > .max-w-7xl {
    margin-inline: auto;
}

hr {
    border: 0;
    border-top: 1px solid var(--sl-color-border);
}

[ id ] {
    scroll-margin-block-start: 5.25rem;
}

/* ==========================================================================
   03. NAVIGATION — DESKTOP, MOBILE & SAFE AREAS
   ========================================================================== */

#navbar {
    padding-top: var(--sl-safe-top);
    padding-left: var(--sl-safe-left);
    padding-right: var(--sl-safe-right);
    background: rgba(5, 5, 5, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    backdrop-filter: saturate(140%) blur(18px);
    transform: translateZ(0);
    will-change: background-color;
}

.glass-nav {
    background-color: rgba(0, 0, 0, 0.52);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

#navbar > div {
    max-width: 88rem;
}

#navbar a,
#navbar button {
    -webkit-user-select: none;
    user-select: none;
}

#navbar .font-serif {
    letter-spacing: 0.11em;
}

.nav-link-desktop {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    transition:
        color var(--sl-duration-medium) var(--sl-ease-standard),
        opacity var(--sl-duration-medium) var(--sl-ease-standard);
}

.nav-link-desktop::after {
    bottom: 0.35rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transition: width var(--sl-duration-medium) var(--sl-ease-emphasis);
}

.nav-link-desktop:focus-visible::after {
    width: 100%;
}

/* Keep desktop navigation slots steady when localized labels have different lengths. */
#navbar .nav-link-desktop {
    flex: 0 0 clamp(4.75rem, 9vw, 6.5rem);
    justify-content: center;
    white-space: nowrap;
}

#mobile-menu {
    padding-top: var(--sl-safe-top);
    padding-bottom: max(1.5rem, var(--sl-safe-bottom));
    padding-left: max(1rem, var(--sl-safe-left));
    padding-right: max(1rem, var(--sl-safe-right));
    background: rgba(8, 8, 9, 0.97);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
    backdrop-filter: blur(24px) saturate(130%);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#mobile-menu > div:first-of-type {
    width: min(100%, 34rem);
}

#mobile-menu .mobile-link {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: balance;
}

#mobile-menu .mobile-item {
    will-change: opacity, transform;
}

#mobile-menu-btn,
#close-menu-btn {
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--sl-radius-pill);
}

#mobile-menu-btn:active {
    transform: scale(0.94);
}

.hamburger-line {
    transform-origin: center;
}

#close-menu-btn {
    top: max(1rem, var(--sl-safe-top));
    right: max(1rem, var(--sl-safe-right));
}

/* Language menu is layered above the page and remains usable on touch devices. */
[data-language-selector] {
    isolation: isolate;
}

.language-selector-btn {
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
}

.language-menu {
    max-height: min(60vh, 22rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--sl-radius-medium);
    box-shadow: var(--sl-shadow-deep);
}

.language-option {
    min-height: 44px;
    cursor: pointer;
}

.language-option:active {
    background-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   04. HERO — RESPONSIVE IMAGE, TEXT & ACTIONS
   ========================================================================== */

#hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(5rem + var(--sl-safe-top));
    padding-bottom: max(5rem, var(--sl-safe-bottom));
    isolation: isolate;
    background: #050505;
}

#hero > div:first-child img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#hero h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 7.5vw, 7.5rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    white-space: nowrap;
    text-wrap: nowrap;
}

#hero p {
    max-width: 42rem;
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.8;
    text-wrap: pretty;
}

#hero .btn-primary,
#hero .hero-sheet-music-link {
    min-height: 3.5rem;
    min-width: 11rem;
    border-radius: 2px;
    letter-spacing: 0.16em;
}

#hero .btn-primary::before {
    will-change: left;
}

#hero .animate-fade-in-up {
    backface-visibility: hidden;
}

/* ==========================================================================
   05. TYPOGRAPHY & CONTENT READABILITY
   ========================================================================== */

.font-serif,
h1.font-serif,
h2.font-serif,
h3.font-serif,
h4.font-serif {
    font-family: var(--sl-font-serif);
    font-weight: 400;
}

.font-sans {
    font-family: var(--sl-font-sans);
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.leading-relaxed {
    line-height: 1.8;
}

.tracking-widest {
    letter-spacing: 0.12em;
}

.uppercase {
    text-transform: uppercase;
}

.text-gray-300,
.text-zinc-300 {
    color: #d4d4d8;
}

.text-gray-400,
.text-zinc-400 {
    color: #a1a1aa;
}

.text-gray-500,
.text-zinc-500 {
    color: #71717a;
}

/* ==========================================================================
   06. RELEASE SECTION & FEATURED ARTWORK
   ========================================================================== */

#musica {
    padding-top: var(--sl-section-space);
    padding-bottom: var(--sl-section-space);
    background: var(--sl-color-black);
}

#musica .grid {
    align-items: center;
}

#musica img {
    object-fit: cover;
    object-position: center;
}

#musica .aspect-square {
    aspect-ratio: 1 / 1;
}

#musica h2 {
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    line-height: 1.25;
    text-wrap: balance;
}

#musica h3 {
    line-height: 1.15;
    text-wrap: balance;
}

#musica .shadow-\[0_20px_50px_rgba\(0\,0\,0\,0\.7\)\] {
    box-shadow: var(--sl-shadow-deep);
}

#musica .reveal-on-scroll {
    transform: translate3d(0, 1.75rem, 0);
}

#musica .reveal-on-scroll.is-visible {
    transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   07. AUDIO PLAYER — TOUCH, RANGE INPUT & PLAY CONTROL
   ========================================================================== */

#audio-player {
    display: none;
}

#play-btn {
    min-width: 3.5rem;
    min-height: 3.5rem;
    flex: 0 0 auto;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    user-select: none;
}

#play-btn svg {
    width: 1.45rem;
    height: 1.45rem;
    pointer-events: none;
}

#play-btn:active {
    transform: scale(0.94);
}

#time-display {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

#progress-bar {
    min-height: 2.75rem;
    touch-action: pan-x;
    cursor: pointer;
    accent-color: var(--sl-color-gold);
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    margin-top: -16px;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

#progress-bar::-moz-range-thumb {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

#progress-bar::-webkit-slider-runnable-track {
    height: 40px;
    background: transparent;
}

#progress-bar::-moz-range-track {
    height: 40px;
    background: transparent;
}

#progress-active {
    transition: width 80ms linear;
    will-change: width;
}

#progress-active > div {
    box-shadow: 0 0 0.75rem rgba(217, 119, 6, 0.65);
}

#musica .group\/player {
    contain: layout paint;
}

/* ==========================================================================
   08. STORE CARDS — SHEET MUSIC & DIGITAL AUDIO
   ========================================================================== */

#partituras {
    padding-top: var(--sl-section-space);
    background-color: #09090b;
}

#partituras .grid {
    align-items: stretch;
}

#partituras .grid > div {
    min-width: 0;
}

#partituras img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#partituras h2 {
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    line-height: 1.25;
}

#partituras h3 {
    line-height: 1.25;
}

#partituras p {
    max-width: 70ch;
    overflow-wrap: anywhere;
}

#partituras a,
#videos a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

#partituras .rounded-lg,
#partituras .rounded-3xl,
#videos .rounded-3xl {
    isolation: isolate;
}

#partituras .group img,
#videos .group img {
    backface-visibility: hidden;
}

#partituras .group {
    min-width: 0;
}

#partituras .group > div {
    min-width: 0;
}

#partituras .group p,
#videos article p {
    overflow-wrap: anywhere;
}

/* Audio product grid spacing and long-form text. */
#partituras .grid.px-4 {
    row-gap: clamp(1.25rem, 3vw, 2.5rem);
}

#partituras .grid.px-4 > div {
    min-width: 0;
}

#partituras .grid.px-4 h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
}

#partituras .grid.px-4 span {
    font-variant-numeric: tabular-nums;
}

#partituras .grid.px-4 a {
    transition:
        color var(--sl-duration-medium) var(--sl-ease-standard),
        background-color var(--sl-duration-medium) var(--sl-ease-standard),
        border-color var(--sl-duration-medium) var(--sl-ease-standard),
        transform var(--sl-duration-fast) var(--sl-ease-standard);
}

#partituras .grid.px-4 a:active {
    transform: scale(0.985);
}

/* ==========================================================================
   09. VIDEO PRODUCTS — CARD CONSISTENCY & MEDIA
   ========================================================================== */

#videos {
    padding-top: clamp(3rem, 7vw, 5rem);
    padding-bottom: clamp(3rem, 7vw, 5rem);
    background: #09090b;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

#videos .video-product-card {
    min-width: 0;
    isolation: isolate;
    contain: layout style;
}

#videos .video-product-image {
    min-width: 0;
    overflow: hidden;
    background: #050505;
}

#videos .video-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#videos .video-product-content {
    min-width: 0;
}

#videos .video-product-heading {
    min-width: 0;
    align-items: flex-start;
}

#videos .video-product-heading > div {
    min-width: 0;
    flex: 1 1 auto;
}

#videos .video-product-heading h3 {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.35;
}

#videos .video-product-price {
    flex: 0 0 auto;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#videos .video-product-badges {
    min-width: 0;
}

#videos .video-product-badges span {
    max-width: 100%;
    overflow-wrap: anywhere;
}

#videos .video-product-description,
#videos .video-product-credit {
    min-width: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}

#videos .video-product-footer {
    min-width: 0;
}

#videos .video-product-footer a {
    min-height: 48px;
}

#videos .video-product-footer p {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#videos article .absolute {
    pointer-events: none;
}

/* ==========================================================================
   10. ABOUT, CONTACT & FOOTER SECTIONS
   ========================================================================== */

#sobre-mi,
#contacto {
    scroll-margin-top: 5.5rem;
}

#sobre-mi img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

#sobre-mi p,
#contacto p {
    max-width: 70ch;
}

#contacto input,
#contacto textarea,
#contacto select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    color: var(--sl-color-white);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--sl-color-border-strong);
    border-radius: var(--sl-radius-small);
    padding: 0.85rem 1rem;
    transition:
        border-color var(--sl-duration-medium) var(--sl-ease-standard),
        background-color var(--sl-duration-medium) var(--sl-ease-standard),
        box-shadow var(--sl-duration-medium) var(--sl-ease-standard);
}

#contacto textarea {
    min-height: 9rem;
    resize: vertical;
}

#contacto input::placeholder,
#contacto textarea::placeholder {
    color: #71717a;
    opacity: 1;
}

#contacto input:focus,
#contacto textarea:focus,
#contacto select:focus {
    border-color: rgba(251, 191, 36, 0.75);
    background: rgba(255, 255, 255, 0.055);
    outline: none;
}

#contacto button,
#contacto input[type="submit"] {
    min-height: 48px;
    cursor: pointer;
}

/* ==========================================================================
   11. TERMS MODAL & OVERLAY SAFETY
   ========================================================================== */

#terms-modal {
    padding-top: max(1rem, var(--sl-safe-top));
    padding-bottom: max(1rem, var(--sl-safe-bottom));
    padding-left: max(1rem, var(--sl-safe-left));
    padding-right: max(1rem, var(--sl-safe-right));
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#terms-content {
    width: min(100%, 52rem);
    max-height: calc(100dvh - 2rem - var(--sl-safe-top) - var(--sl-safe-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--sl-color-border-strong);
    border-radius: var(--sl-radius-medium);
    box-shadow: var(--sl-shadow-deep);
}

#terms-content button {
    min-width: 44px;
    min-height: 44px;
}

#terms-content p,
#terms-content li {
    overflow-wrap: anywhere;
}

/* ==========================================================================
   12. BUTTONS, LINKS & MICRO-INTERACTIONS
   ========================================================================== */

button,
a,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
}

a,
button {
    transition-timing-function: var(--sl-ease-standard);
}

button:active,
[role="button"]:active {
    transform: scale(0.985);
}

a:active {
    opacity: 0.88;
}

.btn-primary,
#hero a,
#partituras a,
#videos a {
    -webkit-user-select: none;
    user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    a:hover {
        text-decoration-color: currentColor;
    }

    button:hover {
        cursor: pointer;
    }

    .nav-link-desktop:hover {
        color: #fff;
    }
}

@media (hover: none) {
    .nav-link-desktop::after {
        display: none;
    }

    #partituras .group:hover,
    #videos .group:hover {
        transform: none;
    }
}

/* ==========================================================================
   13. IMAGE LOADING, RENDERING & LAYOUT STABILITY
   ========================================================================== */

img[loading="lazy"] {
    content-visibility: auto;
}

#hero img {
    image-rendering: auto;
}

#videos img,
#partituras img,
#musica img {
    background-color: #111113;
}

video,
iframe {
    max-width: 100%;
}

.aspect-square,
[class*="aspect-"] {
    position: relative;
}

#videos .video-product-image img {
    position: absolute;
    inset: 0;
}

/* ==========================================================================
   14. TABLET BREAKPOINT — 768px TO 1023px
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1023.98px) {
    :root {
        --sl-gutter: clamp(1.5rem, 4vw, 2.5rem);
        --sl-section-space: clamp(5rem, 9vw, 7rem);
    }

    #hero h1 {
        font-size: clamp(4rem, 8vw, 6rem);
    }

    #hero .max-w-4xl {
        width: min(100%, 52rem);
    }

    #musica .grid {
        column-gap: 2.5rem;
    }

    #partituras .grid {
        gap: 1.5rem;
    }

    #partituras .grid > div {
        min-height: 100%;
    }

    #videos .video-product-card {
        flex-direction: column;
    }

    #videos .video-product-image {
        width: 100%;
        aspect-ratio: 16 / 10;
        border-right: 0;
        border-bottom: 1px solid var(--sl-color-border);
    }

    #videos .video-product-content {
        width: 100%;
        min-height: 0;
    }
}

/* ==========================================================================
   15. MOBILE — GENERAL TOUCH LAYOUT
   ========================================================================== */

@media (max-width: 767.98px) {
    :root {
        --sl-gutter: 1.125rem;
        --sl-section-space: 4.5rem;
    }

    html {
        scroll-padding-top: 4.75rem;
    }

    body {
        font-size: 15px;
        line-height: 1.65;
    }

    #navbar > div {
        padding-left: max(1rem, var(--sl-safe-left));
        padding-right: max(1rem, var(--sl-safe-right));
    }

    #navbar .h-20 {
        height: 4.5rem;
    }

    #navbar a.font-serif {
        font-size: clamp(1rem, 4vw, 1.35rem);
        letter-spacing: 0.07em;
    }

    #mobile-menu {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #mobile-menu .font-serif {
        font-size: clamp(1.45rem, 6vw, 2rem);
        letter-spacing: 0.08em;
    }

    #hero {
        padding-top: calc(4.5rem + var(--sl-safe-top));
        padding-bottom: max(5.5rem, var(--sl-safe-bottom));
    }

    #hero > div:first-child img {
        object-position: 52% center;
    }

    #hero h1 {
        font-size: clamp(2.1rem, 10vw, 4.4rem);
        letter-spacing: -0.025em;
        margin-bottom: 1.25rem;
    }

    #hero p {
        font-size: clamp(0.95rem, 4vw, 1.15rem);
        line-height: 1.75;
        margin-bottom: 2rem;
    }

    #hero .flex.flex-col.sm\:flex-row {
        width: 100%;
        max-width: 24rem;
        gap: 0.8rem;
    }

    #hero .btn-primary,
    #hero .hero-sheet-music-link {
        width: 100%;
        min-height: 3.25rem;
        padding: 0.9rem 1.25rem;
        font-size: 0.72rem;
        letter-spacing: 0.13em;
    }

    #musica,
    #partituras {
        padding-top: var(--sl-section-space);
        padding-bottom: var(--sl-section-space);
    }

    #musica .grid {
        gap: 2.5rem;
    }

    #musica h2,
    #partituras h2 {
        font-size: clamp(1.65rem, 7vw, 2.4rem);
        letter-spacing: 0.08em;
    }

    #musica h3 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    #musica .aspect-square {
        width: min(100%, 26rem);
        margin-inline: auto;
    }

    #musica .grid > div:last-child {
        min-width: 0;
    }

    #musica .bg-zinc-900\/30 {
        padding: clamp(1rem, 4vw, 1.5rem);
    }

    #play-btn {
        width: 3.5rem;
        height: 3.5rem;
    }

    #time-display {
        font-size: 0.7rem;
    }

    #musica .flex.gap-4.sm\:gap-5 a {
        width: 3.25rem;
        height: 3.25rem;
    }

    #musica .flex.gap-4.sm\:gap-5 svg {
        width: 1.45rem;
        height: 1.45rem;
    }

    #partituras .grid {
        gap: 1.25rem;
    }

    #partituras .grid > div {
        border-radius: var(--sl-radius-medium);
    }

    #partituras .grid > div > div:first-child {
        min-height: 0;
    }

    #partituras .grid > div > div:last-child {
        padding: clamp(1.125rem, 5vw, 1.5rem);
        gap: 1.25rem;
    }

    #partituras .grid.px-4 {
        padding-left: 0;
        padding-right: 0;
    }

    #videos {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    #videos header h2 {
        font-size: clamp(2rem, 8vw, 3.4rem);
        line-height: 1.2;
    }

    #videos .video-product-card {
        border-radius: 1.25rem;
    }

    #videos .video-product-image {
        aspect-ratio: 4 / 3;
    }

    #videos .video-product-content {
        padding: clamp(1.1rem, 5vw, 1.6rem);
    }

    #videos .video-product-heading {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    #videos .video-product-heading h3 {
        font-size: clamp(1.4rem, 6vw, 1.85rem);
    }

    #videos .video-product-price {
        font-size: 1.25rem;
    }

    #videos .video-product-description {
        font-size: 0.875rem;
        line-height: 1.8;
    }

    #videos .video-product-credit {
        margin-bottom: 1.25rem;
    }

    #videos .video-product-footer a {
        min-height: 3rem;
    }

    #terms-content {
        max-height: calc(100dvh - 1.5rem - var(--sl-safe-top) - var(--sl-safe-bottom));
        border-radius: 0.75rem;
    }
}

/* ==========================================================================
   16. SMALL PHONES — 320px TO 374px
   ========================================================================== */

@media (max-width: 374.98px) {
    :root {
        --sl-gutter: 0.875rem;
    }

    body {
        font-size: 14px;
    }

    #navbar .h-20 {
        height: 4.25rem;
    }

    #navbar a.font-serif {
        font-size: 0.95rem;
        letter-spacing: 0.045em;
    }

    #hero h1 {
        font-size: clamp(2.1rem, 10.5vw, 2.7rem);
    }

    #hero p {
        padding-inline: 0.25rem;
        font-size: 0.9rem;
    }

    #hero .btn-primary,
    #hero .hero-sheet-music-link {
        padding-inline: 0.8rem;
        font-size: 0.66rem;
        letter-spacing: 0.1em;
    }

    #musica h3 {
        font-size: 2.45rem;
    }

    #musica .flex.gap-4.sm\:gap-5 {
        gap: 0.65rem;
    }

    #musica .flex.gap-4.sm\:gap-5 a {
        width: 2.9rem;
        height: 2.9rem;
    }

    #videos .video-product-heading {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #videos .video-product-price {
        align-self: flex-start;
    }

    #videos .video-product-badges span {
        font-size: 0.55rem;
        letter-spacing: 0.08em;
    }
}

/* ==========================================================================
   17. LARGE MOBILE & LANDSCAPE PHONE
   ========================================================================== */

@media (max-width: 900px) and (orientation: landscape) {
    #hero {
        min-height: 100svh;
        min-height: 100dvh;
        padding-top: calc(4rem + var(--sl-safe-top));
        padding-bottom: calc(3.5rem + var(--sl-safe-bottom));
    }

    #hero h1 {
        font-size: clamp(2.4rem, 7vw, 4rem);
        margin-bottom: 0.75rem;
    }

    #hero p {
        margin-bottom: 1rem;
    }

    #hero .flex.flex-col.sm\:flex-row {
        flex-direction: row;
        max-width: 36rem;
    }

    #mobile-menu {
        justify-content: flex-start;
    }

    #mobile-menu > div:first-of-type {
        margin-top: 4rem;
        gap: 0.75rem;
    }

    #mobile-menu .mt-20 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   18. LAPTOP & DESKTOP
   ========================================================================== */

@media (min-width: 1024px) {
    :root {
        --sl-gutter: clamp(2.5rem, 5vw, 6rem);
        --sl-section-space: clamp(6rem, 8vw, 8.5rem);
    }

    #navbar > div {
        width: min(100% - 3rem, 88rem);
    }

    #hero .max-w-4xl {
        width: min(100%, 68rem);
    }

    #hero h1 {
        font-size: clamp(5rem, 8vw, 8rem);
    }

    #musica .grid {
        column-gap: clamp(3rem, 6vw, 6rem);
    }

    #partituras .grid {
        column-gap: clamp(1.5rem, 3vw, 3rem);
    }

    #videos .video-product-card {
        min-height: 35rem;
    }

    #videos .video-product-image {
        min-height: 100%;
    }

    #videos .video-product-content {
        min-height: 35rem;
        flex: 1 1 0%;
    }

    #videos .video-product-heading {
        min-height: 6.25rem;
    }

    #videos .video-product-badges {
        min-height: 4.5rem;
        align-content: flex-start;
    }

    #videos .video-product-description {
        min-height: 9rem;
    }

    #videos .video-product-credit {
        min-height: 3.5rem;
    }

    #videos .video-product-footer {
        margin-top: auto;
    }
}

/* ==========================================================================
   19. WIDE DESKTOP & ULTRAWIDE
   ========================================================================== */

@media (min-width: 1440px) {
    :root {
        --sl-content-width: 86rem;
    }

    #hero h1 {
        font-size: clamp(7rem, 7vw, 9rem);
    }

    #musica .grid {
        column-gap: 6.5rem;
    }

    #videos .video-product-content {
        padding: 2.5rem;
    }
}

@media (min-width: 1920px) {
    :root {
        --sl-content-width: 92rem;
        --sl-gutter: 6rem;
    }

    body {
        font-size: 16px;
    }

    #hero h1 {
        font-size: 9rem;
    }

    #hero p {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   20. SAFARI / IOS / IPADOS COMPATIBILITY
   ========================================================================== */

@supports (-webkit-touch-callout: none) {
    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        min-height: -webkit-fill-available;
    }

    #hero {
        min-height: -webkit-fill-available;
    }

    #mobile-menu,
    #terms-modal,
    #terms-content,
    .language-menu {
        -webkit-overflow-scrolling: touch;
    }

    input,
    textarea,
    select {
        font-size: max(16px, 1em);
    }

    #progress-bar {
        -webkit-appearance: none;
        appearance: none;
    }

    .glass-nav,
    #mobile-menu,
    .language-menu {
        -webkit-backdrop-filter: blur(18px);
    }
}

/* ==========================================================================
   21. ANDROID / CHROMIUM TOUCH COMPATIBILITY
   ========================================================================== */

@supports (height: 100dvh) {
    #hero {
        min-height: 100dvh;
    }

    #terms-content {
        max-height: calc(100dvh - 2rem - var(--sl-safe-top) - var(--sl-safe-bottom));
    }
}

@media (pointer: coarse) {
    a,
    button,
    input[type="range"],
    [role="button"] {
        touch-action: manipulation;
    }

    #mobile-menu-btn,
    #close-menu-btn,
    .language-selector-btn,
    .language-option {
        min-height: 44px;
        min-width: 44px;
    }

    #progress-bar {
        min-height: 44px;
    }
}

/* ==========================================================================
   22. REDUCED MOTION & ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-on-scroll,
    .mobile-item {
        opacity: 1 !important;
        transform: none !important;
    }

    #hero .animate-slow-pan,
    #hero .animate-fade-in-up {
        animation: none !important;
    }

    #progress-active {
        transition: none !important;
    }
}

@media (prefers-contrast: more) {
    :root {
        --sl-color-border: rgba(255, 255, 255, 0.25);
        --sl-color-border-strong: rgba(255, 255, 255, 0.45);
        --sl-color-muted: #d4d4d8;
    }

    .text-gray-400,
    .text-zinc-400,
    .text-gray-500,
    .text-zinc-500 {
        color: #c4c4c9;
    }

    a,
    button {
        text-decoration-thickness: 1px;
    }
}

/* ==========================================================================
   23. HIGH-DPI / RETINA RENDERING
   ========================================================================== */

@media (min-resolution: 2dppx) {
    img,
    svg {
        image-rendering: auto;
    }
}

/* ==========================================================================
   24. PRINT SAFETY
   ========================================================================== */

@media print {
    html,
    body {
        color: #111 !important;
        background: #fff !important;
        min-height: auto;
        overflow: visible !important;
    }

    #navbar,
    #mobile-menu,
    #play-btn,
    #progress-bar {
        display: none !important;
    }

    #hero {
        min-height: auto;
        color: #111;
        background: #fff;
    }

    section {
        break-inside: avoid;
        background: #fff !important;
        color: #111 !important;
    }

    a {
        color: #111 !important;
        text-decoration: underline;
    }

    img {
        max-width: 100%;
        break-inside: avoid;
    }
}

/* ==========================================================================
   25. FINAL SAFETY NETS
   ========================================================================== */

:where(#musica, #partituras, #videos, #sobre-mi, #contacto) {
    min-width: 0;
}

:where(#musica, #partituras, #videos) :where(.grid, .flex) {
    min-width: 0;
}

:where(#musica, #partituras, #videos) :where(h1, h2, h3, h4, p, span) {
    max-width: 100%;
}

:where(#musica, #partituras, #videos) :where(a, button) {
    overflow-wrap: anywhere;
}

#videos .video-product-heading > div,
#videos .video-product-content,
#partituras .grid > div,
#musica .grid > div {
    min-width: 0;
}

#mobile-menu[aria-hidden="true"] {
    visibility: hidden;
}

#mobile-menu[aria-hidden="false"] {
    visibility: visible;
}

@supports (padding: max(0px)) {
    body {
        padding-left: 0;
        padding-right: 0;
    }

    #navbar,
    #mobile-menu,
    #terms-modal {
        padding-left: max(0px, var(--sl-safe-left));
        padding-right: max(0px, var(--sl-safe-right));
    }
}

/* End of Santilavadenz stylesheet. */

/* ========================================================================
   26. LATEST RELEASES — FEATURED EDITION
   ======================================================================== */
#musica {
    --release-gold: #d8a44d;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(5.5rem, 10vw, 9rem);
    background:
        radial-gradient(ellipse at 18% 44%, rgba(145, 87, 19, .13), transparent 38%),
        radial-gradient(ellipse at 88% 12%, rgba(255, 255, 255, .035), transparent 30%),
        linear-gradient(180deg, #0b0b0b 0%, #0d0c0a 55%, #090909 100%);
}
#musica::before,
#musica::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
#musica::before {
    inset: 1.5rem clamp(1rem, 4vw, 3rem);
    border: 1px solid rgba(216,164,77,.09);
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
#musica::after {
    width: min(48vw, 42rem); aspect-ratio: 1; border-radius: 50%;
    right: -16rem; bottom: -22rem;
    background: rgba(175, 107, 25, .08); filter: blur(90px);
}
#musica > .max-w-7xl { width: min(100% - 2 * var(--sl-gutter), 84rem); }
#musica > .max-w-7xl > .reveal-on-scroll:first-child { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
#musica h2 {
    margin-bottom: 1.15rem;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    letter-spacing: .24em;
}
#musica h2 + div { width: 3.75rem; height: 1px; background: linear-gradient(90deg, transparent, var(--release-gold), transparent); }
#musica > .max-w-7xl > .grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: center;
}
#musica > .max-w-7xl > .grid > div:first-child { width: 100%; max-width: none; }
#musica > .max-w-7xl > .grid > div:first-child > div {
    aspect-ratio: 1 / 1;
    border-radius: 2px;
    padding: 1px;
    overflow: visible;
    background: linear-gradient(145deg, rgba(244,205,132,.8), rgba(117,76,31,.12) 36%, rgba(255,255,255,.08) 70%, rgba(216,164,77,.42));
    box-shadow: 0 28px 90px rgba(0,0,0,.62), 0 0 80px rgba(147,92,24,.13);
    transform: rotate(-1.15deg);
    transition: transform 700ms var(--sl-ease-emphasis), box-shadow 700ms ease;
}
#musica > .max-w-7xl > .grid > div:first-child > div::after {
    content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none;
    border: 1px solid rgba(255,255,255,.17);
    box-shadow: inset 0 0 45px rgba(0,0,0,.16);
}
#musica > .max-w-7xl > .grid > div:first-child img {
    border-radius: 1px; transform: scale(1.005);
    transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter 700ms ease;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    #musica > .max-w-7xl > .grid > div:first-child:hover > div { transform: rotate(0) translateY(-5px); box-shadow: 0 36px 100px rgba(0,0,0,.7), 0 0 95px rgba(147,92,24,.2); }
    #musica > .max-w-7xl > .grid > div:first-child:hover img { transform: scale(1.035); }
}
#musica > .max-w-7xl > .grid > div:last-child { padding-block: clamp(.25rem, 2vw, 1.5rem); }
#musica > .max-w-7xl > .grid > div:last-child > .flex:first-child { gap: .9rem; margin-bottom: clamp(1rem, 2.6vw, 2rem); }
#musica > .max-w-7xl > .grid > div:last-child > .flex:first-child span:first-child {
    color: #efc77f; background: rgba(216,164,77,.08); border-color: rgba(216,164,77,.35);
    border-radius: 999px; padding: .42rem .85rem; letter-spacing: .22em;
}
#musica > .max-w-7xl > .grid > div:last-child > .flex:first-child span:last-child { letter-spacing: .18em; }
#musica h3 {
    font-size: clamp(3.4rem, 7.4vw, 6.5rem);
    letter-spacing: .025em; line-height: 1.02;
    margin-bottom: clamp(1rem, 2vw, 1.7rem);
    background: linear-gradient(120deg,#fff 12%,#e8dfcf 58%,#b98842 115%);
    color: transparent; background-clip: text; -webkit-background-clip: text;
}
#musica h3 + div { margin-bottom: clamp(1.4rem, 3vw, 2.5rem); }
#musica h3 + div p { max-width: 34rem; font-size: clamp(1.12rem, 2vw, 1.55rem); line-height: 1.65; text-wrap: pretty; }
#musica h3 + div div { background: linear-gradient(90deg,var(--release-gold),transparent); width: 4rem; }
#musica .bg-zinc-900\/30 {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(1.1rem, 2.5vw, 1.8rem);
    border-color: rgba(255,255,255,.1);
    background: linear-gradient(130deg,rgba(32,30,26,.78),rgba(15,15,15,.78));
    box-shadow: 0 16px 44px rgba(0,0,0,.24);
}
#musica #play-btn { border-color: rgba(216,164,77,.72); color: #f3d9a9; }
#musica #play-btn:focus-visible,
#musica .flex.gap-4.sm\:gap-5 a:focus-visible { outline-color: #f2c978; outline-offset: 5px; }
#musica #progress-active { background: linear-gradient(90deg,#a86111,#f2c978); }
#musica .flex.gap-4.sm\:gap-5 a { transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease; }
#musica .flex.gap-4.sm\:gap-5 a:active { transform: scale(.94); }
@media (min-width: 1024px) {
    #musica > .max-w-7xl > .grid > div:first-child { padding: .8rem; }
}
@media (max-width: 1023px) {
    #musica > .max-w-7xl > .grid { grid-template-columns: minmax(0,1fr); gap: clamp(2.2rem,6vw,4rem); max-width: 48rem; margin-inline: auto; }
    #musica > .max-w-7xl > .grid > div:first-child { max-width: min(78vw, 31rem); margin-inline: auto; }
    #musica > .max-w-7xl > .grid > div:last-child { padding-inline: clamp(0rem,3vw,1.5rem); }
    #musica h3 { font-size: clamp(3.5rem, 10vw, 5.5rem); }
}
@media (max-width: 639px) {
    #musica { padding-block: clamp(4.5rem, 16vw, 6.5rem); }
    #musica::before { inset-inline: .65rem; }
    #musica > .max-w-7xl { width: min(100% - 2 * max(1rem,var(--sl-safe-left)), 84rem); }
    #musica > .max-w-7xl > .reveal-on-scroll:first-child { margin-bottom: 2.5rem; }
    #musica h2 { letter-spacing: .16em; }
    #musica > .max-w-7xl > .grid { gap: 2.2rem; }
    #musica > .max-w-7xl > .grid > div:first-child { max-width: min(84vw, 27rem); }
    #musica > .max-w-7xl > .grid > div:first-child > div::after { inset: 8px; }
    #musica h3 { font-size: clamp(3rem, 16vw, 4.2rem); }
    #musica h3 + div p { font-size: 1.08rem; }
    #musica .bg-zinc-900\/30 { border-radius: .75rem; }
    #musica .flex.gap-4.sm\:gap-5 { gap: .75rem; }
    #musica .flex.gap-4.sm\:gap-5 a { width: 3.15rem; height: 3.15rem; }
}
@media (prefers-reduced-motion: reduce) {
    #musica *, #musica *::before, #musica *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Release listening callout refinement */
#musica > .max-w-7xl > .grid > div:first-child > div {
    background-position: center center;
}
#musica > .max-w-7xl > .grid > div:first-child img {
    object-position: 50% 50%;
}
#musica > .max-w-7xl > .grid > div:last-child > .flex:last-child > div:first-child > span:last-child {
    color: #efd6a6;
    font-family: var(--sl-font-serif);
    font-size: clamp(.68rem, .8vw, .78rem);
    font-weight: 500;
    letter-spacing: .22em;
    text-shadow: 0 0 22px rgba(239,214,166,.2);
}
#musica > .max-w-7xl > .grid > div:last-child > .flex:last-child > div:first-child {
    gap: .7rem;
}
@media (max-width: 639px) {
    #musica > .max-w-7xl > .grid > div:last-child > .flex:last-child > div:first-child > span:last-child {
        font-size: .68rem;
        letter-spacing: .17em;
    }
}

/* ========================================================================
   27. VELUNE — COLLECTOR'S RELEASE FEATURE
   ======================================================================== */
#musica {
    --release-ivory: #eee5d5;
    --release-copper: #a96e2e;
    padding-top: clamp(5.8rem, 9vw, 8.7rem);
    padding-bottom: clamp(6.2rem, 10vw, 9.5rem);
    background: radial-gradient(ellipse at 12% 49%,rgba(126,77,29,.18),transparent 37%),radial-gradient(ellipse at 76% 53%,rgba(37,31,22,.24),transparent 42%),linear-gradient(112deg,#080808 0%,#0d0c0a 47%,#090909 100%);
}
#musica::before { inset: 1.3rem clamp(1rem,3.2vw,2.8rem); border-color: rgba(216,164,77,.13); mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
#musica > .max-w-7xl { width: min(100% - 2 * var(--sl-gutter),86rem); }
#musica > .max-w-7xl > .reveal-on-scroll:first-child { position: relative; width: fit-content; margin: 0 auto clamp(2.6rem,5.4vw,4.6rem); padding: 0 2.4rem .75rem; transform: none; }
#musica > .max-w-7xl > .reveal-on-scroll:first-child::before,
#musica > .max-w-7xl > .reveal-on-scroll:first-child::after { content: ""; position: absolute; top: 50%; width: clamp(2rem,7vw,7rem); height: 1px; background: linear-gradient(90deg,transparent,rgba(216,164,77,.48)); }
#musica > .max-w-7xl > .reveal-on-scroll:first-child::before { right: 100%; }
#musica > .max-w-7xl > .reveal-on-scroll:first-child::after { left: 100%; transform: scaleX(-1); }
#musica h2 { margin-bottom: .9rem; font-size: clamp(1.35rem,2.2vw,1.85rem); letter-spacing: .3em; color: var(--release-ivory); }
#musica h2 + div { width: 2.8rem; background: var(--release-gold); opacity: .8; }
#musica > .max-w-7xl > .grid { grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: clamp(3rem,7.3vw,7.25rem); align-items: center; }
#musica > .max-w-7xl > .grid > div:first-child { position: relative; width: 100%; max-width: none; padding: clamp(1.4rem,3.2vw,3rem); isolation: isolate; }
#musica > .max-w-7xl > .grid > div:first-child::before { content: "01"; position: absolute; z-index: -1; top: -.16em; right: -.04em; color: rgba(237,222,195,.045); font: 500 clamp(9rem,21vw,20rem)/.8 var(--sl-font-serif); letter-spacing: -.09em; pointer-events: none; }
#musica > .max-w-7xl > .grid > div:first-child::after { content: ""; position: absolute; z-index: -1; inset: 8% 1% 8% 3%; border: 1px solid rgba(216,164,77,.2); transform: rotate(5deg); pointer-events: none; }
#musica > .max-w-7xl > .grid > div:first-child > div { aspect-ratio: 1; border-radius: 1px; padding: 2px; overflow: hidden; background: linear-gradient(135deg,#f1d6a1 0%,#8d602d 17%,#282017 42%,#d4ad72 100%); box-shadow: 0 35px 100px rgba(0,0,0,.7),0 0 90px rgba(148,94,34,.2); transform: rotate(-1.2deg); transition: transform 800ms var(--sl-ease-emphasis),box-shadow 800ms ease; }
#musica > .max-w-7xl > .grid > div:first-child > div::after { inset: 14px; border-color: rgba(250,239,217,.24); box-shadow: inset 0 0 70px rgba(0,0,0,.32),0 0 0 1px rgba(0,0,0,.25); }
#musica > .max-w-7xl > .grid > div:first-child img { border-radius: 0; transform: scale(1.012); filter: saturate(.92) contrast(1.035); transition: transform 1.25s cubic-bezier(.2,.7,.2,1),filter 700ms ease; }
#musica > .max-w-7xl > .grid > div:last-child { padding: clamp(.5rem,1.4vw,1.4rem) 0; }
#musica > .max-w-7xl > .grid > div:last-child > .flex:first-child { position: relative; gap: 1rem; margin-bottom: clamp(1.3rem,2.5vw,2.15rem); }
#musica > .max-w-7xl > .grid > div:last-child > .flex:first-child span:first-child { color: #f2d39b; background: linear-gradient(135deg,rgba(166,106,41,.2),rgba(89,57,23,.08)); border-color: rgba(224,183,118,.45); padding: .45rem 1rem; font-size: .62rem; letter-spacing: .25em; }
#musica > .max-w-7xl > .grid > div:last-child > .flex:first-child span:nth-child(2) { width: clamp(2rem,4vw,4rem); background: linear-gradient(90deg,rgba(216,164,77,.7),rgba(216,164,77,.12)); }
#musica > .max-w-7xl > .grid > div:last-child > .flex:first-child span:last-child { color: #b5aa98; font-size: .68rem; letter-spacing: .2em; }
#musica h3 { margin-bottom: clamp(1.15rem,2.2vw,1.8rem); font-size: clamp(4.3rem,8vw,7.65rem); font-weight: 400; letter-spacing: .015em; line-height: .98; background: linear-gradient(120deg,#fff 5%,#e6d9c2 56%,#bd8a4b 110%); color: transparent; background-clip: text; -webkit-background-clip: text; filter: drop-shadow(0 12px 32px rgba(0,0,0,.35)); }
#musica h3 + div { margin-bottom: clamp(1.8rem,3.1vw,2.8rem); }
#musica h3 + div p { max-width: 31rem; color: rgba(238,229,213,.77); font-size: clamp(1.08rem,1.75vw,1.43rem); line-height: 1.7; letter-spacing: .012em; }
#musica h3 + div div { width: 5rem; height: 1px; margin-top: 1.4rem; background: linear-gradient(90deg,#d8a44d,rgba(216,164,77,0)); }
#musica .bg-zinc-900\/30 { position: relative; isolation: isolate; border: 1px solid rgba(232,213,178,.15); border-radius: 2px; background: linear-gradient(125deg,rgba(31,28,23,.94),rgba(16,16,15,.96) 70%); box-shadow: 0 22px 62px rgba(0,0,0,.36),inset 0 1px rgba(255,255,255,.035); padding: clamp(1.25rem,2.5vw,1.9rem); }
#musica .bg-zinc-900\/30::after { content: ""; position: absolute; z-index: -1; right: 1.4rem; top: 1rem; width: min(34%,8rem); height: 2.5rem; opacity: .23; background: repeating-linear-gradient(90deg,transparent 0 3px,rgba(226,190,132,.38) 3px 4px,transparent 4px 7px); mask-image: linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent); pointer-events: none; }
#musica #play-btn { width: 3.65rem; height: 3.65rem; border: 1px solid #e6c58f; color: #15110c; background: linear-gradient(145deg,#f0d8ae,#bd8a4b); box-shadow: 0 0 0 5px rgba(218,174,109,.08),0 8px 28px rgba(0,0,0,.35); }
#musica #play-btn svg { fill: currentColor; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 #musica > .max-w-7xl > .grid > div:first-child:hover > div { transform: rotate(0) translateY(-7px); box-shadow: 0 42px 115px rgba(0,0,0,.76),0 0 100px rgba(148,94,34,.27); }
 #musica > .max-w-7xl > .grid > div:first-child:hover img { transform: scale(1.045); filter: saturate(1.02) contrast(1.04); }
 #musica #play-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 7px rgba(218,174,109,.1),0 12px 34px rgba(0,0,0,.42); }
}
#musica #progress-active { background: linear-gradient(90deg,#9b5d21,#e5bd7e); }
#musica .flex.gap-4.sm\:gap-5 a { position: relative; width: 3.5rem; height: 3.5rem; border-width: 1px; background-color: rgba(255,255,255,.035); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
#musica .flex.gap-4.sm\:gap-5 a svg { width: 1.45rem; height: 1.45rem; }
#musica > .max-w-7xl > .grid > div:last-child > .flex:last-child { align-items: center; gap: clamp(1rem,2vw,1.8rem); padding-top: .25rem; }
#musica > .max-w-7xl > .grid > div:last-child > .flex:last-child > div:first-child > span:last-child { color: #f0d8ad; font-family: var(--sl-font-serif); font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-shadow: 0 0 22px rgba(239,214,166,.22); }
@media (min-width: 1024px) { #musica > .max-w-7xl > .grid > div:first-child { padding: clamp(1.4rem,3.2vw,3rem); } }
@media (max-width: 1023px) {
 #musica > .max-w-7xl > .grid { grid-template-columns: minmax(0,1fr); gap: clamp(2.4rem,6vw,4rem); max-width: 47rem; margin-inline: auto; }
 #musica > .max-w-7xl > .grid > div:first-child { max-width: min(77vw,31rem); margin-inline: auto; }
 #musica > .max-w-7xl > .grid > div:last-child { padding-inline: clamp(.25rem,3vw,1.4rem); }
 #musica h3 { font-size: clamp(4.2rem,10vw,6rem); }
 #musica h3 + div p { max-width: 38rem; }
}
@media (max-width: 639px) {
 #musica { padding-block: 4.6rem 5.5rem; }
 #musica::before { inset: .85rem .6rem; }
 #musica > .max-w-7xl { width: min(100% - 2 * max(1rem,var(--sl-safe-left)),86rem); }
 #musica > .max-w-7xl > .reveal-on-scroll:first-child { margin-bottom: 2.2rem; padding-inline: .6rem; }
 #musica > .max-w-7xl > .reveal-on-scroll:first-child::before,#musica > .max-w-7xl > .reveal-on-scroll:first-child::after { width: clamp(1rem,5vw,2rem); }
 #musica h2 { font-size: 1.15rem; letter-spacing: .19em; }
 #musica > .max-w-7xl > .grid { gap: 1.8rem; }
 #musica > .max-w-7xl > .grid > div:first-child { max-width: min(84vw,25rem); padding: 1.1rem; }
 #musica > .max-w-7xl > .grid > div:first-child::before { font-size: clamp(9rem,40vw,13rem); }
 #musica > .max-w-7xl > .grid > div:first-child::after { inset: 7% 0 7% 2%; }
 #musica > .max-w-7xl > .grid > div:first-child > div::after { inset: 9px; }
 #musica > .max-w-7xl > .grid > div:last-child { padding-inline: .25rem; }
 #musica > .max-w-7xl > .grid > div:last-child > .flex:first-child { gap: .7rem; margin-bottom: 1.15rem; }
 #musica > .max-w-7xl > .grid > div:last-child > .flex:first-child span:first-child { padding: .4rem .72rem; font-size: .58rem; }
 #musica h3 { font-size: clamp(3.65rem,17vw,5rem); }
 #musica h3 + div { margin-bottom: 1.55rem; }
 #musica h3 + div p { font-size: 1.08rem; line-height: 1.62; }
 #musica .bg-zinc-900\/30 { margin-bottom: 1.6rem; padding: 1.1rem; border-radius: 2px; }
 #musica .bg-zinc-900\/30::after { right: 1rem; top: .9rem; width: 5.2rem; height: 1.7rem; }
 #musica #play-btn { width: 3.45rem; height: 3.45rem; }
 #musica > .max-w-7xl > .grid > div:last-child > .flex:last-child { gap: 1rem; }
 #musica > .max-w-7xl > .grid > div:last-child > .flex:last-child > div:first-child > span:last-child { font-size: .63rem; letter-spacing: .13em; }
 #musica .flex.gap-4.sm\:gap-5 { gap: .65rem; }
 #musica .flex.gap-4.sm\:gap-5 a { width: 3.15rem; height: 3.15rem; }
}
@media (prefers-reduced-motion: reduce) {
 #musica > .max-w-7xl > .grid > div:first-child > div,#musica > .max-w-7xl > .grid > div:first-child img,#musica #play-btn { transition: none !important; }
}

/* Latest Releases — final composition and true artwork centering */
#musica > .max-w-7xl > .grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
    row-gap: 2rem;
    align-items: center;
}
#musica > .max-w-7xl > .grid > div:first-child,
#musica > .max-w-7xl > .grid > div:last-child {
    grid-column: auto / span 1;
    grid-row: auto;
}
#musica > .max-w-7xl > .grid > div:first-child {
    display: grid;
    place-items: center;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: .75rem;
}
#musica > .max-w-7xl > .grid > div:first-child > div {
    width: min(100%, 38rem);
    margin-inline: auto;
    transform: none;
}
#musica > .max-w-7xl > .grid > div:first-child img { transform: none; }
#musica > .max-w-7xl > .grid > div:last-child { align-self: center; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    #musica > .max-w-7xl > .grid > div:first-child:hover > div { transform: translateY(-4px); }
    #musica > .max-w-7xl > .grid > div:first-child:hover img { transform: scale(1.025); }
}
@media (max-width: 1023px) {
    #musica > .max-w-7xl > .grid { grid-template-columns: minmax(0,1fr); }
    #musica > .max-w-7xl > .grid > div:first-child,
    #musica > .max-w-7xl > .grid > div:last-child { grid-column: 1 / -1; }
    #musica > .max-w-7xl > .grid > div:first-child { padding: .75rem; }
    #musica > .max-w-7xl > .grid > div:first-child > div { width: min(100%, 34rem); }
}
@media (max-width: 639px) {
    #musica > .max-w-7xl > .grid > div:first-child { padding: .5rem; }
    #musica > .max-w-7xl > .grid > div:first-child > div { width: min(100%, 27rem); }
}
@media (prefers-reduced-motion: reduce) {
    #musica > .max-w-7xl > .grid > div:first-child > div,
    #musica > .max-w-7xl > .grid > div:first-child img { transform: none !important; }
}

/* Platform color fidelity, stronger listening prompt and section transition */
#musica {
    background:
        linear-gradient(180deg, rgba(10,10,10,.62) 0%, rgba(10,10,10,.94) 9rem, #0b0a09 21rem, #090909 100%),
        radial-gradient(ellipse at 50% 0%, rgba(126,83,37,.15), transparent 45%);
}
#musica > .max-w-7xl > .grid > div:last-child > .flex:last-child > div:first-child > span:last-child {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    letter-spacing: .2em;
    color: #f3dfbd;
    text-shadow: 0 0 28px rgba(239,214,166,.3);
}
#musica .flex.gap-4.sm\\:gap-5 a[href*="open.spotify.com"] { color:#1ed760; border-color:rgba(30,215,96,.55); background:rgba(30,215,96,.1); box-shadow:0 0 22px rgba(30,215,96,.1); }
#musica .flex.gap-4.sm\\:gap-5 a[href*="music.apple.com"] { color:#fa2d55; border-color:rgba(250,45,85,.56); background:rgba(250,45,85,.1); box-shadow:0 0 22px rgba(250,45,85,.11); }
#musica .flex.gap-4.sm\\:gap-5 a[href*="youtu.be"] { color:#ff0033; border-color:rgba(255,0,51,.55); background:rgba(255,0,51,.1); box-shadow:0 0 22px rgba(255,0,51,.1); }
#musica .flex.gap-4.sm\\:gap-5 a[href*="open.spotify.com"]:hover,
#musica .flex.gap-4.sm\\:gap-5 a[href*="open.spotify.com"]:focus-visible { color:#1ed760; border-color:#1ed760; background:rgba(30,215,96,.18); box-shadow:0 0 30px rgba(30,215,96,.25); }
#musica .flex.gap-4.sm\\:gap-5 a[href*="music.apple.com"]:hover,
#musica .flex.gap-4.sm\\:gap-5 a[href*="music.apple.com"]:focus-visible { color:#fa2d55; border-color:#fa2d55; background:rgba(250,45,85,.18); box-shadow:0 0 30px rgba(250,45,85,.25); }
#musica .flex.gap-4.sm\\:gap-5 a[href*="youtu.be"]:hover,
#musica .flex.gap-4.sm\\:gap-5 a[href*="youtu.be"]:focus-visible { color:#ff0033; border-color:#ff0033; background:rgba(255,0,51,.18); box-shadow:0 0 30px rgba(255,0,51,.25); }
@media (max-width: 639px) { #musica > .max-w-7xl > .grid > div:last-child > .flex:last-child > div:first-child > span:last-child { font-size:1rem; letter-spacing:.15em; } }
/* Robust service selectors also cover CSS engines with stricter escaped-class parsing. */
#musica a[href*="open.spotify.com"] { color:#1ed760; border-color:rgba(30,215,96,.55); background:rgba(30,215,96,.1); }
#musica a[href*="music.apple.com"] { color:#fa2d55; border-color:rgba(250,45,85,.56); background:rgba(250,45,85,.1); }
#musica a[href*="youtu.be"] { color:#ff0033; border-color:rgba(255,0,51,.55); background:rgba(255,0,51,.1); }
#musica a[href*="open.spotify.com"]:hover,#musica a[href*="open.spotify.com"]:focus-visible { color:#1ed760; border-color:#1ed760; background:rgba(30,215,96,.18); box-shadow:0 0 30px rgba(30,215,96,.25); }
#musica a[href*="music.apple.com"]:hover,#musica a[href*="music.apple.com"]:focus-visible { color:#fa2d55; border-color:#fa2d55; background:rgba(250,45,85,.18); box-shadow:0 0 30px rgba(250,45,85,.25); }
#musica a[href*="youtu.be"]:hover,#musica a[href*="youtu.be"]:focus-visible { color:#ff0033; border-color:#ff0033; background:rgba(255,0,51,.18); box-shadow:0 0 30px rgba(255,0,51,.25); }

/* Playback progress glow and clear Apple Music mark */
#musica #progress-active {
    background: linear-gradient(90deg, #c27a28 0%, #edb95e 48%, #ffe4a8 100%);
    box-shadow: 0 0 10px rgba(229, 173, 86, .24);
    transition: width 180ms linear, box-shadow 250ms ease, filter 250ms ease;
}
#musica #progress-active.is-playing {
    box-shadow: 0 0 8px rgba(248, 195, 105, .85), 0 0 20px rgba(229, 153, 50, .52);
    filter: brightness(1.15);
}
#musica a[href*="music.apple.com"] {
    color: #fff !important;
    border-color: rgba(255,255,255,.68);
    background: rgba(255,255,255,.11);
    box-shadow: 0 0 22px rgba(255,255,255,.13);
}
#musica a[href*="music.apple.com"]:hover,
#musica a[href*="music.apple.com"]:focus-visible {
    color: #fff !important;
    border-color: #fff;
    background: rgba(255,255,255,.2);
    box-shadow: 0 0 30px rgba(255,255,255,.28);
}
@media (prefers-reduced-motion: reduce) {
    #musica #progress-active { transition: none; }
}
/* Keep the filled portion easy to follow on bright and dim displays. */
#musica #progress-active { box-shadow: 0 0 9px rgba(248,195,105,.72), 0 0 18px rgba(229,153,50,.38); }

/* Stable mobile navigation and anchored My Story reveal. */
@media (max-width: 767.98px) {
    #mobile-menu,
    #mobile-menu[aria-hidden="false"] {
        opacity: 1;
        transition: transform 280ms cubic-bezier(.22, .61, .36, 1), opacity 280ms ease-out, visibility 0s linear 0s;
    }

    #mobile-menu[aria-hidden="true"] {
        opacity: 0;
        visibility: hidden;
        transition: transform 280ms cubic-bezier(.22, .61, .36, 1), opacity 280ms ease-out, visibility 0s linear 280ms;
    }

    #mobile-menu[aria-hidden="false"] {
        visibility: visible;
    }

    #mobile-menu .mobile-item {
        transform: translateY(8px);
        transition: opacity 220ms ease-out, transform 220ms cubic-bezier(.22, .61, .36, 1);
    }

    #mobile-menu .mobile-item.show {
        transform: translateY(0);
    }

    .reveal-on-scroll.mobile-navigation-target {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    #sobre-mi .reveal-on-scroll,
    #sobre-mi .reveal-on-scroll.is-visible {
        transform: none;
        transition: opacity 300ms ease-out;
    }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
    #mobile-menu,
    #mobile-menu[aria-hidden="true"],
    #mobile-menu[aria-hidden="false"] {
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}


/* Requested Store presentation adjustments */
#partituras .store-category-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 68rem);
    margin-top: clamp(1.75rem, 4vw, 2.75rem);
    border-block: 1px solid var(--sl-color-border-strong);
}

#partituras .store-category-nav > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-width: 0;
    min-height: 5rem;
    padding: .8rem clamp(.75rem, 2vw, 1.5rem);
    border-right: 1px solid var(--sl-color-border);
    color: rgba(245, 245, 245, .88);
    font-size: clamp(.95rem, 1.35vw, 1.1rem);
    letter-spacing: .1em;
    line-height: 1.5;
    text-align: center;
    text-wrap: balance;
    text-transform: uppercase;
    transition: color .25s ease, background-color .25s ease;
}

#partituras .store-category-nav > a:last-child {
    border-right: 0;
}

#partituras .store-category-nav > a:hover,
#partituras .store-category-nav > a:focus-visible {
    color: var(--sl-color-white);
    background-color: rgba(255, 255, 255, .045);
}

#partituras .store-category-nav > a:focus-visible {
    outline: 2px solid var(--sl-color-gold-light);
    outline-offset: -3px;
}

#partituras .store-nav-index {
    flex: 0 0 auto;
    color: var(--sl-color-gold-light);
    font-size: .75rem;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

#partituras .sheet-music-cover-frame {
    aspect-ratio: 1600 / 2133;
    flex: 0 0 48%;
    align-self: flex-start;
    height: auto;
    overflow: hidden;
}

#partituras .sheet-music-cover-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
    transform: none !important;
}

@media (max-width: 767.98px) {
    #partituras .store-category-nav {
        grid-template-columns: minmax(0, 1fr);
        width: min(100%, 30rem);
    }

    #partituras .store-category-nav > a {
        justify-content: flex-start;
        min-height: 4.25rem;
        padding-inline: 1rem;
        border-right: 0;
        border-bottom: 1px solid var(--sl-color-border);
        font-size: 1rem;
        text-align: left;
    }

    #partituras .store-category-nav > a:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 639.98px) {
    #partituras .sheet-music-cover-frame {
        width: 100%;
        flex: 0 0 auto;
        align-self: auto;
    }
}


/* Refined Hero button feedback without changing button dimensions. */
#hero .btn-primary,
#hero .hero-sheet-music-link {
    transition-property: color, border-color, background-color, box-shadow;
    transition-duration: .28s;
    transition-timing-function: cubic-bezier(.2, .75, .25, 1);
}

#hero .btn-primary::before {
    display: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #hero .btn-primary:hover,
    #hero .hero-sheet-music-link:hover {
        color: var(--sl-color-white);
        border-color: rgba(245, 245, 245, .82);
        background-color: rgba(255, 255, 255, .055);
        box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
    }
}

#hero .btn-primary:active,
#hero .hero-sheet-music-link:active {
    color: var(--sl-color-white);
    background-color: rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .22);
}

#hero .btn-primary:focus-visible,
#hero .hero-sheet-music-link:focus-visible {
    outline: 2px solid var(--sl-color-white);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    #hero .btn-primary,
    #hero .hero-sheet-music-link {
        transition-duration: .01ms;
    }
}


/* Align navigated section headings below the fixed navigation and safe area. */
#musica {
    padding-top: max(clamp(6.16rem, 11.2vw, 10.08rem), calc(5.6rem + var(--sl-safe-top) + .84rem));
}

#partituras {
    padding-top: max(8rem, calc(5rem + var(--sl-safe-top) + .75rem));
}

#videos {
    padding-top: max(3rem, calc(3rem + var(--sl-safe-top)));
}

@media (min-width: 640px) {
    #videos {
        padding-top: max(4rem, calc(4rem + var(--sl-safe-top)));
    }
}

@media (min-width: 768px) {
    #videos {
        padding-top: max(5rem, calc(5rem + var(--sl-safe-top)));
    }
}

@media (max-width: 767.98px) {
    #musica {
        padding-top: max(5.152rem, calc(5.6rem + var(--sl-safe-top) + .84rem));
    }

    #partituras {
        padding-top: max(6rem, calc(5rem + var(--sl-safe-top) + .75rem));
    }
}

@media (max-width: 374.98px) {
    #musica {
        padding-top: max(5.152rem, calc(4.76rem + var(--sl-safe-top) + .84rem));
    }

    #partituras {
        padding-top: max(6rem, calc(4.25rem + var(--sl-safe-top) + .75rem));
    }
}


/* Store category headings use the same responsive scale as Exclusive Video Performance. */
@media (max-width: 767.98px) {
    #partituras .store-category-heading > h3 {
        font-size: clamp(2rem, 8vw, 3.4rem);
    }
}

/* Mobile-only alignment and spacing for the Latest Releases audio controls. */
@media (max-width: 767.98px) {
    #musica > .max-w-7xl > .grid > div:last-child > .bg-zinc-900\/30 {
        margin-bottom: 1.25rem;
    }

    #musica > .max-w-7xl > .grid > div:last-child > .flex:last-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        margin-top: 0;
        padding-top: 0;
    }
}

