/* ═══════════════════════════════════════════════════════════════════
   LetrasTango — Design System
   Fonts: Bodoni Moda · Cormorant Garamond · Manrope
   Themes: dark (default) · light (data-theme="light")
═══════════════════════════════════════════════════════════════════ */

/* ── 1. Custom Properties ───────────────────────────────────────── */

:root,
html[data-theme="dark"] {
    /* Backgrounds */
    --bg-main: #0d0b0d;
    --bg-shell: #131013;
    --bg-panel: rgba(22, 18, 22, 0.92);
    --bg-panel-strong: rgba(26, 21, 26, 0.96);
    --bg-soft: rgba(255, 248, 240, 0.045);

    /* Text */
    --text-main: #f3ede6;
    --text-soft: #d0c3b8;
    --text-muted: #9e9087;

    /* Lines */
    --line-soft: rgba(255, 245, 230, 0.10);
    --line-strong: rgba(255, 245, 230, 0.20);

    /* Accent — warm bronze */
    --accent: #b58862;
    --accent-strong: #d4a07a;
    --accent-deep: #7a4232;

    /* Paper (for reading surfaces) */
    --paper: #f0e8de;
    --paper-text: #231c1a;
    --paper-soft-text: #574540;
    --paper-muted-text: #8a7268;
    --paper-link: #9e5a3a;
    --paper-shadow: rgba(8, 6, 8, 0.08);

    /* Shadows — restrained, only for floating elements */
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.38);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.22);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);

    /* Geometry */
    --max-width: 1360px;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;

    /* Photo treatment */
    --tone-photo: rgba(5, 4, 5, 0.28);
}

html[data-theme="light"] {
    --bg-main: #ede5da;
    --bg-shell: #f5ede4;
    --bg-panel: rgba(255, 251, 245, 0.90);
    --bg-panel-strong: rgba(255, 252, 247, 0.96);
    --bg-soft: rgba(58, 40, 32, 0.04);

    --text-main: #1e1716;
    --text-soft: #4a3c38;
    --text-muted: #7a6860;

    --line-soft: rgba(68, 48, 40, 0.11);
    --line-strong: rgba(68, 48, 40, 0.20);

    --accent: #8a5338;
    --accent-strong: #a86848;
    --accent-deep: #5c2e22;

    --paper: #fefaf5;
    --paper-text: #1e1716;
    --paper-soft-text: #4a3c38;
    --paper-muted-text: #8a7268;
    --paper-link: #8a5338;
    --paper-shadow: rgba(28, 20, 18, 0.07);

    --shadow-lg: 0 20px 60px rgba(50, 32, 24, 0.10);
    --shadow-md: 0 8px 24px rgba(50, 32, 24, 0.08);
    --shadow-sm: 0 2px 8px rgba(50, 32, 24, 0.06);

    --tone-photo: rgba(14, 10, 10, 0.12);
}

/* ── 2. Reset ───────────────────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

p { margin: 0; }

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* ── 3. Typography Base ─────────────────────────────────────────── */

body {
    color: var(--text-main);
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    background:
        radial-gradient(ellipse 1200px 500px at 0% -10%, rgba(181, 136, 98, 0.08), transparent 70%),
        radial-gradient(ellipse 900px 500px at 100% 5%, rgba(122, 66, 50, 0.09), transparent 65%),
        linear-gradient(180deg, var(--bg-shell) 0%, var(--bg-main) 30%, var(--bg-shell) 100%);
    transition: background-color 220ms ease, color 220ms ease;
}

::selection {
    background: rgba(181, 136, 98, 0.28);
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: "Bodoni Moda", "Times New Roman", Georgia, serif;
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

/* ── 4. Site Shell / Backdrop ───────────────────────────────────── */

.site-shell {
    position: relative;
    overflow: clip;
    isolation: isolate;
}

.site-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

/* Minimal backdrop: subtle staff lines only, no orbs */
.backdrop-orb {
    display: none;
}

.backdrop-staff {
    position: absolute;
    top: 8rem;
    right: -12%;
    width: min(72rem, 100vw);
    height: 14rem;
    border-top: 1px solid rgba(255, 245, 230, 0.045);
    border-bottom: 1px solid rgba(255, 245, 230, 0.025);
    transform: rotate(-6deg);
    pointer-events: none;
}

.backdrop-staff::before,
.backdrop-staff::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    border-top: 1px solid rgba(255, 245, 230, 0.03);
}

.backdrop-staff::before { top: 33%; }
.backdrop-staff::after  { top: 66%; }

.staff-secondary {
    top: 50rem;
    left: -12%;
    right: auto;
    width: min(64rem, 90vw);
    opacity: 0.5;
    transform: rotate(5deg);
}

/* ── 5. Container ───────────────────────────────────────────────── */

.site-container {
    width: min(var(--max-width), calc(100% - 2.5rem));
    margin: 0 auto;
}

/* ── 6. Header ──────────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0;
    border-bottom: 1px solid var(--line-soft);
    background: var(--bg-panel);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-branding {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.header-kicker,
.eyebrow,
.panel-kicker,
.footer-kicker,
.listing-label,
.card-kind {
    color: var(--accent-strong);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: "Manrope", "Segoe UI", sans-serif;
}

.header-kicker {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    padding: 0.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: linear-gradient(160deg, rgba(38, 26, 28, 0.98), rgba(14, 10, 13, 0.99));
    flex-shrink: 0;
}

.brand-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-text strong {
    font-family: "Bodoni Moda", "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 600;
    line-height: 1;
}

.brand-text small {
    color: var(--text-muted);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

/* ── 7. Navigation ──────────────────────────────────────────────── */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0 0.85rem;
    border-radius: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text-main);
    background: none;
    transform: none;
    border-bottom-color: var(--line-strong);
}

.site-nav a.is-active {
    color: var(--accent-strong);
    border-bottom-color: var(--accent-strong);
}

.site-nav .nav-search-icon {
    padding: 0 0.5rem;
    letter-spacing: 0;
}

/* Theme toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.3rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: none;
    margin-left: 0.5rem;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    border-color: var(--line-strong);
    filter: none;
    transform: none;
    box-shadow: none;
}

.theme-toggle-track {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.06);
}

.theme-toggle-option {
    min-width: 2.6rem;
    min-height: 1.9rem;
    padding: 0.28rem 0.55rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-icon svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: currentColor;
}

html[data-theme="light"] .theme-toggle-option:first-child,
html[data-theme="dark"] .theme-toggle-option:last-child {
    background: var(--paper);
    color: var(--text-main);
    box-shadow: 0 1px 4px var(--paper-shadow);
}

.theme-toggle-label {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.6rem;
    padding: 0 0.85rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    border-color: var(--line-strong);
    box-shadow: none;
}

.nav-toggle-lines {
    display: inline-grid;
    gap: 0.22rem;
}

.nav-toggle-lines span {
    display: block;
    width: 1rem;
    height: 1.5px;
    border-radius: 0;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* ── 8. Main ────────────────────────────────────────────────────── */

