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

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

:root,
html[data-theme="dark"] {
    --font-ui: "Manrope", "Segoe UI", system-ui, sans-serif;
    --font-display: "Bodoni Moda", "Times New Roman", Georgia, serif;
    --font-reading: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --measure-reading: 38rem;
    --measure-reading-tight: 28rem;

    --reading-surface: rgba(24, 20, 24, 0.98);
    --reading-surface-soft: rgba(255, 246, 236, 0.035);
    --reading-border: rgba(255, 245, 230, 0.10);
    --reading-text: #f4eee8;
    --reading-soft-text: #d8ccc1;
    --reading-muted-text: #a6988f;
    --reading-link: #dfb18b;
    --reading-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);

    /* 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;

    /* Motion */
    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* 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-xl: 0 34px 90px rgba(0, 0, 0, 0.42);
    --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);

    --reading-surface: #fdfaf4;
    --reading-surface-soft: rgba(122, 82, 59, 0.04);
    --reading-border: rgba(68, 48, 40, 0.10);
    --reading-text: #201816;
    --reading-soft-text: #4b3c38;
    --reading-muted-text: #8b7469;
    --reading-link: #8a5338;
    --reading-shadow: 0 22px 60px rgba(50, 32, 24, 0.08);
}

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

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

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

html {
    font-size: 21px;
}

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: var(--font-ui);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
    background:
        radial-gradient(ellipse 1320px 620px at -8% -12%, rgba(181, 136, 98, 0.16), transparent 70%),
        radial-gradient(ellipse 980px 640px at 105% 4%, rgba(122, 66, 50, 0.14), transparent 66%),
        linear-gradient(125deg, rgba(181, 136, 98, 0.05) 0%, transparent 28%),
        linear-gradient(180deg, #171216 0%, var(--bg-main) 26%, #0a080a 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: var(--font-display);
    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: linear-gradient(180deg, rgba(13, 11, 13, 0.84), rgba(13, 11, 13, 0.6));
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.eyebrow,
.listing-label {
    color: var(--accent-strong);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-ui);
}

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

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

html[data-theme="light"] .brand-mark {
    background: linear-gradient(160deg, rgba(251, 243, 232, 0.98), rgba(235, 220, 200, 0.98));
}

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

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

/* Theme toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.18rem;
    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;
}

/* Auth modal */
.auth-modal {
    width: min(42rem, calc(100vw - 1.5rem));
    max-width: none;
    max-height: min(94dvh, 46rem);
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 1rem;
    background: var(--bg-panel-strong);
    color: var(--text-main);
    box-shadow: var(--shadow-lg);
}

.auth-modal::backdrop {
    background: rgba(9, 7, 10, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.auth-modal__shell {
    position: relative;
    display: grid;
    gap: 0.95rem;
    padding: 1.2rem;
    overflow: auto;
}

.auth-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
}

.auth-modal__close:hover,
.auth-modal__close:focus-visible {
    color: var(--text-main);
    border-color: var(--line-strong);
}

.auth-modal__eyebrow {
    color: var(--accent-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-modal__intro h2 {
    font-size: clamp(1.85rem, 4.5vw, 2.45rem);
    line-height: 0.95;
}

.auth-modal__lead {
    margin-top: 0.3rem;
    max-width: 32rem;
    color: var(--text-soft);
}

.auth-modal__tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.25rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
}

.auth-modal__tab {
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
}

.auth-modal__tab.is-active {
    background: var(--paper);
    color: var(--paper-text);
    box-shadow: 0 1px 4px var(--paper-shadow);
}

.auth-modal__feedback {
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(212, 160, 122, 0.2);
    border-radius: 0.75rem;
    background: rgba(181, 136, 98, 0.08);
    color: var(--text-main);
    white-space: pre-line;
}

.auth-modal__feedback.is-error {
    border-color: rgba(191, 90, 90, 0.28);
    background: rgba(140, 36, 36, 0.12);
}

.auth-panel {
    display: none;
}

.auth-panel.is-active {
    display: grid;
    gap: 0.85rem;
}

.auth-google-button,
.auth-submit-button,
.auth-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 2.85rem;
    padding: 0.78rem 1rem;
    border-radius: 0.9rem;
    font-weight: 700;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.auth-google-button {
    width: 100%;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.03);
}

.auth-submit-button {
    width: 100%;
    border: 1px solid transparent;
    background: var(--accent);
    color: #140f10;
}

.auth-submit-button:hover,
.auth-submit-button:focus-visible {
    background: var(--accent-strong);
}

.auth-submit-button--quiet {
    background: transparent;
    border-color: var(--line-soft);
    color: var(--text-main);
}

.auth-submit-button--quiet:hover,
.auth-submit-button--quiet:focus-visible,
.auth-google-button:hover,
.auth-google-button:focus-visible,
.auth-secondary-button:hover,
.auth-secondary-button:focus-visible {
    border-color: var(--line-strong);
}

.auth-secondary-button {
    border: 1px solid var(--line-soft);
    background: transparent;
    color: var(--text-main);
}

.auth-modal__divider {
    position: relative;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.auth-modal__divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line-soft);
}

.auth-modal__divider span {
    position: relative;
    padding: 0 0.75rem;
    background: var(--bg-panel-strong);
}

.auth-form,
.auth-inline-form {
    display: grid;
    gap: 0.8rem;
}

.auth-field {
    display: grid;
    gap: 0.3rem;
}

.auth-field label {
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.auth-modal .auth-field input {
    min-height: 2.8rem;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-modal .auth-field input::placeholder {
    color: var(--text-muted);
}

.auth-modal .auth-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(181, 136, 98, 0.12);
}

.auth-account-card {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
}

.auth-account-card h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.auth-account-card__label {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-account-card__status {
    font-weight: 700;
}

.auth-account-card__status.is-verified {
    color: var(--accent-strong);
}

.auth-account-card__status.is-unverified {
    color: var(--accent-strong);
}

@media (min-width: 700px) {
    .auth-form[data-auth-form="signup"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0.85rem;
        row-gap: 0.8rem;
    }

    .auth-form[data-auth-form="signup"] .auth-field {
        min-width: 0;
    }

    .auth-form[data-auth-form="signup"] .auth-submit-button {
        grid-column: 1 / -1;
    }
}

/* 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;
}

.site-flash-section {
    position: relative;
    z-index: 1;
    padding-top: 1rem;
}

.site-flash-stack {
    display: grid;
    gap: 0.65rem;
}

.site-flash {
    padding: 0.9rem 1rem;
    border: 1px solid var(--line-soft);
    border-radius: 0.9rem;
    background: var(--bg-panel);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.site-flash--success {
    border-color: rgba(117, 176, 102, 0.28);
    background: rgba(64, 102, 56, 0.16);
}

.site-flash--error {
    border-color: rgba(191, 90, 90, 0.28);
    background: rgba(140, 36, 36, 0.12);
}

.site-flash--warning {
    border-color: rgba(212, 160, 122, 0.32);
    background: rgba(181, 136, 98, 0.10);
}

/* ── 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;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.hero-search-form[data-search-autocomplete-open="true"],
.inline-search-form[data-search-autocomplete-open="true"] {
    z-index: 60;
}

.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: clamp(1rem, 2.2vw, 1.8rem) 0 2rem;
}

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

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

.eyebrow {
    margin-bottom: 0.15rem;
}

.home-hero h1 {
    max-width: 8ch;
    font-size: clamp(4.2rem, 9vw, 8.2rem);
    line-height: 0.88;
    text-wrap: balance;
    margin-top: -0.5rem; /* eyebrow + h1 are one semantic unit — close the gap */
}

.hero-hint {
    max-width: 44ch;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.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-stage {
    position: relative;
    min-height: 100%;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line-soft) 94%, transparent);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(24, 18, 22, 0.72), rgba(11, 9, 12, 0.96)),
        var(--bg-panel);
    box-shadow: var(--shadow-lg);
}

.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);
}

/* Film grain canvas — rendered off main thread via OffscreenCanvas + Worker */
.hero-grain-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.052;
    mix-blend-mode: overlay;
    z-index: 5;
}

.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(95deg, rgba(12, 9, 12, 0.94) 0%, rgba(12, 9, 12, 0.76) 30%, transparent 64%),
        linear-gradient(180deg, rgba(181, 136, 98, 0.12) 0%, transparent 24%),
        linear-gradient(0deg, rgba(12, 9, 12, 0.34), transparent 46%);
}

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

.artist-hero h1,
.lyric-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 5.2vw, 4.8rem);
    line-height: 0.89;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.lyric-hero-meta {
    max-width: 36ch;
    color: color-mix(in srgb, var(--text-soft) 94%, var(--text-main));
    font-size: 1.06rem;
    line-height: 1.76;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
}

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

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

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

.page-hero {
    padding: clamp(1.1rem, 2vw, 1.6rem);
    border: 1px solid color-mix(in srgb, var(--line-strong) 88%, transparent);
    border-radius: 0;
    background:
        radial-gradient(circle at top right, rgba(181, 136, 98, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(255, 245, 230, 0.05), transparent 36%),
        var(--bg-panel);
    box-shadow: var(--shadow-md);
}

.page-hero h1 {
    max-width: 16ch;
    font-size: clamp(2.45rem, 4.8vw, 4.2rem);
    line-height: 0.9;
    text-wrap: pretty;
}

.page-hero p:last-child {
    max-width: 48ch;
    font-family: var(--font-reading);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.page-hero--artists-collage {
    isolation: isolate;
    min-height: clamp(11rem, 19vw, 13.5rem);
    padding-right: clamp(14rem, 33vw, 28rem);
}

.page-hero--artists-collage > :not(.page-hero-collage):not(.hero-grain-canvas) {
    position: relative;
    z-index: 2;
}

.page-hero--artists-collage::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 14% 22%, rgba(181, 136, 98, 0.14), transparent 28%),
        linear-gradient(
            90deg,
            rgba(17, 13, 16, 1) 0%,
            rgba(17, 13, 16, 1) 38%,
            rgba(17, 13, 16, 0.96) 54%,
            rgba(17, 13, 16, 0.76) 72%,
            rgba(17, 13, 16, 0.28) 90%,
            rgba(17, 13, 16, 0.04) 100%
        );
}

.page-hero-collage {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.page-hero-collage::before,
.page-hero-collage::after {
    content: "";
    position: absolute;
}

.page-hero-collage::before {
    inset: 0;
    background-image: url("../img/letrastango_collage_real_bw_8x8_v3.31bb4fc83b4a.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    filter: grayscale(1) contrast(1.02) brightness(0.92);
    opacity: 0.98;
}

.page-hero-collage::after {
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(11, 9, 12, 0.99) 0%,
        rgba(11, 9, 12, 0.99) 16%,
        rgba(11, 9, 12, 0.94) 30%,
        rgba(11, 9, 12, 0.8) 45%,
        rgba(11, 9, 12, 0.48) 62%,
        rgba(11, 9, 12, 0.18) 80%,
        rgba(11, 9, 12, 0.03) 100%
    );
}

/* Artist / lyric heroes */
.artist-hero,
.lyric-hero {
    display: grid;
    gap: 1rem;
    min-height: clamp(15.5rem, 30vw, 20rem);
    align-content: end;
    padding: clamp(1.1rem, 2vw, 1.6rem);
    border: 1px solid var(--line-soft);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.page-artist-detail .artist-hero::before {
    display: block;
    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.a8004b300e32.jpg"));
    background-position: var(--artist-hero-position, 50% 18%);
    transform: scale(1.02);
}

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

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

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

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

.artist-hero-media img {
    object-fit: cover;
    object-position: var(--artist-hero-position, 50% 18%);
}

.lyric-hero-media img {
    object-fit: cover;
    object-position: var(--lyric-hero-position, 50% 34%);
}

.page-artist-detail .artist-hero--portrait-image {
    grid-template-columns: minmax(0, 1.05fr) minmax(15rem, 0.75fr);
    align-items: end;
}

.page-artist-detail .artist-hero--portrait-image .artist-hero-media {
    inset: auto 1.6rem 0 auto;
    width: min(100%, clamp(15rem, 34vw, 28rem));
    height: calc(100% - 1.6rem);
    display: flex;
    align-items: end;
    justify-content: center;
}

.page-artist-detail .artist-hero--portrait-image .artist-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: var(--artist-hero-position, 50% 50%);
    filter: grayscale(1) contrast(0.98) brightness(0.84);
    transform: none;
    opacity: 0.9;
}

.page-artist-detail .artist-hero--portrait-image::after {
    background:
        linear-gradient(90deg, rgba(10, 8, 10, 0.88), rgba(10, 8, 10, 0.72) 34%, rgba(10, 8, 10, 0.24) 62%, rgba(10, 8, 10, 0.14) 100%),
        linear-gradient(180deg, rgba(10, 8, 10, 0.16), transparent 22%),
        linear-gradient(0deg, rgba(10, 8, 10, 0.80), rgba(10, 8, 10, 0.28) 32%, transparent 68%);
}

.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 {
    display: block;
    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);
}

