:root {
    --cream: #f6efe4;
    --cream-deep: #ece1cc;
    --ink: #1e1a16;
    --ink-soft: #2c2722;
    --coffee: #6b4a2b;
    --coffee-deep: #3b2817;
    --accent: #d4a373;
    --muted: #7a6f64;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
}

* { scroll-behavior: smooth; }

html, body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
    max-width: 100%;
}

h1, h2, h3, h4, .display-2, .display-5 {
    font-family: var(--serif);
    font-feature-settings: "ss01";
    letter-spacing: -0.02em;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--coffee);
    margin-bottom: 1rem;
}
.eyebrow.light { color: var(--accent); }

/* ---------- NAV ---------- */
.site-nav {
    background: rgba(246, 239, 228, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0;
}
.brand {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}
.brand-mark {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: inline-block;
}
.site-footer .brand-mark {
    filter: brightness(0) invert(1);
}
.site-nav .nav-link {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.95rem;
}
.site-nav .nav-link:hover { color: var(--coffee); }
.order-btn { border-radius: 999px; font-weight: 500; }

/* ---------- SPLASH MAP ---------- */
.splash-map {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 360px;
    background: var(--cream-deep);
    margin-top: 80px; /* below fixed nav */
}
.splash-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* ---------- HOURS STRIP (TOP) ---------- */
.hours-top {
    background: var(--ink);
    color: var(--cream);
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hours-top-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
    justify-content: space-between;
}
/* ---------- OPEN SIGN ---------- */
.open-sign {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    transform: rotate(-4deg);
    font-family: 'Courier New', monospace;
    text-align: center;
    border: 3px solid;
    position: relative;
    transition: transform 0.2s ease;
}
.open-sign:hover { transform: rotate(-2deg) scale(1.03); }
.open-sign-inner { line-height: 1; }
.open-sign-word {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    padding-left: 0.25em;
}
.open-sign-sub {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.35rem;
    opacity: 0.85;
}

.open-sign--on {
    color: #4ade80;
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.06);
    box-shadow:
        0 0 6px rgba(74, 222, 128, 0.6),
        0 0 18px rgba(74, 222, 128, 0.35),
        inset 0 0 10px rgba(74, 222, 128, 0.15);
    text-shadow:
        0 0 4px rgba(74, 222, 128, 0.9),
        0 0 10px rgba(74, 222, 128, 0.6);
    animation: neon-flicker 4.5s infinite;
}
.open-sign--off {
    color: #ff4d6d;
    border-color: #ff4d6d;
    background: rgba(255, 77, 109, 0.06);
    box-shadow:
        0 0 6px rgba(255, 77, 109, 0.5),
        0 0 16px rgba(255, 77, 109, 0.28),
        inset 0 0 10px rgba(255, 77, 109, 0.12);
    text-shadow:
        0 0 4px rgba(255, 77, 109, 0.85),
        0 0 10px rgba(255, 77, 109, 0.5);
}
@keyframes neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        box-shadow:
            0 0 6px rgba(74, 222, 128, 0.6),
            0 0 18px rgba(74, 222, 128, 0.35),
            inset 0 0 10px rgba(74, 222, 128, 0.15);
        text-shadow:
            0 0 4px rgba(74, 222, 128, 0.9),
            0 0 10px rgba(74, 222, 128, 0.6);
    }
    20%, 24%, 55% {
        box-shadow: none;
        text-shadow: none;
        opacity: 0.85;
    }
}
.hours-top-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
}
.hours-top-list li {
    display: inline-flex;
    gap: 0.5rem;
    align-items: baseline;
}
.hours-top-list li span:first-child {
    color: rgba(246, 239, 228, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}
.hours-top-list .closed {
    color: rgba(246, 239, 228, 0.45);
    font-style: italic;
}
.hours-top-phone {
    color: var(--cream);
    font-family: var(--serif);
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.hours-top-phone:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 640px) {
    .splash-map { height: 45vh; }
    .hours-top-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .hours-top-list {
        justify-content: center;
        gap: 0.5rem 1rem;
    }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 720px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #3b2817 0%, #6b4a2b 100%);
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.hero-content .eyebrow {
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 163, 115, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    margin-bottom: 1.25rem;
}
.btn-hero {
    background: var(--accent);
    color: var(--ink);
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}
.btn-hero:hover {
    background: #e6b788;
    color: var(--ink);
    transform: translateY(-2px);
}
.hero-or {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.delivery-band {
    background: var(--coffee-deep);
    color: var(--cream);
    padding: 2.5rem 0;
}
.delivery-band .eyebrow.light { color: var(--accent); margin-bottom: 1rem; }
.hero-content .lead { font-size: 1.2rem; max-width: 56ch; opacity: 0.92; }
.hero-content .display-2 { line-height: 1; margin: 0.5rem 0 1.25rem; }
.hero-scroll {
    position: absolute; bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 2;
}

/* ---------- SECTIONS ---------- */
.section { padding: 7rem 0; }
#space.section { padding: 0 0 7rem 0; }
.section-dark {
    background: var(--ink);
    color: var(--cream);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-cream { background: var(--cream-deep); }

/* ---------- PLACEHOLDER IMAGES ---------- */
.placeholder-img {
    position: relative;
    width: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(107, 74, 43, 0.08),
        rgba(107, 74, 43, 0.08) 10px,
        rgba(107, 74, 43, 0.14) 10px,
        rgba(107, 74, 43, 0.14) 20px
    );
    border: 1px dashed rgba(107, 74, 43, 0.35);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-deep);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
}
.placeholder-img::before {
    content: attr(data-placeholder);
    opacity: 0.75;
}
.section-dark .placeholder-img {
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.04) 10px,
        rgba(255,255,255,0.08) 10px,
        rgba(255,255,255,0.08) 20px
    );
    border-color: rgba(255,255,255,0.2);
    color: var(--accent);
}
.hero-bg.placeholder-img { border: none; border-radius: 0; color: rgba(255,255,255,0.4); }