.site-main {
    padding-bottom: 2.5rem;
}

/* ── 9. Global Buttons ──────────────────────────────────────────── */

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 50%, var(--accent-deep) 100%);
    color: #fcf7f2;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 160ms ease, transform 160ms ease;
}

button:hover,
button:focus-visible {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ── 10. Inputs ─────────────────────────────────────────────────── */

input[type="search"],
input[type="text"] {
    width: 100%;
    min-height: 3.2rem;
    padding: 0 1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 248, 240, 0.04);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

input[type="search"]::placeholder,
input[type="text"]::placeholder {
    color: var(--text-muted);
}

input[type="search"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(181, 136, 98, 0.12);
}

html[data-theme="light"] input[type="search"],
html[data-theme="light"] input[type="text"] {
    background: rgba(255, 252, 248, 0.7);
    border-color: var(--line-strong);
}

/* ── 11. Search Autocomplete ────────────────────────────────────── */

.hero-search-form,
.inline-search-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.search-autocomplete-field {
    position: relative;
    min-width: 0;
}

.search-autocomplete-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0.5rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--bg-panel-strong);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.search-autocomplete-status {
    padding: 0.1rem 0.4rem 0.45rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.search-autocomplete-groups {
    display: grid;
    gap: 0.55rem;
    max-height: min(26rem, 70vh);
    overflow-y: auto;
}

.search-autocomplete-group {
    display: grid;
    gap: 0.3rem;
}

.search-autocomplete-group-title {
    margin: 0;
    padding: 0 0.4rem;
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.search-autocomplete-options {
    display: grid;
    gap: 0.15rem;
}

.search-autocomplete-option {
    display: grid;
    gap: 0.15rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    text-decoration: none;
    transition: background-color 120ms ease, color 120ms ease;
}

.search-autocomplete-option:hover,
.search-autocomplete-option:focus-visible,
.search-autocomplete-option.is-active {
    background: rgba(181, 136, 98, 0.10);
    color: var(--text-main);
    transform: none;
}

.search-autocomplete-option-label {
    font-size: 0.96rem;
    font-weight: 600;
}

.search-autocomplete-option-subtitle {
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.4;
}

/* ── 12. Hero / Home ────────────────────────────────────────────── */

.home-hero {
    padding: 4rem 0 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    gap: 1px;
    align-items: stretch;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-copy,
.hero-panel,
.page-hero,
.category-card,
.recommended-card,
.compact-card,
.listing-card,
.result-block {
    position: relative;
    overflow: hidden;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.1rem;
    overflow: visible;
    padding: clamp(2rem, 4vw, 3.2rem);
    border-radius: 0;
    background: var(--bg-panel);
}

.hero-copy::before,
.hero-panel::before,
.page-hero::before,
.category-card::before,
.recommended-card::before,
.compact-card::before,
.listing-card::before,
.result-block::before {
    display: none;
}

.eyebrow {
    margin-bottom: 0.15rem;
}

.home-hero h1 {
    max-width: 10ch;
    font-size: clamp(3.4rem, 7.5vw, 6.8rem);
    line-height: 0.93;
}

.hero-lead {
    max-width: 50ch;
    color: var(--text-soft);
    font-size: clamp(1.02rem, 1.7vw, 1.25rem);
    line-height: 1.72;
}

.hero-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-hint a {
    color: var(--accent-strong);
    border-bottom: 1px solid rgba(212, 160, 122, 0.3);
    transition: border-color 160ms ease;
}

.hero-hint a:hover {
    border-bottom-color: var(--accent-strong);
}

/* Hero panel (right side on home) */
.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: var(--bg-soft);
    border-left: 1px solid var(--line-soft);
    box-shadow: none;
}

.hero-stage {
    position: relative;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
}

.hero-stage-image,
.artist-hero::before,
.lyric-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: grayscale(1) contrast(0.92) brightness(0.46);
    transform: scale(1.04);
}

.page-home .hero-stage-image {
    inset: 0 0 0 38%;
    background-image:
        linear-gradient(180deg, rgba(12, 9, 11, 0.18), rgba(12, 9, 11, 0.56)),
        url("../img/hero-home-tango.60c24177a5b2.jpg");
    background-position: 56% center;
    filter: grayscale(1) contrast(0.92) brightness(0.70);
    opacity: 0.80;
    border-left: 1px solid rgba(255, 245, 233, 0.07);
    transform: none;
}

.hero-stage::after,
.artist-hero::after,
.lyric-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg-panel-strong) 0%, rgba(26, 21, 26, 0.5) 42%, transparent 68%),
        linear-gradient(0deg, var(--bg-panel-strong) 0%, rgba(26, 21, 26, 0.4) 36%, transparent 60%);
}

.hero-stage::after {
    background:
        linear-gradient(90deg, rgba(14, 11, 14, 0.14) 0%, rgba(14, 11, 14, 0.08) 42%, transparent 62%),
        linear-gradient(0deg, rgba(14, 11, 14, 0.16), transparent 50%);
}

.hero-stage-copy,
.artist-hero > :not(.artist-hero-media):not(.artist-hero-credit),
.lyric-hero > * {
    position: relative;
    z-index: 1;
}

.hero-stage-copy {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 2.2rem;
    max-width: 38rem;
}

.hero-stage-copy::before {
    display: none;
}

.hero-stage-copy > h2,
.artist-hero h1,
.lyric-hero h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.93;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-stage-copy > p:last-of-type,
.artist-hero-lead,
.lyric-hero-meta {
    max-width: 38ch;
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 1.68;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
}

/* Hero panel cards */
.hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.hero-panel-card {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1.1rem;
    border: 0;
    border-top: 1px solid var(--line-soft);
    border-radius: 0;
    background: transparent;
    transition: background-color 160ms ease;
}

.hero-panel-card:nth-child(odd) {
    border-right: 1px solid var(--line-soft);
}

.hero-panel-card strong {
    font-size: 1rem;
    font-family: "Bodoni Moda", serif;
    font-weight: 600;
}

.hero-panel-card p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.hero-panel-card:hover,
.hero-panel-card:focus-visible {
    background: rgba(255, 248, 240, 0.04);
    border-color: var(--line-soft);
    transform: none;
}

/* Home panel copy */
.page-home .hero-stage {
    padding: 0;
    border: none;
}

.page-home .hero-stage::after {
    display: none;
}

.page-home .hero-stage-layout {
    display: block;
    min-height: auto;
    width: 100%;
}

.page-home .hero-stage-copy {
    max-width: none;
    align-content: start;
    padding: 1.5rem 1.25rem 1rem;
}

.page-home .hero-stage-copy::before {
    display: none;
}

/* ── 13. Page Hero (non-home) ───────────────────────────────────── */

.page-hero {
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
}

