/* ==========================================================================
   Man Man Vinyl Club — Theme CSS
   Design: Dark Jazz Kissa / Analog Warmth
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=Noto+Serif+TC:wght@400;600&display=swap');

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
    /* Core Palette */
    --rich-black: #0D0905;
    --espresso: #1A1108;
    --espresso-mid: #241810;
    --espresso-lt: #2E2116;
    --walnut: #3D2B14;
    --amber: #C8781A;
    --amber-glow: #E08B20;
    --amber-dim: #8B5412;
    --cream: #F2EDE4;
    --cream-dark: #C4BAA8;
    --muted: #7A6E5F;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    /* Spacing */
    --section-pad: 130px 0;
    --section-pad-sm: 80px 0;

    /* Effects */
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-amber: 0 12px 48px rgba(200, 120, 26, 0.15);
    --shadow-card: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(242, 237, 228, 0.05);
    --radius-card: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--rich-black);
    color: var(--cream-dark);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Grain texture overlay */
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: 9998;
    pointer-events: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    color: var(--cream);
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--cream);
}

.section-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--amber);
    margin-bottom: 18px;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--cream-dark);
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-padding {
    padding: var(--section-pad);
    scroll-margin-top: 90px;
}

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

/* Decorative amber rule */
.amber-rule {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--amber);
    margin: 24px auto 0;
    opacity: 0.6;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 42px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 40px;
    transition: var(--transition-base);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--amber);
    color: var(--rich-black);
    border-color: var(--amber);
}

.btn-primary:hover {
    background-color: var(--amber-glow);
    border-color: var(--amber-glow);
    color: var(--rich-black);
    box-shadow: 0 0 32px rgba(200, 120, 26, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--cream);
    border-color: rgba(242, 237, 228, 0.35);
}

.btn-outline:hover {
    background-color: rgba(242, 237, 228, 0.08);
    border-color: var(--cream);
    color: var(--cream);
    transform: translateY(-2px);
}

/* ==========================================================================
   Sticky Glass Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 64px);
    max-width: 1200px;
    z-index: 1000;
    transition: top var(--transition-base),
        background var(--transition-base),
        box-shadow var(--transition-base),
        width var(--transition-base);
    border-radius: 60px;
    padding: 14px 30px;
    /* Initial state: transparent */
    background: transparent;
}

.site-header.scrolled {
    background: rgba(18, 11, 5, 0.75);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(242, 237, 228, 0.1);
    top: 14px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-link {
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

.text-logo {
    font-family: 'Noto Serif TC', var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    font-style: italic;
    color: var(--cream);
    letter-spacing: 0.01em;
    transition: color var(--transition-base);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.text-logo:hover {
    color: var(--amber);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(242, 237, 228, 0.75);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color var(--transition-base);
    position: relative;
    padding-bottom: 2px;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--cream);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-header {
    padding: 10px 26px;
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(242, 237, 228, 0.3);
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-header:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--rich-black);
}

/* Mobile hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream, #f2ede4);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    z-index: 1200;
    position: relative;
    flex-shrink: 0;
}

/* ==========================================================================
   Mobile Drawer
   ========================================================================== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100dvh;
    background: var(--espresso);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    padding: 60px 40px 48px;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(200, 120, 26, 0.1);
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-close {
    position: absolute;
    top: 22px;
    right: 24px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-base);
    padding: 6px;
    line-height: 1;
}

.drawer-close:hover {
    color: var(--cream);
}

.drawer-logo {
    font-family: 'Noto Serif TC', var(--font-heading);
    font-size: 0.96rem;
    font-style: italic;
    color: var(--amber);
    margin-bottom: 52px;
}

.drawer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.drawer-nav li {
    border-bottom: 1px solid rgba(242, 237, 228, 0.06);
}

.drawer-nav a {
    display: block;
    padding: 18px 0;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--cream-dark);
    transition: color var(--transition-base), padding-left var(--transition-base);
}

.drawer-nav a:hover {
    color: var(--amber);
    padding-left: 8px;
}

.drawer-book-btn {
    margin-top: 48px;
    display: block;
    text-align: center;
    padding: 16px 24px;
    background: var(--amber);
    color: var(--rich-black);
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: var(--transition-base);
}

.drawer-book-btn:hover {
    background: var(--amber-glow);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.fullscreen-hero {
    position: relative;
    height: 100dvh;
    min-height: 660px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 6, 3, 0.55) 0%,
            rgba(10, 6, 3, 0.72) 50%,
            rgba(10, 6, 3, 0.92) 100%);
    z-index: 1;
}

/* Grain on hero */
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.08;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--amber);
    margin-bottom: 28px;
    display: block;
}

