/* =====================================================================
   Sachi's Cafe-Bistro — Main Stylesheet (v3 "light -> dark brew")
   Modern CSS only. No frameworks. GPU-friendly. Reduced-motion aware.
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Tokens
   --------------------------------------------------------------------- */
:root {
    /* Brew shade scale (top -> bottom) */
    --s1:        #f6f3ee;   /* lightest cream */
    --s2:        #e7ddd0;
    --s3:        #b89b7d;
    --s4:        #7c5a3c;
    --s5a:       #3a2517;
    --s5b:       #1e150c;   /* darkest espresso */
    --black:     #000000;

    --cream:     #f6f3ee;
    --cream-2:   #efe7db;
    --ink:       #1e150c;   /* text on light */
    --ink-soft:  #6b5742;
    --accent:    #c98a3c;   /* caramel */
    --accent-2:  #a86a28;
    --accent-deep:#7c5a3c;

    --font-heading: 'Lobster', 'Brush Script MT', cursive;
    --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

    --radius:    16px;
    --radius-sm: 10px;
    --radius-pill: 999px;

    --shadow-sm: 0 4px 16px rgba(30, 21, 12, 0.10);
    --shadow-md: 0 12px 36px rgba(30, 21, 12, 0.16);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.40);

    --header-height: 76px;
    --maxw: 1180px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --t: 0.32s var(--ease);

    /* Legacy aliases — keep older inline styles in About/Contact/FAQ working
       against the new light palette (do not remove). */
    --color-bg:         #ffffff;
    --color-card-bg:    #ffffff;
    --color-text:       var(--ink);
    --color-text-muted: var(--ink-soft);
    --color-border:     #ece3d6;
    --color-accent:     var(--accent-2);
    --color-accent-dark:var(--accent-2);
    --color-white:      #ffffff;
    --font-heading-legacy: var(--font-heading);
    --radius-card:      var(--radius);
    --radius-pill-legacy: var(--radius-pill);
    --transition:       var(--t);
}

/* ---------------------------------------------------------------------
   1. Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, picture, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--accent-2); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.05; letter-spacing: 0.01em; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 1rem;
}

.muted { opacity: 0.7; }

/* ---------------------------------------------------------------------
   2. Buttons
   --------------------------------------------------------------------- */
.btn-primary, .btn-secondary, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
    will-change: transform;
}
.btn-sm { min-height: 42px; padding: 0.6rem 1.3rem; font-size: 0.88rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(168, 106, 40, 0.32);
}
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(168, 106, 40, 0.42); }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: rgba(30, 21, 12, 0.25);
}
.btn-secondary:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-3px); }

