/**
 * The Hideaway Pub & Grill
 * Bar Top Coaster Experience - Artifact Panels
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --vignette-x: 50%;
    --vignette-y: 56%;
    --parallax-x: 0px;
    --parallax-y: 0px;
    background: #080604;
    color: #e8e8e8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Global grain texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

/* ============================================
   HERO ENVIRONMENT
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 44% 14%, rgba(236, 189, 112, 0.1) 0%, rgba(236, 189, 112, 0.05) 32%, transparent 62%),
        radial-gradient(ellipse at 58% 74%, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.69) 56%, rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(180deg, #0b0a08 0%, #15110d 52%, #0a0907 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding-bottom: 320px;
    padding-top: 40px;
    overflow: hidden;
}


/* Warm ambient lighting */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 46% 19%, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.08) 28%, transparent 65%);
    pointer-events: none;
    animation: lampFlicker 10s ease-in-out infinite;
    transform: translate3d(var(--parallax-x), calc(var(--parallax-y) * 0.35), 0);
    transition: transform 0.22s ease-out;
    will-change: transform;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--vignette-x) var(--vignette-y), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.35) 78%),
        radial-gradient(circle at 14% 72%, rgba(0, 0, 0, 0.42), transparent 58%),
        radial-gradient(circle at 84% 66%, rgba(0, 0, 0, 0.45), transparent 56%),
        radial-gradient(ellipse at 92% 20%, rgba(0, 0, 0, 0.24) 0%, transparent 52%);
    pointer-events: none;
    opacity: 0.8;
    transition: background-position 0.25s ease;
}


@keyframes lampFlicker {
    0%, 100% { opacity: 0.85; }
    42% { opacity: 0.9; }
    44% { opacity: 0.82; }
    47% { opacity: 0.9; }
    60% { opacity: 0.88; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 1.6rem 2rem 1.5rem;
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-width: 620px;
    width: 90%;
    background: rgba(11, 8, 6, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(5px);
}


.logo {
    width: 200px;
    max-width: 75vw;
    margin: 0 auto 1.1rem;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
    animation: fadeIn 1.2s ease forwards;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.9rem, 4.4vw, 2.55rem);
    color: #f0e5cc;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.04;
    margin-bottom: 0.45rem;
    white-space: nowrap;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    animation: fadeIn 1.2s ease 0.2s forwards;
    opacity: 0;
}


.vibe-line {
    font-size: 0.92rem;
    color: #d8c8a5;
    font-weight: 500;
    letter-spacing: 0.015em;
    line-height: 1.55;
    max-width: 34rem;
    white-space: nowrap;
    margin-bottom: 0.45rem;
    animation: fadeIn 1.2s ease 0.4s forwards;
    opacity: 0;
}

.secret-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.88rem;
    font-style: italic;
    color: #e6d3aa;
    letter-spacing: 0.04em;
    margin-top: 0.1rem;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.2s ease 0.55s forwards;
    opacity: 0;
}

.special-badge {
    margin-top: 0.45rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(216, 162, 74, 0.34);
    background: linear-gradient(180deg, rgba(36, 25, 14, 0.92), rgba(19, 14, 10, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 221, 158, 0.24), inset 0 -1px 0 rgba(0, 0, 0, 0.34);
    color: #e7d8b4;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: fadeIn 1.2s ease 0.7s forwards, badgeGlow 4.4s ease-in-out infinite;
    opacity: 0;
}

.special-badge span {
    color: #dfad58;
    font-weight: 600;
    margin-right: 0.5rem;
    letter-spacing: 0.08em;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
    50% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.14); }
}


@keyframes fadeIn {
    to { opacity: 1; }
}

/* ============================================
   BAR TOP - Enhanced Height & Texture
   ============================================ */