.hero-hook {
    font-family: var(--font-heading);
    color: var(--cream);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero-hook em {
    font-style: normal;
    color: var(--amber);
}

.hero-tagline {
    color: var(--cream-dark);
    font-size: clamp(0.85rem, 2vw, 1rem);
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 48px;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity var(--transition-base);
    animation: scroll-bounce 2.4s ease-in-out infinite;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cream-dark);
}

.scroll-indicator svg {
    width: 18px;
    height: 18px;
    stroke: var(--amber);
    fill: none;
}

@keyframes scroll-bounce {

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

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

/* ==========================================================================
   Section: The Experience
   ========================================================================== */
.the-experience {
    background-color: var(--espresso);
    position: relative;
}

.the-experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber-dim), transparent);
}

.concept-text {
    max-width: 680px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.88;
    color: var(--cream-dark);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 860px;
    margin: 0 auto;
}

.info-card {
    background: var(--espresso-mid);
    border: 1px solid rgba(242, 237, 228, 0.08);
    border-radius: var(--radius-card);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--amber);
    opacity: 0.6;
}

.info-card:hover {
    box-shadow: var(--shadow-amber);
    border-color: rgba(200, 120, 26, 0.3);
}

.subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.72rem;
    color: var(--amber);
    margin-bottom: 24px;
    font-weight: 500;
}

.rules-list,
.gear-list {
    list-style: none;
}

.rules-list li {
    margin-bottom: 14px;
    font-size: 0.975rem;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--cream-dark);
}

.rules-list i {
    color: var(--amber);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.8;
}

.gear-list li {
    margin-bottom: 14px;
    font-size: 0.975rem;
    color: var(--cream-dark);
}

.gear-list li strong {
    color: var(--cream);
    font-weight: 500;
}

/* ==========================================================================
   Section: Booking / Listening Sessions
   ========================================================================== */
.booking-sessions {
    background-color: var(--espresso-lt);
    position: relative;
}

.booking-sessions::before,
.booking-sessions::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 120, 26, 0.35), transparent);
}

.booking-sessions::before {
    top: 0;
}

.booking-sessions::after {
    bottom: 0;
}

.section-ornament {
    text-align: center;
    color: var(--amber-dim);
    font-size: 0.7rem;
    letter-spacing: 8px;
    margin-bottom: 48px;
    opacity: 0.6;
}

.section-desc {
    font-size: 1rem;
    color: var(--cream-dark);
    max-width: 500px;
    margin: 0 auto 48px;
    text-align: center;
    line-height: 1.8;
}

.customized-booking {
    padding: 0;
    max-width: none;
    margin: 0 auto;
}


/* Specific override for the booking section padding to save vertical space at 100% zoom */
#booking.section-padding {
    padding: 60px 0;
}

/* ==========================================================================
   Section: Vinyl Collection
   ========================================================================== */
.vinyl-collection {
    background-color: var(--espresso-mid);
    position: relative;
}

/* Reduce the gap between Philosophy and Collection — both use section-padding
   which gives 130px top + 130px bottom = 260px combined. Cut it to ~80px. */