/* Artist / lyric heroes */
.artist-hero,
.lyric-hero {
    display: grid;
    gap: 1rem;
    min-height: clamp(22rem, 46vw, 30rem);
    align-content: end;
    padding: clamp(1.8rem, 3vw, 2.8rem);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.page-artist-detail .artist-hero::before {
    background-image:
        linear-gradient(180deg, rgba(12, 9, 12, 0.22), rgba(12, 9, 12, 0.72)),
        var(--artist-hero-image, url("../img/hero-artist-gardel.92fb413c901a.jpg"));
    background-position: var(--artist-hero-position, 50% 18%);
    transform: scale(1.02);
}

.page-artist-detail .artist-hero--custom-image::before {
    content: none;
}

.artist-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.artist-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--artist-hero-position, 50% 18%);
    filter: grayscale(1) contrast(0.92) brightness(0.70);
    transform: scale(1.02);
    opacity: 0.82;
    pointer-events: none;
}

.page-artist-detail .artist-hero--custom-image::after {
    background:
        linear-gradient(180deg, rgba(10, 8, 10, 0.12), transparent 24%),
        linear-gradient(90deg, rgba(10, 8, 10, 0.64), rgba(10, 8, 10, 0.18) 38%, transparent 64%),
        linear-gradient(0deg, rgba(10, 8, 10, 0.80), rgba(10, 8, 10, 0.24) 36%, transparent 68%);
}

.page-lyric-detail .lyric-hero::before {
    background-image:
        linear-gradient(180deg, rgba(12, 9, 12, 0.22), rgba(12, 9, 12, 0.64)),
        url("../img/hero-lyric-bandoneon.87db6b1ea954.jpg");
    background-position: 50% 34%;
    transform: scale(1.03);
}

.artist-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.93;
}

.artist-hero-subtitle {
    max-width: 26ch;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.32;
    color: var(--text-soft);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
}

.artist-hero-subtitle strong {
    font-style: inherit;
    font-weight: 700;
}

.artist-hero-subtitle .autolinked-content-link,
.lyric-hero-meta .autolinked-content-link {
    color: var(--accent-strong);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 160, 122, 0.3);
    text-shadow: none;
    transition: border-color 160ms ease;
}

.artist-hero-subtitle .autolinked-content-link:hover,
.artist-hero-subtitle .autolinked-content-link:focus-visible,
.lyric-hero-meta .autolinked-content-link:hover,
.lyric-hero-meta .autolinked-content-link:focus-visible {
    color: #f5d4aa;
    border-bottom-color: rgba(212, 160, 122, 0.6);
}

.artist-hero-credit {
    position: absolute;
    right: clamp(0.85rem, 1.8vw, 1.1rem);
    bottom: clamp(0.85rem, 1.8vw, 1rem);
    z-index: 2;
    width: fit-content;
    max-width: min(34ch, calc(100% - 1.8rem));
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(255, 245, 230, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(8, 6, 8, 0.50);
    color: rgba(243, 237, 230, 0.84);
    font-size: 0.76rem;
    line-height: 1.35;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
}

.artist-hero-credit p { margin: 0; }

.artist-hero-credit a {
    color: inherit;
    border-bottom: 1px solid rgba(243, 237, 230, 0.22);
}

.artist-hero-credit a:hover,
.artist-hero-credit a:focus-visible {
    color: var(--accent-strong);
    border-bottom-color: rgba(212, 160, 122, 0.44);
}

/* Hero fact strip */
.hero-fact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-fact-strip li {
    display: grid;
    gap: 0.15rem;
    min-width: 10rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: rgba(255, 248, 240, 0.06);
}

.hero-fact-strip strong {
    color: var(--accent-strong);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-fact-strip span {
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 600;
}

/* ── 14. Section Headers ────────────────────────────────────────── */

.home-section,
.page-section {
    padding: 1rem 0 3.2rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h1,
.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.95;
}

.section-header p {
    margin-top: 0.75rem;
    max-width: 60ch;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.7;
}

.section-header.compact {
    margin-bottom: 1rem;
}

/* ── 15. Cards ──────────────────────────────────────────────────── */

/* Feature column (home, dual grid) */
.dual-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-column {
    padding: 1.5rem;
    background: var(--bg-panel);
    box-shadow: none;
    border-radius: 0;
    border: none;
}

.feature-column + .feature-column {
    border-left: 1px solid var(--line-soft);
}

/* Compact list */
.compact-list {
    display: grid;
    gap: 0;
}

.compact-card,
.listing-card {
    display: block;
    padding: 1rem 1.1rem 1rem 1.3rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.compact-card {
    margin-bottom: 0;
    border-radius: 0;
    border-bottom: none;
}

.compact-card:first-child {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.compact-card:last-child {
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.compact-card:only-child {
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--line-soft);
}

.compact-accent {
    position: absolute;
    top: 0.9rem;
    left: 0;
    width: 3px;
    height: calc(100% - 1.8rem);
    border-radius: 0;
    background: linear-gradient(180deg, var(--accent-strong), var(--accent-deep));
}

.compact-card h3,
.listing-card h2 {
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    line-height: 1.0;
}

.compact-card-heading,
.listing-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.compact-card-heading h3,
.listing-card-heading h2 {
    flex: 1 1 auto;
    min-width: 0;
}

.compact-card p,
.listing-card p,
.result-block span {
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-size: 0.9rem;
}

.compact-card small,
.listing-card small {
    display: block;
    margin-top: 0.45rem;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.compact-card:hover,
.compact-card:focus-within,
.listing-card:hover,
.listing-card:focus-within {
    background: var(--bg-soft);
    border-color: var(--line-strong);
    transform: none;
    box-shadow: none;
}

/* Listing grid */
.listing-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.listing-grid .listing-card {
    border-radius: 0;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    border-top: none;
    border-left: none;
}

.page-listing .listing-card {
    overflow: visible;
    transition: background-color 160ms ease;
}

.page-listing .listing-card::before {
    content: none;
}

.page-listing .listing-card:hover {
    transform: none;
    box-shadow: none;
}

/* Listing meta */
.listing-meta {
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.9rem;
}

.listing-meta a {
    color: var(--text-soft);
}

.listing-meta a:hover,
.listing-meta a:focus-visible {
    color: var(--accent-strong);
}

/* Artist listing headers */
.artist-listing-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.artist-listing-avatar {
    width: 3.2rem;
    height: 3.2rem;
    flex: 0 0 3.2rem;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.artist-listing-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.04);
}

.artist-listing-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.artist-listing-copy h2,
.artist-listing-copy h3 {
    margin: 0;
}

.compact-artist-listing-header {
    gap: 0.65rem;
}

.compact-artist-listing-avatar {
    width: 2.8rem;
    height: 2.8rem;
    flex-basis: 2.8rem;
}

/* Recommended grid */
.category-grid,
.recommended-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.recommended-card {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 0;
    border-right: 1px solid var(--line-soft);
    background: var(--bg-panel);
    box-shadow: none;
    transition: background-color 160ms ease;
}

.recommended-card:first-child {
    grid-column: span 6;
    padding: 1.5rem;
    display: grid;
    align-content: end;
    min-height: 20rem;
}

.recommended-card:last-child {
    border-right: none;
}

.recommended-card:hover,
.recommended-card:focus-within {
    background: var(--bg-soft);
    border-color: var(--line-soft);
    transform: none;
    box-shadow: none;
}

.recommended-card h3 {
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    line-height: 1.0;
}

.recommended-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Subcategory blocks */
.subcategory-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: auto;
}

.subcategory-grid-compact {
    margin-top: 0.9rem;
}

.subcategory-block {
    padding: 0.85rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
}

.subcategory-block h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.subcategory-block h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.subcategory-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.subcategory-block li a {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    font-size: 0.84rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-soft);
    transition: color 160ms ease, border-color 160ms ease;
}

.subcategory-block li a:hover,
.subcategory-block li a:focus-visible {
    border-color: var(--line-strong);
    color: var(--text-main);
    transform: none;
}

/* Listing label */
.listing-label {
    display: block;
    margin-bottom: 0.5rem;
}

.listing-label--with-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.listing-label-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.7rem;
    padding: 0.14rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 245, 230, 0.10);
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

/* ── 16. Category editorial ─────────────────────────────────────── */

.category-editorial-card {
    margin-bottom: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
}

.category-editorial-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.category-editorial-header small {
    color: var(--text-soft);
}

.category-editorial-text {
    color: var(--text-soft);
    line-height: 1.78;
}

.category-editorial-text .autolinked-content-link,
.lyric-text .autolinked-content-link,
.lyric-hero-meta .autolinked-content-link,
.artist-hero-lead .autolinked-content-link,
.artist-hero-subtitle .autolinked-content-link,
.artist-bio-intro .autolinked-content-link,
.artist-bio-section-content .autolinked-content-link,
.artist-bio-text .autolinked-content-link {
    color: var(--accent-strong);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    transition: color 160ms ease;
}

.category-editorial-text .autolinked-content-link:hover,
.lyric-text .autolinked-content-link:hover,
.lyric-hero-meta .autolinked-content-link:hover,
.artist-hero-lead .autolinked-content-link:hover,
.artist-hero-subtitle .autolinked-content-link:hover,
.artist-bio-intro .autolinked-content-link:hover,
.artist-bio-section-content .autolinked-content-link:hover,
.artist-bio-text .autolinked-content-link:hover {
    color: var(--text-main);
}

/* ── 17. Alphabet Nav ───────────────────────────────────────────── */

.alphabet-panel {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: clamp(1.2rem, 2.5vw, 1.75rem);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
}

.alphabet-panel-header {
    display: grid;
    gap: 0.4rem;
}

.alphabet-panel-header h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.alphabet-panel-header p:last-child {
    color: var(--text-soft);
    max-width: 58ch;
}

.alphabet-toolbar {
    display: grid;
    gap: 0.75rem;
}

.alphabet-home,
.alphabet-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-soft);
    font-weight: 600;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.alphabet-home {
    padding: 0 0.85rem;
    justify-self: start;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alphabet-grid {
    display: grid;
    gap: 0.3rem;
    grid-template-columns: repeat(auto-fit, minmax(2.1rem, 1fr));
}

.alphabet-link {
    font-family: "Bodoni Moda", "Times New Roman", serif;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    line-height: 1;
}

.alphabet-home:hover,
.alphabet-home:focus-visible,
.alphabet-link:hover,
.alphabet-link:focus-visible,
.alphabet-home.is-active,
.alphabet-link.is-active {
    color: var(--text-main);
    border-color: var(--accent);
    background: rgba(181, 136, 98, 0.10);
    transform: none;
}

.alphabet-link.is-disabled {
    color: var(--text-muted);
    opacity: 0.38;
    pointer-events: none;
}

.listing-section-header {
    margin-top: 0.25rem;
}

/* ── 18. Pagination ─────────────────────────────────────────────── */

.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.pagination-link,
.pagination-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-soft);
    background: transparent;
}

