/* ============================================================
   cafesweets.net — Frutiger-Aero Confectionery Atrium
   Palette:
     #0C0C0C  Marquee Ink
     #FFAEC9  Rose Pearl
     #0E2A52  Atrium Deep
     #9FF4D7  Mint Pearl
     #FFFFFF  Glass White
     #5BD8F5  Aero Sky Cyan
     #FFC93A  Brass Polished
   Fonts: Limelight (deco display), Inter (body)
   ============================================================ */

:root {
    --ink: #0C0C0C;
    --rose: #FFAEC9;
    --atrium: #0E2A52;
    --mint: #9FF4D7;
    --white: #FFFFFF;
    --cyan: #5BD8F5;
    --brass: #FFC93A;
    --glass-fill: rgba(255, 255, 255, 0.42);
    --glass-fill-strong: rgba(255, 255, 255, 0.62);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 24px 64px rgba(14, 42, 82, 0.18);
    --sidebar-width: 28%;
    --sidebar-min: 320px;
    --font-display: "Limelight", "Playfair Display", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(ellipse at top left, rgba(91, 216, 245, 0.10), transparent 50%),
        radial-gradient(ellipse at top right, rgba(255, 174, 201, 0.10), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(159, 244, 215, 0.08), transparent 50%),
        var(--white);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

/* ============================================================
   PAGE SHELL — sidebar + main panel
   ============================================================ */
.page-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

/* ============================================================
   SIDEBAR — sheet of frosted glass
   ============================================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    min-width: var(--sidebar-min);
    max-width: 420px;
    height: 100vh;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.40) 50%,
            rgba(255, 255, 255, 0.30) 100%
        ),
        linear-gradient(135deg, rgba(91, 216, 245, 0.18), rgba(255, 174, 201, 0.12));
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    backdrop-filter: blur(28px) saturate(140%);
    border-right: 1px solid var(--glass-border);
    box-shadow:
        20px 0 60px rgba(14, 42, 82, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 10;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 320ms ease-out, opacity 320ms ease-out;
    overflow: hidden;
}

.sidebar.is-revealed {
    transform: translateX(0);
    opacity: 1;
}

.sidebar-glass-edge {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.0) 0%,
        rgba(255, 201, 58, 0.45) 30%,
        rgba(255, 201, 58, 0.45) 70%,
        rgba(255, 255, 255, 0.0) 100%
    );
    pointer-events: none;
}

.sidebar-inner {
    position: relative;
    height: 100%;
    padding: 36px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Sidebar Logo */
.sidebar-logo {
    position: relative;
    padding: 22px 12px 24px 12px;
    text-align: center;
}

.logo-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-frame-path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 1200ms ease-out;
}

.sidebar.is-revealed .logo-frame-path {
    stroke-dashoffset: 0;
}

.logo-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: 0.18em;
    line-height: 1;
}

.logo-line-one {
    font-size: clamp(18px, 1.6vw, 24px);
    padding-left: 0.5em;
    color: var(--ink);
}

.logo-line-two {
    font-size: clamp(26px, 2.4vw, 36px);
    color: var(--ink);
}

.ltr {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 200ms ease-out, transform 200ms ease-out;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ltr.is-shown {
    opacity: 1;
    transform: translateY(0);
}

/* Brass pins */
.brass-pin {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFE9CD, var(--brass) 50%, #7A5712 100%);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.35),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.7);
    z-index: 5;
}

.brass-pin--tl { top: 8px; left: 8px; }
.brass-pin--tr { top: 8px; right: 8px; }
.brass-pin--bl { bottom: 8px; left: 8px; }
.brass-pin--br { bottom: 8px; right: 8px; }

/* Sidebar Nav */
.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 10px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--atrium);
    border-top: 1px solid rgba(14, 42, 82, 0.10);
    transition: color 240ms ease, padding-left 240ms ease, background 240ms ease;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 -1px 0 rgba(14, 42, 82, 0.08);
}

