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

body {
    background: #1C1410;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.82;
    color: #C4B89A;
    overflow-x: hidden;
    min-height: 100vh;
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.noise-overlay.visible { opacity: 1; }

.gold-header-band {
    position: fixed;
    top: 0; left: 50%; transform: translateX(-50%);
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, transparent, #C4A470, transparent);
    z-index: 100;
    transition: width 0.6s ease-out;
}

.gold-header-band.visible { width: 100%; left: 0; transform: none; }

.bookshelf-left, .bookshelf-right {
    position: fixed;
    top: 0; bottom: 0;
    width: 24px;
    z-index: 2;
    background: repeating-linear-gradient(180deg, #1A1310 0px, #1A1310 8px, #231B14 8px, #231B14 20px, #1E1611 20px, #1E1611 26px, #2A2019 26px, #2A2019 40px);
}

.bookshelf-left { left: 0; }
.bookshelf-right { right: 0; }

.bar-counter {
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.bar-counter.visible { opacity: 1; transform: translateY(0); }

.counter-surface {
    width: 100%;
    max-width: 960px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(180deg, #2A1F16, #3A2E22, #2A1F16);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.counter-highlight {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 164, 112, 0.3), transparent);
}

.book-icon {
    width: 120px;
    height: 80px;
}

.svg-draw {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 0.8s ease-out;
}

.bar-counter.visible .svg-draw { stroke-dashoffset: 0; }

.site-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 38px;
    letter-spacing: 0.02em;
    color: #E8DCC8;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease 0.8s, transform 0.5s ease 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bar-counter.visible .site-title { opacity: 1; transform: translateY(0); }

.candle-flame {
    width: 14px;
    height: 24px;
    animation: flicker 2s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease 1.2s;
}

.bar-counter.visible .candle-flame { opacity: 0.9; }

@keyframes flicker {
    0%, 100% { transform: scaleY(1) scaleX(1); opacity: 0.9; }
    25% { transform: scaleY(1.04) scaleX(0.97); opacity: 1; }
    50% { transform: scaleY(0.96) scaleX(1.02); opacity: 0.85; }
    75% { transform: scaleY(1.02) scaleX(0.98); opacity: 0.95; }
}

.content-spreads {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 60px;
    position: relative;
    z-index: 3;
}

.spread {
    padding: 32px 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.spread.visible { opacity: 1; transform: translateY(0); }

.ornament-divider {
    text-align: center;
    margin-bottom: 24px;
}

.ornament-divider svg { width: 200px; height: 20px; }

.section-label {
    font-family: 'Cormorant', serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C4A470;
    display: block;
    margin-bottom: 16px;
}

.gold-panel {
    border: 1px solid rgba(196, 164, 112, 0.2);
    padding: 32px;
    position: relative;
    columns: 2;
    column-gap: 48px;
    column-rule: 1px solid rgba(196, 164, 112, 0.15);
}

.gold-panel::before, .gold-panel::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: rgba(196, 164, 112, 0.4);
    border-style: solid;
}

.gold-panel::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.gold-panel::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.gold-panel p:first-child::first-letter {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 56px;
    float: left;
    color: #C4A470;
    margin-right: 8px;
    line-height: 1;
}

.gold-panel p { margin-bottom: 16px; }

.bar-menu {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: #140F0A;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 100;
    border-top: 1px solid rgba(196, 164, 112, 0.15);
}

.menu-item {
    font-family: 'Cormorant', serif;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C4A470;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.menu-item:hover { color: #4A7A5C; text-shadow: 0 0 8px rgba(74, 122, 92, 0.3); }

.menu-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4A7A5C;
    transition: width 0.2s ease;
}

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

@media (max-width: 768px) {
    .bookshelf-left, .bookshelf-right { display: none; }
    .content-spreads { padding: 40px 20px; }
    .gold-panel { columns: 1; }
    .gold-panel p:first-child::first-letter { font-size: 40px; }
    .site-title { font-size: 28px; }
}