.page-lyric-detail .lyric-hero--portrait-image {
    grid-template-columns: minmax(0, 1.05fr) minmax(15rem, 0.75fr);
    align-items: end;
}

.page-lyric-detail .lyric-hero--portrait-image .lyric-hero-media {
    inset: auto 1.6rem 0 auto;
    width: min(100%, clamp(15rem, 34vw, 28rem));
    height: calc(100% - 1.6rem);
    display: flex;
    align-items: end;
    justify-content: center;
}

.page-lyric-detail .lyric-hero--portrait-image .lyric-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: var(--lyric-hero-position, 50% 50%);
    filter: grayscale(1) contrast(0.98) brightness(0.84);
    transform: none;
    opacity: 0.9;
}

.page-lyric-detail .lyric-hero--portrait-image::after {
    background:
        linear-gradient(90deg, rgba(10, 8, 10, 0.88), rgba(10, 8, 10, 0.72) 34%, rgba(10, 8, 10, 0.24) 62%, rgba(10, 8, 10, 0.14) 100%),
        linear-gradient(180deg, rgba(10, 8, 10, 0.16), transparent 22%),
        linear-gradient(0deg, rgba(10, 8, 10, 0.80), rgba(10, 8, 10, 0.28) 32%, transparent 68%);
}

.page-lyric-detail .lyric-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%);
}

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

.artist-hero-subtitle {
    max-width: 26ch;
    font-family: var(--font-reading);
    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,
.lyric-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,
.lyric-hero-credit p { margin: 0; }

.artist-hero-credit a,
.lyric-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,
.lyric-hero-credit a:hover,
.lyric-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 ────────────────────────────────────────── */

.page-section {
    padding: 0.6rem 0 4rem;
}

.page-listing .page-section {
    padding-top: clamp(1rem, 2.5vw, 1.6rem);
}

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

.section-header h1,
.section-header h2 {
    font-size: clamp(2.4rem, 4.5vw, 4.6rem);
    line-height: 0.9;
}

.section-header p {
    margin-top: 0.85rem;
    max-width: 54ch;
    color: color-mix(in srgb, var(--text-soft) 94%, var(--text-main));
    font-family: var(--font-reading);
    font-size: 1.04rem;
    line-height: 1.82;
}

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

.page-listing .section-header {
    margin-bottom: 1.6rem;
}

.page-listing .page-hero {
    padding: 1.25rem 1.45rem 1.35rem;
}

.page-listing .page-hero h1 {
    max-width: 14ch;
    font-size: clamp(2.55rem, 4.7vw, 4rem);
}

.page-listing .page-hero p:last-child {
    margin-top: 0.55rem;
    max-width: 44ch;
    font-size: 1rem;
    line-height: 1.7;
}

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

/* Feature column (home, dual grid) */
.dual-grid {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
}

.feature-column {
    padding: clamp(1.55rem, 3vw, 2.2rem);
    background:
        linear-gradient(180deg, rgba(255, 245, 230, 0.05), transparent 34%),
        var(--bg-panel);
    box-shadow: var(--shadow-md);
    border-radius: 0;
    border: 1px solid color-mix(in srgb, var(--line-soft) 92%, transparent);
}

.feature-column + .feature-column {
    border-left: none;
}

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

.compact-card,
.listing-card {
    display: grid;
    align-content: start;
    gap: 0.6rem;
    min-height: 100%;
    padding: 1.25rem 1.25rem 1.15rem;
    border: 1px solid color-mix(in srgb, var(--line-soft) 92%, transparent);
    border-radius: 0;
    background: color-mix(in srgb, var(--bg-panel-strong) 94%, black 6%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    transition:
        transform 140ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.compact-card {
    margin-bottom: 0;
}

.compact-accent {
    display: block;
    width: 3.25rem;
    height: 1px;
    background: color-mix(in srgb, var(--accent-strong) 72%, transparent);
    opacity: 0.9;
}

.compact-card h3,
.listing-card h2 {
    font-size: clamp(1.45rem, 2vw, 2.15rem);
    line-height: 0.94;
}

.compact-card h3 a,
.listing-card h2 a {
    transition: color 200ms var(--ease-out);
}

.compact-card h3 a {
    color: color-mix(in srgb, var(--text-main) 92%, #f7f1ea);
}

.compact-card:hover h3 a,
.compact-card:focus-within h3 a,
.listing-card:hover h2 a,
.listing-card:focus-within h2 a {
    color: var(--accent-strong);
}

.compact-card:hover h3 a,
.compact-card:focus-within h3 a {
    color: #f4eee7;
}

.item-year {
    font-size: 0.65em;
    font-weight: 400;
    color: var(--text-muted);
    opacity: 0.7;
    letter-spacing: 0;
}

.title-year {
    margin-left: 0.25em;
    font-family: var(--font-display);
    font-size: 0.55em;
    font-style: italic;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
    vertical-align: baseline;
    white-space: nowrap;
}

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

.page-listing .listing-card-heading {
    display: flow-root;
}

.page-listing .listing-card-heading .listing-card-actions {
    float: right;
    margin-left: 0.5rem;
    margin-bottom: 0.15rem;
}

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

.listing-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.compact-card p,
.listing-card p,
.result-block span {
    color: var(--text-soft);
    margin-top: 0.1rem;
    font-size: 0.94rem;
    line-height: 1.72;
}

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

.compact-card:hover,
.compact-card:focus-within,
.listing-card:hover,
.listing-card:focus-within {
    background: color-mix(in srgb, var(--bg-panel-strong) 98%, white 2%);
    border-color: color-mix(in srgb, var(--accent) 16%, var(--line-strong));
    transform: translateY(-0.06rem);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

/* Listing grid */
.listing-grid {
    display: grid;
    row-gap: 0.85rem;
    column-gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    overflow: visible;
}

.listing-grid .listing-card {
    border-radius: 0;
}

.page-listing .listing-card {
    overflow: visible;
    padding: 1.5rem 1.6rem 1.4rem;
    gap: 0.3rem;
}

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

.page-listing .listing-card:not(.listing-card--essentials) {
    min-height: clamp(14.5rem, 23vw, 17.5rem);
    padding: 1.6rem 1.65rem 1.45rem;
    gap: 0.45rem;
    background:
        radial-gradient(circle at top right, rgba(181, 136, 98, 0.10), transparent 30%),
        linear-gradient(180deg, rgba(255, 245, 230, 0.05), transparent 34%),
        color-mix(in srgb, var(--bg-panel-strong) 96%, black 4%);
    transition:
        border-color 180ms var(--ease-out),
        background-color 180ms var(--ease-out),
        box-shadow 200ms var(--ease-out),
        transform 200ms var(--ease-out-expo);
}

.page-listing .listing-card:not(.listing-card--essentials):hover,
.page-listing .listing-card:not(.listing-card--essentials):focus-within {
    transform: translateY(-0.08rem);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
}

.page-listing .listing-card:not(.listing-card--essentials) .listing-label {
    letter-spacing: 0.14em;
}

.page-listing .listing-card:not(.listing-card--essentials) .artist-listing-copy {
    min-width: 0;
}

.page-listing .listing-card:not(.listing-card--essentials) p {
    margin-top: 0.78rem;
    max-width: 46ch;
    font-size: 0.94rem;
    line-height: 1.68;
}

.page-listing .listing-card:not(.listing-card--essentials) small {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid color-mix(in srgb, var(--line-soft) 96%, transparent);
    color: var(--text-muted);
    font-size: 0.84rem;
}

.page-listing .listing-card:not(.listing-card--essentials) h2 {
    font-size: 1.72rem;
}

.page-listing .listing-card:not(.listing-card--essentials) h2 a {
    transition: color 200ms var(--ease-out);
}

.page-listing .listing-card:not(.listing-card--essentials):hover h2 a,
.page-listing .listing-card:not(.listing-card--essentials):focus-within h2 a {
    color: var(--accent-strong);
}

.listing-section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.listing-grid--essentials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1.1rem;
    column-gap: 1.2rem;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.listing-grid--essentials .listing-card {
    border: 1px solid rgba(108, 84, 58, 0.24);
    border-radius: 0;
    background:
        radial-gradient(circle at top left, rgba(168, 116, 57, 0.14), transparent 34%),
        radial-gradient(circle at bottom right, rgba(95, 66, 39, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(244, 236, 226, 0.98), rgba(225, 212, 196, 0.96));
    box-shadow:
        0 12px 24px rgba(67, 46, 24, 0.08),
        inset 0 1px 0 rgba(255, 249, 241, 0.48);
}

.listing-card--essentials {
    padding: 1.3rem 1.4rem 1.2rem;
    color: #2f231b;
}

.listing-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    white-space: nowrap;
    color: rgba(71, 55, 44, 0.72);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
}

.listing-card--essentials h2 {
    font-size: clamp(1.55rem, 2.1vw, 2rem);
}

.listing-card--essentials h2,
.listing-card--essentials h2 a {
    color: #2b221c;
}

.listing-card--essentials .listing-card-heading {
    align-items: flex-start;
    gap: 0.55rem;
}

.listing-card--essentials .artist-listing-header {
    gap: 0.7rem;
    margin-bottom: 0.18rem;
}

.listing-card--essentials .artist-listing-header + p {
    margin-top: 0.12rem;
}

.listing-card--essentials p {
    color: #47372c;
    font-size: 0.96rem;
}

.listing-card--essentials .listing-meta {
    color: #43342a;
    margin-top: 0.8rem;
}

.listing-card--essentials .listing-meta a {
    color: #7b3f1d;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(123, 63, 29, 0.34);
}

.listing-card--essentials .listing-meta a:hover,
.listing-card--essentials .listing-meta a:focus-visible {
    color: #5f2f15;
    border-bottom-color: rgba(95, 47, 21, 0.56);
}

.listing-card--essentials small {
    color: #665245;
}

.listing-card--essentials h2 a {
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease;
}

.listing-card--essentials h2 a:hover,
.listing-card--essentials h2 a:focus-visible {
    color: #18110d;
}

.listing-card--essentials:hover,
.listing-card--essentials:focus-within {
    background:
        radial-gradient(circle at top left, rgba(168, 116, 57, 0.16), transparent 36%),
        radial-gradient(circle at bottom right, rgba(95, 66, 39, 0.1), transparent 31%),
        linear-gradient(180deg, rgba(248, 240, 231, 0.99), rgba(230, 217, 201, 0.97));
    border-color: rgba(108, 84, 58, 0.36);
}

.listing-card--essentials .card-action-group {
    border-color: rgba(96, 74, 54, 0.26);
    background: rgba(255, 247, 237, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 250, 243, 0.46);
}

.listing-card--essentials .card-action-fav-btn {
    color: #6b5648;
}

.listing-card--essentials .card-action-fav-btn:hover {
    background: rgba(123, 63, 29, 0.08);
    color: #49362a;
}

.listing-card--essentials .card-action-fav-btn.is-active {
    background:
        linear-gradient(180deg, rgba(181, 123, 55, 0.18), transparent 100%),
        rgba(241, 219, 187, 0.72);
    color: #3e2f24;
    box-shadow: inset 0 0 0 1px rgba(181, 123, 55, 0.26);
}

.listing-card--essentials .card-action-fav-btn.is-active .card-action-fav-btn__icon {
    color: #a56b33;
}

.listing-card--essentials .card-action-sep {
    background: rgba(96, 74, 54, 0.18);
}

.listing-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1.35rem;
}

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

.listing-meta a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 160, 122, 0.28);
}

.listing-meta a:hover,
.listing-meta a:focus-visible {
    color: #f1d6b6;
    border-bottom-color: rgba(212, 160, 122, 0.56);
}

.listing-card p a,
.listing-card small a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 160, 122, 0.28);
}