.bar-top {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 290px;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 26px;
    padding-bottom: 0;
    overflow: hidden;
    
    /* Controlled dark wood/laminate bar top */
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.05) 0%, transparent 52%),
        radial-gradient(circle at 80% 28%, rgba(255, 255, 255, 0.04) 0%, transparent 54%),
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.03) 0%, 
            transparent 12%,
            transparent 86%,
            rgba(0, 0, 0, 0.4) 100%
        ),
        repeating-linear-gradient(
            90deg,
            #1b1612 0px,
            #221d18 1.5px,
            #1b1612 3px,
            #1f1a15 5px,
            #1b1612 6px,
            #181410 7.5px,
            #1b1612 9px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(0, 0, 0, 0.05) 2px,
            transparent 4px
        ),
        #1b1612;
    
    /* Bar edge and depth */
    box-shadow: 
        0 -2px 0 rgba(212, 175, 55, 0.14),
        0 -1px 0 rgba(255, 255, 255, 0.05),
        0 -10px 30px rgba(0, 0, 0, 0.62),
        inset 0 3px 6px rgba(255, 255, 255, 0.04),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.bar-top::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.bar-top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(180deg, rgba(20, 15, 12, 0) 0%, rgba(10, 7, 6, 0.65) 40%, rgba(6, 4, 3, 0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 -2px 12px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}


/* Overhead bar lighting */
.bar-lighting {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 58%;
    background: linear-gradient(180deg, 
        rgba(232, 190, 120, 0.12) 0%, 
        rgba(212, 175, 55, 0.05) 34%,
        transparent 75%
    );
    pointer-events: none;
    animation: lightFlicker 12s ease-in-out infinite;
    transform: translate3d(calc(var(--parallax-x) * 0.28), calc(var(--parallax-y) * 0.12), 0);
    transition: transform 0.22s ease-out;
    will-change: transform;
}


@keyframes lightFlicker {
    0%, 100% { opacity: 0.82; }
    43% { opacity: 0.88; }
    45% { opacity: 0.8; }
    50% { opacity: 0.9; }
}

/* ============================================
   COASTERS - Larger & More Tactile
   ============================================ */

.coaster-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 12px 22px;
    position: relative;
    z-index: 3;
    max-width: 332px;
    width: 100%;
}

.coaster-container::before {
    content: '';
    position: absolute;
    inset: -10px -12px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 52%),
        linear-gradient(180deg, rgba(36, 27, 21, 0.82), rgba(18, 13, 10, 0.9));
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.13), 0 12px 22px rgba(0, 0, 0, 0.48);
    z-index: -1;
}


.coaster {
    width: 100%;
    aspect-ratio: 1;
    max-width: 112px;
    margin: 0 auto;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    --tilt: -0.7deg;
    --rest-y: 0px;
    transform: translateY(var(--rest-y)) rotate(var(--tilt));
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease,
                filter 0.3s ease;
    
    /* Coaster resting shadow */
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.55),
        0 2px 5px rgba(0, 0, 0, 0.45),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.coaster::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.24), transparent 52%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.coaster::after {
    content: '';
    position: absolute;
    top: -25%;
    left: -90%;
    width: 42%;
    height: 160%;
    background: linear-gradient(110deg, transparent 0%, rgba(245, 204, 124, 0.52) 50%, transparent 100%);
    opacity: 0;
    transform: rotate(14deg) translateX(0);
    transition: transform 0.55s ease, opacity 0.25s ease;
    pointer-events: none;
}

.coaster:nth-child(2) {
    --tilt: 0.85deg;
    --rest-y: 1px;
}

.coaster:nth-child(3) {
    --tilt: -1deg;
    --rest-y: -1px;
}

.coaster:nth-child(4) {
    --tilt: 0.65deg;
    --rest-y: 0.5px;
}