.the-experience.section-padding {
    padding-bottom: 60px;
}

#collection.section-padding {
    padding-top: 60px;
}

/* Amber gradient rule — same treatment as .the-experience::before */
.vinyl-collection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber-dim), transparent);
}

.vinyl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 60px;
}

.vinyl-item {
    text-align: left;
}

.album-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-card);
    background: var(--walnut);
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

/* The spinning record effect */
.album-cover .vinyl-disc-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.album-cover:hover .vinyl-disc-overlay {
    opacity: 1;
}

.vinyl-disc-svg {
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a1a 20%, #2b2b2b 30%, #1a1a1a 31%, #3a3a3a 60%, #1a1a1a 61%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06), 0 8px 30px rgba(0, 0, 0, 0.6);
    animation: none;
    transform-origin: center;
}

.album-cover.is-hovered .vinyl-disc-svg {
    animation: vinyl-spin 3s linear infinite;
}

@keyframes vinyl-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease, filter 0.5s ease;
}

.album-cover:hover img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 3;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.album-cover:hover .album-overlay {
    opacity: 1;
    transform: translateY(0);
}

.album-genre {
    display: inline-block;
    color: var(--rich-black);
    background: var(--amber);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 12px;
    border-radius: 2px;
}

.album-title {
    font-size: 1rem;
    margin-top: 14px;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    color: var(--cream);
    letter-spacing: 0.01em;
}

.album-artist {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 3px;
}

/* ==========================================================================
   Section: Cafe Menu
   ========================================================================== */
.cafe-menu {
    background-color: var(--rich-black);
    position: relative;
}

.cafe-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber-dim), transparent);
}

.menu-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 880px;
    margin: 60px auto 0;
}

.menu-heading {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--amber);
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(200, 120, 26, 0.2);
    position: relative;
}

.menu-divider {
    border: none;
    border-top: 1px solid rgba(200, 120, 26, 0.12);
    margin: 40px 0;
}

.menu-item {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(242, 237, 228, 0.06);
    transition: padding-left var(--transition-base);
}

.menu-item:hover {
    padding-left: 6px;
}

.menu-item:last-child {
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    color: var(--cream);
    margin: 0;
    flex: 1;
}

.item-price {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--amber);
    white-space: nowrap;
    flex-shrink: 0;
}

.item-tags {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

.highlight-item .item-name {
    color: var(--amber);
}

/* ==========================================================================
   Footer / Contact Section
   ========================================================================== */
.site-footer {
    background: var(--espresso);
    color: var(--cream-dark);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.footer-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, var(--rich-black), transparent);
    pointer-events: none;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-heading {
    font-family: var(--font-heading);
    color: var(--amber);
    font-style: italic;
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 14px;
    line-height: 1.2;
}

.brand-text {
    font-size: 0.9rem;
    color: var(--cream-dark);
    line-height: 1.7;
    margin-bottom: 10px;
}

.brand-text a,
.brand-text a:visited,
.brand-text a:hover {
    color: inherit;
    text-decoration: none;
}

.parking-info {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.65;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(200, 120, 26, 0.2);
    border-radius: 50%;
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-base);
}

.social-links a:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: rgba(200, 120, 26, 0.08);
}

.map-wrapper {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid rgba(200, 120, 26, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(100%) invert(85%) contrast(80%) sepia(20%);
}

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 70px;
    padding-top: 24px;
    border-top: 1px solid rgba(242, 237, 228, 0.06);
    letter-spacing: 1px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.72rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color var(--transition-base);
}

.footer-legal-links a:hover {
    color: var(--amber);
}

.footer-legal-sep {
    font-size: 0.72rem;
    color: var(--muted);
    opacity: 0.4;
}

/* ==========================================================================
   Ambient Audio Player (Vinyl Disc)
   ========================================================================== */