.listing-card p a:hover,
.listing-card p a:focus-visible,
.listing-card small a:hover,
.listing-card small a:focus-visible {
    color: #f1d6b6;
    border-bottom-color: rgba(212, 160, 122, 0.56);
}

.listing-card--essentials p a,
.listing-card--essentials small a {
    color: #8a3e12;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(138, 62, 18, 0.38);
}

.listing-card--essentials p a:hover,
.listing-card--essentials p a:focus-visible,
.listing-card--essentials small a:hover,
.listing-card--essentials small a:focus-visible {
    color: #5f2508;
    border-bottom-color: rgba(95, 37, 8, 0.62);
}

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

.page-listing .artist-listing-header {
    gap: 1.2rem;
    margin-bottom: 0;
    align-items: flex-start;
}

.artist-listing-header--essentials {
    align-items: flex-start;
    gap: 1rem;
}

.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-avatar--essentials {
    width: 5rem;
    height: 5rem;
    flex-basis: 5rem;
    border-radius: calc(var(--radius-sm) + 0.2rem);
    box-shadow: 0 10px 18px rgba(67, 46, 24, 0.12);
}

.page-listing .artist-listing-avatar {
    width: 4rem;
    height: 5rem;
    flex: 0 0 4rem;
    border-radius: var(--radius-sm);
}

/* Expand cluster container to fully contain the portrait-sized items */
.page-listing .listing-avatar-stack--clustered {
    width: 5rem;
    height: 5.8rem;
}

/* Stacked items: full portrait size, matching single artistas avatars */
.page-listing .listing-avatar-stack-item--clustered {
    width: 4rem;
    height: 5rem;
    flex-basis: 4rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 2px var(--bg-main);
}

/* Tighter horizontal offset so item 2 stays within the container */
.page-listing .listing-avatar-stack-item--clustered:nth-child(2) {
    left: 0.9rem;
}

/* Non-clustered stack items (obras single composer): remove white glow ring */
.page-listing .listing-avatar-stack-item {
    box-shadow: none;
}

.listing-avatar-stack {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    padding-left: 0.1rem;
}

.listing-avatar-stack-item {
    position: relative;
    margin-left: -0.7rem;
    box-shadow: 0 0 0 2px rgba(250, 245, 236, 0.98);
}

.listing-avatar-stack-item:first-child {
    margin-left: 0;
}

.listing-avatar-stack--clustered {
    position: relative;
    display: block;
    width: 4rem;
    height: 3.3rem;
    padding-left: 0;
}

.listing-avatar-stack-item--clustered {
    position: absolute;
    margin-left: 0;
    width: 2.9rem;
    height: 2.9rem;
    flex-basis: 2.9rem;
    border-radius: calc(var(--radius-sm) - 0.05rem);
    box-shadow:
        0 0 0 1px rgba(250, 245, 236, 0.72),
        0 8px 14px rgba(47, 31, 14, 0.12);
    overflow: hidden;
}

.listing-avatar-stack-item--clustered:nth-child(1) {
    top: 0.2rem;
    left: 0;
    z-index: 3;
}

.listing-avatar-stack-item--clustered:nth-child(2) {
    top: 0.75rem;
    left: 1.6rem;
    z-index: 2;
}

.listing-avatar-stack--essentials {
    width: 5.9rem;
    height: 4.9rem;
    padding-left: 0;
}

.listing-avatar-stack-item--essentials {
    margin-left: -1rem;
    box-shadow: 0 0 0 3px rgba(255, 250, 243, 0.98);
}

.listing-avatar-stack-item--clustered.artist-listing-avatar--essentials {
    width: 4.1rem;
    height: 4.1rem;
    flex-basis: 4.1rem;
    border-radius: calc(var(--radius-sm) + 0.15rem);
    box-shadow:
        0 0 0 1px rgba(255, 250, 243, 0.72),
        0 14px 22px rgba(47, 31, 14, 0.14);
}

.listing-avatar-stack--essentials .listing-avatar-stack-item--clustered:nth-child(1) {
    top: 0.2rem;
}

.listing-avatar-stack--essentials .listing-avatar-stack-item--clustered:nth-child(2) {
    top: 1rem;
    left: 2.15rem;
}

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

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

.page-listing .artist-listing-copy h2,
.page-listing .artist-listing-copy h3 {
    margin-bottom: 0.2rem;
}

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

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

/* 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: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid color-mix(in srgb, var(--line-soft) 92%, transparent);
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 245, 230, 0.05), transparent 34%),
        var(--bg-panel);
    box-shadow: var(--shadow-md);
}

.page-listing .category-editorial-card {
    padding: 1rem 1.1rem;
}

.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;
}

.editorial-grid {
    display: grid;
    gap: 1.3rem;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    margin-bottom: 1rem;
}

.listing-grid + .category-editorial-card,
.listing-grid + .editorial-grid {
    margin-top: 2rem;
}

.pagination-nav + .category-editorial-card,
.pagination-nav + .editorial-grid {
    margin-top: 1rem;
}

.editorial-card h2 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.7rem, 2.5vw, 2.45rem);
    line-height: 0.98;
}

.editorial-summary {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.editorial-link-list {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
    padding-left: 0;
    list-style: none;
}

.editorial-link-list li {
    margin: 0;
}

.editorial-link-list a {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border: 1px solid color-mix(in srgb, var(--line-soft) 92%, transparent);
    border-radius: 0;
    background: rgba(255, 245, 230, 0.04);
    text-decoration: none;
    transition: transform 200ms var(--ease-out-expo), border-color 160ms ease, background-color 160ms ease;
}

.editorial-link-list a:hover,
.editorial-link-list a:focus-visible {
    border-color: color-mix(in srgb, var(--accent) 36%, var(--line-strong));
    background: rgba(181, 136, 98, 0.08);
    transform: translateX(0.22rem);
}

.editorial-link-list strong {
    color: var(--text-main);
    font-size: 0.95rem;
}

.editorial-link-list span {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.category-editorial-text .autolinked-content-link,
.lyric-text .autolinked-content-link,
.lyric-hero-meta .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-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: 0;
    background: var(--bg-panel);
}

.page-listing .alphabet-panel {
    gap: 0.8rem;
    margin-bottom: 1.3rem;
    padding: 1rem 1.1rem 1.05rem;
}

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

.alphabet-panel-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.alphabet-panel-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

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

.page-listing .alphabet-panel-header p:last-child {
    line-height: 1.55;
}

.alphabet-context-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.3rem;
    padding: 0 0.85rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

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

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

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

.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.95rem, 1.4vw, 1.12rem);
    line-height: 1;
}

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

.alphabet-home.is-active,
.alphabet-link.is-active {
    color: var(--text-main);
    border-color: var(--accent);
    background: rgba(181, 136, 98, 0.20);
    font-weight: 700;
    transform: none;
}

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

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

.page-listing .listing-section-header {
    margin-top: 0;
    padding-top: 1rem;
}

.listing-section-header::before {
    content: "";
    display: block;
    width: 2.4rem;
    height: 1px;
    margin-bottom: 1rem;
    background: var(--accent);
    opacity: 0.6;
}

.page-listing .listing-section-header::before {
    margin-bottom: 0.7rem;
}

.listing-section-header h2 {
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
}

/* ── 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;
}

.listing-load-more-link {
    gap: 0.55rem;
}

.listing-load-more-link.htmx-request,
.listing-load-more-link[disabled] {
    pointer-events: none;
    opacity: 0.72;
}

.listing-load-more-indicator {
    display: none;
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid rgba(123, 63, 29, 0.22);
    border-top-color: #7b3f1d;
    border-radius: 50%;
    animation: listing-load-more-spin 720ms linear infinite;
}

.listing-load-more-link.htmx-request .listing-load-more-indicator {
    display: inline-flex;
}

@keyframes listing-load-more-spin {
    to {
        transform: rotate(360deg);
    }
}

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

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

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

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

/* ── 19b. Lyric & Obra Listing ──────────────────────────────────── */

/* Poem/obra titles read as literary entries, not artist names */
.page-listing-letra .listing-card h2,
.page-listing-obra .listing-card h2 {
    font-family: var(--font-reading);
    line-height: 1.18;
    font-weight: 500;
    text-wrap: pretty;
}

.page-listing-letra .listing-card h2 a,
.page-listing-obra .listing-card h2 a {
    color: var(--text-main);
}

.page-listing-letra .listing-card--essentials h2,
.page-listing-letra .listing-card--essentials h2 a,
.page-listing-obra .listing-card--essentials h2,
.page-listing-obra .listing-card--essentials h2 a {
    color: #2b221c;
    text-shadow: none;
}

.page-listing-letra .listing-card h2 a:hover,
.page-listing-letra .listing-card h2 a:focus-visible,
.page-listing-obra .listing-card h2 a:hover,
.page-listing-obra .listing-card h2 a:focus-visible {
    color: var(--accent-strong);
}

.page-listing-letra .listing-card--essentials h2 a:hover,
.page-listing-letra .listing-card--essentials h2 a:focus-visible,
.page-listing-obra .listing-card--essentials h2 a:hover,
.page-listing-obra .listing-card--essentials h2 a:focus-visible {
    color: #18110d;
}

.page-listing-letra .listing-card p,
.page-listing-obra .listing-card p {
    margin-top: 0.6rem;
    font-size: 0.93rem;
}

.page-listing-letra .listing-card small,
.page-listing-obra .listing-card small {
    font-size: 0.91rem;
}

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

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

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

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

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

.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);
    max-width: 26ch;
    font-family: var(--font-reading);
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.32;
}

.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: 0;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

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

html[data-theme="dark"] .lyric-sheet {
    background: var(--reading-surface);
}

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

.lyric-sheet {
    padding: clamp(1.7rem, 3vw, 2.8rem);
    border-color: var(--reading-border);
    background: var(--reading-surface);
    box-shadow: var(--reading-shadow);
}

.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.55rem;
}

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

.lyric-text {
    color: var(--reading-text);
    max-width: min(34rem, 100%);
    font-family: var(--font-reading);
    font-size: clamp(1.32rem, 1.1rem + 0.4vw, 1.54rem);
    line-height: 2.02;
    letter-spacing: 0.002em;
    font-weight: 400;
    font-optical-sizing: auto;
    font-feature-settings: "liga" 1, "kern" 1;
    text-wrap: pretty;
}

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

.lyric-text br {
    content: "";
    display: block;
    margin-bottom: 0.28em;
}

.lyric-text br + br {
    margin-bottom: 1.1em;
}

