@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

:root {
    /* Earthy Color Palette */
    --clr-bg-base: #f7f6f1;
    /* Soft Beige */
    --clr-bg-alt: #ecebdc;
    /* Darker Beige */
    --clr-text-main: #2b3a32;
    /* Deep Olive/Forest Black */
    --clr-text-muted: #4f6356;
    --clr-accent-gold: #c29d59;
    --clr-accent-teal: #3b706c;
    --clr-accent-olive: #6a7c5b;

    /* Typography - Premium Pairing */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Motion */
    --transition-soft: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Spacing - Enhanced Negative Space (+20%) */
    --space-sm: 1.2rem;
    --space-md: 3rem;
    --space-lg: 6rem;
    --space-xl: 9.6rem;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--clr-text-main);
    background-color: var(--clr-bg-base);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-text-main);
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-style: italic;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.02em;
    font-weight: 500;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.05em;
    font-weight: 500;
}

p {
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Reusable Layout Classes */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xl) 0;
}

/* Navigation - Agentic UI */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) 0;
    z-index: 100;
    transition: var(--transition-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: difference;
    color: #fff;
}

.main-nav.scrolled {
    background-color: rgba(247, 246, 241, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    mix-blend-mode: normal;
    color: var(--clr-text-main);
    border-bottom: 1px solid rgba(43, 58, 50, 0.1);
}

/* Ensure Logo doesn't difference (stay consistent) */
.main-nav a:has(.signature-logo) {
    mix-blend-mode: normal;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    position: relative;
}

.site-logo-img {
    height: 45px;
    width: auto;
    filter: invert(1) brightness(2);
    /* White for dark hero */
    transition: var(--transition-fast);
}

.signature-logo {
    height: 80px;
    /* Hero baseline */
    width: auto;
    display: block;
    transition: var(--transition-fast);
}

/* In the navigation initially (Hero), make the logo pure white */
.main-nav .signature-logo {
    height: 115px;
    filter: brightness(0) invert(1);
}

/* When scrolled, show its natural olive color (the transparent image is olive) */
.main-nav.scrolled .signature-logo {
    filter: none;
    height: 100px;
    /* Larger for better readability and branding */
}

.footer-logo .signature-logo {
    height: 130px;
    margin: 0 auto var(--space-sm);
    filter: brightness(0) invert(1);
    /* Pure white on dark footer */
}

.main-nav.scrolled .site-logo-img {
    filter: none;
    /* Black */
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: invert(1) brightness(2);
    margin-bottom: var(--space-sm);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation Active State - Gold Glow */
.nav-links a.active {
    color: var(--clr-accent-gold);
}

.main-nav.scrolled .nav-links a.active {
    text-shadow: 0 0 20px rgba(194, 157, 89, 0.3);
}

/* Animations - The Breath Motif */
@keyframes pulseBreath {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

.hover-breath:hover {
    animation: pulseBreath 3s infinite ease-in-out;
}

/* Hero Section with Parallax */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--clr-text-main);
    /* Fallback */
}

/* Abstract Light/Dawn Parallax Layer */
.parallax-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    /* We used the uploaded background banner image */
    background: url('../Images/Homepage background banner.webp') no-repeat center center / cover;
    background-color: var(--clr-text-main);
    z-index: 0;
    opacity: 0.9;
    /* adjusted to be a bit clearer but still allow text readability */
    transition: transform 0.1s linear;
    /* Fast linear for JS parallax */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 var(--space-md);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--transition-soft) forwards 0.5s;
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--transition-soft) forwards 0.8s;
}

.hero-cta {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--transition-soft) forwards 1.1s;
}

.hero-cta:hover {
    background-color: #fff;
    color: var(--clr-text-main);
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.4),
        0 0 60px rgba(194, 157, 89, 0.3),
        0 0 90px rgba(194, 157, 89, 0.15);
    transform: translateY(-2px) scale(1.02);
}

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

/* Sections */
.albums-showcase {
    background-color: var(--clr-bg-base);
    text-align: center;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.album-card {
    text-align: left;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.album-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--clr-bg-alt);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
    position: relative;
}

/* Placeholder for album covers */
.album-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--clr-accent-olive), var(--clr-accent-teal));
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.album-card:nth-child(2) .album-image-placeholder {
    background: linear-gradient(135deg, var(--clr-accent-gold), var(--clr-text-muted));
}

.album-image-placeholder.loaded {
    opacity: 1;
}

.album-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.album-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-accent-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.album-link:hover {
    color: var(--clr-text-main);
    text-shadow: 0 0 15px rgba(59, 112, 108, 0.4);
    transform: translateX(3px);
}

.album-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.album-link:hover svg {
    transform: translateX(4px);
}

/* Audio Player Native Toggle */
.audio-preview {
    margin-top: 1rem;
}

.audio-preview audio {
    width: 100%;
    height: 40px;
    border-radius: 20px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2b3a32 0%, #1f2a24 100%);
    color: var(--clr-bg-base);
    padding: var(--space-lg) 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    list-style: none;
}