/* Coaster image */
.coaster-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.coaster-label {
    position: absolute;
    bottom: -12px;
    font-size: 0.65rem;
    color: #b8a890;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    opacity: 0;
    display: none;
    transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

/* Desktop hover - gentle lift */
@media (hover: hover) {
    .coaster:hover {
        transform: translateY(calc(var(--rest-y) - 6px)) rotate(calc(var(--tilt) + 1deg));
        box-shadow: 
            0 16px 28px rgba(0, 0, 0, 0.6),
            0 10px 18px rgba(0, 0, 0, 0.52),
            0 0 20px rgba(212, 175, 55, 0.24),
            inset 0 1px 3px rgba(255, 255, 255, 0.18);
        filter: brightness(1.06);
    }

    .coaster:hover::before {
        opacity: 1;
    }

    .coaster:hover::after {
        opacity: 0.9;
        transform: rotate(14deg) translateX(420%);
    }


    .coaster:hover .coaster-label {
        opacity: 1;
        color: #d4af37;
        transform: translateY(-2px);
    }
}

.coaster:active {
    transform: translateY(calc(var(--rest-y) - 3px)) rotate(calc(var(--tilt) + 0.45deg));
}

/* Active/Click - significant lift + rotation */
.coaster.active {
    transform: translateY(calc(var(--rest-y) - 14px)) rotate(calc(var(--tilt) - 0.9deg)) scale(1.03);
    box-shadow: 
        0 18px 34px rgba(0, 0, 0, 0.65),
        0 10px 18px rgba(0, 0, 0, 0.56),
        0 0 24px rgba(212, 175, 55, 0.28),
        inset 0 2px 4px rgba(255, 255, 255, 0.22);
    filter: brightness(1.08);
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.18s ease,
                filter 0.18s ease;
}


/* ============================================
   CONDENSATION RINGS
   ============================================ */

.condensation-rings {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 12px 22px;
    pointer-events: none;
    z-index: 1;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}



.condensation-ring {
    width: 100%;
    aspect-ratio: 1;
    max-width: 112px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 
        inset 0 0 25px rgba(255, 255, 255, 0.04),
        0 0 12px rgba(255, 255, 255, 0.03);
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.06) 40%,
        rgba(255, 255, 255, 0.02) 70%,
        transparent 100%
    );
}

.condensation-ring.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   MODAL OVERLAYS - Artifact Panels
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1.25rem;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

/* Base artifact styling */
.artifact {
    position: relative;
    max-height: 85vh;
    overflow: visible;
    transform: translateY(16px) scale(0.975);
    transition: transform 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .artifact {
    transform: translateY(0) scale(1);
}

/* Close button for artifacts */
.artifact .modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #d4af37;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.25s ease;
    z-index: 100;
    -webkit-tap-highlight-color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.artifact .modal-close:hover {
    color: #e5c050;
    transform: rotate(90deg);
}

/* ============================================
   1. BAR WALL MENU
   ============================================ */

.artifact-menu {
    max-width: 420px;
    width: 100%;
}

.menu-bg {
    position: relative;
    background: url('images/bar-menu-bg.png') center/cover no-repeat;
    width: 100%;
    max-height: 75vh;
    overflow: hidden;
    overflow-y: auto;
    border-radius: 10px;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.56));
}

.menu-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 4, 3, 0.74) 0%, rgba(6, 4, 3, 0.56) 35%, rgba(6, 4, 3, 0.7) 100%);
    pointer-events: none;
}


.menu-content {
    position: relative;
    padding: 2.2rem 1.8rem;
    color: #efe7d6;
    background: rgba(10, 8, 6, 0.58);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.14);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(1px);
    z-index: 1;
}


.menu-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #e9cf73;
    text-align: center;
    margin-bottom: 1.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.75);
}


.menu-section {
    margin-bottom: 1.9rem;
}

.menu-section h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e7c86a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.7rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}


.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.46rem 0;
    font-size: 0.85rem;
    gap: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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


.item-name {
    color: #f3ead8;
    font-weight: 500;
    flex: 1;
}


.item-price {
    color: #f0d27b;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-left: 0.5rem;
    min-width: 118px;
    text-align: right;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}


/* ============================================
   2. BAR NAPKIN - Happy Hour
   ============================================ */

.artifact-napkin {
    max-width: 340px;
    width: 100%;
}

.napkin-bg {
    background:
        radial-gradient(circle at 25% 10%, rgba(212, 175, 55, 0.14), transparent 40%),
        linear-gradient(165deg, #17120f 0%, #0f0c0a 100%);
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.56));
    overflow: hidden;
}

.napkin-bg::before,
.napkin-bg::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.35), transparent);
}

.napkin-bg::before {
    top: 22%;
}

.napkin-bg::after {
    bottom: 22%;
}

.napkin-content {
    padding: 2.6rem 2.3rem;
    text-align: center;
}

.napkin-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #d4af37;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.napkin-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #f4ead3;
    margin-bottom: 0.8rem;
    letter-spacing: 0.03em;
}