.sidebar-nav li:last-child .nav-link {
    border-bottom: 1px solid rgba(14, 42, 82, 0.10);
}

.nav-link::before {
    content: attr(data-num);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--brass);
    font-family: var(--font-body);
    font-weight: 600;
    min-width: 22px;
    text-align: right;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--brass);
    transform: translateY(-50%);
    transition: height 240ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    padding-left: 18px;
    background: linear-gradient(90deg, rgba(255, 201, 58, 0.10), transparent 60%);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    height: 70%;
}

/* Today's Special */
.sidebar-special {
    position: relative;
    margin-top: auto;
    padding: 18px 16px 20px 16px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
    border: 1px solid var(--glass-border);
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.sidebar-special::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.special-eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--atrium);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.special-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 10px;
}

.special-orb {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, var(--rose), var(--mint) 55%, var(--cyan) 100%);
    filter: blur(12px);
    opacity: 0.7;
    animation: orbDrift 8s ease-in-out infinite alternate;
}

.special-photo {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    animation: floatBob 5s ease-in-out infinite alternate;
}

.special-name {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 6px;
}

.special-price {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: 18px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.special-price em,
.comp-meta em,
.menu-foot em {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 11px;
    color: var(--atrium);
    font-weight: 600;
}

/* Sidebar Footer */
.sidebar-footer {
    text-align: center;
}

.footer-rule {
    display: block;
    height: 1px;
    width: 100%;
    margin-bottom: 12px;
    background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.footer-text {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--atrium);
    opacity: 0.8;
}

/* ============================================================
   MAIN PANEL
   ============================================================ */
.main-panel {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    position: relative;
}

@media (max-width: 1200px) {
    .main-panel {
        margin-left: var(--sidebar-min);
        width: calc(100% - var(--sidebar-min));
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 60px 60px 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.aero-sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(91, 216, 245, 0.55), transparent 55%),
        radial-gradient(ellipse at 75% 30%, rgba(255, 174, 201, 0.45), transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(159, 244, 215, 0.45), transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F4FBFE 60%, #EBF7F3 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 1000ms ease-out;
}

.hero.is-revealed .aero-sky {
    opacity: 1;
}

.bokeh {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 1200ms ease-out;
}

.hero.is-revealed .bokeh {
    opacity: 0.85;
}

.bokeh--cyan {
    width: 240px; height: 240px;
    top: 12%; left: 18%;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    animation: bokehDriftA 14s ease-in-out infinite alternate;
}
.bokeh--rose {
    width: 200px; height: 200px;
    top: 22%; right: 14%;
    background: radial-gradient(circle, var(--rose), transparent 70%);
    animation: bokehDriftB 12s ease-in-out infinite alternate;
}
.bokeh--mint {
    width: 280px; height: 280px;
    bottom: 16%; left: 30%;
    background: radial-gradient(circle, var(--mint), transparent 70%);
    animation: bokehDriftC 16s ease-in-out infinite alternate;
}
.bokeh--gold {
    width: 140px; height: 140px;
    bottom: 30%; right: 24%;
    background: radial-gradient(circle, rgba(255, 201, 58, 0.7), transparent 70%);
    animation: bokehDriftA 13s ease-in-out infinite alternate-reverse;
}
.bokeh--small-a {
    width: 80px; height: 80px;
    top: 60%; left: 12%;
    background: radial-gradient(circle, var(--white), transparent 70%);
    animation: bokehDriftB 10s ease-in-out infinite alternate;
}
.bokeh--small-b {
    width: 60px; height: 60px;
    top: 8%; left: 52%;
    background: radial-gradient(circle, var(--rose), transparent 70%);
    animation: bokehDriftC 11s ease-in-out infinite alternate-reverse;
}

@keyframes bokehDriftA {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(40px, -30px) scale(1.1); }
}
@keyframes bokehDriftB {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-30px, 40px) scale(0.95); }
}
@keyframes bokehDriftC {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 20px) scale(1.05); }
}