.btn-ghost {
    background: transparent;
    color: var(--accent-2);
    padding-inline: 0;
    min-height: auto;
    border-radius: 0;
    font-weight: 600;
}
.btn-ghost:hover { color: var(--accent); transform: translateX(4px); }
.btn-ghost--light { color: #e9c79a; }
.btn-ghost--light:hover { color: #fff; }

/* ---------------------------------------------------------------------
   3. Header
   --------------------------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex; align-items: center;
    background: rgba(246, 243, 238, 0.78);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid rgba(30, 21, 12, 0.07);
    transition: height var(--t), background var(--t), box-shadow var(--t), border-color var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.admin-bar .site-header { top: 32px; }

.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.site-logo .logo-link { display: inline-flex; align-items: center; gap: 0.6rem; }
.header-logo-img { width: 52px; height: 52px; object-fit: contain; transition: width var(--t), height var(--t); }
.site-header.scrolled .header-logo-img { width: 44px; height: 44px; }
.logo-on-dark { display: none; }
.logo-wordmark {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--ink);
    line-height: 1;
    transition: color var(--t);
}

/* Nav */
.site-nav .nav-links { list-style: none; display: flex; align-items: center; gap: 0.4rem; padding: 0; }
.nav-links a {
    display: inline-block;
    padding: 0.55rem 0.95rem;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.96rem;
    border-radius: var(--radius-pill);
    position: relative;
    transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--accent-2); background: rgba(201, 138, 60, 0.10); }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--accent-2); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column; gap: 5px;
    width: 44px; height: 44px;
    padding: 10px 8px;
    background: none; border: none; cursor: pointer;
    z-index: 1100;
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t), background var(--t); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dark state (home dark shades) */
body.is-dark .site-header {
    background: rgba(20, 13, 7, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.is-dark .logo-on-light { display: none; }
body.is-dark .logo-on-dark { display: block; }
body.is-dark .logo-wordmark { color: var(--cream); }
body.is-dark .nav-links a { color: var(--cream); }
body.is-dark .nav-links a:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
body.is-dark .hamburger span { background: var(--cream); }

/* ---------------------------------------------------------------------
   4. Mobile nav
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
    .hamburger { display: flex; }

    /* Full-screen opaque drawer. Uses top/left/width/height (NOT inset:0) so it
       fills the whole viewport even though .site-header's backdrop-filter makes
       the header the containing block for this fixed child. */
    .site-nav {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100svh;
        background: var(--cream);              /* solid, opaque — nothing bleeds through */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: calc(var(--header-height) + 2rem) 1.5rem 2.5rem;
        overflow-y: auto;
        z-index: 1000;                          /* above all page content; hamburger (1100) stays on top as the X */
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;                   /* don't trap clicks while hidden */
        transition: transform var(--t), opacity var(--t), visibility 0s linear 0.32s;
    }
    body.is-dark .site-nav { background: #14100a; }

    .site-nav.menu-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform var(--t), opacity var(--t), visibility 0s;
    }

    .site-nav .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;          /* flex centring — immune to UA list padding */
        gap: 0.6rem;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .nav-links li { width: 100%; max-width: 340px; }
    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem 1.25rem;
        min-height: 52px;
        font-size: 1.2rem;
        font-weight: 500;
        border-radius: 14px;
        border: 1px solid transparent;
    }
    .nav-links a:hover,
    .nav-links a:active,
    .nav-links a:focus-visible {
        background: rgba(201, 138, 60, 0.12);
        border-color: rgba(201, 138, 60, 0.30);
        color: var(--accent-2);
    }
    body.is-dark .nav-links a:hover,
    body.is-dark .nav-links a:active { background: rgba(255, 255, 255, 0.10); color: #fff; }
}

/* ---------------------------------------------------------------------
   5. Reveal animation
   --------------------------------------------------------------------- */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   6. HOME — hero (lightest cream)
   --------------------------------------------------------------------- */
.home-brew { display: block; }

.hero-brew {
    position: relative;
    min-height: 100svh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: calc(var(--header-height) + 3rem) 0 5rem;
    /* First step of the continuous pour: pure white -> Shade 1 start (#f6f3ee). */
    background:
        radial-gradient(120% 80% at 50% -12%, rgba(201,138,60,0.05) 0%, rgba(201,138,60,0) 58%),
        linear-gradient(180deg, #ffffff 0%, var(--s1) 100%);
    overflow: hidden;
}
.hero-brew::after {
    /* soft steam glow */
    content: ""; position: absolute; left: 50%; top: 12%;
    width: 60vw; height: 60vw; max-width: 620px; max-height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(201,138,60,0.14) 0%, rgba(201,138,60,0) 70%);
    pointer-events: none;
}
.hero-brew-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-brew-title {
    font-size: clamp(3.2rem, 11vw, 7rem);
    color: var(--ink);
    margin: 0.2rem 0 1.2rem;
    line-height: 0.95;
}
.hero-brew-sub {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 36ch; margin-inline: auto;
}
.hero-brew-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin: 2.2rem 0 1.6rem; }
.hero-brew-badges {
    list-style: none; padding: 0;
    display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
}
.hero-brew-badges li {
    font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
    color: var(--accent-2);
    border: 1px solid rgba(201,138,60,0.35);
    padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
}
.scroll-cue {
    position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-soft); display: flex; align-items: center; gap: 0.6rem; white-space: nowrap;
}
.scroll-cue-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: cueBob 1.8s var(--ease) infinite; }
@keyframes cueBob { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(6px); opacity: 0.5; } }