.ambient-player {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 999;
    background: rgba(26, 17, 8, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 20px 10px 10px;
    border-radius: 50px;
    border: 1px solid rgba(200, 120, 26, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.ambient-player:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), var(--shadow-amber);
}

/* Vinyl disc button */
.audio-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.vinyl-disc {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
            #111 0%,
            #111 18%,
            var(--amber-dim) 18.5%,
            #111 19%,
            #2a2a2a 38%,
            #111 38.5%,
            #2a2a2a 62%,
            #111 62.5%,
            #2a2a2a 80%,
            var(--amber-dim) 80.5%,
            #1a1a1a 81%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    transition: box-shadow var(--transition-base);
    position: relative;
}

.vinyl-disc::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
}

.vinyl-disc.is-spinning {
    animation: vinyl-spin 2s linear infinite;
    box-shadow: 0 2px 16px rgba(200, 120, 26, 0.4);
}

.audio-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cream-dark);
    font-weight: 400;
    white-space: nowrap;
}

/* ==========================================================================
   Scroll Animations (Intersection Observer)
   ========================================================================== */
.section-fade-up {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1) var(--stagger-delay, 0s),
        transform 1.1s cubic-bezier(0.25, 1, 0.5, 1) var(--stagger-delay, 0s);
}

.section-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1) var(--stagger-delay, 0s),
        transform 1.0s cubic-bezier(0.25, 1, 0.5, 1) var(--stagger-delay, 0s);
}

.section-slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.section-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.0s cubic-bezier(0.25, 1, 0.5, 1) var(--stagger-delay, 0s),
        transform 1.0s cubic-bezier(0.25, 1, 0.5, 1) var(--stagger-delay, 0s);
}

.section-slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Focus Accessibility
   ========================================================================== */
:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ==========================================================================
   @media — Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    .section-fade-up,
    .section-slide-left,
    .section-slide-right {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .scroll-indicator {
        animation: none;
    }

    .vinyl-disc.is-spinning,
    .vinyl-disc-svg {
        animation: none !important;
    }

    .album-cover:hover img {
        transform: none;
    }
}

/* ==========================================================================
   Responsive — Tablet Header
   ========================================================================== */
@media (max-width: 1200px) {
    .main-navigation .nav-menu,
    .main-navigation .btn-header {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: var(--cream, #f2ede4) !important;
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0; /* always keep hamburger fully visible */
    }
}

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */
@media (max-width: 960px) {

    .experience-grid,
    .menu-layout,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .menu-layout {
        gap: 40px;
    }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --section-pad: var(--section-pad-sm);
    }

    .section-padding {
        padding: var(--section-pad-sm);
    }

    /* Header becomes full-width bar on mobile */
    .site-header {
        top: 0;
        width: 100%;
        border-radius: 0;
        padding: 14px 20px;
    }

    .site-header.scrolled {
        top: 0;
        border-radius: 0;
    }

    .text-logo {
        font-size: 1.0rem; /* slightly smaller on mobile so more text fits */
    }

    .hero-hook {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .ambient-player {
        bottom: 18px;
        right: 18px;
    }

    .customized-booking {
        padding: 24px 18px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .vinyl-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 12px 16px;
    }

    h2.section-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .container {
        padding: 0 20px;
    }
}

/* ==========================================================================
   Page Template — Hero + Content
   Used by page.php for collection, incoming, and other WordPress pages.
   ========================================================================== */
.page-hero {
    padding: 160px 0 60px;
    background: var(--espresso);
    border-bottom: 1px solid rgba(200, 120, 26, 0.1);
    text-align: center;
}

.page-content {
    background: var(--espresso);
    padding: 80px 0 120px;
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */
.legal-content {
    padding: 60px 0 120px;
}

.legal-body {
    max-width: 780px;
    margin: 0 auto;
    color: var(--cream-dark);
    line-height: 1.85;
    font-size: 0.95rem;
}

.legal-updated {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(200, 120, 26, 0.15);
    padding-bottom: 1rem;
}

.legal-body h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--cream);
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(200, 120, 26, 0.2);
}