.napkin-note {
    font-size: 0.95rem;
    font-weight: 400;
    color: #d4c5a2;
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* ============================================
   3. MATCHBOOK - Find Us
   ============================================ */

.artifact-matchbook {
    max-width: 390px;
    width: 100%;
}

.matchbook-bg {
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 236, 205, 0.55), transparent 34%),
        linear-gradient(180deg, #f2ddbd 0%, #e7cb9f 44%, #d7b482 100%);
    width: 100%;
    aspect-ratio: 1.55;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(90, 60, 30, 0.3);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 247, 232, 0.5),
        inset 0 -1px 0 rgba(104, 74, 42, 0.34);
    overflow: hidden;
    transform-origin: top center;
}

.matchbook-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="g"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="1.2" numOctaves="2" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="200" height="200" filter="url(%23g)" opacity="0.18"/%3E%3C/svg%3E');
    opacity: 0.18;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.matchbook-bg::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(101, 69, 35, 0.42), transparent);
    box-shadow: 0 1px 0 rgba(255, 243, 224, 0.35);
    pointer-events: none;
}

.matchbook-content {
    padding: 2rem 1.7rem 1.5rem;
    text-align: center;
    width: 100%;
    display: grid;
    grid-template-rows: auto auto auto auto auto 1fr;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
}

.matchbook-name {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #3f2d1b;
    letter-spacing: 0.18em;
    margin-bottom: 0.08rem;
}

.matchbook-type {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.62rem;
    color: #705034;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.matchbook-address {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    color: #4b3520;
    line-height: 1.35;
    letter-spacing: 0.035em;
    margin: 0;
}

.matchbook-phone {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3a2818;
    margin: 0.75rem 0 1rem;
    letter-spacing: 0.09em;
}

.matchbook-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    color: #412c19;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.62rem 0.95rem;
    border-radius: 8px;
    border: 1px solid rgba(88, 58, 31, 0.42);
    background: linear-gradient(180deg, rgba(255, 244, 220, 0.45), rgba(199, 161, 111, 0.18));
    margin-top: auto;
    width: 100%;
    transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.matchbook-link:hover {
    background: linear-gradient(180deg, rgba(255, 244, 220, 0.62), rgba(199, 161, 111, 0.24));
    border-color: rgba(88, 58, 31, 0.62);
    transform: translateY(-1px);
}

#location-modal .modal-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
    color: #5a3d21;
    border-radius: 50%;
    border: 1px solid rgba(90, 61, 33, 0.35);
    background: rgba(247, 227, 196, 0.78);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

#location-modal .modal-close:hover {
    color: #3f2a16;
    transform: translateY(-1px);
    background: rgba(250, 233, 204, 0.92);
}

#location-modal.active .artifact-matchbook {
    transform: perspective(1000px) rotateX(0) translateY(0) scale(1);
}

#location-modal .artifact-matchbook {
    transform: perspective(1000px) rotateX(-9deg) translateY(20px) scale(0.97);
}

/* ============================================
   4. CHALKBOARD - Vibe
   ============================================ */

.artifact-chalkboard {
    max-width: 400px;
    width: 100%;
}

.chalkboard-bg {
    background:
        radial-gradient(circle at 18% 8%, rgba(220, 176, 88, 0.12), transparent 40%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.03), transparent 45%),
        linear-gradient(180deg, #12100d 0%, #0d0b09 55%, #090806 100%);
    width: 100%;
    aspect-ratio: 0.95;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.62),
        inset 0 0 0 1px rgba(0, 0, 0, 0.45),
        inset 0 0 30px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.chalkboard-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="g"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="1.05" numOctaves="2" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="200" height="200" filter="url(%23g)" opacity="0.14"/%3E%3C/svg%3E');
    opacity: 0.15;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.chalkboard-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow:
        inset 0 0 65px rgba(0, 0, 0, 0.46),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.chalkboard-content {
    padding: 2.55rem 2.2rem 2.35rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.vibe-title {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ead8b3;
    margin-bottom: 1.58rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.chalk-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chalk-list li {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.08rem;
    font-weight: 500;
    color: rgba(243, 233, 214, 0.95);
    line-height: 1.5;
    margin-bottom: 0.84rem;
    padding-left: 1.15rem;
    position: relative;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 0 1px rgba(255, 255, 255, 0.14);
    letter-spacing: 0.015em;
}

.chalk-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(215, 173, 84, 0.85);
    box-shadow: 0 0 8px rgba(215, 173, 84, 0.2);
}

#vibe-modal .modal-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
    color: #ddba71;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: rgba(15, 12, 9, 0.7);
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

#vibe-modal .modal-close:hover {
    color: #f2d393;
    transform: translateY(-1px);
    background: rgba(17, 13, 10, 0.9);
}