/* ---------------------------------------------------------------------
   7. HOME — shades (seamless light -> dark)
   Each shade is mostly its base colour, blending to the next near the
   bottom so there are no hard seams.
   --------------------------------------------------------------------- */
.shade { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; }
/* ONE continuous pour. Each section ramps from its start (0%) to its end (100%),
   and every end colour equals the next section's start colour, so there are
   zero hard seams at the boundaries:
   #fff -> f6f3ee -> e7ddd0 -> b89b7d -> 7c5a3c -> 3a2517 -> 1e150c -> #000  */
.shade-1 { background: linear-gradient(180deg, var(--s1)  0%, var(--s2)  100%); color: var(--ink); }
.shade-2 { background: linear-gradient(180deg, var(--s2)  0%, var(--s3)  100%); color: var(--ink); }
.shade-3 { background: linear-gradient(180deg, var(--s3)  0%, var(--s4)  100%); color: #2a1a0c; }
.shade-4 { background: linear-gradient(180deg, var(--s4)  0%, var(--s5a) 100%); color: var(--cream); }
.shade-5 { background: linear-gradient(180deg, var(--s5a) 0%, var(--s5b) 100%); color: var(--cream); }
.shade-6 { background: linear-gradient(180deg, var(--s5b) 0%, var(--black) 100%); color: var(--cream); }

.shade h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 1.1rem; }
.shade p { font-size: clamp(1rem, 2.2vw, 1.18rem); max-width: 54ch; }
.shade-3 .kicker { color: #402810; }
.shade-4 .kicker, .shade-5 .kicker, .shade-6 .kicker { color: var(--accent); }
.shade-4 p, .shade-5 p, .shade-6 p { color: rgba(246, 243, 238, 0.88); }
.shade-note { font-size: 0.96rem !important; opacity: 0.82; margin-top: 0.9rem; }

.shade-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.shade-grid--reverse .shade-copy { order: 2; }
.shade-grid--reverse .shade-media { order: 1; }
.shade-stack { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.5rem; }
.shade-copy--center { max-width: 60ch; margin-inline: auto; }
.shade-copy .btn-ghost { margin-top: 1.4rem; }

/* image frames */
.frame-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #fff;
    transition: transform var(--t), box-shadow var(--t);
}
.frame-card img { width: 100%; height: 100%; object-fit: cover; }
.frame-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.frame-hero { max-width: 560px; }
.frame-card--tall { grid-row: span 2; }

/* Shade 1 — matcha/soft circles (hide the black PNG bg inside a circle) */
.matcha-circles { position: relative; display: flex; justify-content: center; gap: 1.5rem; }
.frame-circle {
    width: clamp(180px, 34vw, 300px); aspect-ratio: 1;
    border-radius: 50%; overflow: hidden;
    box-shadow: var(--shadow-md), 0 0 0 8px #fff, 0 0 0 9px rgba(201,138,60,0.25);
    background: #1e150c; /* matches PNG bg so the circle fill is seamless */
    transition: transform var(--t);
}
.frame-circle img { width: 100%; height: 100%; object-fit: cover; }
.frame-circle--offset { margin-top: 3.5rem; }
.matcha-circles:hover .frame-circle { transform: scale(1.02); }

.stack-2 { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 1.2rem; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; width: 100%; max-width: 920px; }
.trio .frame-card { aspect-ratio: 3 / 4; }

/* Shade 4 — transparent cut-out drinks (no box, just a soft shadow) */
.trio--cutout { align-items: end; gap: clamp(0.8rem, 3vw, 2rem); }
.drink-float {
    margin: 0;
    display: flex; align-items: flex-end; justify-content: center;
}
.drink-float img {
    width: 100%; height: auto;
    max-height: clamp(240px, 36vw, 420px);
    object-fit: contain;
    /* grounded but keeps the cut-out look — no solid panel */
    filter: drop-shadow(0 22px 26px rgba(10, 6, 3, 0.55));
    transition: transform var(--t);
}
.trio--cutout:hover .drink-float img,
.drink-float:hover img { transform: translateY(-6px); }