.hero-stage {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(140px, 0.7fr) 1.4fr minmax(140px, 0.7fr);
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

/* Marquee stack */
.marquee-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marquee-stack--right {
    align-items: flex-end;
    gap: 22px;
}

.marquee-row {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.marquee-row.is-shown {
    opacity: 1;
    transform: translateY(0);
}

.step-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.step-frame-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 1000ms ease-out;
}

.marquee-row.is-shown .step-frame-path,
.section-header.is-shown .step-frame-path,
.comp-caption.is-shown .step-frame-path {
    stroke-dashoffset: 0;
}

.marquee-word {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    color: var(--ink);
    letter-spacing: 0.08em;
    text-shadow:
        0 2px 0 var(--brass),
        0 4px 12px rgba(14, 42, 82, 0.2);
}

.marquee-side-label {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--atrium);
    padding: 6px 14px;
    border: 1px solid rgba(14, 42, 82, 0.2);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 2px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Hero composition */
.hero-composition {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 1;
    transform-style: preserve-3d;
    cursor: pointer;
}

.layer {
    position: absolute;
    inset: 0;
    transition: transform 500ms ease-out, filter 500ms ease-out, opacity 500ms ease-out;
}

.layer--halo {
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 174, 201, 0.55), rgba(91, 216, 245, 0.35) 50%, transparent 75%);
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 1;
}

.layer--shadow {
    top: 65%;
    left: 10%;
    right: 10%;
    height: 30%;
    background: radial-gradient(ellipse at 50% 30%, rgba(14, 42, 82, 0.35), transparent 70%);
    filter: blur(16px);
    z-index: 2;
}

.layer--photo {
    z-index: 4;
    transform-origin: 50% 55%;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1000ms ease-out, transform 1000ms ease-out, filter 320ms ease-out;
    filter: blur(6px);
}

.hero.is-revealed .layer--photo {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.hero-photo {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 24px 28px rgba(14, 42, 82, 0.25));
}

.layer--dewdrop {
    z-index: 5;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, #FFFFFF, rgba(91, 216, 245, 0.5) 40%, transparent 75%);
    box-shadow: inset 0 -2px 4px rgba(91, 216, 245, 0.5), 0 2px 4px rgba(14, 42, 82, 0.2);
}

.dewdrop--a { width: 16px; height: 18px; top: 38%; left: 30%; }
.dewdrop--b { width: 14px; height: 16px; top: 42%; left: 60%; }
.dewdrop--c { width: 10px; height: 12px; top: 50%; left: 45%; }

.layer--steam {
    z-index: 3;
    top: 8%;
    left: 30%;
    right: 30%;
    bottom: 40%;
    background:
        radial-gradient(ellipse at 30% 100%, rgba(255, 255, 255, 0.4), transparent 60%),
        radial-gradient(ellipse at 70% 90%, rgba(255, 255, 255, 0.3), transparent 60%);
    filter: blur(8px);
    animation: steamRise 9s ease-in-out infinite;
}

.hero-composition:hover .layer--photo {
    transform: scale(1.06);
}

.hero-composition:hover .layer--halo,
.hero-composition:hover .layer--shadow,
.hero-composition:hover .layer--steam {
    filter: blur(24px);
    opacity: 0.65;
}

.hero-composition:hover .layer--dewdrop {
    animation: dewRipple 1.2s ease-in-out infinite;
}

@keyframes dewRipple {
    0%, 100% { transform: scale(1); box-shadow: inset 0 -2px 4px rgba(91, 216, 245, 0.5), 0 2px 4px rgba(14, 42, 82, 0.2), 0 0 0 0 rgba(91, 216, 245, 0.5); }
    50% { transform: scale(1.15); box-shadow: inset 0 -2px 4px rgba(91, 216, 245, 0.5), 0 2px 4px rgba(14, 42, 82, 0.2), 0 0 12px 4px rgba(91, 216, 245, 0.0); }
}