.pagination-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.pagination-link:hover,
.pagination-link:focus-visible {
    border-color: var(--line-strong);
    background: var(--bg-soft);
    transform: none;
}

.pagination-link.is-current {
    border-color: var(--accent);
    background: rgba(181, 136, 98, 0.12);
    color: var(--text-main);
}

.pagination-status {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.pagination-ellipsis {
    min-width: 2.4rem;
}

/* ── 19. Breadcrumbs ────────────────────────────────────────────── */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    color: var(--accent-strong);
}

.breadcrumbs [aria-current="page"] {
    color: var(--text-main);
}

/* ── 20. Lyric Detail ───────────────────────────────────────────── */

.lyric-detail-section {
    padding-top: 1.25rem;
}

.lyric-detail-layout {
    display: grid;
    gap: 1rem;
}

.lyric-hero {
    padding: clamp(1.8rem, 3vw, 2.8rem);
}

.lyric-hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 5.2rem);
    line-height: 0.93;
}

.lyric-hero-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.lyric-hero-byline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.lyric-hero-meta {
    margin-top: 0.7rem;
    color: var(--text-soft);
    font-size: 1.02rem;
    font-weight: 600;
}

.lyric-detail-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.7fr);
    align-items: start;
}

/* Lyric sheet (main reading surface) */
.lyric-sheet,
.lyric-sidebar-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.lyric-sheet::before,
.lyric-sidebar-card::before {
    display: none;
}

html[data-theme="dark"] .lyric-sheet,
html[data-theme="dark"] .lyric-sidebar-card {
    background: var(--bg-panel-strong);
}

.lyric-sheet {
    padding: 1.4rem 1.6rem 1.8rem;
}

.lyric-sheet-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 1.2rem;
}

.lyric-sheet-header small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.lyric-text {
    color: var(--paper-text);
    font-family: "Bodoni Moda", "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.9vw, 1.38rem);
    line-height: 1.92;
}

html[data-theme="dark"] .lyric-text {
    color: var(--text-main);
}

.lyric-text p {
    margin: 0 0 1.3rem;
}

.lyric-text p:last-child {
    margin-bottom: 0;
}

.lyric-sidebar {
    display: grid;
    gap: 1rem;
}

.lyric-sidebar-card {
    padding: 1.2rem;
}

/* Cover images inside sidebar cards (release portada/contratapa) */
.lyric-sidebar-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

.lyric-sidebar-card h2 {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    margin-bottom: 0.5rem;
}

.lyric-meta-group {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line-soft);
}

.lyric-meta-group:first-of-type {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
}

.lyric-meta-list {
    margin: 0.55rem 0 0;
    padding-left: 1rem;
    color: var(--text-soft);
    display: grid;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.lyric-meta-list a {
    color: var(--accent-strong);
    text-decoration: none;
}

.lyric-meta-list a:hover,
.lyric-meta-list a:focus-visible {
    text-decoration: underline;
}

/* ── 21. Artist Detail ──────────────────────────────────────────── */

.artist-detail-section {
    padding-top: 1.25rem;
}

.artist-detail-layout {
    display: grid;
    gap: 1rem;
}

.artist-bio-card,
.artist-sidebar-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
    box-shadow: none;
}

