/* Ember & Bean Café — demo site by Codexlogy */
:root {
    --espresso: #24150e;
    --roast: #3b2418;
    --coffee: #6f4e37;
    --caramel: #c8864a;
    --caramel-d: #a96a34;
    --cream: #f8f1e7;
    --latte: #ecdfcc;
    --foam: #fffaf3;
    --sage: #6f7f5c;
    --berry: #b4495a;
    --ink: #24150e;
    --muted: #7a6455;
    --line: #e7d9c6;
    --radius: 26px;
    --shadow: 0 30px 60px -30px rgba(36, 21, 14, .45);
    --shadow-sm: 0 10px 30px -18px rgba(36, 21, 14, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; font-family: 'Outfit', system-ui, sans-serif; color: var(--ink); background: var(--foam); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: min(1220px, 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; }
.script { font-family: 'Caveat', cursive; color: var(--caramel); font-size: 1.6rem; line-height: 1; display: inline-block; transform: rotate(-3deg); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel-d); margin-bottom: 16px; }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.head { max-width: 640px; margin-bottom: 54px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .kicker::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--espresso); color: var(--latte); }
.bg-dark h2, .bg-dark h3 { color: var(--foam); }
.bg-dark p { color: #c4ae98; }
.grain { position: relative; }
.grain::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.grain > * { position: relative; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 0; cursor: pointer; transition: transform .25s, background .25s, color .25s, box-shadow .25s; }
.btn-primary { background: var(--caramel); color: #fff; box-shadow: 0 14px 30px -14px rgba(200, 134, 74, .9); }
.btn-primary:hover { background: var(--roast); transform: translateY(-2px); }
.btn-dark { background: var(--espresso); color: var(--foam); }
.btn-dark:hover { background: var(--caramel); transform: translateY(-2px); }
.btn-line { border: 1.5px solid currentColor; background: transparent; }
.btn-line:hover { background: var(--espresso); color: var(--foam); border-color: var(--espresso); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--latte); white-space: nowrap; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; }
.status.open .dot { background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: ping 2s infinite; }
.status.closed .dot { background: var(--berry); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.cart-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 1.3rem; cursor: pointer; transition: border-color .2s; }
.cart-btn:hover { border-color: var(--caramel); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--caramel); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; padding: 0 6px; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.cart-count.show { transform: scale(1); }
.cart-btn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.18); } }