@keyframes steamRise {
    0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.6; }
    50% { transform: translateY(-10px) scaleY(1.1); opacity: 0.4; }
}

@keyframes orbDrift {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.08) translate(4px, -4px); }
}

@keyframes floatBob {
    from { transform: translateY(0); }
    to { transform: translateY(-6px); }
}

.hero-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
}

.scroll-cue {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--atrium);
}

.scroll-arrow {
    color: var(--brass);
    font-size: 18px;
    animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
section {
    position: relative;
    padding: 100px 60px 80px;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}

.section-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.32em;
    color: var(--brass);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 4px 10px;
    background: var(--ink);
    color: var(--brass);
    border-radius: 2px;
}

.section-title {
    position: relative;
    margin: 0 0 18px;
    padding: 22px 50px;
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(30px, 4.4vw, 72px);
    color: var(--ink);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.section-title span {
    position: relative;
    z-index: 2;
}

.section-title .step-frame {
    width: 100%;
    height: 100%;
}

.step-frame--wide .step-frame-path {
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
}

.section-deck {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.7;
    color: var(--atrium);
    max-width: 560px;
    margin: 0;
}

/* ============================================================
   COUNTER SECTION
   ============================================================ */
.counter {
    background:
        radial-gradient(ellipse at 80% 10%, rgba(159, 244, 215, 0.2), transparent 60%),
        radial-gradient(ellipse at 10% 90%, rgba(91, 216, 245, 0.15), transparent 60%);
}

.counter-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.composition {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 800ms ease-out, transform 800ms ease-out;
}

.composition:nth-child(even) {
    grid-template-columns: 1fr 1.4fr;
}

.composition:nth-child(even) .comp-layers {
    order: 2;
}

.composition.is-shown {
    opacity: 1;
    transform: translateY(0);
}

.comp-layers {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    cursor: pointer;
}

.comp-layer {
    position: absolute;
    inset: 0;
    transition: transform 500ms ease-out, filter 500ms ease-out, opacity 500ms ease-out;
}

.comp-layer--orb {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 216, 245, 0.5), transparent 65%);
    filter: blur(24px);
    transform: scale(1.05);
    z-index: 1;
}

.comp-layer--orb-rose {
    background: radial-gradient(circle, rgba(255, 174, 201, 0.55), transparent 65%);
}

.comp-layer--orb-gold {
    background: radial-gradient(circle, rgba(255, 201, 58, 0.5), transparent 65%);
}

.comp-layer--shadow {
    top: 65%;
    left: 10%;
    right: 10%;
    height: 28%;
    background: radial-gradient(ellipse at 50% 30%, rgba(14, 42, 82, 0.32), transparent 70%);
    filter: blur(12px);
    z-index: 2;
}

.comp-photo {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 16px 24px rgba(14, 42, 82, 0.22));
    transition: transform 500ms ease-out, filter 500ms ease-out;
    transform-origin: 50% 50%;
}