.ratio-square { aspect-ratio: 1 / 1; }
.ratio-tall   { aspect-ratio: 3 / 4; }
.ratio-wide   { aspect-ratio: 16 / 9; }
.ratio-4x3    { aspect-ratio: 4 / 3; }
.ratio-map    { aspect-ratio: 4 / 5; }

.story-img,
.space-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}
.space-img { margin-bottom: 1rem; }

/* ---------- STORY GRID ---------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.story-grid > *:nth-child(1) { grid-row: span 2; }
.story-grid > *:nth-child(3) { grid-column: span 2; }

/* ---------- MENU CARDS ---------- */
.menu-card {
    background: var(--ink-soft);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}
.menu-card:hover { transform: translateY(-4px); }
.menu-card-body { padding: 1.5rem 1.5rem 1.75rem; }
.menu-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.menu-card p { color: rgba(246, 239, 228, 0.7); margin: 0; }

/* ---------- SPACE CARDS ---------- */
.space-card h4 {
    font-size: 1.2rem;
    margin: 1rem 0 0.35rem;
}
.space-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- VISIT ---------- */
.info-block { margin-bottom: 1.75rem; }
.info-block h5 {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.info-block p { font-size: 1.1rem; margin: 0; }
.info-block a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hours-table {
    width: 100%;
    max-width: 380px;
    border-collapse: collapse;
}
.hours-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 1.02rem;
}
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table .closed { color: var(--muted); font-style: italic; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.4rem;
}
.ticks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--coffee);
    font-weight: 700;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(246, 239, 228, 0.85);
    padding: 2.5rem 0;
}
.footer-meta { color: rgba(246, 239, 228, 0.8); }
.site-footer .brand { color: var(--cream); }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-socials {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .container { padding-left: 1.25rem; padding-right: 1.25rem; }
    .section { padding: 4.5rem 0; }
    .hero-content { padding: 2rem 1.25rem 3rem; }
    .hero-content .display-2 { font-size: 3rem; }

    .hero {
        display: block;
        min-height: 0;
        color: var(--ink);
        background: var(--cream);
    }
    .hero-bg {
        position: relative;
        inset: auto;
        width: 100%;
        height: 45vh;
        min-height: 260px;
    }
    .hero-overlay { display: none; }
    .hero-content { color: var(--ink); }
    .hero-content .lead { opacity: 1; color: var(--muted); }
    .hero-content .btn-light {
        background: var(--ink);
        color: var(--cream);
        border-color: var(--ink);
    }
    .hero-scroll { display: none; }
}