/* Hero */
.hero { padding: 50px 0 90px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--caramel); }
.hero .lead { font-size: 1.2rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-meta { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-meta b { font-family: 'DM Serif Display', serif; font-size: 2.2rem; font-weight: 400; display: block; line-height: 1; }
.hero-meta span { font-size: .9rem; color: var(--muted); }
.hero-art { position: relative; height: 620px; }
.hero-art .arch { position: absolute; right: 0; top: 0; width: 82%; height: 100%; border-radius: 300px 300px 30px 30px; overflow: hidden; box-shadow: var(--shadow); }
.hero-art .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .circle { position: absolute; left: 0; bottom: 40px; width: 230px; height: 230px; border-radius: 50%; overflow: hidden; border: 10px solid var(--foam); box-shadow: var(--shadow); }
.hero-art .circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .stamp { position: absolute; left: 6%; top: 40px; width: 140px; height: 140px; animation: spin 18s linear infinite; }
.hero-art .stamp text { font-family: 'Outfit', sans-serif; font-size: 11.5px; letter-spacing: 3.2px; text-transform: uppercase; fill: var(--espresso); font-weight: 600; }
.hero-art .stamp-center { position: absolute; left: calc(6% + 46px); top: 86px; width: 48px; height: 48px; border-radius: 50%; background: var(--caramel); color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.hero-art .price-tag { position: absolute; right: -10px; bottom: 90px; background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; animation: bob 5s ease-in-out infinite; }
.price-tag img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.price-tag b { display: block; }
.price-tag span { color: var(--caramel-d); font-weight: 600; font-size: .9rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Marquee */
.marquee { background: var(--caramel); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 0 -10px; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 30s linear infinite; font-family: 'DM Serif Display', serif; font-size: 1.7rem; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 46px; }
.marquee-track i { font-size: 1.1rem; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Story split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.collage { position: relative; height: 560px; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.collage .c1 { left: 0; top: 0; width: 62%; height: 75%; }
.collage .c2 { right: 0; bottom: 0; width: 52%; height: 62%; border: 10px solid var(--cream); }
.collage .since { position: absolute; right: 8%; top: 6%; width: 130px; height: 130px; border-radius: 50%; background: var(--espresso); color: var(--latte); display: grid; place-items: center; text-align: center; line-height: 1.1; box-shadow: var(--shadow); }
.collage .since b { font-family: 'DM Serif Display', serif; font-size: 2.2rem; font-weight: 400; color: var(--caramel); display: block; }
.features-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0 36px; }
.features-mini div { display: flex; gap: 14px; }
.features-mini i { width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px; background: var(--latte); color: var(--coffee); display: grid; place-items: center; font-size: 1.4rem; }
.features-mini b { display: block; margin-bottom: 2px; }
.features-mini span { font-size: .92rem; color: var(--muted); }

/* Product cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product { background: #fff; border-radius: var(--radius); padding: 14px 14px 22px; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column; }
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product .img { border-radius: 18px; overflow: hidden; aspect-ratio: 1; position: relative; margin-bottom: 18px; background: var(--latte); }
.product .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.product:hover .img img { transform: scale(1.08); }
.product .tag { position: absolute; left: 12px; top: 12px; background: rgba(255, 250, 243, .95); border-radius: 999px; padding: 5px 12px; font-size: .75rem; font-weight: 600; }
.product .tag.hot { background: var(--berry); color: #fff; }
.product .body { padding: 0 8px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1.35rem; margin-bottom: 4px; }
.product p { font-size: .92rem; flex: 1; }
.product .row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { font-family: 'DM Serif Display', serif; font-size: 1.5rem; }
.add-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--espresso); color: #fff; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.add-btn:hover { background: var(--caramel); transform: rotate(90deg); }
.add-btn.added { background: var(--sage); transform: none; }
.diet { display: flex; gap: 6px; margin-bottom: 8px; }
.diet span { font-size: .7rem; font-weight: 700; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; background: var(--cream); color: var(--coffee); }
.diet .v { background: #e7f0df; color: #4d6b35; }
.diet .vg { background: #dff0e8; color: #2f6b4d; }
.diet .gf { background: #f6ead4; color: #8a5a1f; }

/* Specials chalkboard */
.chalk { border-radius: 34px; padding: 60px; background: radial-gradient(circle at 20% 0%, #3d3a33, #22201c 70%); color: #f3efe6; display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; box-shadow: var(--shadow); border: 10px solid #6b4a32; position: relative; overflow: hidden; }
.chalk h2 { color: #fff; font-family: 'Caveat', cursive; font-size: clamp(3rem, 5vw, 4.4rem); }
.chalk p { color: #cfc8ba; }
.chalk-list { display: grid; gap: 22px; font-family: 'Caveat', cursive; font-size: 1.7rem; }
.chalk-list div { display: flex; align-items: baseline; gap: 12px; }
.chalk-list div::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted rgba(255, 255, 255, .35); }
.chalk-list span:last-child { order: 3; color: #f5c891; }
.chalk-list small { display: block; font-family: 'Outfit', sans-serif; font-size: .85rem; color: #a8a090; }
.countdown { display: flex; gap: 12px; margin-top: 26px; }
.countdown div { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 14px; text-align: center; min-width: 70px; }
.countdown b { display: block; font-size: 1.6rem; font-family: 'DM Serif Display', serif; font-weight: 400; color: #f5c891; }
.countdown span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #a8a090; }

/* Brew process */
.brew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brew-step { text-align: center; padding: 34px 24px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); transition: background .3s; }
.brew-step:hover { background: rgba(255, 255, 255, .07); }
.brew-step i { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-size: 2rem; background: rgba(200, 134, 74, .15); color: var(--caramel); }
.brew-step .n { font-family: 'Caveat', cursive; color: var(--caramel); font-size: 1.4rem; display: block; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery figure { margin: 0; border-radius: 22px; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure::after { content: "\eb54"; font-family: 'remixicon'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; background: rgba(36, 21, 14, .35); opacity: 0; transition: opacity .3s; }
.gallery figure:hover::after { opacity: 1; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 12, 8, .9); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 85vh; border-radius: 20px; box-shadow: var(--shadow); }

/* Reviews */
.review { background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); position: relative; }
.review::before { content: "“"; position: absolute; right: 26px; top: 0; font-family: 'DM Serif Display', serif; font-size: 7rem; color: var(--latte); line-height: 1; }
.review .stars { color: var(--caramel); margin-bottom: 14px; }
.review blockquote { margin: 0 0 24px; font-size: 1.08rem; color: var(--ink); }
.review .who { display: flex; align-items: center; gap: 14px; }
.review .who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.review .who span { display: block; font-size: .85rem; color: var(--muted); }
.rating-badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.rating-badges span { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; }
.rating-badges b { color: var(--caramel-d); }

/* Loyalty + events */
.loyalty { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; background: var(--latte); border-radius: 36px; padding: 60px; overflow: hidden; position: relative; }
.loyalty-card { aspect-ratio: 1.6; border-radius: 24px; padding: 28px; color: var(--foam); background: linear-gradient(135deg, var(--roast), var(--espresso) 60%, #4b2e1f); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-6deg); transition: transform .5s; }
.loyalty-card:hover { transform: rotate(0) scale(1.03); }
.loyalty-card .top { display: flex; justify-content: space-between; align-items: center; font-family: 'DM Serif Display', serif; font-size: 1.4rem; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamps span { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(248, 241, 231, .4); display: grid; place-items: center; color: var(--caramel); font-size: 1.2rem; }
.stamps span.on { background: rgba(200, 134, 74, .2); border-style: solid; border-color: var(--caramel); }
.event { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.event:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event .img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.event .img img { width: 100%; height: 100%; object-fit: cover; }
.event .date { position: absolute; left: 16px; top: 16px; background: var(--foam); border-radius: 16px; padding: 8px 14px; text-align: center; line-height: 1.1; }
.event .date b { display: block; font-family: 'DM Serif Display', serif; font-size: 1.6rem; font-weight: 400; }
.event .date span { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel-d); }
.event .body { padding: 24px 26px 28px; }
.event .meta { display: flex; gap: 16px; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }

/* Instagram */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.insta a::after { content: "\ee66"; font-family: 'remixicon'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; background: rgba(200, 134, 74, .6); opacity: 0; transition: opacity .3s; }
.insta a:hover::after { opacity: 1; }
.insta a:hover img { transform: scale(1.1); }

/* Page hero */
.page-hero { padding: 80px 0 70px; text-align: center; background: radial-gradient(800px 360px at 50% 0%, var(--latte), transparent 70%); }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.15rem; }

/* Menu page */
.menu-toolbar { position: sticky; top: 88px; z-index: 30; background: rgba(255, 250, 243, .92); backdrop-filter: blur(10px); padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-toolbar .container { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats button, .chips button { white-space: nowrap; border: 1.5px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; transition: all .2s; display: inline-flex; gap: 8px; align-items: center; }
.cats button:hover, .chips button:hover { border-color: var(--caramel); }
.cats button.on { background: var(--espresso); color: var(--foam); border-color: var(--espresso); }
.chips { display: flex; gap: 8px; align-items: center; }
.chips button { padding: 8px 14px; font-size: .85rem; }
.chips button.on { background: var(--latte); border-color: var(--caramel); }
.menu-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; min-width: 240px; }
.menu-search input { border: 0; outline: none; background: transparent; padding: 11px 0; font: inherit; width: 100%; }
.menu-section { padding: 60px 0 10px; scroll-margin-top: 170px; }
.menu-section .sec-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.menu-section .sec-title h2 { margin: 0; }
.menu-section .sec-title p { margin: 0; max-width: 420px; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.menu-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.menu-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.menu-item img { width: 110px; height: 110px; border-radius: 16px; object-fit: cover; }
.menu-item h3 { font-size: 1.25rem; margin-bottom: 2px; display: flex; align-items: center; gap: 8px; }
.menu-item p { font-size: .9rem; margin: 0 0 6px; }
.menu-item .side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-right: 6px; }
.badge-best { font-family: 'Outfit', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--berry); color: #fff; padding: 3px 8px; border-radius: 6px; }
.no-results { text-align: center; padding: 60px 0; display: none; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(36, 21, 14, .5); backdrop-filter: blur(3px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--foam); z-index: 100; transform: translateX(100%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; padding: 60px 10px; }
.cart-empty i { font-size: 3.4rem; color: var(--caramel); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-line img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.cart-line b { display: block; }
.cart-line small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; font-weight: 700; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.drawer-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); background: #fff; }
.drawer-foot .line { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); }
.drawer-foot .total { font-weight: 700; color: var(--ink); font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.order-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 18px; }
.order-type label input { display: none; }
.order-type label span { display: flex; justify-content: center; gap: 8px; padding: 11px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 600; cursor: pointer; }
.order-type input:checked + span { border-color: var(--caramel); background: var(--cream); }

/* Toast + modal */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); background: var(--espresso); color: var(--foam); padding: 14px 22px; border-radius: 999px; z-index: 130; display: flex; gap: 10px; align-items: center; font-weight: 500; transition: transform .4s cubic-bezier(.2, 1.4, .4, 1); box-shadow: var(--shadow); }
.toast.show { transform: translate(-50%, 0); }
.toast i { color: var(--caramel); }
.modal { position: fixed; inset: 0; z-index: 140; background: rgba(36, 21, 14, .55); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: var(--foam); border-radius: 32px; padding: 44px; max-width: 460px; width: 100%; text-align: center; transform: translateY(20px) scale(.94); transition: transform .4s cubic-bezier(.2, 1.3, .4, 1); }
.modal.open .modal-box { transform: none; }
.modal-box .cup { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 20px; background: var(--caramel); color: #fff; display: grid; place-items: center; font-size: 2.6rem; box-shadow: 0 18px 40px -16px rgba(200, 134, 74, .9); }
.modal-box .summary { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 20px 0; display: grid; gap: 6px; font-size: .95rem; }
.modal-box .summary div { display: flex; justify-content: space-between; gap: 12px; }
.modal-box .summary span { color: var(--muted); }

/* Contact / reservation */
.reserve-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 34px; align-items: start; }
.reserve-card { background: #fff; border-radius: 32px; padding: 46px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--foam); font: inherit; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(200, 134, 74, .15); }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: 16px; background: var(--foam); padding: 6px; }
.stepper button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-sm); }
.stepper b { font-size: 1.1rem; }
.seat-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.seat-opts label input { display: none; }
.seat-opts label span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 6px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .85rem; transition: all .2s; }
.seat-opts label span i { font-size: 1.5rem; color: var(--coffee); }
.seat-opts input:checked + span { border-color: var(--caramel); background: var(--cream); box-shadow: inset 0 0 0 1px var(--caramel); }
.times { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.times button { padding: 11px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; font-size: .88rem; transition: all .2s; }
.times button.on { background: var(--espresso); color: var(--foam); border-color: var(--espresso); }
.times button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.note { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin: 12px 0 0; }
.visit-card { background: var(--espresso); color: var(--latte); border-radius: 30px; padding: 36px; position: relative; overflow: hidden; }
.visit-card::after { content: "\ec1b"; font-family: 'remixicon'; position: absolute; right: -20px; bottom: -50px; font-size: 13rem; color: rgba(200, 134, 74, .08); }
.visit-card h3 { color: var(--foam); }
.visit-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); position: relative; z-index: 1; }
.visit-row i { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: rgba(200, 134, 74, .15); color: var(--caramel); display: grid; place-items: center; font-size: 1.3rem; }
.visit-row small { display: block; color: #a8907a; }
.visit-row b { color: var(--foam); font-weight: 500; }
.hours-card { margin-top: 22px; background: #fff; border-radius: 30px; padding: 30px; border: 1px solid var(--line); }
.hours-card .hrow { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; font-weight: 500; }
.hours-card .hrow.today { background: var(--cream); font-weight: 700; }
.map-card { margin-top: 22px; height: 240px; border-radius: 30px; overflow: hidden; position: relative; background: linear-gradient(0deg, rgba(200, 134, 74, .08), rgba(200, 134, 74, .08)), repeating-linear-gradient(0deg, transparent 0 46px, #eadbc6 46px 48px), repeating-linear-gradient(90deg, transparent 0 46px, #eadbc6 46px 48px), var(--cream); }
.map-card::before { content: ""; position: absolute; left: -10%; top: 58%; width: 120%; height: 20px; background: #fff; transform: rotate(-9deg); }
.map-card::after { content: ""; position: absolute; left: 32%; top: -10%; width: 16px; height: 120%; background: #fff; transform: rotate(14deg); }
.map-card .pin { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -100%); z-index: 2; text-align: center; }
.map-card .pin span { display: block; background: var(--espresso); color: var(--foam); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.map-card .pin i { font-size: 2.8rem; color: var(--caramel); }
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--caramel); font-size: 1.4rem; transition: transform .3s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; margin: 0; }

.newsletter { display: flex; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 5px; margin-top: 14px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; padding: 0 16px; font: inherit; }
.demo-ribbon { position: fixed; left: 18px; bottom: 18px; z-index: 80; background: var(--espresso); color: var(--foam); padding: 10px 16px; border-radius: 999px; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.demo-ribbon a { color: var(--caramel); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee-track, .stamp, .price-tag { animation: none; } }

/* Responsive */
@media (max-width: 1080px) {
    .hero .container, .split, .chalk, .loyalty, .reserve-grid { grid-template-columns: 1fr; }
    .grid-4, .brew { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .menu-list { grid-template-columns: 1fr; }
    .insta { grid-template-columns: repeat(3, 1fr); }
    .hero-art { height: 520px; }
}
@media (max-width: 860px) {
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .section { padding: 80px 0; }
    .menu-toolbar { top: 76px; }
}
@media (max-width: 640px) {
    .grid-4, .grid-3, .brew, .features-mini, .form-grid { grid-template-columns: 1fr; }
    .seat-opts { grid-template-columns: repeat(2, 1fr); }
    .times { grid-template-columns: repeat(3, 1fr); }
    .chalk, .loyalty, .reserve-card { padding: 30px 22px; }
    .menu-item { grid-template-columns: 80px 1fr; }
    .menu-item img { width: 80px; height: 80px; }
    .menu-item .side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .hero-art { height: 420px; }
    .hero-art .circle { width: 150px; height: 150px; }
    .collage { height: 420px; }
}

/* ── Header: live-status utility bar, news ticker, split nav around a centred seal ── */
.utility { background: var(--espresso); color: var(--latte); font-size: .84rem; }
.utility .container { display: flex; align-items: center; gap: 18px; height: 42px; }
.utility .status { background: rgba(255, 255, 255, .08); color: var(--foam); padding: 5px 12px; font-size: .78rem; flex-shrink: 0; }
.ticker { flex: 1; overflow: hidden; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; padding: 0 30px; position: relative; }
.ticker-track span::after { content: ""; position: absolute; right: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--caramel); }
.ticker-track i { color: var(--caramel); }
.ticker-track b { color: var(--caramel); font-weight: 600; }
@keyframes ticker { to { transform: translateX(-50%); } }
.util-call { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--foam); }
.util-call:hover { color: var(--caramel); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 250, 243, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 14px 30px -26px rgba(36, 21, 14, .7); border-color: var(--line); }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 88px; }
.hnav { display: flex; align-items: center; gap: 4px; }
.hnav a { position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 500; transition: background .2s, color .2s; }
.hnav a:hover { background: var(--latte); }
.hnav a.active { color: var(--caramel-d); }
.hnav a.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 14px; height: 6px; border-radius: 50%; background: var(--caramel); transform: translateX(-50%) rotate(-20deg); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); }
.brand { display: flex; align-items: center; gap: 12px; }
.seal { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--espresso); color: var(--caramel); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; box-shadow: 0 10px 20px -10px rgba(36, 21, 14, .8); transition: transform .4s; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.seal text { font: 600 9.6px 'Outfit', sans-serif; letter-spacing: 1.9px; fill: var(--latte); }
.seal i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--caramel); color: var(--espresso); display: grid; place-items: center; font-size: 1rem; }
.brand:hover .seal { transform: rotate(-12deg) scale(1.05); }
.wm { font-family: 'DM Serif Display', serif; font-size: 1.75rem; line-height: 1; white-space: nowrap; }
.wm small { display: block; font-family: 'Outfit', sans-serif; font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.hright { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hright .hnav { margin-right: 4px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; right: 19px; }
.burger.open span:first-child { top: 23px; transform: rotate(45deg); }
.burger.open span:last-child { top: 23px; right: 14px; transform: rotate(-45deg); }

.menu-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: var(--top, 130px); z-index: 59; background: var(--espresso); color: var(--latte); overflow-y: auto; padding: 30px 0 40px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s, visibility .3s;
    background-image: radial-gradient(circle at 85% 15%, rgba(200, 134, 74, .25), transparent 40%); }
.menu-sheet.open { opacity: 1; visibility: visible; transform: none; }
.sheet-nav { display: grid; margin-bottom: 30px; }
.sheet-nav a { display: flex; align-items: baseline; gap: 16px; font-family: 'DM Serif Display', serif; font-size: 2.3rem; line-height: 1.15; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--foam); }
.sheet-nav a span { font-family: 'Outfit', sans-serif; font-size: .8rem; color: var(--caramel); letter-spacing: .1em; }
.sheet-nav a.active { color: var(--caramel); }
.sheet-info { display: grid; gap: 12px; justify-items: start; }
.sheet-info p { display: flex; gap: 8px; align-items: center; margin: 0; }
.sheet-info .status { background: rgba(255, 255, 255, .08); color: var(--foam); }

/* ── Footer: marquee, closing headline, visit / hours / club cards, giant wordmark ── */
.site-footer { background: var(--espresso); color: #c4ad97; margin-top: 0; overflow: hidden; position: relative; }
.site-footer a:hover { color: var(--caramel); }
.ft-marquee { background: var(--caramel); color: var(--espresso); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin: 18px 0 10px; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .6); }
.ft-marquee-track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: ticker 36s linear infinite; padding-left: 26px; }
.ft-marquee span { font-family: 'DM Serif Display', serif; font-size: 1.7rem; line-height: 1; }
.ft-marquee i { font-size: 1.1rem; opacity: .7; }
.ft-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding: 70px 0 54px; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.ft-hero .script { font-family: 'Caveat', cursive; font-size: 1.9rem; color: var(--caramel); display: block; margin-bottom: 6px; transform: rotate(-3deg); transform-origin: left; }
.ft-hero h2 { font-family: 'DM Serif Display', serif; font-weight: 400; color: var(--foam); font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); line-height: 1.02; margin: 0; }
.ft-hero h2 em { color: var(--caramel); }
.ft-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .25); color: var(--foam); background: transparent; }
.btn-ghost-light:hover { background: var(--foam); color: var(--espresso) !important; transform: translateY(-2px); }
.ft-grid { display: grid; grid-template-columns: 1.15fr 1fr .75fr 1.15fr; gap: 22px; padding: 54px 0 40px; align-items: start; }
.ft-grid > * { min-width: 0; }
.ft-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: 28px; padding: 26px; }
.site-footer h4 { color: var(--foam); font-family: 'Outfit', sans-serif; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; }
.ft-visit b { color: var(--foam); display: block; font-size: 1.1rem; }
.ft-map { position: relative; height: 130px; border-radius: 18px; background: #3a2619; margin-bottom: 18px; overflow: hidden; }
.ft-map .road { position: absolute; background: #5a3d2a; }
.ft-map .r1 { left: -10%; right: -10%; top: 46%; height: 12px; transform: rotate(-8deg); }
.ft-map .r2 { top: -10%; bottom: -10%; left: 30%; width: 10px; transform: rotate(12deg); }
.ft-map .r3 { top: -10%; bottom: -10%; left: 74%; width: 8px; }
.ft-map .park { position: absolute; right: 8%; top: 12%; width: 54px; height: 34px; border-radius: 12px; background: #4f5a3c; }
.ft-map .pin { position: absolute; left: 50%; top: 42%; width: 40px; height: 40px; border-radius: 50% 50% 50% 0; background: var(--caramel); color: var(--espresso); display: grid; place-items: center; transform: translate(-50%, -60%) rotate(-45deg); box-shadow: 0 0 0 8px rgba(200, 134, 74, .25); animation: pinpulse 2.4s infinite; }
.ft-map .pin i { transform: rotate(45deg); }
@keyframes pinpulse { 50% { box-shadow: 0 0 0 16px rgba(200, 134, 74, 0); } }
.ft-contact { display: grid; gap: 8px; margin: 16px 0; font-size: .93rem; }
.ft-contact a { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.ft-contact i, .ft-link i { color: var(--caramel); }
.ft-link { font-weight: 600; color: var(--foam); display: inline-flex; gap: 6px; align-items: center; border-bottom: 1px solid var(--caramel); padding-bottom: 2px; }
.site-footer .hours-card { margin: 0; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.ft-hours-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.ft-hours-head h4 { margin: 0; }
.site-footer .status { background: rgba(255, 255, 255, .08); color: var(--foam); font-size: .74rem; padding: 6px 11px; }
.site-footer .hours-card .hrow { padding: 8px 10px; font-size: .9rem; }
.site-footer .hours-card .hrow.today { background: var(--caramel); color: var(--espresso); }
.ft-links ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.ft-links a { transition: color .2s, padding .2s; }
.ft-links ul a:hover { padding-left: 6px; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; font-size: 1.05rem; transition: all .25s; }
.ft-social a:hover { background: var(--caramel); border-color: var(--caramel); color: var(--espresso) !important; transform: translateY(-3px); }
.ft-club { background: linear-gradient(160deg, #3b2418, #2a190f); }
.ft-club p { font-size: .93rem; margin: 0 0 16px; }
.ft-club .stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.ft-club .stamps span { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .25); display: grid; place-items: center; font-size: .95rem; }
.ft-club .stamps span.on { border: 0; background: var(--caramel); color: var(--espresso); transform: rotate(-12deg); }
.ft-club .stamps span.free { border: 1.5px solid var(--caramel); color: var(--caramel); font-size: .58rem; font-weight: 700; letter-spacing: .06em; }
.ft-club .newsletter { margin-top: 0; }
.ft-word { font-family: 'DM Serif Display', serif; font-size: clamp(4rem, 1rem + 13vw, 13rem); line-height: .85; letter-spacing: -.03em; text-align: center; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); white-space: nowrap; margin: 10px 0 -8px; user-select: none; }
.ft-word em { -webkit-text-stroke: 0; color: var(--caramel); font-style: normal; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; position: relative; }
.ft-bottom nav { display: flex; gap: 18px; }
.ft-bottom .pay { display: inline-flex; align-items: center; gap: 6px; }
.ft-bottom a[href="../../"] { color: var(--caramel); }

@media (max-width: 1180px) {
    .hright .hnav { display: none; }
    .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .site-header .bar { grid-template-columns: 1fr auto; height: 76px; }
    .hnav-l { display: none; }
    .burger { display: block; }
    .seal { width: 52px; height: 52px; }
    .wm { font-size: 1.45rem; }
    .util-call { display: none; }
}
@media (max-width: 640px) {
    .utility .status { display: none; }
    .book-btn { display: none; }
    .ft-grid { grid-template-columns: 1fr; }
    .ft-hero { padding: 50px 0 40px; }
    .ft-ctas, .ft-ctas .btn { width: 100%; }
    .ft-bottom { flex-direction: column; align-items: flex-start; }
    .ft-card { padding: 20px; }
    .ft-word { font-size: 13.5vw; }
    .wm small { display: none; }
    .cart-btn { width: 44px; height: 44px; }
    .burger { width: 44px; height: 44px; }
    .burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
    .burger.open span:first-child, .burger.open span:last-child { top: 21px; }
    .burger span { left: 12px; right: 12px; } .burger span:last-child { right: 17px; } .burger.open span:last-child { right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track, .ft-marquee-track, .seal svg, .ft-map .pin { animation: none; } }