.comp-layer--front-dew {
    z-index: 5;
    pointer-events: none;
    background:
        radial-gradient(circle 6px at 30% 38%, #FFFFFF, rgba(91, 216, 245, 0.3) 60%, transparent 80%),
        radial-gradient(circle 5px at 64% 42%, #FFFFFF, rgba(91, 216, 245, 0.3) 60%, transparent 80%),
        radial-gradient(circle 4px at 48% 55%, #FFFFFF, rgba(91, 216, 245, 0.3) 60%, transparent 80%);
}

/* Zoom-focus interaction */
.comp-layers:hover .comp-photo {
    transform: scale(1.06);
}

.comp-layers:hover .comp-layer--orb,
.comp-layers:hover .comp-layer--shadow {
    filter: blur(36px);
    opacity: 0.6;
}

.comp-layers:hover .comp-layer--front-dew {
    animation: dewRipple 1.4s ease-in-out infinite;
}

.comp-caption {
    position: relative;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease-out 300ms, transform 600ms ease-out 300ms,
                box-shadow 320ms ease-out;
}

.composition.is-shown .comp-caption {
    opacity: 1;
    transform: translateY(0);
}

.comp-caption .step-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.composition:hover .comp-caption,
.comp-layers:hover ~ .comp-caption,
.composition .comp-layers:hover + .comp-caption {
    box-shadow:
        0 0 0 1px rgba(255, 201, 58, 0.4),
        0 12px 32px rgba(255, 201, 58, 0.25),
        inset 0 0 0 1px rgba(255, 201, 58, 0.4);
    background: linear-gradient(135deg, rgba(255, 201, 58, 0.08), transparent 70%);
    border-radius: 2px;
}

.comp-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 28px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
}

.comp-meta {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--atrium);
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.comp-meta strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 18px;
    color: var(--ink);
}

/* ============================================================
   STORY SECTION
   ============================================================ */
.story {
    background:
        linear-gradient(180deg, transparent 0%, rgba(91, 216, 245, 0.06) 50%, transparent 100%);
    padding-bottom: 120px;
}

.story-column {
    max-width: 760px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: clamp(16px, 1.15vw, 19px);
    line-height: 1.7;
    color: var(--ink);
}

.story-column p {
    margin: 0 0 1.6em;
}

.drop-cap .cap {
    float: left;
    font-family: var(--font-display);
    font-size: 4.6em;
    line-height: 0.9;
    padding: 0.08em 0.12em 0 0;
    color: var(--ink);
    text-shadow: 2px 2px 0 var(--brass);
    margin-right: 0.05em;
}

.story-figure {
    position: relative;
    margin: 30px 0;
    width: 55%;
}

.story-figure--left {
    float: left;
    margin-right: 30px;
}

.story-figure--right {
    float: right;
    margin-left: 30px;
}

.figure-glass {
    position: relative;
    padding: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
}

.vintage-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    filter: sepia(40%) contrast(110%) saturate(85%);
}

.story-figure figcaption {
    margin-top: 12px;
    font-size: 13px;
    color: var(--atrium);
    font-style: italic;
    line-height: 1.5;
}

.story-column::after {
    content: "";
    display: block;
    clear: both;
}

/* ============================================================
   OLD MENU SECTION
   ============================================================ */
.old-menu {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 201, 58, 0.08), transparent 70%);
    padding-bottom: 140px;
}

.menu-stage {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    perspective: 1400px;
}

.menu-paper {
    position: relative;
    background:
        radial-gradient(ellipse at 30% 20%, #FFF9EB 0%, #F4E6C3 60%, #D9C088 100%);
    padding: 60px 80px 50px;
    border-radius: 4px;
    box-shadow:
        0 30px 80px rgba(14, 42, 82, 0.3),
        inset 0 0 60px rgba(122, 71, 23, 0.15);
    transition: transform 320ms ease-out, filter 320ms ease-out;
    transform-origin: 50% 50%;
    overflow: hidden;
}

.menu-paper-grain {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(122, 71, 23, 0.04) 0, transparent 8px),
        radial-gradient(circle at 78% 16%, rgba(122, 71, 23, 0.05) 0, transparent 10px),
        radial-gradient(circle at 30% 70%, rgba(122, 71, 23, 0.05) 0, transparent 12px),
        radial-gradient(circle at 85% 80%, rgba(122, 71, 23, 0.04) 0, transparent 9px),
        repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(122, 71, 23, 0.015) 3px, rgba(122, 71, 23, 0.015) 4px);
    pointer-events: none;
}