.legal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--amber);
    margin: 1.8rem 0 0.5rem;
}

.legal-body p {
    margin-bottom: 1.1rem;
}

.legal-body ul,
.legal-body ol {
    margin: 0.5rem 0 1.1rem 1.5rem;
}

.legal-body li {
    margin-bottom: 0.45rem;
}

.legal-body a {
    color: var(--amber);
    text-decoration: underline;
}

.legal-body a:hover {
    color: var(--cream);
}

.legal-footer-nav {
    max-width: 780px;
    margin: 3rem auto 0;
}

/* ==========================================================================
   ManMan Vinyl Plugin — Dark Theme Integration
   Overrides the plugin's default light-theme CSS variables and component
   styles so plugin cards sit comfortably inside the dark Jazz Kissa palette.

   Uses `body .selector` (specificity 0-1-1) to beat the plugin's own
   (0-1-0) variable declarations regardless of stylesheet load order.
   ========================================================================== */

/* ── CSS Variable Bridge ──────────────────────────────────────────────────── */
body .manman-vinyl-collection,
body .manman-vinyl-coming-soon-section,
body .manman-vinyl-featured-section {
    --mm-bg-main:        var(--espresso-lt);
    --mm-bg-panel:       var(--espresso-mid);
    --mm-bg-card:        var(--espresso-mid);
    --mm-text-dark:      var(--cream);
    --mm-text-muted:     var(--cream-dark);
    --mm-accent-primary: var(--amber);
    --mm-accent-hover:   var(--amber-glow);
    --mm-border:         rgba(242, 237, 228, 0.08);
    --mm-focus-ring:     rgba(200, 120, 26, 0.25);
}

/* ── Card ────────────────────────────────────────────────────────────────── */
body .manman-vinyl-card {
    background: var(--espresso-mid);
    border-color: rgba(242, 237, 228, 0.07);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

body .manman-vinyl-card:hover {
    border-color: var(--amber);
    box-shadow: 0 12px 40px rgba(200, 120, 26, 0.18), 0 0 0 1px var(--amber);
}

/* ── Cover area ───────────────────────────────────────────────────────────── */
body .manman-vinyl-cover {
    border-bottom: none; /* remove the separator line — card body bg provides the break */
    background: var(--walnut); /* matches card body so any sub-pixel image gap blends in */
}

/* ── Card body — lighter warm background so text is easy to read ──────────── */
body .manman-vinyl-card-body {
    background: var(--walnut);
}

/* ── Card title — Cormorant Garamond italic to match theme headings ──────── */
body .manman-vinyl-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 400;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    color: var(--cream);
    line-height: 1.3;
}

body .manman-vinyl-artist {
    font-family: var(--font-body);
    color: var(--muted);
    font-size: 0.8rem;
}

