@import '../common.css';

/* ============================================
   TATTOO PAGE STYLES
   ============================================ */

/* Ensure background texture is applied (path specific to this file location) */
body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../../assets/concrete-wall-texture.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ============================================
   HERO SECTION
   ============================================ */

.tattoo-hero {
    position: relative;
    min-height: 63vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    background-image: url('../../assets/FONDO A2TATTOO_.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
    padding: 70px 0 0 0;
    margin-top: 0;
}

/* Breadcrumbs inside hero: position at top, remove default margin */
.tattoo-hero .breadcrumbs {
    margin-top: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
}

/* Fix for "fine light line" - Ensure overlay covers absolutely everything */
.tattoo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-pre {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 6px;
}

.hero-main {
    font-family: 'Excellent Display', sans-serif !important;
    font-size: clamp(3.5rem, 12vw, 7rem);
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: 2px;
    font-weight: bold;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

/* Force Navbar Visible on Tattoo Page (No Intro) */
.main-navbar {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.hero-ornament {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    /* Increased spacing */
}

.hero-ornament svg {
    width: 160px;
    /* Increased size */
    height: 16px;
    /* Proportional height */
    color: var(--accent-tertiary-sat);
    opacity: 0.9;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    animation: float 2s ease-in-out infinite;
}

.hero-scroll-hint span {
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ============================================
   SECTION BASE STYLES
   ============================================ */

.section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

/* .section-separator moved to common.css */

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.title-script {
    font-family: 'Excellent Display', sans-serif !important;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-weight: bold;
}

.title-main {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

/* ============================================
   SECTION: PHILOSOPHY
   ============================================ */

.section--philosophy {
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(10, 10, 10, 0.9) 50%,
            rgba(0, 0, 0, 0.85) 100%);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    margin: 3rem 0;
    padding: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.philosophy-quote p {
    font-family: var(--font-body);
    /* Museum */
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    /* Reduced size as requested */
    color: var(--text-primary);
    font-style: normal;
    font-weight: 500;
    line-height: 1.6;
    /* text-transform: uppercase; Removed */
    letter-spacing: 0.5px;
}



/* Drop Cap for Quote */
.philosophy-quote .drop-cap {
    font-family: 'Excellent Display', sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 0.8;
    color: var(--accent-tertiary-sat);
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    margin-bottom: 5px;
    /* Adjust alignment */
}

.philosophy-text {
    text-align: center;
}

.philosophy-text p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.philosophy-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.philosophy-text em {
    color: var(--text-primary);
    font-style: italic;
}

/* Drop Cap - Letra capitular estilizada (en línea) */
.philosophy-text .drop-cap {
    font-family: 'Excellent Display', sans-serif !important;
    font-size: 2.8rem;
    line-height: 1;
    color: var(--text-primary);
    font-weight: bold;
    display: inline;
    vertical-align: baseline;
}

/* Nombre de marca A2 Tintas */
.philosophy-text .brand-name {
    font-family: 'Excellent Display', sans-serif !important;
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: bold;
}

/* Lista de enlaces de artistas */
.philosophy-text .artist-links {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.philosophy-text .artist-links li {
    margin: 0;
}

.philosophy-text .artist-links a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.philosophy-text .artist-links a:hover {
    color: var(--accent-tertiary-sat);
}

/* ============================================
   SECTION: TEAM
   ============================================ */

.section--team {
    padding: 8rem 0;
    background: rgba(10, 10, 10, 0.9);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.artist-card {
    position: relative;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Hover only applies AFTER card is revealed */
.artist-card.in-view {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s ease;
}

/* Light reflection overlay */
.artist-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.06) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.artist-card:hover::after {
    opacity: 1;
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.03);
}

.artist-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
    transition: -webkit-clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
        clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

/* Fallback for browsers without aspect-ratio (older iOS Safari) */
@supports not (aspect-ratio: 3/4) {
    .artist-image-wrapper {
        height: 0;
        padding-bottom: 133.33%;
        /* 4/3 ratio */
    }
}

.artist-card.in-view .artist-image-wrapper {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.artist-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artist-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 40%,
            rgba(0, 0, 0, 0.9) 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.artist-card:hover .artist-overlay {
    opacity: 0.5;
}

.artist-info {
    padding: 1.5rem;
    text-align: center;
}

.artist-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.artist-ornament {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0;
}

.artist-ornament svg {
    width: 80px;
    height: 12px;
    color: var(--accent-tertiary-sat);
}

.artist-specialty {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.artist-specialty strong {
    color: var(--text-primary);
}

.artist-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.artist-detail strong {
    color: var(--text-secondary);
}

.artist-social {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.artist-instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.artist-instagram-link:hover {
    color: var(--accent-tertiary-sat);
    border-color: var(--accent-tertiary-sat);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.artist-instagram-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.artist-instagram-link:hover svg {
    transform: scale(1.1);
}

/* ============================================
   SECTION: GALLERY
   ============================================ */

.section--gallery {
    padding: 8rem 0;
    background: rgba(0, 0, 0, 0.85);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 0;
    /* Margin handled by grid gap */
    background: var(--bg-tertiary);
    z-index: 2;
    /* Ensure above particles */
    border-radius: 4px;
    height: 100%;
    /* Uniform height if needed, or remove for natural */
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-script);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg,
            var(--bg-tertiary) 0%,
            var(--bg-secondary) 100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
    /* Critical for iOS tap events */
}

.gallery-overlay::before {
    display: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.gallery-artist {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-info {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
        opacity 0.4s ease 0.15s;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

/* Footer styles are inherited from common.css */

/* ============================================
   REVEAL ANIMATIONS (Premium)
   ============================================ */

/* --- Text reveals: clean translate + fade --- */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Fade reveals: subtle translate + fade --- */
.reveal-fade {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Card reveals: 3D rotation entrance --- */
.reveal-card {
    opacity: 0;
    transform: perspective(1000px) rotateX(8deg) translateY(40px);
    transform-origin: bottom center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-card.in-view {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/* --- Gallery reveals: scale + fade --- */
.reveal-gallery {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-gallery.in-view {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* --- Stagger delays (increased for more drama) --- */
.reveal-card[data-delay="1"],
.reveal-gallery[data-delay="1"] {
    transition-delay: 0.15s;
}

.reveal-card[data-delay="2"],
.reveal-gallery[data-delay="2"] {
    transition-delay: 0.3s;
}

.reveal-gallery[data-delay="3"] {
    transition-delay: 0.45s;
}

.reveal-gallery[data-delay="4"] {
    transition-delay: 0.6s;
}

.reveal-gallery[data-delay="5"] {
    transition-delay: 0.75s;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--accent-tertiary-sat);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0 0 8px 8px;
    z-index: 100001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media screen and (max-width: 900px) {
    .section {
        padding: 5rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .section {
        padding: 4rem 0;
    }

    .tattoo-hero {
        min-height: 50vh;
        min-height: 50dvh;
    }

    .philosophy-quote {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }

    .philosophy-quote p {
        font-size: 1.3rem;
    }

    .philosophy-text p {
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .artist-image-wrapper {
        aspect-ratio: 1/1;
    }

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

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-premium:hover {
    border-color: var(--accent-tertiary-sat);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.btn-premium:hover::before {
    left: 100%;
}

/* Masonry Grid (Full Gallery) - Now using standard Grid for strict ordering */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-bottom: 4rem;
    padding-left: 5%;
    /* Added lateral margin */
    padding-right: 5%;
    /* Added lateral margin */
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-item {
    margin-bottom: 0;
    /* Handled by gap */
    position: relative;
    z-index: 2;
    /* Ensure above particles */
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-tertiary);
    transition: transform 0.4s ease, opacity 0.4s ease;
    cursor: pointer;
    /* Pointer for lightbox */
    opacity: 0;
    transform: translateY(20px);
}

/* Animation class added by JS */
.masonry-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    filter: grayscale(100%);
    /* B&W Default */
}

.masonry-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
    /* Color on Hover */
}

/* Hover Overlay for Masonry Items */
.masonry-item .gallery-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.masonry-item:hover .gallery-overlay {
    opacity: 1;
}

.masonry-item .gallery-artist {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

@media screen and (max-width: 900px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LIGHTBOX STYLES
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    z-index: 200000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 200001;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ============================================
   ADAPTIVE PERFORMANCE FALLBACKS
   ============================================ */

/* REDUCED: Background scroll, no filters, faster transitions */
body.perf-reduced {
    background-attachment: scroll;
}

body.perf-reduced .section-separator {
    filter: none;
}

body.perf-reduced .hero-scroll-hint {
    animation: none;
}

body.perf-reduced .reveal-text,
body.perf-reduced .reveal-fade,
body.perf-reduced .reveal-card,
body.perf-reduced .reveal-gallery,
body.perf-reduced .section-title,
body.perf-reduced .section-subtitle,
body.perf-reduced .section-separator {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

body.perf-reduced .artist-card.in-view,
body.perf-reduced .artist-image-wrapper,
body.perf-reduced .artist-overlay,
body.perf-reduced .gallery-item,
body.perf-reduced .gallery-item img,
body.perf-reduced .masonry-item,
body.perf-reduced .masonry-item img {
    transition: none !important;
}

body.perf-reduced .artist-image-wrapper,
body.perf-reduced .artist-card.in-view .artist-image-wrapper {
    -webkit-clip-path: none !important;
    clip-path: none !important;
}

body.perf-reduced .artist-card::after,
body.perf-reduced .artist-card:hover::after {
    opacity: 0 !important;
}

body.perf-reduced .artist-card:hover,
body.perf-reduced .gallery-item:hover,
body.perf-reduced .masonry-item:hover,
body.perf-reduced .artist-instagram-link:hover,
body.perf-reduced .lightbox-close:hover {
    transform: none !important;
    box-shadow: none !important;
}

body.perf-reduced .lightbox {
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.98);
}

body.perf-reduced .gallery-item img,
body.perf-reduced .masonry-item img {
    filter: grayscale(100%);
}

body.perf-reduced .gallery-item:hover img,
body.perf-reduced .masonry-item:hover img {
    filter: grayscale(0%);
}

/* MINIMAL: Kill ALL animations and transitions */
body.perf-minimal *,
body.perf-minimal *::before,
body.perf-minimal *::after {
    animation: none !important;
    transition: none !important;
}

body.perf-minimal {
    background-attachment: scroll !important;
    background-image: none !important;
}

body.perf-minimal .reveal-text,
body.perf-minimal .reveal-fade,
body.perf-minimal .reveal-card,
body.perf-minimal .reveal-gallery,
body.perf-minimal .section-title,
body.perf-minimal .section-subtitle,
body.perf-minimal .section-separator {
    opacity: 1 !important;
    transform: none !important;
}

body.perf-minimal .artist-card::after,
body.perf-minimal .hero-scroll-hint,
body.perf-minimal .artist-ornament,
body.perf-minimal .section-separator {
    display: none !important;
}