.artist-bio-card::before,
.artist-sidebar-card::before {
    display: none;
}

html[data-theme="light"] .artist-bio-card {
    background: var(--paper);
}

.artist-hero::before {
    display: none;
}

.artist-detail-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.8fr);
    align-items: start;
}

.artist-bio-card {
    padding: clamp(1.5rem, 2.5vw, 2.2rem);
}

.artist-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 1.2rem;
}

.artist-card-header small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.artist-bio-text,
.artist-bio-intro,
.artist-bio-section-content {
    color: var(--text-main);
    font-size: clamp(1.08rem, 0.96rem + 0.4vw, 1.28rem);
    line-height: 1.96;
    letter-spacing: 0.008em;
    max-width: 42rem;
}

html[data-theme="light"] .artist-bio-text,
html[data-theme="light"] .artist-bio-intro,
html[data-theme="light"] .artist-bio-section-content {
    color: var(--paper-text);
}

.artist-bio-intro {
    padding-bottom: 0.2rem;
    color: var(--text-soft);
}

html[data-theme="light"] .artist-bio-intro {
    color: var(--paper-soft-text);
}

.artist-bio-text {
    margin-top: 1.25rem;
}

.artist-bio-structured {
    display: grid;
    gap: 0.85rem;
}

.artist-bio-sections {
    display: grid;
    gap: 0.6rem;
}

.artist-bio-text p,
.artist-bio-intro p,
.artist-bio-section-content p {
    margin: 0 0 1.2rem;
}

.artist-bio-text p:last-child,
.artist-bio-intro p:last-child,
.artist-bio-section-content p:last-child {
    margin-bottom: 0;
}

.artist-bio-section-content h3,
.artist-bio-section-content h4,
.artist-bio-section-content h5,
.artist-bio-section-content h6 {
    margin: 1.1rem 0 0.6rem;
    font-size: clamp(0.96rem, 0.9rem + 0.25vw, 1.12rem);
    line-height: 1.38;
}

.artist-bio-section-content h3:first-child,
.artist-bio-section-content h4:first-child,
.artist-bio-section-content h5:first-child,
.artist-bio-section-content h6:first-child {
    margin-top: 0;
}

.artist-bio-section-content ul,
.artist-bio-section-content ol {
    margin: 0 0 1.1rem;
    padding-left: 1.3rem;
}

.artist-bio-section-content li + li {
    margin-top: 0.4rem;
}

.artist-bio-section-content {
    max-width: none;
    padding: 0.85rem 1rem 1rem;
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.16rem);
    line-height: 1.82;
}

/* Disclosures */
.artist-disclosure,
.artist-bio-disclosure {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: rgba(255, 248, 240, 0.025);
    overflow: hidden;
}

.artist-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.96rem;
}

.artist-disclosure summary::-webkit-details-marker {
    display: none;
}

.artist-disclosure summary small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.7rem;
    padding: 0.14rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 245, 230, 0.10);
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0;
}

.artist-disclosure[open] summary {
    border-bottom: 1px solid var(--line-soft);
}

.artist-disclosure-summary {
    margin: 0;
    padding: 0.8rem 1rem 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.artist-section-list {
    margin: 0;
    padding: 0.8rem 1rem 1rem 1.15rem;
}

.artist-sidebar {
    display: grid;
    gap: 1rem;
}

.artist-sidebar-card {
    padding: 1.15rem;
}

.artist-video-preview-card {
    display: grid;
    gap: 0.85rem;
}

.artist-video-preview-title,
.artist-video-preview-meta {
    margin: 0;
}

.artist-video-preview-title {
    color: var(--text-main);
    font-family: "Bodoni Moda", "Times New Roman", serif;
    font-size: 0.98rem;
    line-height: 1.35;
}

.artist-video-preview-meta {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.artist-life-list {
    margin: 0.8rem 0 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 0;
}

.artist-life-list li {
    margin: 0;
    padding: 0.65rem 0 0.65rem 0.9rem;
    color: var(--text-main);
    border-left: 2px solid var(--line-strong);
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.92rem;
}

.artist-life-list li:last-child {
    border-bottom: none;
}

.artist-life-list strong {
    font-size: 0.72rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-right: 0.4rem;
}

.artist-placeholder-list {
    margin: 0.7rem 0 0;
    padding-left: 1rem;
    color: var(--text-soft);
    display: grid;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.artist-relationship-sections {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.6rem;
}

.artist-work-list li {
    display: grid;
    gap: 0.18rem;
}

.artist-work-heading {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.artist-work-list a {
    color: var(--accent-strong);
    text-decoration: none;
    font-size: 0.92rem;
}

.artist-work-list a:hover,
.artist-work-list a:focus-visible {
    text-decoration: underline;
}

.artist-work-list small {
    color: var(--text-muted);
}

.artist-role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.artist-role-badges small {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.artist-role-group-label {
    margin: 0.65rem 0 0.2rem;
    padding-left: 1.15rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── 22. Videos ─────────────────────────────────────────────────── */

.videos-page-layout,
.artist-videos-layout {
    display: grid;
    gap: 1rem;
}

.videos-hero-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    align-items: stretch;
}

.videos-page-hero,
.artist-videos-hero,
.videos-artist-block,
.artist-video-card,
.videos-empty-state {
    overflow: hidden;
}

.videos-spotlight {
    padding: 1.35rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
}

.videos-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.videos-spotlight-frame {
    min-height: 22rem;
    border-radius: var(--radius-md);
}

.videos-artist-sections,
.artist-videos-grid {
    display: grid;
    gap: 1rem;
}

.videos-artist-block {
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
}

.videos-artist-block .video-showcase {
    position: static;
    padding: 0.9rem;
    margin-top: 0;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: transparent;
}

.videos-artist-block .video-player-frame {
    min-height: 18rem;
}

.videos-load-more-row {
    display: flex;
    justify-content: center;
}

.videos-load-more-button[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.videos-artist-block-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line-soft);
}

.videos-artist-block-summary {
    margin: 0.25rem 0 0;
    max-width: 56ch;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.videos-artist-block-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.videos-artist-block-header h2,
.artist-video-card h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 1.95rem);
    line-height: 1.05;
}

.artist-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.artist-video-card {
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
}

.artist-video-card-frame {
    margin-top: 0;
    border-radius: var(--radius-md);
}

.videos-page-hero p,
.artist-videos-hero p,
.videos-empty-state p:not(.listing-label) {
    max-width: 58ch;
}

.videos-empty-state,
.artist-videos-hero {
    padding: 1.35rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
}

/* Video player */
.video-showcase {
    position: sticky;
    top: 1rem;
}

.video-showcase-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}

.video-showcase-header {
    display: grid;
    gap: 0.85rem;
}

.video-showcase-intro {
    display: grid;
    gap: 0.35rem;
}

.video-showcase h2 {
    margin: 0;
    font-size: clamp(1.3rem, 1.75vw, 1.78rem);
    line-height: 1.1;
}

.video-showcase h2 a {
    color: inherit;
}

.video-showcase h2 a:hover,
.video-showcase h2 a:focus-visible {
    color: var(--accent-strong);
}

.video-player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--bg-main);
}