.lyric-text > p:first-of-type::first-letter {
    float: left;
    margin: 0.04em 0.16em 0 0;
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 5.1vw, 5.3rem);
    line-height: 0.84;
    font-weight: 600;
    color: var(--reading-text);
}

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

.lyric-content-ad-slot,
.artist-bio-ad-slot {
    padding: 1.35rem 0 0;
}

.artist-bio-ad-slot {
    padding-top: 1.15rem;
    padding-bottom: 0.35rem;
}

.lyric-content-ad-slot .content-ad-shell,
.artist-bio-ad-slot .content-ad-shell {
    width: min(100%, 748px);
}

.lyric-content-ad-slot .content-ad-frame,
.artist-bio-ad-slot .content-ad-frame {
    min-height: 90px;
    max-height: 90px;
    height: 90px;
    overflow: hidden;
}

.lyric-content-ad-slot .content-adsbygoogle,
.artist-bio-ad-slot .content-adsbygoogle {
    display: block;
    width: 728px !important;
    height: 90px !important;
    min-height: 90px;
    max-height: 90px;
}

.lyric-content-ad-slot .content-adsbygoogle iframe,
.artist-bio-ad-slot .content-adsbygoogle iframe {
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
}

.lyric-content-ad-slot + .lyric-editorial-sections {
    margin-top: 1.1rem;
}

.artist-bio-ad-slot + .artist-bio-sections,
.artist-bio-ad-slot + .artist-bio-text {
    margin-top: 0.9rem;
}

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

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

/* 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-family: var(--font-reading);
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1.1;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

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

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

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

.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: 0.35rem;
}

.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: 0;
    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(--reading-surface);
}

.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.7rem, 3vw, 2.9rem);
    border-color: var(--reading-border);
    background: var(--reading-surface);
    box-shadow: var(--reading-shadow);
}

.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.55rem;
}

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

.artist-bio-text,
.artist-bio-intro,
.artist-bio-section-content {
    color: var(--reading-text);
    font-family: var(--font-reading);
    font-size: clamp(1.16rem, 1rem + 0.34vw, 1.34rem);
    line-height: 1.9;
    letter-spacing: 0.003em;
    max-width: var(--measure-reading);
    font-optical-sizing: auto;
    font-feature-settings: "liga" 1, "kern" 1;
    text-wrap: pretty;
}

.artist-bio-intro {
    color: var(--reading-soft-text);
    font-size: clamp(1.24rem, 1.08rem + 0.36vw, 1.46rem);
    line-height: 1.82;
    padding-bottom: 0.35rem;
}

.artist-bio-intro > p:first-of-type::first-letter,
.artist-bio-text > p:first-of-type::first-letter {
    float: left;
    margin: 0.08em 0.08em 0 0;
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 4.5vw, 4.9rem);
    line-height: 0.82;
    font-weight: 600;
    color: var(--reading-text);
}

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

.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.35rem;
}

.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.2rem 0 0.75rem;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--reading-muted-text);
}

.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: 1rem 1.2rem 1.2rem;
    font-size: clamp(1.08rem, 0.98rem + 0.26vw, 1.22rem);
    line-height: 1.9;
    background: var(--reading-surface-soft);
}

/* Disclosures */
.artist-disclosure,
.artist-bio-disclosure {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: var(--reading-surface-soft);
    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(--reading-text);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.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: 0;
    background: rgba(255, 245, 230, 0.10);
    color: var(--reading-soft-text);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0;
}

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

.artist-disclosure summary:hover,
.artist-disclosure summary:focus-visible {
    background: rgba(181, 136, 98, 0.08);
    color: var(--reading-text);
    outline: none;
}

.artist-disclosure-summary {
    margin: 0;
    padding: 0.8rem 1rem 0;
    color: var(--reading-muted-text);
    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;
}

.detail-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    margin-top: 0.9rem;
    align-items: flex-end;
}

.detail-action-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.detail-action-button {
    width: auto;
    justify-content: center;
}

.detail-action-button--spotify {
    flex: 0 0 auto;
}

.detail-action-cluster--primary {
    flex: 0 0 auto;
}

.detail-action-button--spotify svg,
.favorite-toggle--action-bar .favorite-toggle__icon svg,
.vote-card--action-bar .vote-card__icon svg {
    width: 1rem;
    height: 1rem;
}

.artist-sidebar-card {
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
}

.artist-sidebar-card .listing-label + h2,
.lyric-sidebar-card .listing-label + h2 {
    margin-top: 0.35rem;
}

.artist-sidebar-card h2,
.lyric-sidebar-card h2 {
    text-wrap: pretty;
}

.artist-sidebar-card .editorial-summary,
.lyric-sidebar-card .editorial-summary {
    color: var(--text-soft);
    line-height: 1.7;
}

.favorite-toggle-wrap {
    display: grid;
    gap: 0.45rem;
}

.favorite-toggle-wrap--action-bar {
    display: flex;
    align-items: center;
}

.favorite-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.25rem;
    padding: 0.4rem 0.72rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-panel) 58%, transparent);
    color: var(--text-soft);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.favorite-toggle--action-bar {
    width: 2.45rem;
    min-width: 2.45rem;
    height: 2.45rem;
    min-height: 2.45rem;
    padding: 0;
    justify-content: center;
}

.favorite-toggle:hover,
.favorite-toggle:focus-visible {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--line-soft));
    color: var(--text-main);
    outline: none;
}

.favorite-toggle.is-active {
    border-color: color-mix(in srgb, #f2c66d 62%, var(--line-soft));
    background: color-mix(in srgb, #f2c66d 18%, var(--bg-panel));
    color: var(--text-main);
    box-shadow: inset 0 0 0 1px rgba(242, 198, 109, 0.18);
}

.favorite-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--text-muted) 82%, var(--text-main));
}

.favorite-toggle.is-active .favorite-toggle__icon {
    color: #f2c66d;
}

.favorite-toggle__text {
    white-space: nowrap;
}

.favorite-toggle__status {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.vote-card {
    position: relative;
    z-index: 0;
    isolation: isolate;
    display: grid;
    gap: 0.95rem;
    background: var(--bg-panel-strong);
    background-image: none;
    box-shadow: var(--shadow-sm);
}

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

.vote-card--action-bar {
    display: grid;
    gap: 0.32rem;
    margin-left: 0.2rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-theme="light"] .vote-card--action-bar {
    background: transparent;
    box-shadow: none;
}

.vote-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: inherit;
}

.vote-card--action-bar::after {
    display: none;
}

.vote-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.vote-card__toolbar-label {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
}

.vote-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: auto;
    min-width: 4rem;
    min-height: 2.45rem;
    padding: 0.42rem 0.72rem;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-panel) 56%, transparent);
    color: var(--text-soft);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.vote-card__button:hover,
.vote-card__button:focus-visible {
    border-color: color-mix(in srgb, var(--accent) 40%, var(--line-soft));
    background: color-mix(in srgb, var(--bg-soft) 65%, var(--bg-panel));
    color: var(--text-main);
    outline: none;
}

.vote-card__button.is-active {
    border-color: color-mix(in srgb, var(--accent) 34%, var(--line-soft));
    background: color-mix(in srgb, var(--accent) 4%, var(--bg-panel));
    color: var(--text-main);
}

.vote-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    opacity: 0.82;
}

.vote-card--action-bar .vote-card__button > span:last-of-type {
    flex: 0 0 auto;
}

.vote-card__button strong {
    flex: 0 0 auto;
    font-size: 0.82rem;
    color: var(--text-main);
}

.vote-card__status {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.vote-card--action-bar .vote-card__status,
.favorite-toggle-wrap--action-bar .favorite-toggle__status {
    width: 100%;
    margin-top: 0.1rem;
    font-size: 0.74rem;
}

.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.74rem 0;
    color: var(--text-main);
    border-top: 1px solid var(--line-soft);
    font-size: 0.95rem;
    line-height: 1.5;
}

.artist-life-list li:first-child {
    border-top: none;
    padding-top: 0.15rem;
}

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

.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-works-sort {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.75rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.artist-works-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 0.22rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    line-height: 1;
}

.artist-works-chip--active {
    border: 1.5px solid var(--accent);
    color: var(--accent-strong);
    font-weight: 500;
    cursor: default;
}

.artist-works-chip:not(.artist-works-chip--active):hover {
    border-color: var(--line-soft);
    color: var(--reading-text);
}

/* Spinner */
.artist-works-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--line-soft);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: artist-works-spin 0.6s linear infinite;
    margin: 0.6rem auto 0.4rem;
}

.artist-works-loading .artist-works-spinner {
    display: block;
}

@keyframes artist-works-spin {
    to { transform: rotate(360deg); }
}

.artist-works-loading .artist-disclosure {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.15s;
}

.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.94rem;
}

.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: clamp(1.5rem, 3vw, 2.5rem);
}

.videos-hero-grid {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    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.5rem 1.6rem;
    border: 1px solid var(--line-soft);
    border-radius: 0;
    background:
        radial-gradient(circle at top right, rgba(181, 136, 98, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 245, 230, 0.04), transparent 36%),
        var(--bg-panel);
    box-shadow: var(--shadow-md);
}

.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: clamp(1.5rem, 3vw, 2.2rem);
}

.videos-artist-block {
    padding: 1.5rem;
    display: grid;
    gap: 1.35rem;
    border: 1px solid var(--line-soft);
    border-radius: 0;
    background:
        radial-gradient(circle at top right, rgba(181, 136, 98, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(255, 245, 230, 0.04), transparent 34%),
        var(--bg-panel);
    box-shadow: var(--shadow-sm);
}

.videos-artist-block .video-showcase {
    position: static;
    padding: 0.9rem;
    margin-top: 0;
    border: 1px solid var(--line-soft);
    border-radius: 0;
    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: 1.1rem;
    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: 0;
    background:
        radial-gradient(circle at top right, rgba(181, 136, 98, 0.10), transparent 26%),
        linear-gradient(180deg, rgba(255, 245, 230, 0.04), transparent 34%),
        var(--bg-panel);
    box-shadow: var(--shadow-sm);
}

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

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

.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: 0;
    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: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 180ms var(--ease-out-expo);
}

.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: translateY(-0.08rem);
}

.video-playlist-index {
    width: 1.85rem;
    height: 1.85rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0;
    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: 0;
    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: 0;
    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: 3.375rem 0 2.5rem;
    border-top: 1px solid var(--line-soft);
    background: rgba(13, 11, 13, 0.4);
}

html[data-theme="light"] .site-footer {
    background: rgba(245, 237, 228, 0.4);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    margin-bottom: 2.25rem;
    align-items: start;
}

.footer-brand {
    display: grid;
    gap: 0.75rem;
}

.footer-brand .brand-mark {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-main);
    line-height: 1;
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

html[data-theme="light"] .footer-brand .brand-mark,
html[data-theme="dark"] .footer-brand .brand-mark {
    background: none;
}

.footer-brand .brand-mark b {
    font-style: normal;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-soft);
    font-family: var(--font-reading);
    font-size: 0.875rem;
    line-height: 1.55;
    max-width: 30rem;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.625rem 1.375rem;
    font-family: var(--font-reading);
    padding-top: 0.375rem;
}

.footer-links a {
    color: var(--text-main);
    font-size: 0.9375rem;
    transition: color 160ms ease;
}

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