.footer-nav a:hover {
    color: var(--clr-accent-gold);
}

/* Product Page Layout */
.product-hero {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.product-image {
    flex: 1 1 400px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-details {
    flex: 1 1 400px;
}

.product-meta {
    font-family: var(--font-body);
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.product-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-sm);
}

.product-description {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--clr-text-main);
    font-weight: 300;
    line-height: 1.8;
}

.audio-player-container {
    background: #fff;
    padding: var(--space-sm);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-player-container audio {
    flex-grow: 1;
    height: 40px;
    outline: none;
}

.external-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition-fast);
    border: 1px solid var(--clr-text-main);
    cursor: pointer;
}

.btn-primary {
    background: var(--clr-text-main);
    color: #fff;
}

.btn-primary:hover {
    background: var(--clr-accent-gold);
    border-color: var(--clr-accent-gold);
    color: #fff;
}

.btn-outline:hover {
    background: var(--clr-text-main);
    color: #fff;
}

/* Masonry Grid & Filters - Changed to Fixed Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
    align-items: stretch;
}

.masonry-grid > * {
    height: 100%;
}

@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

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

    /* Remove fixed height on mobile to show full content */
    .masonry-item {
        height: auto !important;
        min-height: 320px !important;
        padding-bottom: 1.5rem !important;
    }

    /* Make "Read Full Article" links touch-friendly */
    .masonry-item a {
        display: inline-block !important;
        padding: 0.75rem 1.5rem !important;
        min-height: 44px !important;
        font-size: 1rem !important;
        background: rgba(106, 156, 137, 0.1) !important;
        border-radius: 25px !important;
        margin-top: 1rem !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
    }

    .masonry-item a:active {
        background: rgba(106, 156, 137, 0.2) !important;
        transform: scale(0.98) !important;
    }
}

.masonry-item {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: var(--space-md);
    transition: var(--transition-soft);
    display: flex;
    flex-direction: column;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: scale(1);
    min-height: 320px;
    overflow: hidden;
}

.masonry-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
}

.masonry-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.masonry-meta {
    font-size: 0.8rem;
    color: var(--clr-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.masonry-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.masonry-item p {
    flex-grow: 1;
    margin-bottom: 0;
}

.masonry-item a {
    margin-top: auto;
    display: block;
    padding-top: 1rem;
}

.filter-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--clr-text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--clr-text-main);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--clr-text-main);
    color: #fff;
    border-color: var(--clr-text-main);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 58, 50, 0.4);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: var(--clr-bg-base);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        z-index: 150;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(43, 58, 50, 0.08);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.3rem;
        color: var(--clr-text-main) !important;
    }

    .nav-links a::after {
        display: none;
    }

    .main-nav {
        mix-blend-mode: normal;
    }

    .main-nav .signature-logo {
        font-size: 1.6rem !important;
    }
}

/* ===== ENHANCED HOVER EFFECTS ===== */
.album-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.album-card:hover {
    transform: translateY(-6px);
}

.album-image-wrapper {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.album-card:hover .album-image-wrapper {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(43, 58, 50, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
    z-index: 50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--clr-accent-gold);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    display: none;
}

/* ===== SKIP LINK (WCAG) ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-text-main);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* ===== FOCUS VISIBLE (WCAG) ===== */
a:focus-visible,
button:focus-visible,
.filter-btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--clr-accent-gold);
    outline-offset: 3px;
}