.video-player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-player-current {
    color: var(--text-main);
    font-family: "Bodoni Moda", "Times New Roman", serif;
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    line-height: 1.4;
}

.video-playlist-header p:last-child,
.video-playlist-copy small {
    color: var(--text-muted);
}

.video-player-link {
    flex-shrink: 0;
    justify-self: start;
}

.video-playlist-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.55rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line-soft);
}

.video-playlist-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.video-playlist-list--horizontal {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(16rem, 21rem);
    overflow-x: auto;
    padding: 0.1rem 0 0.45rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(181, 136, 98, 0.3) rgba(255, 245, 230, 0.04);
}

.video-playlist-list--horizontal li {
    scroll-snap-align: start;
    min-height: 100%;
}

.video-playlist-item {
    width: 100%;
    display: grid;
    grid-template-columns: auto 5.2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.video-playlist-item:hover,
.video-playlist-item:focus-visible,
.video-playlist-item.is-active {
    border-color: var(--accent);
    background: rgba(181, 136, 98, 0.08);
    transform: none;
}

.video-playlist-index {
    width: 1.85rem;
    height: 1.85rem;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-soft);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    background: transparent;
}

.video-playlist-item.is-active .video-playlist-index {
    border-color: var(--accent);
    background: rgba(181, 136, 98, 0.14);
    color: var(--text-main);
}

.video-playlist-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    display: block;
    object-fit: cover;
    background: var(--bg-soft);
}

.video-playlist-copy {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 0.22rem;
}

.video-playlist-copy strong {
    color: var(--text-main);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.88rem;
}

.video-showcase .pill-link {
    min-height: 2.5rem;
}

/* ── 23. Result blocks (search) ─────────────────────────────────── */

.result-blocks {
    margin-top: 1.2rem;
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.result-block {
    padding: 1.2rem;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--line-soft);
    background: var(--bg-panel);
    transition: background-color 160ms ease;
}

.result-block:last-child {
    border-right: none;
}

.result-block:hover {
    background: var(--bg-soft);
    transform: none;
    box-shadow: none;
}

.result-block h2 {
    margin-bottom: 0.7rem;
    font-size: clamp(1.75rem, 2.4vw, 2.4rem);
}

.result-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.result-block li {
    display: grid;
    gap: 0.14rem;
}

.result-block a:hover,
.result-block a:focus-visible {
    color: var(--accent-strong);
}

/* ── 24. Contact ────────────────────────────────────────────────── */

.contact-hero {
    background: var(--bg-panel);
}

.contact-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
}

.contact-lead {
    max-width: 70ch;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.72;
}

.contact-story-grid,
.contact-reference-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-story-card,
.contact-reference-card {
    overflow: hidden;
    padding: 1.3rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
}

.contact-story-card {
    display: grid;
    gap: 0.85rem;
    min-height: 100%;
}

.contact-story-card h2 {
    font-size: clamp(1.85rem, 2.8vw, 2.7rem);
}

.contact-story-card p:not(.listing-label),
.contact-reference-copy {
    color: var(--text-soft);
}

.contact-link-list {
    display: grid;
    gap: 0.6rem;
}

.contact-link-card {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: transparent;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.contact-link-card strong {
    font-size: 1rem;
}

.contact-link-card span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.contact-link-card:hover,
.contact-link-card:focus-visible {
    border-color: var(--line-strong);
    background: var(--bg-soft);
    transform: none;
}

.contact-reference-copy a {
    color: var(--accent-strong);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.contact-reference-copy a:hover,
.contact-reference-copy a:focus-visible {
    color: var(--text-main);
}

/* ── 25. Footer ─────────────────────────────────────────────────── */

.site-footer {
    padding: 0;
    border-top: 1px solid var(--line-soft);
}

.footer-inner {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    align-items: start;
    padding: 1.6rem 1.5rem;
    border: none;
    border-radius: 0;
    background: var(--bg-panel);
    box-shadow: none;
}

.footer-brand,
.footer-note,
.footer-meta {
    display: grid;
    gap: 0.45rem;
}

.footer-meta {
    text-align: right;
}

.footer-brand p,
.footer-note p,
.footer-meta p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.75rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--line-soft);
}

.footer-link {
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 600;
    transition: color 160ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
    color: var(--accent-strong);
}

/* ── 26. Spotify ────────────────────────────────────────────────── */

.spotify-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--bg-panel-strong);
    border-top: 1px solid var(--line-strong);
    box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.spotify-player-inner {
    display: flex;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.3rem 1rem;
    gap: 0.65rem;
}

.spotify-embed-container {
    flex: 1;
    min-width: 0;
}

.spotify-embed-container iframe {
    display: block;
    width: 100%;
    height: 80px;
    border: none;
    border-radius: var(--radius-sm);
}

.spotify-player-close {
    flex-shrink: 0;
    background: none;
    border: 1px solid var(--line-soft);
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    width: 2rem;
    height: 2rem;
    min-height: unset;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 160ms ease, border-color 160ms ease;
}

.spotify-player-close:hover {
    color: var(--text-main);
    border-color: var(--line-strong);
    filter: none;
    transform: none;
}

body {
    transition: padding-bottom 220ms ease;
}

body.player-active {
    padding-bottom: 5.5rem;
}

.spotify-play-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #1db954;
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 160ms ease, transform 120ms ease;
    width: 100%;
    justify-content: center;
    text-transform: none;
}

.spotify-play-btn:hover {
    background: #1ed760;
    transform: none;
    filter: none;
    box-shadow: none;
}

.spotify-play-btn:active {
    transform: scale(0.98);
}

.spotify-player-status {
    flex: 1;
    padding: 0 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lyric-hero-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.spotify-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-top: 0.12rem;
    padding: 0;
    border: 1px solid rgba(29, 185, 84, 0.22);
    border-radius: var(--radius-sm);
    background: rgba(29, 185, 84, 0.08);
    color: rgba(29, 185, 84, 0.85);
    box-shadow: none;
    cursor: pointer;
    flex: 0 0 auto;
    min-height: unset;
    transition: background 160ms ease, border-color 160ms ease;
}

.spotify-inline-btn:hover,
.spotify-inline-btn:focus-visible {
    background: rgba(29, 185, 84, 0.16);
    border-color: rgba(29, 185, 84, 0.36);
    color: #1ed760;
    transform: none;
    filter: none;
}

.spotify-inline-btn:active {
    transform: scale(0.94);
}

.spotify-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    background: rgba(29, 185, 84, 0.12);
    color: #1db954;
    border: 1px solid rgba(29, 185, 84, 0.30);
    border-radius: var(--radius-sm);
    height: 1.65rem;
    padding: 0 0.5rem;
    min-height: unset;
    box-shadow: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
    flex-shrink: 0;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.spotify-hero-btn:hover {
    background: rgba(29, 185, 84, 0.22);
    border-color: rgba(29, 185, 84, 0.50);
    transform: none;
    filter: none;
}