.footer-fine {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    gap: 1.125rem;
    flex-wrap: wrap;
    font-family: var(--font-reading);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-fine-links {
    display: flex;
    gap: 1.375rem;
    flex-wrap: wrap;
}

.footer-fine-links a {
    color: var(--text-soft);
    transition: color 160ms ease;
}

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

.footer-fine-meta {
    display: flex;
    gap: 1.125rem;
    flex-wrap: wrap;
    align-items: center;
}

.content-ad-slot {
    padding: 0.8rem 0;
}

.content-ad-inner {
    display: flex;
    justify-content: center;
}

.content-ad-shell {
    width: min(100%, 748px);
    display: grid;
    gap: 0.3rem;
    padding: 0.55rem 0.55rem 0.6rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    overflow: hidden;
}

.content-ad-frame {
    padding: 0 0.15rem;
}

.content-ad-label {
    color: var(--text-muted);
    font-size: 0.46rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1;
    opacity: 0.4;
    text-transform: uppercase;
}

.content-adsbygoogle {
    width: 728px;
    max-width: 100%;
    height: 90px;
    margin-inline: auto;
}

.content-ad-shell--placeholder {
    border-style: dashed;
}

.content-adsbygoogle--placeholder {
    display: grid;
    place-items: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--bg-panel) 65%, transparent);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .content-ad-shell {
        width: min(100%, 336px);
        padding: 0.45rem 0.45rem 0.5rem;
    }

    .content-ad-frame {
        padding: 0;
    }

    .content-adsbygoogle {
        width: 320px;
        height: 50px;
    }

    .lyric-content-ad-slot .content-ad-frame,
    .artist-bio-ad-slot .content-ad-frame {
        min-height: 50px;
        max-height: 50px;
        height: 50px;
    }

    .lyric-content-ad-slot .content-adsbygoogle,
    .artist-bio-ad-slot .content-adsbygoogle {
        width: 320px !important;
        height: 50px !important;
        min-height: 50px;
        max-height: 50px;
    }

    .lyric-content-ad-slot .content-adsbygoogle iframe,
    .artist-bio-ad-slot .content-adsbygoogle iframe {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
    }
}

/* ── 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: rgba(29, 185, 84, 0.12);
    color: #d7f7e1;
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
    width: 100%;
    justify-content: center;
    text-transform: none;
}

.detail-action-button--spotify.spotify-play-btn {
    width: 2.45rem;
    min-width: 2.45rem;
    height: 2.45rem;
    min-height: 2.45rem;
    padding: 0;
    border-radius: 999px;
    background: rgba(29, 185, 84, 0.12);
}

.spotify-play-btn:hover {
    background: rgba(29, 185, 84, 0.18);
    border-color: rgba(29, 185, 84, 0.42);
    color: #ebfff1;
    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);
}

.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);
}

/* ── Card Action Group (favorite + spotify unified in listing cards) ── */

.card-action-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.card-action-fav-wrap {
    display: flex;
    align-items: center;
}

.card-action-fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-width: 4.8rem;
    height: 1.65rem;
    padding: 0 0.58rem 0 0.48rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-soft);
    min-height: unset;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.card-action-fav-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 auto;
}

.card-action-fav-btn__text {
    line-height: 1;
    white-space: nowrap;
}

.card-action-fav-btn:hover {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent-strong);
}

.card-action-fav-btn.is-active {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--accent-strong) 18%, transparent), transparent 100%),
        color-mix(in srgb, var(--accent) 18%, var(--bg-panel));
    color: var(--text-main);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 44%, transparent);
}

.card-action-fav-btn.is-active .card-action-fav-btn__icon {
    color: var(--accent-strong);
}

.card-action-fav-btn:focus-visible {
    outline-offset: -2px;
}

.card-action-sep {
    width: 1px;
    height: 1rem;
    background: var(--line-strong);
    flex-shrink: 0;
    align-self: center;
}

.card-action-group .spotify-inline-btn {
    margin-top: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.card-action-group .spotify-inline-btn:hover,
.card-action-group .spotify-inline-btn:focus-visible {
    background: rgba(29, 185, 84, 0.10);
    border-color: transparent;
    transform: none;
    filter: none;
}

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

.pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0 1rem;
    border: 1px solid color-mix(in srgb, var(--line-strong) 94%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-panel) 84%, transparent);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    transition:
        transform 180ms var(--ease-out-expo),
        border-color 160ms ease,
        color 160ms ease,
        background-color 160ms ease;
}

.pill-link:hover,
.pill-link:focus-visible {
    border-color: var(--accent);
    color: var(--accent-strong);
    background: rgba(181, 136, 98, 0.10);
    transform: translateY(-0.12rem);
}

.page-section .milonga-card {
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    transition:
        transform 200ms var(--ease-out-expo),
        background-color 160ms var(--ease-out),
        border-color 160ms var(--ease-out),
        box-shadow 160ms var(--ease-out);
}

.page-section .milonga-card:hover,
.page-section .milonga-card:focus-within {
    transform: translateY(-0.12rem);
    background:
        linear-gradient(180deg, rgba(212, 160, 122, 0.08), transparent 62%),
        var(--bg-soft);
    border-color: color-mix(in srgb, var(--accent) 34%, var(--line-strong));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.page-section .milonga-card:hover .milonga-card-image,
.page-section .milonga-card:focus-within .milonga-card-image {
    transform: scale(1.03);
}

.page-section .milonga-card h3 a:focus-visible,
.page-section .milonga-region-link:focus-visible {
    color: var(--accent-strong);
}

.page-section .milonga-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
}

.page-section .milonga-link:focus-visible {
    background: rgba(181, 136, 98, 0.10);
    color: var(--text-main);
    border-color: var(--accent);
}

@keyframes editorial-rise {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero photo — very slow opacity breath, like candlelight on a photograph */
@keyframes hero-photo-breathe {
    0%, 100% { opacity: 0.78; }
    40%       { opacity: 0.84; }
    72%       { opacity: 0.73; }
}

@media (prefers-reduced-motion: no-preference) {
    .page-home .hero-stage {
        animation: editorial-rise 820ms var(--ease-out-expo) 90ms both;
    }

    .page-home .editorial-card {
        animation: editorial-rise 760ms var(--ease-out-expo) 300ms both;
    }
}

.favorites-page {
    display: grid;
    gap: 1.5rem;
}

.favorites-page__hero,
.favorites-filters-card,
.favorites-empty-card,
.favorites-card {
    padding: clamp(1.1rem, 2vw, 1.4rem);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: var(--bg-panel-strong);
    box-shadow: var(--shadow-sm);
}

.favorites-page__hero h1,
.favorites-empty-card h2,
.favorites-card h2 {
    margin: 0;
}

.favorites-page__summary,
.favorites-page__count,
.favorites-card__meta {
    margin: 0;
    color: var(--text-muted);
}

.favorites-filters-form {
    display: grid;
    gap: 1rem;
}

.favorites-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.favorites-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.favorites-filter-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-panel) 76%, transparent);
    color: var(--text-soft);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.favorites-filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.favorites-filter-chip span {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    padding: 0 0.95rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.favorites-filter-chip.is-active,
.favorites-filter-chip:has(input:checked) {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--line-soft));
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-panel));
    color: var(--text-main);
}

