:root {
    --ink: #141414;
    --muted: #70757d;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --card: #ffffff;
    --accent: #2b1fff;
    --accent-2: #5c52ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, sans-serif;
    color: var(--ink);
    background: #fff;
}

a { color: inherit; text-decoration: none; }
.page-shell { max-width: 1280px; margin: 0 auto; }
.section-divider { border-top: 1px solid var(--line); }
.top-strip { font-size: 12px; color: var(--muted); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
}
.nav-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: #5f6368;
    font-size: 16px;
}
.nav-link:hover { background: #f3f4f6; color: #111; }
.nav-link-active { background: #171717; color: #fff; }
.nav-link-active:hover { background: #171717; color: #fff; }
.cart-btn {
    border: 1px solid var(--line);
    background: #fff;
    padding: 14px 18px;
    min-width: 132px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 2px;
    font-weight: 500;
    color: #222;
}
.mobile-nav {
    position: relative;
    display: none;
}
.mobile-nav > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav-toggle {
    position: relative;
    width: 18px;
    height: 12px;
}
.mobile-nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #171717;
    transition: 0.2s ease;
}
.mobile-nav-toggle span:nth-child(1) { top: 0; }
.mobile-nav-toggle span:nth-child(2) { top: 5px; }
.mobile-nav-toggle span:nth-child(3) { bottom: 0; }
.mobile-nav[open] .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.mobile-nav[open] .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
}
.mobile-nav[open] .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}
.mobile-nav-backdrop {
    display: none;
}
.mobile-nav[open] .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    z-index: 45;
}
.mobile-nav-panel {
    position: fixed;
    right: 1rem;
    left: 1rem;
    top: 76px;
    width: auto;
    max-width: 320px;
    margin-left: auto;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    border-radius: 16px;
    padding: 8px;
    display: none;
    gap: 4px;
    z-index: 50;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
}
.mobile-nav[open] .mobile-nav-panel {
    display: grid;
}
.mobile-nav-panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #222;
    font-weight: 500;
}
.mobile-nav-panel a:hover {
    background: #f3f4f6;
}
.hero-space { min-height: 58vh; display: flex; align-items: center; }
.hero-with-bg {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.55) 100%);
    z-index: 0;
}
.muted { color: var(--muted); }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.progressive-img {
    /* Thumbnail-first loading swaps the src once the full image is ready —
       intentionally no blur/fade/scale transition, so there is no visible
       "loading" animation, just a plain instant image. */
}
.zoom-lens-cursor { cursor: zoom-in; }
.zoom-lens {
    position: fixed;
    width: 220px;
    height: 220px;
    border-radius: 9999px;
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    background-repeat: no-repeat;
    background-color: #f8fafc;
    pointer-events: none;
    z-index: 9999;
}
.label { font-size: 15px; font-weight: 500; color: #222; display: block; }
.input, .select, .textarea {
    width: 100%;
    border: 1px solid #ddd;
    background: #fff;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    outline: none;
}
.input:focus, .select:focus, .textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43,31,255,0.08);
}
.btn-primary {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    padding: 14px 20px;
    border-radius: 2px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: #222;
    padding: 14px 20px;
    border-radius: 2px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-secondary:hover { background: #f3f4f6; }
.btn-accent-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-accent-active:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.category-tile {
    position: relative;
    display: flex;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.category-tile:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.category-tile.is-active {
    border-color: var(--ink);
    background: #f3f4f6;
}
.category-tile-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.05));
}
.category-tile-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.category-tile-icon {
    position: relative;
    z-index: 2;
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
}
.category-tile-label {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.footer-link { color: #666; }
.footer-link:hover { color: #111; }

@media (max-width: 767px) {
    body {
        font-size: 15px;
        -webkit-text-size-adjust: 100%;
    }

    .mobile-nav {
        display: block;
    }

    .page-shell {
        max-width: 100%;
    }

    .site-header .page-shell {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-header .flex.items-center.justify-between {
        gap: 0.75rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .site-header img {
        height: 40px !important;
    }

    .cart-btn {
        padding: 10px 12px;
        min-width: 0;
        gap: 6px;
    }

    .cart-btn span:last-child {
        display: none;
    }

    .hero-space {
        min-height: auto;
        padding-top: 2rem;
    }

    h1 {
        font-size: clamp(2.3rem, 9vw, 3.5rem) !important;
        line-height: 1.05;
    }

    h2 {
        font-size: clamp(1.9rem, 7vw, 2.7rem) !important;
        line-height: 1.12;
    }

    h3 {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }

    h3.text-4xl {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
        line-height: 1.15;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .input,
    .select,
    .textarea {
        padding: 12px 13px;
        font-size: 16px;
    }

    .card {
        border-radius: 1rem;
    }

    body {
        overflow-x: hidden;
    }

    .contact-main {
        padding: 1.5rem 1rem;
    }

    .contact-main .card {
        padding: 1.25rem;
    }

    html.request-focused #contact-main {
        padding-top: 1rem;
        padding-bottom: 2rem;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

html.request-focused #contact-intro {
    display: none;
}

html.request-focused #contact-main > .grid {
    display: block;
}

html.request-focused #request-shell {
    width: 100%;
    max-width: 54rem;
    margin-inline: auto;
}

@media (max-width: 767px) {
    html.request-focused #mobile-cart-button,
    html.request-focused #eventry-chat-toggle {
        display: none;
    }
}

/* Eventry chat assistant widget */
.eventry-chat-fab {
    position: fixed;
    right: 1rem;
    bottom: 6rem;
    width: 54px;
    height: 54px;
    border-radius: 9999px;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    box-shadow: 0 12px 28px rgba(43, 31, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.eventry-chat-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(43, 31, 255, 0.45);
}
@media (min-width: 768px) {
    .eventry-chat-fab { bottom: 1.5rem; }
}

.eventry-chat-panel {
    position: fixed;
    right: 1rem;
    bottom: 10.5rem;
    width: min(320px, calc(100vw - 2rem));
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
    z-index: 60;
    overflow: clip;
}
.eventry-chat-panel.hidden { display: none; }
@media (min-width: 768px) {
    .eventry-chat-panel { bottom: 6rem; }
}

.eventry-chat-header {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.eventry-chat-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.eventry-chat-messages {
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-right: 0.15rem;
}

.eventry-chat-msg {
    max-width: 88%;
    border-radius: 12px;
    padding: 0.5rem 0.65rem;
    font-size: 0.85rem;
    line-height: 1.4;
    border: 1px solid transparent;
}
.eventry-chat-msg-assistant {
    align-self: flex-start;
    background: var(--soft);
    color: var(--ink);
    border-color: var(--line);
}
.eventry-chat-msg-user {
    align-self: flex-end;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
}

.eventry-chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 2.2rem;
}
.eventry-chat-typing span {
    width: 0.33rem;
    height: 0.33rem;
    border-radius: 999px;
    background: #94a3b8;
    opacity: 0.35;
    animation: eventryTypingPulse 1s infinite ease-in-out;
}
.eventry-chat-typing span:nth-child(2) { animation-delay: 0.16s; }
.eventry-chat-typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes eventryTypingPulse {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-1px); }
}

.eventry-chat-starters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.eventry-chat-starter-btn {
    border: 1px solid rgba(43, 31, 255, 0.28);
    background: #fff;
    color: var(--accent);
    border-radius: 999px;
    padding: 0.3rem 0.6rem;
    font-size: 0.72rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.eventry-chat-starter-btn:hover {
    background: rgba(43, 31, 255, 0.08);
    border-color: rgba(43, 31, 255, 0.45);
}

.eventry-newsletter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.56);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}
.eventry-newsletter-backdrop.is-open { opacity: 1; visibility: visible; }
.eventry-newsletter-modal {
    position: relative;
    width: min(100%, 440px);
    max-height: min(90vh, 760px);
    overflow-y: auto;
    padding: clamp(1.25rem, 5vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
    transform: translateY(10px);
    transition: transform 180ms ease;
}
.eventry-newsletter-backdrop.is-open .eventry-newsletter-modal { transform: translateY(0); }
.eventry-newsletter-close {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 1.5rem;
    cursor: pointer;
}
.eventry-newsletter-eyebrow {
    margin: 0 2.5rem 0.5rem 0;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.eventry-newsletter-modal h2 { margin: 0; color: var(--ink); font-size: 1.8rem; line-height: 1.15; }
.eventry-newsletter-copy { margin: 0.75rem 0 1.2rem; color: var(--muted); line-height: 1.6; }
.eventry-newsletter-label,
.eventry-newsletter-topics legend { display: block; margin-bottom: 0.45rem; color: #334155; font-size: 0.84rem; font-weight: 700; }
.eventry-newsletter-email { width: 100%; min-height: 48px; padding: 0.7rem 0.8rem; border: 1px solid #cbd5e1; border-radius: 4px; font: inherit; }
.eventry-newsletter-email:focus { outline: 3px solid rgba(43, 31, 255, 0.16); border-color: var(--accent); }
.eventry-newsletter-topics { display: grid; gap: 0.65rem; margin: 1rem 0; padding: 0; border: 0; }
.eventry-newsletter-topics label,
.eventry-newsletter-consent { display: flex; align-items: flex-start; gap: 0.6rem; color: #475569; font-size: 0.88rem; line-height: 1.45; }
.eventry-newsletter-topics input,
.eventry-newsletter-consent input { width: 18px; height: 18px; margin: 0.05rem 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.eventry-newsletter-consent a { text-decoration: underline; text-underline-offset: 2px; }
.eventry-newsletter-submit { width: 100%; min-height: 48px; margin-top: 1rem; border: 0; border-radius: 4px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.eventry-newsletter-submit:disabled { opacity: 0.65; cursor: wait; }
.eventry-newsletter-later { display: block; margin: 0.75rem auto 0; padding: 0.4rem 0.65rem; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.85rem; text-decoration: underline; cursor: pointer; }
.eventry-newsletter-message { min-height: 1.25rem; margin: 0.6rem 0 0; color: #b91c1c; font-size: 0.84rem; }
.eventry-newsletter-success { padding: 1rem 0; color: #166534; font-weight: 600; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .eventry-newsletter-backdrop, .eventry-newsletter-modal { transition: none; } }

.eventry-chat-form {
    display: flex;
    gap: 0.4rem;
}
.eventry-chat-form input {
    min-width: 0;
    flex: 1 1 0%;
}

.eventry-chat-send {
    border: 0;
    color: #fff;
    border-radius: 9px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

.eventry-chat-fallback {
    font-size: 0.85rem;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
}
.eventry-chat-fallback.hidden { display: none; }