.spotify-hero-btn:active {
    transform: scale(0.95);
}

/* ── 27. Pill link / utility ────────────────────────────────────── */

.pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 160ms ease, color 160ms ease;
}

.pill-link:hover,
.pill-link:focus-visible {
    border-color: var(--accent);
    color: var(--text-main);
}

/* ── 27b. Milonga detail ────────────────────────────────────────── */

.milonga-detail-meta {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.milonga-detail-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    padding: 0.18rem 0.55rem;
}

/* ── 28. Admin links ────────────────────────────────────────────── */

.admin-edit-link {
    margin-left: 0.5rem;
    color: var(--accent-strong);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.admin-edit-link:hover,
.admin-edit-link:focus-visible {
    text-decoration: underline;
}

/* ── 29. WhatsApp share ─────────────────────────────────────────── */

.wa-share-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
    text-decoration: none;
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.wa-share-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.40);
}

.wa-share-btn svg {
    width: 1.7rem;
    height: 1.7rem;
    flex-shrink: 0;
}

/* ── 30. Utilities ──────────────────────────────────────────────── */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.empty-state {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.taxomesh-error-card code,
.taxomesh-error-card pre {
    font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
}

.taxomesh-error-card code {
    color: var(--accent-strong);
    word-break: break-word;
}

.taxomesh-error-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.taxomesh-error-grid h2 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.taxomesh-error-grid pre {
    margin: 0;
    padding: 0.85rem;
    overflow-x: auto;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--text-soft);
    line-height: 1.6;
}

.category-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── 31. Light theme overrides ──────────────────────────────────── */

html[data-theme="light"] body {
    background:
        radial-gradient(ellipse 1200px 500px at 0% -10%, rgba(138, 83, 56, 0.06), transparent 70%),
        radial-gradient(ellipse 900px 500px at 100% 5%, rgba(92, 46, 34, 0.07), transparent 65%),
        linear-gradient(180deg, var(--bg-shell) 0%, var(--bg-main) 30%, var(--bg-shell) 100%);
}

html[data-theme="light"] .site-header {
    background: var(--bg-panel);
}

html[data-theme="light"] .hero-grid {
    border-color: var(--line-soft);
}

html[data-theme="light"] .hero-copy {
    background: var(--paper);
}

html[data-theme="light"] .hero-panel {
    background: var(--bg-soft);
}

html[data-theme="light"] .page-home .hero-stage-image {
    filter: grayscale(1) contrast(0.88) brightness(0.88);
    opacity: 0.55;
    border-left-color: rgba(68, 48, 40, 0.07);
}

html[data-theme="light"] .page-artist-detail .artist-hero::before {
    filter: grayscale(1) contrast(0.86) brightness(0.82);
    opacity: 0.22;
}

html[data-theme="light"] .page-lyric-detail .lyric-hero::before {
    filter: grayscale(1) contrast(0.88) brightness(0.86);
    opacity: 0.20;
}

html[data-theme="light"] .artist-hero::after,
html[data-theme="light"] .lyric-hero::after {
    background:
        linear-gradient(90deg, rgba(255, 250, 244, 0.92) 0%, rgba(255, 250, 244, 0.5) 38%, transparent 64%),
        linear-gradient(0deg, rgba(255, 250, 244, 0.94) 0%, rgba(255, 250, 244, 0.42) 36%, transparent 62%);
}

html[data-theme="light"] .page-artist-detail .artist-hero--custom-image .artist-hero-media img {
    filter: grayscale(1) contrast(0.88) brightness(0.90);
    opacity: 0.62;
}

html[data-theme="light"] .page-artist-detail .artist-hero--custom-image::after {
    background:
        linear-gradient(90deg, rgba(255, 250, 244, 0.70) 0%, rgba(255, 250, 244, 0.28) 42%, transparent 66%),
        linear-gradient(0deg, rgba(255, 250, 244, 0.72) 0%, rgba(255, 250, 244, 0.22) 38%, transparent 68%);
}

html[data-theme="light"] .artist-hero-credit {
    background: rgba(255, 250, 244, 0.70);
    border-color: rgba(68, 48, 40, 0.12);
    color: var(--paper-text);
    text-shadow: none;
}

html[data-theme="light"] .artist-hero-credit a {
    border-bottom-color: rgba(40, 30, 28, 0.22);
}

html[data-theme="light"] .lyric-sheet {
    background: var(--paper);
}

html[data-theme="light"] .lyric-sidebar-card {
    background: var(--paper);
}

html[data-theme="light"] .artist-sidebar-card {
    background: var(--paper);
}

html[data-theme="light"] .dual-grid {
    border-color: var(--line-soft);
}

html[data-theme="light"] .feature-column {
    background: var(--paper);
}

html[data-theme="light"] .recommended-card {
    background: var(--paper);
}

html[data-theme="light"] .alphabet-panel {
    background: var(--paper);
}

html[data-theme="light"] .result-block {
    background: var(--paper);
}

html[data-theme="light"] .footer-inner {
    background: var(--paper);
}

html[data-theme="light"] .videos-artist-block,
html[data-theme="light"] .artist-video-card,
html[data-theme="light"] .videos-spotlight,
html[data-theme="light"] .videos-empty-state,
html[data-theme="light"] .artist-videos-hero {
    background: var(--paper);
}

html[data-theme="light"] .contact-story-card,
html[data-theme="light"] .contact-reference-card {
    background: var(--paper);
}