.menu-head {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.menu-deco-rule {
    display: block;
    height: 4px;
    margin: 8px auto;
    width: 60%;
    background:
        linear-gradient(90deg, transparent 0%, #5A2F12 10%, #5A2F12 90%, transparent 100%);
    position: relative;
}
.menu-deco-rule::before,
.menu-deco-rule::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #5A2F12;
    transform: translateY(-50%);
}
.menu-deco-rule::before { left: -5%; }
.menu-deco-rule::after { right: -5%; }

.menu-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    color: #2A1109;
    letter-spacing: 0.12em;
    margin: 16px 0 4px;
    text-shadow: 2px 2px 0 rgba(122, 71, 23, 0.15);
}

.menu-sub {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.22em;
    color: #5A2F12;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.menu-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    position: relative;
}

.menu-col {
    position: relative;
}

.menu-cat {
    font-family: var(--font-display);
    font-size: clamp(20px, 1.8vw, 28px);
    color: #2A1109;
    text-align: center;
    letter-spacing: 0.12em;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px double #5A2F12;
}

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

.menu-item {
    display: flex;
    align-items: baseline;
    padding: 12px 8px;
    color: #2A1109;
    cursor: pointer;
    transition: color 220ms ease, background 220ms ease;
    position: relative;
    border-radius: 2px;
}

.menu-item:hover {
    color: #0C0C0C;
    background: rgba(255, 201, 58, 0.20);
}

.m-name {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 500;
}

.m-dots {
    flex: 1;
    height: 1em;
    margin: 0 8px;
    background-image: radial-gradient(circle, #5A2F12 1px, transparent 1px);
    background-size: 6px 100%;
    background-position: 0 80%;
    background-repeat: repeat-x;
    opacity: 0.6;
}

.m-price {
    font-family: var(--font-display);
    font-size: clamp(16px, 1.2vw, 20px);
    color: #2A1109;
    letter-spacing: 0.06em;
}

.menu-foot {
    text-align: center;
    margin-top: 30px;
    color: #5A2F12;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.22em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.menu-foot-rule {
    flex: 1;
    height: 1px;
    background: #5A2F12;
    opacity: 0.5;
    max-width: 40%;
}

.menu-foot-line {
    white-space: nowrap;
}

/* zoom-focus on menu */
.menu-stage.is-focusing .menu-paper {
    filter: blur(2.5px);
}
.menu-stage.is-focusing .menu-item:hover {
    filter: blur(0);
    background: rgba(255, 201, 58, 0.4);
    box-shadow: 0 0 0 1px var(--brass), 0 8px 24px rgba(14, 42, 82, 0.3);
}

.menu-cursor-marker {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 50;
    background: var(--ink);
    color: var(--brass);
    font-family: var(--font-display);
    padding: 10px 14px;
    border-radius: 2px;
    transform: translate(-50%, -120%);
    opacity: 0;
    transition: opacity 220ms ease, transform 320ms ease-out;
    box-shadow: 0 12px 28px rgba(14, 42, 82, 0.4);
    border: 1px solid var(--brass);
}

.menu-cursor-marker.is-visible {
    opacity: 1;
}

.marker-price {
    display: block;
    font-size: 22px;
    letter-spacing: 0.06em;
}

.marker-name {
    display: block;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 4px;
}

/* ============================================================
   VISIT SECTION
   ============================================================ */
.visit {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(159, 244, 215, 0.16), transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 174, 201, 0.16), transparent 60%);
    padding-bottom: 80px;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.visit-card {
    position: relative;
    padding: 40px 36px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.visit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.visit-eyebrow {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--atrium);
    margin: 0 0 20px;
    position: relative;
    z-index: 2;
}

.hours-list {
    position: relative;
    z-index: 2;
    margin: 0 0 24px;
    padding: 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid rgba(14, 42, 82, 0.12);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row dt {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.12em;
    color: var(--atrium);
    text-transform: uppercase;
}

.hours-row dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.hours-row--note dd {
    font-style: italic;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--brass);
    text-shadow: 0 0 0 var(--ink);
}