/* ── Meta badges — softer on dark backgrounds ────────────────────────────── */
body .manman-badge-genre { background: rgba(169, 50, 38, 0.25);  color: #e8907e; }
body .manman-badge-year  { background: rgba(31, 99, 144, 0.25);  color: #7db8e0; }
body .manman-badge-lang  { background: rgba(30, 126, 52, 0.25);  color: #78d98f; }

/* ── Search input ─────────────────────────────────────────────────────────── */
body .manman-vinyl-search-input {
    background: var(--espresso-lt);
    border-color: rgba(242, 237, 228, 0.12);
    color: var(--cream);
}

body .manman-vinyl-search-input::placeholder { color: var(--muted); }

body .manman-vinyl-search-input:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(200, 120, 26, 0.15);
}

/* ── Filter selects ───────────────────────────────────────────────────────── */
body .manman-vinyl-filters select {
    background-color: var(--espresso-lt);
    border-color: rgba(242, 237, 228, 0.12);
    color: var(--cream);
    /* Amber chevron arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8781A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

body .manman-vinyl-filters select:hover,
body .manman-vinyl-filters select:focus {
    background-color: var(--espresso-mid);
    border-color: var(--amber);
}

/* Select options inherit OS dark rendering — force dark bg as fallback */
body .manman-vinyl-filters select option { background: var(--espresso); }

/* ── Toolbar supporting elements ──────────────────────────────────────────── */
body .manman-vinyl-search-count  { color: var(--muted); }
body .manman-vinyl-search-clear  { color: var(--cream-dark); }
body .manman-vinyl-search-clear:hover { color: var(--amber); }
body .manman-vinyl-search-icon   { color: var(--muted); }

/* ── Empty / no-results states ───────────────────────────────────────────── */
body .manman-vinyl-empty,
body .manman-vinyl-no-results {
    background: var(--espresso-lt);
    border-color: rgba(242, 237, 228, 0.06);
    color: var(--muted);
}

/* ── Pagination — pill style to match theme buttons ─────────────────────── */
body .manman-vinyl-btn {
    background: transparent;
    border-color: rgba(200, 120, 26, 0.4);
    color: var(--amber);
    border-radius: 40px;
}

body .manman-vinyl-btn:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--rich-black);
    box-shadow: 0 0 24px rgba(200, 120, 26, 0.3);
}

body .manman-vinyl-btn.is-disabled,
body .manman-vinyl-btn[aria-disabled="true"] {
    border-color: rgba(242, 237, 228, 0.1);
    color: var(--muted);
    box-shadow: none;
}

body .manman-vinyl-page-info { color: var(--cream-dark); }

/* ── Show All wrapper — tighten vertical space on the homepage ───────────── */
#collection .manman-vinyl-show-all {
    padding-bottom: 0;
    margin-bottom: 0;
}

#collection.section-padding {
    padding-bottom: 60px;
}

/* ── Show All button — pill style matching .btn-primary ─────────────────── */
body .manman-vinyl-show-all-btn {
    background: var(--amber);
    color: var(--rich-black) !important;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 42px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(200, 120, 26, 0.2);
}

body .manman-vinyl-show-all-btn:hover {
    background: var(--amber-glow);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200, 120, 26, 0.4);
    text-decoration: none !important;
}

/* ── Incoming ribbon ──────────────────────────────────────────────────────── */
body .manman-vinyl-badge-coming-soon {
    background: var(--amber);
    color: var(--rich-black);
    box-shadow: 0 2px 8px rgba(200, 120, 26, 0.3);
}

/* ==========================================================================
   Man Man Booking Plugin — Theme Isolation Overrides
   These rules MUST live here (after the global h1-h6 cream rule above)
   so they win by CSS source order without needing !important.
   ========================================================================== */

/* Headings inside the booking card use the plugin's dark text var */
.manman-booking-wrapper h1,
.manman-booking-wrapper h2,
.manman-booking-wrapper h3,
.manman-booking-wrapper h4,
.manman-booking-wrapper h5,
.manman-booking-wrapper h6 {
    color: var(--manman-text, #362511) !important;
    font-style: normal;
    letter-spacing: normal;
}

/* Right-column (Booking Ticket) is always white — keep text dark */
.manman-layout-split .manman-right-column h1,
.manman-layout-split .manman-right-column h2,
.manman-layout-split .manman-right-column h3,
.manman-layout-split .manman-right-column h4 {
    color: #1a1a1a !important;
}

/* Form labels inherit the booking text color */
.manman-booking-wrapper label,
.manman-contact-form label {
    color: var(--manman-text, #362511) !important;
}

/* Hint / helper text */
.manman-booking-wrapper .manman-hint {
    color: var(--manman-text, #362511) !important;
}

/* Wizard step indicators */
.manman-booking-wrapper .wizard-step {
    color: var(--manman-text, #362511) !important;
}