html[data-theme="light"] .hero-stage-copy > h2 {
    color: var(--paper-text);
    text-shadow: 0 6px 18px rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .hero-stage-copy > p:last-of-type {
    color: var(--paper-soft-text);
    text-shadow: none;
}

html[data-theme="light"] .hero-panel-card {
    background: rgba(255, 250, 244, 0.72);
    border-color: rgba(68, 48, 40, 0.10);
}

html[data-theme="light"] .hero-panel-card:hover {
    background: rgba(255, 250, 244, 0.88);
}

html[data-theme="light"] .artist-bio-card .autolinked-content-link,
html[data-theme="light"] .lyric-sheet .autolinked-content-link {
    color: var(--paper-link);
}

html[data-theme="light"] .artist-bio-card .autolinked-content-link:hover,
html[data-theme="light"] .lyric-sheet .autolinked-content-link:hover {
    color: var(--paper-text);
}

html[data-theme="light"] .backdrop-staff {
    border-color: rgba(68, 48, 40, 0.04);
    opacity: 0.5;
}

/* ── 32. Responsive ─────────────────────────────────────────────── */

@media (max-width: 1180px) {
    .hero-grid,
    .dual-grid,
    .contact-story-grid,
    .contact-reference-grid,
    .result-blocks,
    .lyric-detail-grid,
    .artist-detail-grid,
    .videos-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 0;
    }

    .dual-grid .feature-column + .feature-column {
        border-left: none;
        border-top: 1px solid var(--line-soft);
    }

    .result-blocks {
        border-radius: var(--radius-md);
    }

    .result-block {
        border-right: none;
        border-bottom: 1px solid var(--line-soft);
    }

    .result-block:last-child {
        border-bottom: none;
    }

    .video-showcase {
        position: static;
    }

    .videos-spotlight-frame,
    .videos-artist-block .video-player-frame {
        min-height: 0;
    }

    .artist-videos-grid {
        grid-template-columns: 1fr;
    }

    .recommended-card {
        grid-column: span 6;
        border-right: 1px solid var(--line-soft);
    }

    .recommended-card:first-child {
        grid-column: span 12;
        border-right: none;
        border-bottom: 1px solid var(--line-soft);
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-meta {
        text-align: left;
    }

    .artist-life-list li {
        padding-left: 0.75rem;
    }
}

@media (max-width: 1100px) {
    .site-container {
        width: min(var(--max-width), calc(100% - 1.6rem));
    }

    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .header-top {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .header-branding {
        min-width: 0;
    }

    .brand {
        min-width: 0;
    }

    .brand-text strong {
        font-size: clamp(1.2rem, 6vw, 1.55rem);
    }

    .nav-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .header-actions {
        width: 100%;
    }

    .site-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.4rem 0;
        border-top: 1px solid var(--line-soft);
    }

    .site-nav a {
        width: 100%;
        justify-content: flex-start;
        padding: 0 0.85rem;
        border-bottom: none;
        border-bottom: 1px solid var(--line-soft);
        min-height: 2.75rem;
        font-size: 0.84rem;
    }

    .site-nav a:last-of-type {
        border-bottom: none;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        background: var(--bg-soft);
        border-bottom-color: var(--line-soft);
    }

    .site-nav .theme-toggle {
        margin-left: 0;
        flex: 0 0 auto;
        align-self: flex-start;
        margin-top: 0.4rem;
    }

    .site-header.js-nav-ready .site-nav {
        display: none;
    }

    .site-header.js-nav-ready .site-nav.is-open {
        display: flex;
    }

    .home-hero {
        padding-top: 2.8rem;
    }

    .home-hero h1 {
        max-width: none;
        font-size: clamp(2.8rem, 11vw, 4.4rem);
    }

    .hero-search-form,
    .inline-search-form {
        grid-template-columns: 1fr;
    }

    .search-autocomplete-panel {
        position: static;
        margin-top: 0.45rem;
    }

    .subcategory-grid,
    .recommended-grid {
        grid-template-columns: 1fr;
    }

    .recommended-card,
    .recommended-card:first-child {
        grid-column: auto;
        border-right: none;
        border-bottom: 1px solid var(--line-soft);
    }

    .recommended-card:last-child {
        border-bottom: none;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .category-index-grid {
        grid-template-columns: 1fr;
    }

    .alphabet-home {
        justify-self: stretch;
    }
}

@media (max-width: 780px) {
    .video-playlist-list--horizontal {
        grid-auto-columns: minmax(13rem, 80vw);
    }

    .videos-spotlight,
    .videos-artist-block,
    .artist-video-card {
        padding: 0.9rem;
    }

    .videos-spotlight-actions,
    .videos-artist-block-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .videos-artist-block-actions {
        width: 100%;
    }

    .videos-artist-block-header {
        padding-bottom: 0.75rem;
    }
}

@media (max-width: 600px) {
    .wa-share-btn {
        bottom: 1rem;
        right: 1rem;
        width: 3.1rem;
        height: 3.1rem;
    }
}

@media (max-width: 560px) {
    .header-kicker {
        display: none;
    }

    .header-top {
        align-items: flex-start;
    }

    .brand {
        gap: 0.6rem;
    }

    .brand-mark {
        width: 2.9rem;
        height: 2.9rem;
    }

    .nav-toggle {
        min-height: 2.6rem;
        padding: 0 0.75rem;
    }

    .hero-copy,
    .hero-panel,
    .page-hero,
    .lyric-hero,
    .lyric-sheet,
    .lyric-sidebar-card,
    .artist-hero,
    .artist-bio-card,
    .artist-sidebar-card,
    .feature-column,
    .footer-inner,
    .alphabet-panel,
    .category-editorial-card {
        border-radius: var(--radius-md);
    }

    .section-header h1,
    .section-header h2 {
        font-size: clamp(2rem, 9.5vw, 3rem);
    }

    .subcategory-grid {
        grid-template-columns: 1fr;
    }

    .alphabet-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .alphabet-home,
    .alphabet-link {
        min-height: 2.7rem;
    }

    .video-showcase {
        max-width: 36rem;
        margin-inline: auto;
    }

    .video-showcase-header {
        justify-items: center;
        text-align: center;
    }

    .video-player-link {
        justify-self: center;
    }

    .video-playlist-item {
        grid-template-columns: auto 4.6rem minmax(0, 1fr);
    }

    .hero-fact-strip li {
        min-width: 0;
        flex: 1 1 100%;
    }

    .hero-grid {
        border-radius: var(--radius-md);
    }

    .artist-hero,
    .lyric-hero {
        min-height: 14rem;
        padding: 1.35rem;
    }

    .hero-stage-copy {
        padding: 1.1rem;
    }

    .page-home .hero-stage-copy {
        padding: 0.85rem;
    }

    .footer-inner {
        padding: 1.2rem 1rem;
    }
}

@media (max-width: 1100px) {
    .artist-detail-grid,
    .lyric-detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-panel {
        min-height: auto;
    }

    .page-artist-detail .artist-hero::before {
        background-position: var(--artist-hero-position-md, var(--artist-hero-position, 50% 24%));
        transform: scale(1.01);
    }

    .artist-hero-media img {
        object-position: var(--artist-hero-position-md, var(--artist-hero-position, 50% 24%));
        transform: scale(1.01);
    }

    .artist-hero-credit {
        position: relative;
        right: auto;
        bottom: auto;
        display: inline-block;
        margin-top: 0.65rem;
        max-width: min(34ch, 100%);
    }

    .page-lyric-detail .lyric-hero::before {
        background-position: 50% 40%;
        transform: scale(1.02);
    }
}

@media (max-width: 700px) {
    .site-container {
        width: min(var(--max-width), calc(100% - 1.2rem));
    }

    .home-hero {
        padding-top: 3rem;
    }

    .hero-panel-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel-card:nth-child(odd) {
        border-right: none;
    }

    .page-artist-detail .artist-hero::before {
        background-position: var(
            --artist-hero-position-sm,
            var(--artist-hero-position-md, var(--artist-hero-position, 50% 14%))
        );
        transform: scale(1);
    }

    .artist-hero-media img {
        object-position: var(
            --artist-hero-position-sm,
            var(--artist-hero-position-md, var(--artist-hero-position, 50% 14%))
        );
        transform: scale(1);
    }

    .page-lyric-detail .lyric-hero::before {
        background-position: 54% 38%;
        transform: scale(1.01);
    }

    .artist-listing-header {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