.visit-addr {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--atrium);
    padding-top: 16px;
    border-top: 1px solid rgba(14, 42, 82, 0.12);
}

.visit-addr p {
    margin: 0;
}

/* Bell card */
.visit-card--bell {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.bell-instructions {
    position: relative;
    z-index: 2;
    font-size: 14px;
    line-height: 1.6;
    color: var(--atrium);
    margin: 0;
    max-width: 240px;
}

.bell-button {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.bell-svg {
    width: 100%;
    height: 100%;
    transition: transform 240ms ease-out;
    filter: drop-shadow(0 8px 18px rgba(122, 87, 18, 0.45));
}

.bell-button:hover .bell-svg {
    transform: scale(1.05);
}

.bell-button:active .bell-svg,
.bell-button.is-ringing .bell-svg {
    transform: scale(0.92);
    animation: bellShake 400ms ease-in-out;
}

@keyframes bellShake {
    0%, 100% { transform: scale(0.92) rotate(0deg); }
    20% { transform: scale(0.94) rotate(-3deg); }
    50% { transform: scale(0.96) rotate(3deg); }
    80% { transform: scale(0.94) rotate(-2deg); }
}

.bell-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.28em;
    color: var(--ink);
    text-transform: uppercase;
    pointer-events: none;
}

.bell-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--brass);
    opacity: 0;
    pointer-events: none;
}

.bell-button.is-ringing .bell-ring--1 {
    animation: ringExpand 800ms ease-out forwards;
}
.bell-button.is-ringing .bell-ring--2 {
    animation: ringExpand 800ms ease-out 120ms forwards;
}
.bell-button.is-ringing .bell-ring--3 {
    animation: ringExpand 800ms ease-out 240ms forwards;
}

@keyframes ringExpand {
    0% { transform: scale(1); opacity: 0.7; border-width: 3px; }
    100% { transform: scale(2.4); opacity: 0; border-width: 1px; }
}

.bell-status {
    margin: 24px 0 0;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--atrium);
    min-height: 1.4em;
    transition: color 220ms ease;
    position: relative;
    z-index: 2;
}

.bell-status.is-ringing {
    color: var(--brass);
    text-shadow: 0 0 12px var(--brass);
}

/* Page footer */
.page-footer {
    margin-top: 100px;
    text-align: center;
    color: var(--atrium);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.page-footer p {
    margin: 16px 0;
}

.page-footer-rule {
    display: block;
    height: 1px;
    width: 50%;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .page-shell {
        flex-direction: column;
    }
    .sidebar {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        transform: translateY(-30px);
    }
    .sidebar.is-revealed {
        transform: translateY(0);
    }
    .sidebar-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 24px;
        gap: 18px;
    }
    .sidebar-logo {
        flex: 1 1 200px;
    }
    .sidebar-nav {
        flex: 2 1 360px;
    }
    .sidebar-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .nav-link {
        border: none;
        padding: 8px 10px;
    }
    .sidebar-nav li:last-child .nav-link { border: none; }
    .sidebar-special {
        display: none;
    }
    .sidebar-footer {
        flex: 1 1 100%;
    }
    .main-panel {
        margin-left: 0;
        width: 100%;
    }
    .hero {
        padding: 40px 24px;
    }
    .hero-stage {
        grid-template-columns: 1fr;
    }
    .marquee-stack--right {
        display: none;
    }
    .marquee-stack--left {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .marquee-row {
        width: 30%;
        min-width: 110px;
    }
    section {
        padding: 60px 24px;
    }
    .composition {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    .composition:nth-child(even) .comp-layers {
        order: 0;
    }
    .story-figure {
        width: 100%;
        float: none;
        margin: 24px 0;
    }
    .menu-paper {
        padding: 40px 30px;
    }
    .menu-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .visit-grid {
        grid-template-columns: 1fr;
    }
}