#vibe-modal .artifact-chalkboard {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

#vibe-modal.active .artifact-chalkboard {
    opacity: 1;
    transform: translateY(9px) scale(1);
}

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

/* Tablet and up */
@media (min-width: 640px) {
    .hero {
        padding-bottom: 280px;
        padding-top: 40px;
    }
    
    .hero-content {
        padding: 2.1rem 3.2rem 2rem;
        max-width: 700px;
        margin-top: 1.2rem;
    }
    
    .logo {
        width: 340px;
        margin-bottom: 1.25rem;
    }

    .tagline {
        margin-bottom: 0.8rem;
    }

    .vibe-line {
        font-size: 1.06rem;
        margin-bottom: 0.4rem;
    }

    .secret-line {
        font-size: 0.96rem;
    }

    .special-badge {
        font-size: 0.78rem;
    }

    .bar-top {
        height: 260px;
        padding-top: 28px;
        padding-bottom: 0;
    }
    
    .coaster-container,
    .condensation-rings {
        grid-template-columns: repeat(4, 1fr);
        gap: 36px;
        max-width: 720px;
        padding: 14px 32px;
    }
    
    .coaster,
    .condensation-ring {
        max-width: 130px;
    }
    
    .coaster-label {
        font-size: 0.76rem;
        bottom: -16px;
        display: block;
        opacity: 0.85;
    }

    .modal {
        padding: 2rem;
    }
    
    /* Artifacts scale up on tablet */
    .artifact-menu {
        max-width: 480px;
    }
    
    .menu-title {
        font-size: 1.8rem;
    }
    
    .menu-section h3 {
        font-size: 0.9rem;
    }
    
    .menu-item {
        font-size: 0.9rem;
    }
    
    .item-price {
        font-size: 0.85rem;
    }
    
    .artifact-napkin {
        max-width: 380px;
    }
    
    .napkin-time {
        font-size: 2.65rem;
    }
    
    .napkin-note {
        font-size: 1rem;
        max-width: 260px;
    }
    
    .artifact-matchbook {
        max-width: 420px;
    }
    
    .matchbook-name {
        font-size: 1.1rem;
    }
    
    .matchbook-address {
        font-size: 0.8rem;
    }
    
    .matchbook-phone {
        font-size: 0.9rem;
    }
    
    .artifact-chalkboard {
        max-width: 420px;
    }

    .vibe-title {
        font-size: 1.78rem;
    }
    
    .chalk-list li {
        font-size: 1.2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero {
        padding-bottom: 280px;
        padding-top: 60px;
    }
    
    .hero-content {
        max-width: 760px;
        padding: 2.4rem 4rem 2.2rem;
        margin-top: 1.8rem;
    }
    
    .logo {
        width: 400px;
        margin-bottom: 1.8rem;
    }
    
    .tagline {
        font-size: 2.55rem;
    }
    
    .vibe-line {
        font-size: 1.1rem;
    }
    
    .secret-line {
        font-size: 1.02rem;
    }
    
    .bar-top {
        height: 260px;
    }
    
    .coaster,
    .condensation-ring {
        max-width: 138px;
    }
    
    .coaster-container,
    .condensation-rings {
        gap: 44px;
        max-width: 760px;
    }
    
    .artifact-menu {
        max-width: 520px;
    }
    
    .artifact-napkin {
        max-width: 400px;
    }
    
    .artifact-matchbook {
        max-width: 450px;
    }
    
    .artifact-chalkboard {
        max-width: 450px;
    }

    .vibe-title {
        font-size: 1.9rem;
    }
}