.favorites-filters-submit {
    justify-self: start;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.favorites-card {
    display: grid;
    gap: 0.85rem;
}

.favorites-card h2 a {
    color: inherit;
    text-decoration: none;
}

.favorites-card h2 a:hover,
.favorites-card h2 a:focus-visible {
    color: var(--accent);
}

/* ── 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.95rem;
}

.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;
}

.page-milonga-detail .artist-hero {
    padding: clamp(1.5rem, 2.8vw, 2.25rem);
    background:
        radial-gradient(circle at top right, rgba(181, 136, 98, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255, 245, 230, 0.05), transparent 34%),
        var(--bg-panel);
}

.page-milonga-detail .artist-hero h1 {
    max-width: 14ch;
}

.page-milonga-detail .milonga-detail-meta {
    margin-top: 0.55rem;
    color: var(--text-soft);
}

.page-milonga-detail .artist-sidebar-card .artist-placeholder-list a,
.page-milonga-detail .artist-sidebar-card .artist-life-list a {
    color: var(--accent-strong);
    text-decoration: none;
}

.page-milonga-detail .artist-sidebar-card .artist-placeholder-list a:hover,
.page-milonga-detail .artist-sidebar-card .artist-placeholder-list a:focus-visible,
.page-milonga-detail .artist-sidebar-card .artist-life-list a:hover,
.page-milonga-detail .artist-sidebar-card .artist-life-list a:focus-visible {
    color: #f1d6b6;
    text-decoration: underline;
}

@media (max-width: 720px) {
    .detail-action-bar {
        gap: 0.4rem;
        align-items: flex-start;
    }

    .detail-action-cluster--primary {
        width: 100%;
    }

    .vote-card--action-bar {
        width: 100%;
        margin-left: 0;
    }

    .vote-card--action-bar .vote-card__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vote-card__toolbar-label {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .vote-card--action-bar .vote-card__actions {
        grid-template-columns: 1fr;
    }
}

/* ── 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: linear-gradient(180deg, rgba(245, 237, 228, 0.88), rgba(245, 237, 228, 0.62));
}

html[data-theme="light"] .hero-stage {
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.54), rgba(255, 250, 244, 0.88)),
        var(--paper);
    box-shadow: 0 24px 58px rgba(50, 32, 24, 0.12);
}

html[data-theme="light"] .hero-stage::after {
    background:
        linear-gradient(95deg, rgba(255, 250, 244, 0.94) 0%, rgba(255, 250, 244, 0.74) 30%, transparent 64%),
        linear-gradient(180deg, rgba(168, 104, 72, 0.10) 0%, transparent 24%),
        linear-gradient(0deg, rgba(255, 250, 244, 0.18), transparent 46%);
}

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-lyric-detail .lyric-hero--custom-image .lyric-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"] .page-lyric-detail .lyric-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,
html[data-theme="light"] .lyric-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,
html[data-theme="light"] .lyric-hero-credit a {
    border-bottom-color: rgba(40, 30, 28, 0.22);
}

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

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"] .page-hero,
html[data-theme="light"] .feature-column,
html[data-theme="light"] .category-editorial-card,
html[data-theme="light"] .compact-card,
html[data-theme="light"] .listing-card {
    background:
        radial-gradient(circle at 18% 18%, rgba(138, 83, 56, 0.10), transparent 32%),
        linear-gradient(155deg, rgba(92, 46, 34, 0.04), transparent 42%),
        var(--paper);
}

html[data-theme="light"] .page-hero--artists-collage::before {
    background:
        radial-gradient(circle at 14% 22%, rgba(138, 83, 56, 0.12), transparent 28%),
        linear-gradient(
            90deg,
            rgba(245, 238, 228, 1) 0%,
            rgba(245, 238, 228, 1) 38%,
            rgba(245, 238, 228, 0.95) 56%,
            rgba(245, 238, 228, 0.74) 74%,
            rgba(245, 238, 228, 0.24) 90%,
            rgba(245, 238, 228, 0.04) 100%
        );
}

html[data-theme="light"] .page-hero-collage::before {
    filter: grayscale(1) sepia(0.08) contrast(0.98) brightness(0.98);
    opacity: 0.88;
}

html[data-theme="light"] .page-hero-collage::after {
    background: linear-gradient(
        90deg,
        rgba(245, 238, 228, 0.99) 0%,
        rgba(245, 238, 228, 0.99) 16%,
        rgba(245, 238, 228, 0.94) 30%,
        rgba(245, 238, 228, 0.8) 46%,
        rgba(245, 238, 228, 0.46) 64%,
        rgba(245, 238, 228, 0.16) 82%,
        rgba(245, 238, 228, 0.03) 100%
    );
}

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

html[data-theme="light"] .result-block {
    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"] .artist-bio-card .autolinked-content-link,
html[data-theme="light"] .lyric-sheet .autolinked-content-link {
    color: var(--reading-link);
}

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

.artist-bio-card .autolinked-content-link,
.lyric-sheet .autolinked-content-link {
    color: var(--reading-link);
}

.artist-bio-card .autolinked-content-link:hover,
.artist-bio-card .autolinked-content-link:focus-visible,
.lyric-sheet .autolinked-content-link:hover,
.lyric-sheet .autolinked-content-link:focus-visible {
    color: var(--reading-text);
}

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

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

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

    .dual-grid .feature-column + .feature-column {
        border-left: none;
        border-top: none;
    }

    .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;
    }

}


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

    .brand {
        min-width: 0;
    }

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

    .header-actions {
        width: 100%;
    }

    .auth-modal {
        width: min(100vw - 0.8rem, 42rem);
        max-height: 96dvh;
    }

    .auth-modal__shell {
        padding: 1.1rem;
    }

    .auth-modal__tabs {
        width: 100%;
    }

    .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 {
        grid-template-columns: 1fr;
    }

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

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

    .artist-listing-avatar--essentials {
        width: 4.3rem;
        height: 4.3rem;
        flex-basis: 4.3rem;
    }

    .listing-avatar-stack-item--essentials {
        margin-left: -0.8rem;
    }

    .listing-avatar-stack--clustered {
        width: 3.55rem;
        height: 3rem;
    }

    .listing-avatar-stack-item--clustered {
        width: 2.45rem;
        height: 2.45rem;
        flex-basis: 2.45rem;
    }

    .listing-avatar-stack-item--clustered:nth-child(1) {
        top: 0.1rem;
    }

    .listing-avatar-stack-item--clustered:nth-child(2) {
        top: 0.6rem;
        left: 1.15rem;
    }

    .listing-avatar-stack--essentials {
        width: 4.9rem;
        height: 4.1rem;
    }

    .listing-avatar-stack-item--clustered.artist-listing-avatar--essentials {
        width: 3.35rem;
        height: 3.35rem;
        flex-basis: 3.35rem;
    }

    .listing-avatar-stack--essentials .listing-avatar-stack-item--clustered:nth-child(2) {
        top: 0.75rem;
        left: 1.6rem;
    }

    .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) {
    .brand {
        gap: 0.6rem;
    }

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

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

    .page-hero,
    .lyric-hero,
    .lyric-sheet,
    .lyric-sidebar-card,
    .artist-hero,
    .artist-bio-card,
    .artist-sidebar-card,
    .feature-column,
    .alphabet-panel,
    .category-editorial-card {
        border-radius: 0;
    }

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

    .page-hero--artists-collage {
        padding-right: clamp(8.5rem, 32vw, 10.75rem);
    }

    .page-hero-collage::before {
        inset: 0;
    }

    .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;
    }

    @media (max-width: 40rem) {
        .page-hero--artists-collage {
            padding-right: clamp(1rem, 4vw, 1.4rem);
        }

        .page-hero--artists-collage::before {
            background:
                radial-gradient(circle at 18% 18%, rgba(181, 136, 98, 0.14), transparent 28%),
                linear-gradient(180deg, rgba(17, 13, 16, 0.08), rgba(17, 13, 16, 0.02));
        }

        .page-hero-collage {
            display: none;
        }
    }

    .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%;
    }

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

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

    .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);
    }

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

    .page-artist-detail .artist-hero--portrait-image {
        grid-template-columns: 1fr;
    }

    .page-artist-detail .artist-hero--portrait-image .artist-hero-media {
        inset: 0 0 0 auto;
        width: min(58%, 21rem);
        height: 100%;
    }

    .page-artist-detail .artist-hero--portrait-image .artist-hero-media img {
        object-position: var(--artist-hero-position-md, var(--artist-hero-position, 50% 50%));
        transform: none;
    }

    .page-lyric-detail .lyric-hero--portrait-image {
        grid-template-columns: 1fr;
    }

    .page-lyric-detail .lyric-hero--portrait-image .lyric-hero-media {
        inset: 0 0 0 auto;
        width: min(58%, 21rem);
        height: 100%;
    }

    .page-lyric-detail .lyric-hero--portrait-image .lyric-hero-media img {
        object-position: var(--lyric-hero-position-md, var(--lyric-hero-position, 50% 50%));
        transform: none;
    }

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

    .lyric-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: 1.9rem;
    }

    .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);
    }

    .lyric-hero-media img {
        object-position: var(
            --lyric-hero-position-sm,
            var(--lyric-hero-position-md, var(--lyric-hero-position, 54% 38%))
        );
        transform: scale(1);
    }

    .page-artist-detail .artist-hero--portrait-image .artist-hero-media {
        right: 0.8rem;
        width: min(62%, 16rem);
        height: calc(100% - 0.8rem);
    }

    .page-artist-detail .artist-hero--portrait-image .artist-hero-media img {
        object-position: var(
            --artist-hero-position-sm,
            var(--artist-hero-position-md, var(--artist-hero-position, 50% 50%))
        );
        transform: none;
    }

    .page-lyric-detail .lyric-hero--portrait-image .lyric-hero-media {
        right: 0.8rem;
        width: min(62%, 16rem);
        height: calc(100% - 0.8rem);
    }

    .page-lyric-detail .lyric-hero--portrait-image .lyric-hero-media img {
        object-position: var(
            --lyric-hero-position-sm,
            var(--lyric-hero-position-md, var(--lyric-hero-position, 50% 50%))
        );
        transform: none;
    }

    .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;
    }
}

/* ═══ Hero stats (2026-04) ═══ */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.8vw, 1.25rem);
    margin: 0.5rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--line-soft);
}

.home-hero .hero-stage-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.65rem, 2.6vw, 2.2rem);
    line-height: 1.08;
    color: var(--text-main);
    margin: 0.15rem 0 0.35rem;
    text-wrap: balance;
}

/* ═══ Editorial H2s on home (2026-04) ═══ */

.home-editorial-h2 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.02;
    letter-spacing: -0.005em;
    color: var(--text-main);
    margin: 0;
    text-wrap: balance;
}

/* ═══ Dual section header + see-all (2026-04) ═══ */

.dual-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.25rem;
    padding: 0;
    border: none;
    background: transparent;
}

.dual-section-head .home-editorial-h2 {
    flex: 1 1 auto;
    min-width: 0;
}

.dual-see-all {
    flex: 0 0 auto;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-strong);
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: color 160ms ease, border-color 160ms ease;
}

.dual-see-all:hover,
.dual-see-all:focus-visible {
    color: var(--accent-strong);
    border-bottom-color: var(--accent-strong);
}

.section-sub {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-family: var(--font-reading);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 52ch;
}

/* ═══ Compact card hover accent + underline-grow (2026-04) ═══ */

.compact-card h3 a {
    position: relative;
    display: inline;
    background-image: linear-gradient(var(--accent-strong), var(--accent-strong));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
    padding-bottom: 0.08em;
    transition: background-size 260ms var(--ease-out), color 200ms var(--ease-out);
}

.compact-card:hover h3 a,
.compact-card:focus-within h3 a {
    background-size: 100% 1px;
}

/* ═══ Light theme overrides (2026-04) ═══ */

html[data-theme="light"] .dual-see-all {
    color: var(--accent);
}

