/* xity.bar - Modernist Bar Menu */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-cream: #FAF6F0;
    --lilac: #E0D0F0;
    --rose: #F0D0D8;
    --sage: #D0E8D0;
    --sky: #D0D8F0;
    --text-dark: #2A2030;
    --text-body: #3A3040;
    --accent-purple: #8060A0;
    --circuit: rgba(128, 96, 160, 0.15);
    --card-white: #FFFFFF;
}

body {
    background: var(--bg-cream);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

/* Z-Pattern Rows */
.z-row {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 80vh;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease, background-color 0.6s ease;
}
.z-row.visible { opacity: 1; }
.z-reverse { grid-template-columns: 45% 55%; }
.z-reverse .z-illust { order: -1; }

.row-lilac { background: var(--lilac); }
.row-rose { background: var(--rose); }
.row-sage { background: var(--sage); }
.row-sky { background: var(--sky); }

/* Text Block */
.z-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.drink-title {
    font-family: 'Bungee', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.drop-in {
    opacity: 0;
    transform: translateY(-20px);
    animation: dropIn 0.4s ease forwards 0.3s;
}
@keyframes dropIn {
    to { opacity: 1; transform: translateY(0); }
}
.drink-data {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: var(--accent-purple);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 1rem;
    min-height: 1.4em;
}
.drink-body {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 480px;
}

/* Illustration Area */
.z-illust {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.sketch {
    width: 100%;
    max-width: 200px;
    opacity: 0.3;
    transition: opacity 0.8s ease;
}
.z-row.visible .sketch { opacity: 1; }
.sketch-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 1.2s ease;
}
.z-row.visible .sketch-line { stroke-dashoffset: 0; }
.sketch:hover {
    animation: wobble 0.3s ease;
}
@keyframes wobble {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

/* Dividers */
.z-divider { height: 2px; }
.divider-rose { background: var(--rose); }
.divider-sage { background: var(--sage); }
.divider-sky { background: var(--sky); }

/* Circuit Path */
.circuit-path {
    position: fixed;
    right: 5%;
    top: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
}
.circuit-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1s ease;
}
.circuit-line.drawn { stroke-dashoffset: 0; }

/* Footer */
.site-footer {
    background: var(--bg-cream);
    text-align: center;
    padding: 3rem 2rem;
}
.footer-text {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: var(--accent-purple);
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .z-row, .z-reverse { grid-template-columns: 1fr; }
    .z-reverse .z-illust { order: 0; }
    .z-text { padding: 32px 24px; }
    .z-illust { min-height: 200px; padding: 24px; }
    .circuit-path { display: none; }
}