/* ===== PREFERS REDUCED MOTION (WCAG) ===== */
@media (prefers-reduced-motion: reduce) {

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

    .hero-content *,
    .hero-cta,
    .hero-subtitle,
    .hero-title {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .parallax-bg {
        transform: none !important;
    }
}

/* ===== STAGGERED ALBUM CARD ANIMATIONS ===== */
.album-card:nth-child(1) {
    transition-delay: 0s;
}

.album-card:nth-child(2) {
    transition-delay: 0.15s;
}

.album-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* ===== READING PROGRESS BAR ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--clr-accent-gold);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== NEWSLETTER INPUT ===== */
.newsletter-section input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== FORM VALIDATION ===== */
.form-control:invalid:not(:placeholder-shown) {
    border-color: #cc3333;
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(43, 58, 50, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem var(--space-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 80;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .social-proof {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.sticky-cta .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
}

/* ===== NEWSLETTER GLASSMORPHISM ===== */
.newsletter-section>div {
    background: rgba(43, 58, 50, 0.85) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ===== ABOUT SECTION GLASSMORPHISM ===== */
.about-artist {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: var(--space-xl) var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ===== AWARDS SECTION GLASS BORDER ===== */
.awards-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Award Image Hover Effect */
.awards-container a:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* YouTube Overlay Hover Effect */
.awards-container a:hover div[style*="position: absolute"] {
    background: rgba(204, 0, 0, 1) !important;
}

/* ===== PHASE 1 PREMIUM ENHANCEMENTS ===== */

/* Section Headings - Enhanced Letter-Spacing */
.section-heading {
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* Premium Button Styles */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 25px rgba(194, 157, 89, 0.3);
    transform: translateY(-2px);
    animation: subtle-pulse 2s ease-in-out infinite;
}

.btn-outline:hover {
    box-shadow: 0 0 20px rgba(59, 112, 108, 0.3);
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(194, 157, 89, 0.3);
    }
    50% {
        box-shadow: 0 0 35px rgba(194, 157, 89, 0.4), 0 0 60px rgba(194, 157, 89, 0.15);
    }
}

/* Enhanced Typography - Body Text */
p {
    letter-spacing: 0.01em;
    line-height: 1.8;
}

/* ===== PHASE 2: ATMOSPHERIC DEPTH (ALL PAGES) ===== */

/* Radial Mesh Gradients - Main Background (Enhanced Visibility) */
body {
    background:
        radial-gradient(circle at 20% 30%, rgba(194, 157, 89, 0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 112, 108, 0.06), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(106, 124, 91, 0.03), transparent 60%),
        var(--clr-bg-base);
    background-attachment: fixed;
}

/* Hero Vignette Overlay - Subtle Bottom Shadow for Depth */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(43, 58, 50, 0.45);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(43, 58, 50, 0.5) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Enhanced Album Card Depth - Floating with Glow */
.album-card {
    border: none !important;
    border-radius: 20px !important;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.15),
        0 0 60px rgba(194, 157, 89, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.album-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.22),
        0 0 80px rgba(194, 157, 89, 0.25),
        0 0 120px rgba(59, 112, 108, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* ===== PHASE 2: JOURNAL PAGE UPGRADES ===== */

/* Enhanced Masonry Card Depth - Floating with Glow */
.masonry-item {
    border: none !important;
    border-radius: 20px !important;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.12),
        0 0 60px rgba(194, 157, 89, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.masonry-item:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.20),
        0 0 80px rgba(194, 157, 89, 0.25),
        0 0 120px rgba(59, 112, 108, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

/* Journal Article Link Glow */
.masonry-item a[href*="read-"]:hover {
    text-shadow: 0 0 15px rgba(59, 112, 108, 0.4);
    transform: translateX(3px);
    display: inline-block;
}

/* ===== HOMEPAGE JOURNAL PREVIEW CARDS ===== */
/* Force the homepage journal grid to have equal row heights */
.read-preview div[style*="display: grid"],
.read-preview div[style*="display:grid"] {
    grid-auto-rows: 1fr;
}

.journal-preview-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.journal-preview-card article {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 280px;
    transition: var(--transition-soft);
    overflow: hidden;
}

.journal-preview-card article h3 {
    min-height: 0;
}

.journal-preview-card article p {
    flex-grow: 1;
    margin-bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.journal-preview-card:hover article {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.20),
        0 0 80px rgba(194, 157, 89, 0.25),
        0 0 120px rgba(59, 112, 108, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

/* Journal Cards with Background Images - Reveal More on Hover */
.journal-preview-card:hover article[style*="background-image"],
.masonry-item:hover[style*="background-image"] {
    background-blend-mode: overlay;
    background-size: 105% !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.journal-preview-card article[style*="background-image"],
.masonry-item[style*="background-image"] {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Journal Section Containers */
.journal-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: var(--space-lg) var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    margin-bottom: var(--space-lg);
}

/* Journal Hero Header */
.journal-hero {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.3s;
}

p.journal-hero {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.6s;
}

/* Journal Section Heading Animation */
.journal-section-title {
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

/* Staggered Card Entrance */
.masonry-item:nth-child(1) {
    animation: fadeUp 0.6s ease forwards 0.2s;
    opacity: 0;
    transform: translateY(20px);
}

.masonry-item:nth-child(2) {
    animation: fadeUp 0.6s ease forwards 0.35s;
    opacity: 0;
    transform: translateY(20px);
}

.masonry-item:nth-child(3) {
    animation: fadeUp 0.6s ease forwards 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.masonry-item:nth-child(4) {
    animation: fadeUp 0.6s ease forwards 0.65s;
    opacity: 0;
    transform: translateY(20px);
}

/* ===== PHASE 2: CONTACT PAGE UPGRADES ===== */

/* Contact Page Layout Glassmorphism */
.contact-form {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

/* Contact Info Card */
.contact-info-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Contact Image Enhancement */
.contact-info-card img,
.contact-info img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
}

.contact-info-card img:hover,
.contact-info img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Enhanced Form Focus - Gold Glow */
.contact-form .form-control:focus {
    border-color: var(--clr-accent-gold);
    box-shadow: 0 0 0 3px rgba(194, 157, 89, 0.15), 0 0 20px rgba(194, 157, 89, 0.08);
}

/* Contact Entrance Animations */
.contact-hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.3s;
}

.contact-hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.6s;
}

.contact-animate-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards 0.4s;
}

.contact-animate-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards 0.5s;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}