html[data-theme="light"] .dual-see-all:hover,
html[data-theme="light"] .dual-see-all:focus-visible {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

html[data-theme="light"] .compact-card h3 a {
    background-image: linear-gradient(var(--accent), var(--accent));
}

/* ═══ Footer responsive (2026-04) ═══ */

@media (max-width: 720px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-links {
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 0.625rem 1.125rem;
    }

    .footer-fine {
        justify-content: flex-start;
    }
}

/* ═══ Responsive (2026-04) ═══ */

@media (max-width: 860px) {
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .dual-section-head {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .home-editorial-h2 {
        font-size: clamp(1.7rem, 7vw, 2.1rem);
    }
}

/* ═══════════════════════════════════════════════════════════════════
   HOME REDESIGN — poster + editorial sections
   Scoped under .page-home to override prior home rules without
   leaking into other templates that share class names.
═══════════════════════════════════════════════════════════════════ */

/* ── Hero (poster) ─────────────────────────────────────────────── */
.page-home .home-hero {
    position: relative;
    min-height: 700px;
    padding: 72px 0 80px;
    color: #f3ede6;
    isolation: isolate;
    overflow: hidden;
}
.page-home .home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: image-set(
        url("/static/content_catalog/img/hero-artist-piazzolla.04a206ed2540.avif") type('image/avif'),
        url("/static/content_catalog/img/hero-artist-piazzolla.e37223aa26c1.webp") type('image/webp'),
        url("/static/content_catalog/img/hero-artist-piazzolla.4cbe0bec0cd6.jpg") type('image/jpeg')
    );
    background-size: cover;
    background-position: 75% center;
    filter: grayscale(.45) contrast(1.05) brightness(.5);
}
.page-home .home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 900px 500px at 18% 45%, rgba(138, 90, 54, .32), transparent 60%),
        linear-gradient(180deg, rgba(13, 11, 13, .55) 0%, rgba(13, 11, 13, .72) 60%, var(--bg-main) 100%);
}
html[data-theme="light"] .page-home .home-hero { color: #f5ede4; }
html[data-theme="light"] .page-home .home-hero::before { filter: grayscale(.6) contrast(.95) brightness(.55); }

.page-home .home-hero[data-hero="archive"]::before {
    background-image: url("/static/content_catalog/img/letrastango_collage_real_bw_8x8_v3.31bb4fc83b4a.png");
    background-position: center center;
    filter: grayscale(1) contrast(1.1) brightness(.42);
}
.page-home .home-hero[data-hero="archive"]::after {
    background:
        linear-gradient(90deg, rgba(13, 11, 13, .85) 0%, rgba(13, 11, 13, .55) 55%, rgba(13, 11, 13, .7) 100%),
        linear-gradient(180deg, rgba(13, 11, 13, .4) 0%, rgba(13, 11, 13, .55) 60%, var(--bg-main) 100%);
}
html[data-theme="light"] .page-home .home-hero[data-hero="archive"]::before { filter: grayscale(1) contrast(1.05) brightness(.5); }

.page-home .hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 72px;
    align-items: center;
}
@media (max-width: 960px) { .page-home .hero-inner { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 720px) { .page-home .hero-inner { padding: 0 20px; } }

.page-home .hero-eyebrow {
    color: var(--accent-strong);
    font-size: 13px;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.page-home .hero-title {
    font-family: var(--font-display);
    font-size: clamp(56px, 7.4vw, 124px);
    line-height: .92;
    font-weight: 500;
    letter-spacing: -.024em;
    font-style: italic;
    max-width: none;
    margin-top: 0;
}
.page-home .hero-title .line-1 { display: block; }
.page-home .hero-title .line-2 {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: .56em;
    letter-spacing: -.01em;
    margin-top: 6px;
    color: rgba(243, 237, 230, .92);
}
.page-home .hero-lede {
    font-family: var(--font-reading);
    font-size: 20px;
    line-height: 1.55;
    max-width: 36rem;
    margin-top: 26px;
    color: rgba(243, 237, 230, .86);
}
.page-home .hero-lede a { border-bottom: 1px solid rgba(224, 185, 138, .4); color: #fff; }
.page-home .hero-lede a:hover { color: var(--accent-strong); border-color: var(--accent-strong); }

.page-home .hero-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    margin-top: 32px;
    border: 1px solid rgba(255, 245, 230, .22);
    background: rgba(13, 11, 13, .6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    max-width: 36rem;
    transition: border-color .2s, background .2s;
    position: relative;
}
.page-home .hero-search:focus-within { border-color: var(--accent); background: rgba(13, 11, 13, .75); }
.page-home .hero-search > svg { width: 20px; height: 20px; color: rgba(243, 237, 230, .6); flex: 0 0 auto; }
.page-home .hero-search input,
.page-home .hero-search input[type="text"],
.page-home .hero-search input[type="search"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f3ede6 !important;
    font-family: var(--font-reading) !important;
    font-size: 18px !important;
    outline: none !important;
    box-shadow: none !important;
}
.page-home .hero-search input:focus,
.page-home .hero-search input:focus-visible {
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.page-home .hero-search input::placeholder { color: rgba(243, 237, 230, .5); font-style: italic; }
.page-home .hero-search-kbd {
    font-family: var(--font-ui);
    font-size: 13px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 245, 230, .22);
    border-radius: 4px;
    color: rgba(243, 237, 230, .55);
}

.page-home .hero-search { isolation: isolate; }
.page-home .hero-search[data-search-autocomplete-open="true"] { z-index: 60; }
.page-home .hero-search input::-webkit-search-cancel-button,
.page-home .hero-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.page-home .hero-search .search-autocomplete-panel {
    top: calc(100% + 8px);
    left: -1px;
    right: -1px;
    z-index: 60;
    padding: 10px;
    border: 1px solid rgba(255, 245, 230, .22);
    border-radius: var(--radius-md);
    background: #0d0b0d;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.page-home .hero-search .search-autocomplete-status { color: rgba(243, 237, 230, .65); }
.page-home .hero-search .search-autocomplete-group-title { color: var(--accent-strong); }
.page-home .hero-search .search-autocomplete-option { color: #f3ede6; }
.page-home .hero-search .search-autocomplete-option-subtitle { color: rgba(243, 237, 230, .62); }
.page-home .hero-search .search-autocomplete-option:hover,
.page-home .hero-search .search-autocomplete-option:focus-visible,
.page-home .hero-search .search-autocomplete-option.is-active {
    background: rgba(224, 185, 138, .14);
    color: #fff;
}

.page-home .hero-hint {
    margin-top: 14px;
    font-size: 15px;
    color: rgba(243, 237, 230, .68);
    white-space: nowrap;
}
@media (max-width: 720px) {
    .page-home .hero-hint { white-space: normal; }
}
.page-home .hero-hint a { color: var(--accent-strong); border-bottom: 1px solid rgba(224, 185, 138, .4); }
.page-home .hero-hint a:hover { color: #fff; }

.page-home .hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.page-home .hero-chip {
    font-family: var(--font-ui);
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid rgba(255, 245, 230, .18);
    color: rgba(243, 237, 230, .75);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}
.page-home .hero-chip-label {
    margin-right: 8px;
    font-size: 12px;
    letter-spacing: .24em;
    color: rgba(243, 237, 230, .55);
    align-self: center;
}
.page-home .hero-chip:hover,
.page-home .hero-chip:focus-visible {
    border-color: var(--accent);
    color: var(--text-main);
    background: rgba(224, 185, 138, .06);
    outline: none;
}

/* Verse-of-the-day card */
.page-home .hero-verse {
    margin-top: 28px;
    padding: 22px 24px 20px;
    border: 1px solid rgba(255, 245, 230, .12);
    background: rgba(13, 11, 13, .45);
    position: relative;
    max-width: 36rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 18px;
    align-items: start;
}
.page-home .hero-verse-eyebrow {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(243, 237, 230, .55);
    margin: 0 0 4px;
}
.page-home .hero-verse-text {
    grid-column: 1 / -1;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.32;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -.005em;
    min-height: 88px;
    transition: opacity .35s ease;
}
.page-home .hero-verse-text.is-fading { opacity: 0; }
.page-home .hero-verse-meta {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    font-family: var(--font-ui);
    font-size: 14px;
    color: rgba(243, 237, 230, .7);
    padding-top: 10px;
    border-top: 1px solid rgba(255, 245, 230, .08);
}
.page-home .hero-verse-meta a {
    color: var(--accent-strong);
    border-bottom: 1px solid transparent;
    transition: border-color .25s;
}
.page-home .hero-verse-meta a:hover { border-bottom-color: var(--accent); }
.page-home .hero-verse-meta .dot { color: rgba(243, 237, 230, .3); }
.page-home .hero-verse-meta .read-link {
    margin-left: auto;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-soft);
}

/* Hero stats — overrides legacy .hero-stats grid */
.page-home .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 44px;
    max-width: 42rem;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 245, 230, .15);
}
@media (max-width: 560px) { .page-home .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* Hero right — Qué vas a encontrar */
.page-home .hero-stage {
    position: relative;
    border: 1px solid rgba(255, 245, 230, .18);
    background: rgba(13, 11, 13, .55);
    backdrop-filter: blur(16px);
    padding: 34px 34px 28px;
    border-radius: 3px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: auto;
    min-height: 0;
}
.page-home .hero-stage::before,
.page-home .hero-stage::after { content: none; }
.page-home .hero-stage-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 3vw, 40px);
    font-style: italic;
    line-height: 1.02;
    letter-spacing: -.01em;
    font-weight: 600;
    margin-bottom: 22px;
}

/* Pillars nav */
.page-home .hero-pillars {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 245, 230, .14);
    margin-bottom: 14px;
}
.page-home .hero-pillar {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr auto 24px;
    column-gap: 16px;
    align-items: baseline;
    padding: 22px 2px;
    border-bottom: 1px solid rgba(255, 245, 230, .14);
    text-decoration: none;
    color: inherit;
    isolation: isolate;
    overflow: hidden;
    transition: padding-left .45s var(--ease-out);
}
.page-home .hero-pillar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(202, 160, 112, .14), rgba(202, 160, 112, 0) 55%);
    opacity: 0;
    transition: opacity .4s var(--ease-out);
    z-index: -1;
}
.page-home .hero-pillar:hover::before,
.page-home .hero-pillar:focus-visible::before { opacity: 1; }
.page-home .hero-pillar:hover,
.page-home .hero-pillar:focus-visible { padding-left: 10px; }

.page-home .hp-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 18px;
    color: var(--accent-strong);
    line-height: 1;
    transform: translateY(4px);
    opacity: .7;
    transition: opacity .3s;
}
.page-home .hero-pillar:hover .hp-num { opacity: 1; }

.page-home .hp-body { min-width: 0; }
.page-home .hp-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.05;
    letter-spacing: -.012em;
    margin: 0 0 10px;
    color: #fff;
}
.page-home .hp-title-inner {
    display: inline;
    background-image: linear-gradient(var(--accent-strong), var(--accent-strong));
    background-size: 0 1.5px;
    background-repeat: no-repeat;
    background-position: 0 92%;
    transition: background-size .55s var(--ease-out);
}
.page-home .hero-pillar:hover .hp-title-inner,
.page-home .hero-pillar:focus-visible .hp-title-inner { background-size: 100% 1.5px; }

.page-home .hp-desc {
    margin: 0;
    font-family: var(--font-reading);
    font-size: 16px;
    line-height: 1.55;
    color: rgba(243, 237, 230, .72);
    max-width: 32rem;
}
.page-home .hp-meta {
    align-self: center;
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
    font-family: var(--font-ui);
    color: var(--text-soft);
    text-align: right;
    white-space: nowrap;
}
.page-home .hp-meta b {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    font-weight: 500;
    color: var(--accent-strong);
    margin-bottom: 4px;
}
.page-home .hp-meta span {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.page-home .hp-arrow {
    align-self: center;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transform: translateX(-6px);
    opacity: .4;
    transition: transform .4s var(--ease-out), opacity .3s, color .3s;
}
.page-home .hero-pillar:hover .hp-arrow,
.page-home .hero-pillar:focus-visible .hp-arrow {
    transform: translateX(0);
    opacity: 1;
    color: var(--accent-strong);
}

/* Milongas — secondary pill */
.page-home .hero-pillar--aside {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr 20px;
    column-gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(202, 160, 112, .28);
    background: rgba(202, 160, 112, .05);
    border-radius: 2px;
    text-decoration: none;
    color: inherit;
    transition: border-color .25s, background .25s;
}
.page-home .hero-pillar--aside:hover {
    border-color: var(--accent);
    background: rgba(202, 160, 112, .12);
}
.page-home .hp-aside-tag {
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent-strong);
    padding: 5px 12px;
    border: 1px solid rgba(202, 160, 112, .4);
}
.page-home .hp-aside-title {
    grid-column: 2;
    grid-row: 1;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}
.page-home .hp-aside-desc {
    grid-column: 2;
    grid-row: 2;
    font-family: var(--font-reading);
    font-size: 15px;
    color: rgba(243, 237, 230, .7);
    line-height: 1.5;
    margin-top: 5px;
}
.page-home .hero-pillar--aside .hp-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
}

@media (max-width: 720px) {
    .page-home .hero-stage { padding: 26px 22px 22px; }
    .page-home .hero-pillar {
        grid-template-columns: 30px 1fr auto;
        column-gap: 14px;
        padding: 18px 0;
    }
    .page-home .hero-pillar .hp-arrow { display: none; }
    .page-home .hp-desc { font-size: 13px; }
    .page-home .hp-meta b { font-size: 18px; }
}

html[data-theme="light"] .page-home .hero-stage {
    border-color: var(--line-soft);
    background: rgba(255, 255, 255, .7);
}
html[data-theme="light"] .page-home .hero-pillars,
html[data-theme="light"] .page-home .hero-pillar { border-color: var(--line-soft); }
html[data-theme="light"] .page-home .hp-title { color: var(--text-main); }
html[data-theme="light"] .page-home .hp-desc { color: var(--text-soft); }
html[data-theme="light"] .page-home .hp-aside-title { color: var(--text-main); }
html[data-theme="light"] .page-home .hp-aside-desc { color: var(--text-soft); }

/* ── Dual section: artistas + letras ───────────────────────────── */
.page-home .dual {
    padding: 72px 0 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
}
@media (max-width: 960px) { .page-home .dual { grid-template-columns: 1fr; gap: 44px; } }

.page-home .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
}
.page-home .section-head h2 {
    font-size: clamp(32px, 3.6vw, 46px);
    font-style: italic;
    letter-spacing: -.01em;
}
.page-home .section-head .see-all {
    font-family: var(--font-ui);
    font-size: 14px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-soft);
    padding-bottom: 2px;
    border-bottom: 1px solid var(--accent);
    white-space: nowrap;
}
.page-home .section-head .see-all:hover { color: var(--accent-strong); }
.page-home .section-sub {
    font-family: var(--font-reading);
    font-size: 17px;
    color: var(--text-soft);
    margin: -18px 0 28px;
    line-height: 1.6;
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 720px) {
    .page-home .section-sub { white-space: normal; }
}

/* Featured letras list (numbered, editorial) */
.page-home .featured-letras {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-soft);
}
.page-home .fletra {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-soft);
    align-items: center;
    transition: background .25s;
}
.page-home .fletra:hover { background: var(--bg-soft); }
.page-home .fletra .num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    color: var(--accent-strong);
    padding-left: 4px;
}
.page-home .fletra h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.005em;
    margin-bottom: 6px;
}
.page-home .fletra h3 a {
    display: inline;
    background-image: linear-gradient(var(--accent-strong), var(--accent-strong));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .35s;
}
.page-home .fletra:hover h3 a { background-size: 100% 1px; }
.page-home .fletra .meta {
    font-family: var(--font-reading);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-soft);
}
.page-home .fletra .meta .dot { color: var(--text-muted); margin: 0 6px; }
.page-home .fletra .meta a { color: var(--text-main); }
.page-home .fletra .meta a:hover { color: var(--accent-strong); }
.page-home .fletra .year {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--text-soft);
}