/* Shade 5 — floating beans */
.shade-strong { position: relative; z-index: 2; padding-block: clamp(5rem, 12vw, 9rem); }
.shade-beans { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.shade-beans .beans-img {
    position: absolute; inset: -8% -4%;
    width: 108%; height: 116%;
    object-fit: cover;
    opacity: 0.42;
    animation: beanFloat 18s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes beanFloat {
    from { transform: translate3d(0, 0, 0) scale(1.02); }
    to   { transform: translate3d(0, -3.2%, 0) scale(1.08); }
}
.shade-5::after {
    /* vignette so cream text stays readable over beans */
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(80% 60% at 50% 50%, rgba(20,13,7,0.35) 0%, rgba(20,13,7,0.78) 100%);
    pointer-events: none;
    /* Fade the vignette out at the very top & bottom edges so the section's
       TRUE gradient colour shows at the seams — no hard line.
       shade-4 end = shade-5 start = #3a2517 ; shade-5 end = shade-6 start = #1e150c. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}

/* ---------------------------------------------------------------------
   8. HOME — Shade 6 locations
   --------------------------------------------------------------------- */
.locations-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.locations-head p { margin-inline: auto; color: var(--accent); font-weight: 500; }
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.location-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.location-card:hover { transform: translateY(-5px); border-color: rgba(201,138,60,0.45); box-shadow: var(--shadow-lg); }
.location-map { aspect-ratio: 16 / 10; background: #0c0805; }
.location-map iframe { width: 100%; height: 100%; display: block; filter: grayscale(0.25) contrast(1.05); }
.location-body { padding: 1.6rem 1.7rem 1.9rem; }
.location-body h3 { font-size: 2rem; color: var(--cream); margin-bottom: 0.6rem; }
.location-body address { font-style: normal; color: rgba(246,243,238,0.82); line-height: 1.5; }
.location-meta { margin: 0.9rem 0 1.1rem; color: rgba(246,243,238,0.7); font-size: 0.95rem; }
.location-meta a { color: var(--accent); font-weight: 600; }
.location-services { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; }
.location-services li {
    font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
    color: var(--cream);
    background: rgba(201,138,60,0.18);
    border: 1px solid rgba(201,138,60,0.35);
    padding: 0.35rem 0.7rem; border-radius: var(--radius-pill);
}

/* ---------------------------------------------------------------------
   9. MENU PAGE (Uber-Eats clean light)
   --------------------------------------------------------------------- */
.menu-page-head {
    background: #fff;
    text-align: center;
    padding: calc(var(--header-height) + 3rem) 0 2.4rem;
    border-bottom: 1px solid #efe7db;
}
.menu-head-logo { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 1rem; }
.menu-page-head h1 { font-size: clamp(2.8rem, 8vw, 4.5rem); color: var(--ink); }
.menu-page-head p { color: var(--ink-soft); margin-top: 0.5rem; }
.menu-head-note { font-size: 0.85rem !important; color: var(--accent-2) !important; margin-top: 0.8rem; }

.menu-sticky-nav {
    position: sticky; top: var(--header-height); z-index: 600;
    background: #fff;                       /* solid white — content reads cleanly underneath */
    border-bottom: 1px solid #e7ddce;       /* subtle bottom border */
    box-shadow: 0 4px 10px -8px rgba(30, 21, 12, 0.25);
}
.menu-nav-viewport { position: relative; max-width: var(--maxw); margin-inline: auto; }
.menu-nav-inner {
    display: flex; gap: 0.4rem;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
    scrollbar-width: none;                  /* Firefox */
    scroll-behavior: smooth;
}
.menu-nav-inner::-webkit-scrollbar { display: none; }   /* WebKit */

/* fade edges signal "more this way" — shown/hidden by JS via data-scroll state */
.menu-nav-fade {
    position: absolute; top: 0; bottom: 0; width: 56px;
    pointer-events: none; z-index: 2;
    opacity: 0; transition: opacity 0.25s var(--ease);
}
.menu-nav-fade--left  { left: 0;  background: linear-gradient(90deg, #fff 25%, rgba(255,255,255,0)); }
.menu-nav-fade--right { right: 0; background: linear-gradient(270deg, #fff 25%, rgba(255,255,255,0)); }
.menu-nav-viewport[data-can-left="true"]  .menu-nav-fade--left  { opacity: 1; }
.menu-nav-viewport[data-can-right="true"] .menu-nav-fade--right { opacity: 1; }

/* nudging chevron hints you can swipe right for more categories */
.menu-nav-chevron {
    position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
    z-index: 3; pointer-events: none;
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff;
    font-size: 1.4rem; line-height: 1; font-weight: 700;
    box-shadow: 0 2px 6px rgba(30, 21, 12, 0.3);
    opacity: 0; transition: opacity 0.25s var(--ease);
    animation: chevNudge 1.4s var(--ease) infinite;
}
.menu-nav-viewport[data-can-right="true"] .menu-nav-chevron { opacity: 1; }
@keyframes chevNudge {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%      { transform: translateY(-50%) translateX(4px); }
}
.menu-nav-btn {
    flex: 0 0 auto;
    background: #f6f3ee; border: 1px solid transparent;
    color: var(--ink-soft); font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
    padding: 0.55rem 1.05rem; border-radius: var(--radius-pill);
    cursor: pointer; white-space: nowrap; min-height: 40px;
    transition: background var(--t), color var(--t), border-color var(--t);
}
.menu-nav-btn:hover { color: var(--ink); border-color: rgba(201,138,60,0.4); }
.menu-nav-btn.active { background: var(--ink); color: #fff; }

.menu-content { background: #fff; padding: 2.5rem 0 4rem; }
.menu-section { max-width: 820px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.menu-section { scroll-margin-top: calc(var(--header-height) + 70px); padding-top: 2.4rem; padding-bottom: 0.6rem; }
.menu-section-title {
    font-size: clamp(2rem, 5vw, 2.8rem); color: var(--ink);
    padding-bottom: 0.6rem; border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.menu-section-note {
    font-size: 0.85rem; color: var(--accent-2); margin: 0.7rem 0 0.4rem;
    background: #faf6ef; border-left: 3px solid var(--accent); padding: 0.5rem 0.9rem; border-radius: 0 8px 8px 0;
}
.menu-items-grid { display: flex; flex-direction: column; margin-top: 0.8rem; }
.menu-item-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.95rem 0.4rem;
    border-bottom: 1px solid #f0ebe2;
    transition: background var(--t), transform var(--t);
    border-radius: 10px;
}
.menu-item-card:hover { background: #faf7f1; transform: translateX(4px); }
.item-info { flex: 1 1 auto; }
.item-name { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; }
.item-description { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.2rem; line-height: 1.4; }
.item-image-thumb { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.item-image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-price { flex: 0 0 auto; font-weight: 700; color: var(--accent-2); font-size: 1.02rem; white-space: nowrap; }
.menu-item-card.unavailable { opacity: 0.5; }
.badge-unavailable {
    font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
    background: #e9dccb; color: #8a6a45; padding: 0.15rem 0.5rem; border-radius: var(--radius-pill);
}

/* ---------------------------------------------------------------------
   10. FAQ PAGE (light, clean)
   --------------------------------------------------------------------- */
.faq-page-header {
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
    text-align: center;
    padding: calc(var(--header-height) + 3.2rem) 0 2.6rem;
}
.faq-page-header h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); color: var(--ink); margin: 0.4rem 0 0.8rem; }
.faq-page-header p { color: var(--ink-soft); max-width: 52ch; margin-inline: auto; }

.faq-section { background: var(--cream); padding: 1rem 0 5rem; }
.faq-container { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
    background: #fff; border: 1px solid #ece3d6; border-radius: var(--radius-sm);
    overflow: hidden; transition: box-shadow var(--t), border-color var(--t);
}
.faq-item.active { border-color: rgba(201,138,60,0.5); box-shadow: var(--shadow-sm); }
.faq-question {
    width: 100%; text-align: left;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: none; border: none; cursor: pointer;
    padding: 1.15rem 1.35rem; min-height: 56px;
    font-family: var(--font-body); font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
.faq-icon { color: var(--accent-2); transition: transform var(--t); flex: 0 0 auto; font-size: 0.8rem; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer p { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------------
   11. Generic section headings + About/Contact baseline (keep working)
   --------------------------------------------------------------------- */
.section-label { display: inline-block; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--accent-2); margin-bottom: 0.8rem; }
.section-title { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--ink); text-align: center; margin-bottom: 0.8rem; }
.section-subtitle { text-align: center; color: var(--ink-soft); max-width: 55ch; margin: 0 auto 2.5rem; }

.about-hero, .contact-page-header {
    padding: calc(var(--header-height) + 3rem) 0 2.6rem; text-align: center;
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.about-hero-img, .about-interior-photo, .contact-exterior { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-block: 1.5rem; }
.about-content, .contact-section, .about-story, .about-values { padding: 3rem 0; }
.about-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.value-card, .contact-info-block {
    background: #fff; border: 1px solid #ece3d6; border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.value-card h3 { color: var(--ink); margin-bottom: 0.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.map-embed, .map-section iframe { width: 100%; border: 0; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.about-text p, .about-story p { margin-bottom: 1rem; }

/* ---------------------------------------------------------------------
   12. Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--black); color: rgba(246,243,238,0.78); }
.footer-main { padding: 3.5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.2rem; }
.footer-logo-img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 0.9rem; }
.footer-tagline { font-family: var(--font-heading); font-size: 1.35rem; color: var(--cream); margin-bottom: 1rem; }
.footer-badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.footer-badges li {
    font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
    color: var(--accent);
    border: 1px solid rgba(201,138,60,0.4); border-radius: var(--radius-pill);
    padding: 0.32rem 0.7rem;
}
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; }
.footer-loc { margin-bottom: 1.1rem; }
.footer-loc strong { display: block; color: var(--accent); font-weight: 600; margin-bottom: 0.2rem; }
.footer-col address { font-style: normal; line-height: 1.55; font-size: 0.92rem; }
.footer-col a { color: rgba(246,243,238,0.78); }
.footer-col a:hover { color: var(--accent); }
.footer-hours-list { list-style: none; padding: 0; }
.footer-hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; font-size: 0.92rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-hours-list .day { color: var(--cream); font-weight: 500; }
.footer-services { margin-top: 1rem; font-size: 0.82rem; color: rgba(246,243,238,0.55); line-height: 1.6; }
.footer-nav { list-style: none; padding: 0; margin-bottom: 1.2rem; }
.footer-nav li { padding: 0.22rem 0; }
.footer-nav a { font-size: 0.95rem; }
.social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.social-link { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; }
.social-icon { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(201,138,60,0.16); color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.3rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(246,243,238,0.5); }
.footer-bottom-inner a { color: rgba(246,243,238,0.7); }

/* ---------------------------------------------------------------------
   13. Responsive
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
    .shade-grid, .contact-grid { grid-template-columns: 1fr; }
    .shade-grid--reverse .shade-copy { order: 1; }
    .shade-grid--reverse .shade-media { order: 2; }
    .shade-copy { text-align: center; }
    .shade-copy .btn-ghost { display: inline-block; }
    .locations-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
    .logo-wordmark { font-size: 1.3rem; }
}
@media (max-width: 560px) {
    body { font-size: 1rem; }
    .trio { grid-template-columns: 1fr 1fr; }
    .trio .frame-card:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
    /* cut-out drinks: keep 3 equal columns so they sit in a tidy row on mobile */
    .trio--cutout { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; align-items: end; }
    .trio--cutout .drink-float img { max-height: 38vw; filter: drop-shadow(0 14px 16px rgba(10, 6, 3, 0.5)); }
    .stack-2 { grid-template-columns: 1fr; }
    .frame-card--tall { grid-row: auto; }
    .matcha-circles { gap: 0.8rem; }
    .frame-circle--offset { margin-top: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; }
    .scroll-cue { font-size: 0.64rem; }
    .logo-wordmark { display: none; }
}

/* ---------------------------------------------------------------------
   14. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .fade-up { opacity: 1 !important; transform: none !important; }
    .beans-img { animation: none !important; }
    .scroll-cue-dot { animation: none !important; }
}