/* Spotify and fav action clusters */
.page-home .fletra-actions,
.page-home .w-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 4px;
    z-index: 3;
}
.page-home .spotify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity .25s, transform .25s, color .2s;
}
.page-home .spotify-btn svg {
    width: 17px;
    height: 17px;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.page-home .fletra:hover .spotify-btn,
.page-home .wcard:hover .spotify-btn,
.page-home .spotify-btn:focus-visible {
    opacity: 1;
    transform: translateY(0);
}
.page-home .spotify-btn:hover { color: #1DB954; }
.page-home .spotify-btn:hover svg { transform: scale(1.08); }

@media (max-width: 560px) {
    .page-home .fletra { grid-template-columns: 36px 1fr; }
    .page-home .fletra .year { grid-column: 2; font-size: 14px; }
}

/* Artistas esenciales list (portrait rows) */
.page-home .artists-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-soft);
}
.page-home .art-row {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    align-items: center;
    transition: background .25s;
}
.page-home .art-row:hover { background: var(--bg-soft); }
.page-home .art-row img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(.5);
    transition: filter .3s;
}
.page-home .art-row:hover img { filter: grayscale(0); }
.page-home .art-row .a-body h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1;
}
.page-home .art-row .a-body h3 a {
    background-image: linear-gradient(var(--accent-strong), var(--accent-strong));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .35s;
}
.page-home .art-row:hover h3 a { background-size: 100% 1px; }
.page-home .art-row .a-role {
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}
.page-home .art-row .a-years {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    color: var(--text-soft);
}

/* ── Obras fundamentales ────────────────────────────────────────── */
.page-home .works-section {
    margin-top: 80px;
    padding-top: 56px;
    border-top: 1px solid var(--line-soft);
}
.page-home .works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 960px) { .page-home .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .page-home .works-grid { grid-template-columns: 1fr; } }
.page-home .wcard {
    position: relative;
    padding: 22px 22px 20px;
    border: 1px solid var(--line-soft);
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .3s var(--ease-out), border-color .25s, background .25s;
}
html[data-theme="light"] .page-home .wcard { background: var(--bg-shell); }
.page-home .wcard:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.page-home .wcard .w-kind {
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent-strong);
}
.page-home .wcard h3 {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -.005em;
    margin-top: 2px;
}
.page-home .wcard h3 a {
    background-image: linear-gradient(var(--accent-strong), var(--accent-strong));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .35s;
    padding-bottom: 1px;
}
.page-home .wcard:hover h3 a { background-size: 100% 1px; }
.page-home .wcard .w-meta {
    font-family: var(--font-reading);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-soft);
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.page-home .wcard .w-meta a { color: var(--text-main); }
.page-home .wcard .w-meta a:hover { color: var(--accent-strong); }
.page-home .wcard .w-year {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-muted);
    margin-left: auto;
}
.page-home .wcard .w-wave {
    width: 100%;
    height: 28px;
    margin-top: 14px;
    color: var(--accent);
    opacity: .55;
    transition: opacity .3s, color .3s;
}
.page-home .wcard:hover .w-wave { opacity: .9; color: var(--accent-strong); }

/* ── Milongas ───────────────────────────────────────────────────── */
.page-home .milongas {
    padding: 72px 0;
}
.page-home .milongas-wrap {
    position: relative;
    padding: 48px 44px 52px;
    border: 1px solid var(--line-soft);
    background:
        linear-gradient(165deg, rgba(202, 160, 112, .06), transparent 55%),
        var(--bg-panel);
    overflow: hidden;
}
.page-home .milongas-wrap::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(202, 160, 112, .14), transparent 70%);
    pointer-events: none;
}
@media (max-width: 720px) { .page-home .milongas-wrap { padding: 32px 24px; } }

.page-home .milongas-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}
@media (max-width: 720px) { .page-home .milongas-head { grid-template-columns: 1fr; } }
.page-home .milongas-head h2 {
    font-size: clamp(38px, 4.5vw, 58px);
    font-style: italic;
    letter-spacing: -.01em;
}
.page-home .milongas-head .lede {
    font-family: var(--font-reading);
    font-size: 17px;
    color: var(--text-soft);
    margin-top: 10px;
    max-width: 42rem;
}

.page-home .city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.page-home .city-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 1px solid var(--line-strong);
    color: var(--text-soft);
    background: var(--bg-soft);
    border-radius: 99px;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.page-home .city-chip:hover { border-color: var(--accent); color: var(--accent-strong); }
.page-home .city-chip.on,
.page-home .city-chip.is-active {
    border-color: var(--accent);
    color: var(--accent-strong);
    background: rgba(202, 160, 112, .12);
}
.page-home .city-chip small {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0;
    text-transform: none;
    font-family: var(--font-display);
    font-style: italic;
}

.page-home .milongas-top-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.page-home .milongas-top-head .hl {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent-strong);
    font-size: 20px;
    letter-spacing: 0;
    text-transform: none;
}
.page-home .milongas-top-head a {
    font-size: 13px;
    letter-spacing: .22em;
    color: var(--text-soft);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
}

.page-home .milongas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 900px) { .page-home .milongas-grid { grid-template-columns: 1fr; } }
.page-home .mcard {
    position: relative;
    padding: 20px 22px 22px;
    border: 1px solid var(--line-soft);
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .3s var(--ease-out), border-color .25s, background .25s;
    min-height: 320px;
}
html[data-theme="light"] .page-home .mcard { background: var(--bg-shell); }
.page-home .mcard:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.page-home .mcard .m-barrio {
    font-size: 12px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent-strong);
}
.page-home .mcard h3 {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -.005em;
}
.page-home .mcard h3 a {
    background-image: linear-gradient(var(--accent-strong), var(--accent-strong));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .35s;
}
.page-home .mcard:hover h3 a { background-size: 100% 1px; }
.page-home .mcard .m-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-reading);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-soft);
    margin-top: 2px;
}
.page-home .mcard .m-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.page-home .mcard .m-ico {
    width: 16px;
    height: 16px;
    color: var(--accent-strong);
    flex-shrink: 0;
}
.page-home .mcard .m-bio {
    font-family: var(--font-reading);
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.55;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.page-home .mcard .m-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--line-soft);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.page-home .mcard .m-btn {
    padding: 7px 14px;
    border: 1px solid var(--line-strong);
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-soft);
    transition: border-color .2s, color .2s, background .2s;
}
.page-home .mcard .m-btn:hover {
    border-color: var(--accent-strong);
    color: var(--accent-strong);
}

/* ── Editorial closing ──────────────────────────────────────────── */
.page-home .editorial {
    padding: 72px 0;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 900px) { .page-home .editorial { grid-template-columns: 1fr; } }
.page-home .editorial .ed-label {
    font-size: 13px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.page-home .editorial h2 {
    margin-top: 14px;
    font-size: clamp(38px, 4vw, 54px);
    font-style: italic;
    letter-spacing: -.01em;
    line-height: 1.02;
}
.page-home .editorial-body {
    font-family: var(--font-reading);
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-soft);
}
.page-home .editorial-body p + p { margin-top: 1em; }
.page-home .editorial-body em { color: var(--accent-strong); font-style: italic; }

/* ═══════════════════════════════════════════════════════════════════
   SITE HEADER — redesign (sitewide)
   Slim, sticky, blurred. Overrides earlier .site-header / .brand* /
   .nav* rules via source order. Same JS hooks preserved.
═══════════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px) saturate(1.1);
    background: linear-gradient(180deg, rgba(13, 11, 13, .84), rgba(13, 11, 13, .6));
    border-bottom: 1px solid var(--line-soft);
    padding: 0;
}
html[data-theme="light"] .site-header {
    background: linear-gradient(180deg, rgba(245, 237, 228, .88), rgba(245, 237, 228, .62));
}
.site-header > .site-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 32px;
    height: auto;
    min-height: 72px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
    flex-direction: row;
}

.site-header a.brand,
.site-header .brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    background: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: opacity .2s;
    flex-shrink: 0;
    min-width: 0;
    min-height: 0;
    width: auto;
    height: auto;
    line-height: 1;
}
.site-header .brand:hover { opacity: .85; }
html .site-header .brand-mark,
html[data-theme="light"] .site-header .brand-mark,
html[data-theme="dark"] .site-header .brand-mark {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -.01em;
    line-height: 1;
    color: var(--text-main);
    background: none;
    -webkit-text-fill-color: currentColor;
    width: auto;
    height: auto;
    min-width: 0;
    display: inline-block;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 1;
}
.site-header .brand-mark b { font-style: normal; font-weight: 700; }
.site-header .brand-mark svg { display: none; }
.site-header .brand-tag {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .24em;
    color: var(--text-muted);
    line-height: 1;
}
.site-header .nav {
    display: flex;
    gap: 30px;
    font-family: var(--font-ui);
    font-size: 12px;
    line-height: 1;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 500;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    margin: 0;
    border: 0;
    list-style: none;
}
.site-header .nav a {
    position: relative;
    padding: 6px 2px;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-decoration: none;
    transition: color .25s ease;
    display: inline-block;
    min-height: 0;
    min-width: 0;
    border-bottom: 0;
}
.site-header .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    height: 1px;
    width: 0;
    background: var(--accent);
    transition: width .35s cubic-bezier(.4, 0, .2, 1);
}
.site-header .nav a:hover,
.site-header .nav a:focus-visible {
    color: var(--text-main);
    outline: none;
}
.site-header .nav a:hover::after,
.site-header .nav a:focus-visible::after { width: 100%; }
.site-header .nav a.active { color: var(--accent-strong); }
.site-header .nav a.active::after { width: 100%; background: var(--accent-strong); }

.site-header .header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-right: 24px;
}
.site-header .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.site-header .btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.site-header .btn-ghost-icon { flex: 0 0 auto; }

.site-header .theme-toggle {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 6px 8px;
    width: auto;
    height: auto;
    border-radius: 0;
}

.site-header .theme-toggle:hover { color: var(--text-main); }
.site-header .theme-toggle .theme-toggle-glyph {
    font-size: 14px;
    line-height: 1;
}

.site-header .icon-btn,
.site-header a.icon-btn,
.site-header button.icon-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--text-soft);
    cursor: pointer;
    transition: color .25s ease;
    border-radius: 0;
    position: relative;
    padding: 0;
    text-decoration: none;
    box-shadow: none;
    font-size: 0;
    letter-spacing: 0;
    line-height: 1;
}
.site-header .icon-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 22px;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.site-header .icon-btn:hover,
.site-header .icon-btn:focus-visible { color: var(--text-main); outline: none; }
.site-header .icon-btn:hover::after,
.site-header .icon-btn:focus-visible::after { transform: translateX(-50%) scaleX(1); }
.site-header .icon-btn svg { width: 16px; height: 16px; }
.site-header .icon-btn--fav svg { width: 18px; height: 18px; }

/* Mobile nav toggle */
.site-header .nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--text-soft);
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
}
.site-header .nav-toggle-lines {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}
.site-header .nav-toggle-lines span {
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

@media (max-width: 1100px) {
    .site-header.js-nav-ready .nav-toggle { display: inline-flex; }
    .site-header.js-nav-ready .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(13, 11, 13, .96);
        border-bottom: 1px solid var(--line-soft);
        padding: 12px 32px 18px;
        display: none;
    }
    html[data-theme="light"] .site-header.js-nav-ready .nav {
        background: rgba(245, 237, 228, .96);
    }
    .site-header.js-nav-ready .nav.is-open { display: flex; }
    .site-header.js-nav-ready .nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line-soft);
    }
    .site-header.js-nav-ready .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
    .site-header .brand-tag { display: none; }
}

/* Hero search input — overrides the global input[type="text"] min-height/padding/border */
.page-home .hero-search {
    padding: 12px 18px !important;
}
.page-home .hero-search input,
.page-home .hero-search input[type="text"],
.page-home .hero-search input[type="search"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f3ede6 !important;
    font-family: var(--font-reading) !important;
    font-size: 18px !important;
    outline: none !important;
    box-shadow: none !important;
}
.page-home .hero-search input:focus,
.page-home .hero-search input:focus-visible,
.page-home .hero-search input[type="text"]:focus,
.page-home .hero-search input[type="search"]:focus {
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

