@charset "UTF-8";
/* ==========================================================================
   vcard3 - "Dark Cafe" (T-0207)

   A specialty coffee house at night. Espresso-dark by default; "morning
   latte" is the visitor's light option. Gloock (menu-board serif) over
   Outfit, with Caveat as the chalk hand. Each section is its own cafe
   object so the page never repeats a backdrop: a lamp-lit window, a marble
   counter, an order receipt, a chalkboard menu, arched brick windows, a
   pastry display case, frosted booth glass under neon, a cafe gazette, an
   acrylic table tent and a chalk A-frame with a neon OPEN sign.

    1. Tokens            7. Menu board & story   13. Forms & buttons
    2. Base              8. Arches (gallery)     14. CTA, map, footer, dock
    3. Window (hero)     9. Display case         15. QR view, LN menu
    4. Counter & cup    10. Neon booth           16. Motion & reveal
    5. Actions/ticker   11. Table tent (QR)      17. Responsive, light
    6. Heads & receipt  12. A-frame (hours)      18. Reduced motion
   ========================================================================== */

/* 1. Tokens =============================================================== */
:root {
    --bg: #120c09;
    --bg-2: #1a120d;
    --card: #211710;
    --card-2: #2a1e15;
    --ink: #f6ebdd;
    --ink-2: #dbc6ad;
    --muted: #b29a80;
    --line: rgba(246, 235, 221, .1);
    --line-2: rgba(246, 235, 221, .2);
    --crema: #dca46a;
    --crema-2: #bb7c41;
    --crema-soft: rgba(220, 164, 106, .14);
    /* Crema as a surface (buttons, badges) stays the same in both themes;
       --crema is the accent for text and lines and darkens in the light one. */
    --crema-fill: #dca46a;
    --on-crema: #1c1009;
    --foam: #fbf4ea;
    --neon: #ff7a59;
    --neon-glow: rgba(255, 122, 89, .55);
    --chalk: #eae6dc;
    --board: #1f2422;
    --receipt: #f7f0e5;
    --receipt-ink: #2a1a12;
    --receipt-muted: #6f5947;
    --ok: #8fd19a;
    --danger: #ff9b8f;

    --sky-1: #1b110b;
    --sky-2: #2c1a10;
    --lamp: rgba(255, 176, 92, .55);

    --display: 'Gloock', 'Iowan Old Style', Georgia, serif;
    --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --sh: 0 1px 0 rgba(0, 0, 0, .35), 0 18px 34px -18px rgba(0, 0, 0, .85);
    --sh-lg: 0 30px 60px -24px rgba(0, 0, 0, .9);
    --gutter: 18px;
    --window-h: 272px;
    --counter-lift: 70px;
    color-scheme: dark;
}

/* A real damped spring (~9% overshoot) where linear() easing is supported. */
@supports (transition-timing-function: linear(0, 1)) {
    :root {
        --spring: linear(0, 0.021, 0.077, 0.157, 0.253, 0.357, 0.463, 0.567, 0.665, 0.754, 0.833, 0.901, 0.957, 1.002, 1.037, 1.063, 1.08, 1.09, 1.094, 1.094, 1.09, 1.083, 1.074, 1.065, 1.055, 1.045, 1.035, 1.026, 1.018, 1.012, 1.006, 1.001, 0.998, 0.995, 0.993, 0.992, 1);
    }
}

/* Theme switch runs as a view transition; the page script wipes the new
   theme in as a circle from the lamp switch - no default cross-fade. */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

/* 2. Base ================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Body clips at its own box (overflow set here stops it being handed to the
   viewport): the full-bleed bands are sized from 50vw, and on a phone any
   stray overflow would otherwise widen the layout and feed on itself. */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body.v3-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(220, 164, 106, .06), transparent 60%),
        var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
}

:where(.v3-body) :where(h1, h2, h3, p, figure) { margin: 0; }
:where(.v3-body) :where(ul) { margin: 0; padding: 0; list-style: none; }
:where(.v3-body) :where(a) { color: inherit; text-decoration: none; }
:where(.v3-body) :where(button) { font: inherit; color: inherit; }
:where(.v3-shell) :where(img) { max-width: 100%; }

/* Owner-typed text can hold a pasted URL or one very long word - let it
   break anywhere rather than run out of its card. */
.v3-about,
.v3-workdesc,
.v3-role,
.v3-svc__title,
.v3-svc__desc,
.v3-pastry__title,
.v3-pastry__desc,
.v3-price,
.v3-quote__text,
.v3-quote__name,
.v3-story__title,
.v3-story__desc,
.v3-plate__name,
.v3-plate__hint,
.v3-qrzoom__name,
.v3-arch--file,
.vcard-preview-title {
    overflow-wrap: anywhere;
}

.v3-body :focus-visible {
    outline: 2px solid var(--focus, var(--crema));
    outline-offset: 3px;
}

/* Crema is too pale a ring on the paper surfaces - roast brown there. */
.v3-boards,
.v3-tent__card,
.v3-qrzoom {
    --focus: #8a4a1f;
}

::selection { background: rgba(220, 164, 106, .3); }

.v3-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Toggled by vcard-actions.js (contact lists, form status lines). */
.d-none { display: none !important; }
.text-success { color: var(--ok); }
.text-danger { color: var(--danger); }

.v3-ico {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Custom X (Twitter) glyph - Font Awesome 6.4 predates the X logo. */
.icon-x-twitter{display:inline-block;width:1em;height:1em;flex-shrink:0;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center/contain no-repeat}

.v3-shell {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 0 var(--gutter) 24px;
    counter-reset: v3-sec;
}

/* Reading progress: a line of crema pouring across the top. */
.v3-pour {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 4px;
    pointer-events: none;
}

.v3-pour__fill {
    position: absolute;
    inset: 0;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(90deg, #6b3b1c, var(--crema-2) 40%, var(--crema) 80%, #f4d6a8);
    box-shadow: 0 0 10px rgba(220, 164, 106, .6);
    transform: scaleX(0);
    transform-origin: left;
}

/* 3. Window (hero) ======================================================== */
.v3-hero { position: relative; }

/* A cafe window at night: warm lamps glowing behind glass, an arched frame. */
.v3-window {
    position: relative;
    height: var(--window-h);
    margin-inline: calc(50% - 50vw + var(--sbw, 0px) / 2);
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 30% 20%, rgba(255, 170, 90, .18), transparent 70%),
        radial-gradient(50% 60% at 80% 30%, rgba(255, 120, 90, .12), transparent 70%),
        linear-gradient(180deg, var(--sky-1), var(--sky-2));
}

.v3-window__layer {
    position: absolute;
    inset: 0;
    will-change: transform;
}

/* Banners are cropped 2.5:1 in the editor (T-0210): keep that whole band
   visible at the top instead of filling the taller window, and let it fade
   into the window below where the counter overlaps it. */
.v3-window__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 2.5 / 1;
    max-height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
    mask-image: linear-gradient(180deg, #000 72%, transparent);
    transform-origin: 50% 30%;
    animation: v3-kenburns 28s ease-in-out infinite alternate;
}

/* The owner's banner as seen from inside the cafe: warm, a little dim. */
.v3-window.has-image .v3-window__layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 10, 6, .35) 0%, rgba(18, 10, 6, .05) 40%, rgba(18, 10, 6, .55) 100%),
        linear-gradient(0deg, rgba(190, 110, 50, .14), rgba(190, 110, 50, .14));
    pointer-events: none;
}

.v3-window.is-lowres .v3-window__img {
    transform: none;
    animation: none;
}

@keyframes v3-kenburns {
    from { transform: scale(1.04) translate3d(-.8%, -.4%, 0); }
    to { transform: scale(1) translate3d(.8%, .4%, 0); }
}

/* Arched window frame with a centre mullion and a transom bar. */
.v3-window__mullions {
    position: absolute;
    left: 50%;
    top: 22px;
    bottom: -60px;
    width: min(76%, 460px);
    transform: translateX(-50%);
    border: 7px solid rgba(10, 6, 4, .6);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    background:
        linear-gradient(90deg, transparent calc(50% - 3px), rgba(10, 6, 4, .6) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
        linear-gradient(180deg, transparent 58%, rgba(10, 6, 4, .6) 58% calc(58% + 6px), transparent calc(58% + 6px));
    box-shadow: inset 0 0 0 1px rgba(255, 220, 180, .06), 0 0 0 1px rgba(255, 220, 180, .05);
    pointer-events: none;
}

/* Pendant lamps: a cord and a glowing shade, swaying ever so slightly. */
.v3-lamp {
    position: absolute;
    top: 0;
    width: 34px;
    height: 110px;
    transform-origin: 50% 0;
    animation: v3-sway 7s ease-in-out infinite alternate;
    pointer-events: none;
}

.v3-lamp::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1.5px;
    height: calc(100% - 18px);
    background: rgba(255, 230, 200, .25);
}

.v3-lamp::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 20px;
    border-radius: 18px 18px 4px 4px;
    background: linear-gradient(180deg, #3a2618, #1d130c);
    box-shadow: 0 14px 30px 8px var(--lamp), 0 6px 0 -2px #ffcf8a;
}

.v3-lamp--a { left: 12%; height: 96px; }
.v3-lamp--b { left: 48%; height: 124px; animation-delay: -2s; animation-duration: 8.5s; }
.v3-lamp--c { left: 82%; height: 86px; animation-delay: -4s; }

@keyframes v3-sway {
    from { transform: rotate(-1.6deg); }
    to { transform: rotate(1.6deg); }
}

.v3-window.has-image .v3-lamp,
.v3-window.has-image .v3-window__mullions { display: none; }

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

/* Lamp switch (theme). */
.v3-theme {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top));
    left: max(14px, calc(50vw - var(--sbw, 0px) / 2 - 310px + 14px));
    z-index: 5;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 230, 200, .22);
    border-radius: 50%;
    background: rgba(18, 10, 6, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #ffd9a8;
    cursor: pointer;
    transition: transform .5s var(--spring), background .2s ease, color .3s ease, box-shadow .3s ease;
}

.v3-theme .v3-ico { width: 20px; height: 20px; }
.v3-theme:active { transform: scale(.9); }

/* Morning latte: the bulb is "on". */
:root[data-theme="light"] .v3-theme {
    background: #ffd9a8;
    color: #3a2412;
    box-shadow: 0 0 18px rgba(255, 200, 120, .75);
}

.v3-lang {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top));
    right: calc(14px - var(--gutter));
    z-index: 40;
}

/* 4. Counter & cup ======================================================== */
/* A dark marble counter the cup sits on. */
.v3-counter {
    position: relative;
    margin-top: calc(-1 * var(--counter-lift));
    padding: 0 18px 28px;
    border-radius: 30px 30px 26px 26px;
    background:
        radial-gradient(90% 40% at 50% 0%, rgba(255, 220, 180, .08), transparent 70%),
        linear-gradient(115deg, transparent 20%, rgba(255, 240, 220, .035) 22%, transparent 26%, transparent 60%, rgba(255, 240, 220, .03) 62%, transparent 66%),
        var(--card);
    box-shadow: inset 0 1px 0 rgba(255, 230, 200, .12), var(--sh-lg);
    text-align: center;
}

.v3-id { position: relative; }

/* The cup, seen from above on its saucer. */
.v3-cup {
    position: relative;
    display: grid;
    place-items: center;
    width: 200px;
    height: 200px;
    margin: -100px auto 0;
}

.v3-cup__saucer {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 32%, #ffffff 0 18%, #efe8de 52%, #d6ccbf 72%, #c3b7a8 100%);
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .8), inset 0 -6px 12px rgba(0, 0, 0, .12);
}

.v3-cup__handle {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 38px;
    height: 24px;
    margin-top: -12px;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(180deg, #fbf7f1, #d8cfc3);
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, .8), 0 6px 10px -6px rgba(0, 0, 0, .6);
}

/* Cup rim: a white ceramic ring around the coffee. */
.v3-cup__rim {
    position: absolute;
    width: 158px;
    height: 158px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #ffffff, #e9e1d6 70%, #cfc5b8);
    box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .55), inset 0 -3px 6px rgba(0, 0, 0, .1);
}

.v3-cup__img {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 5px #b8763d, 0 0 0 7px rgba(90, 50, 20, .5), inset 0 0 0 1px rgba(0, 0, 0, .2);
    background: radial-gradient(circle at 45% 40%, #c98a4f, #7a4522 70%, #4a2812);
    transition: transform .6s var(--spring);
}

.v3-cup__initials {
    color: var(--foam);
    font-family: var(--display);
    font-size: 46px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}

/* A line of crema pouring itself around the rim - kept off the photo. */
.v3-latte {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    pointer-events: none;
}

.v3-latte__pour {
    stroke: #c48548;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: .75;
}

/* Steam curling up off the cup. */
.v3-steam {
    position: absolute;
    left: 50%;
    top: -58px;
    z-index: 3;
    width: 120px;
    height: 90px;
    margin-left: -60px;
    overflow: visible;
    fill: none;
    pointer-events: none;
    filter: blur(1.4px);
}

.v3-steam__wisp {
    stroke: rgba(255, 245, 232, .45);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 40 140;
    animation: v3-steam 4.2s ease-in-out infinite;
}

.v3-steam__wisp:nth-child(2) { animation-delay: -1.4s; stroke-width: 6; }
.v3-steam__wisp:nth-child(3) { animation-delay: -2.8s; }

@keyframes v3-steam {
    0% { stroke-dashoffset: 180; opacity: 0; transform: translateY(10px); }
    30% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-14px); }
}

.v3-views {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px !important;
    padding: 5px 13px 5px 10px;
    border-radius: 999px;
    background: var(--card-2);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 500;
}

.v3-views__bean { display: inline-grid; color: var(--crema); }
.v3-views__bean .v3-ico { width: 15px; height: 15px; stroke-width: 1.6; }

.v3-views__num {
    display: inline-block;
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.v3-views__num.is-done { animation: v3-pop .5s var(--spring); }

@keyframes v3-pop { 50% { transform: scale(1.18); color: var(--crema); } }

/* The name, lit like a neon sign over the counter. */
.v3-name {
    position: relative;
    margin-top: 14px !important;
    padding: 0 6px;
    /* Room for the name: the screen less gutters, counter and own padding.
       --name-fit (letters in the longest word, or a third of the name) comes
       from the page; ~.62em per Gloock letter keeps that word on one line. */
    --name-w: calc(100vw - var(--sbw, 0px) - 2 * var(--gutter) - 48px);
    font-family: var(--display);
    font-size: max(1rem, min(clamp(2.3rem, 11vw, 3.2rem), calc(var(--name-w) / (var(--name-fit, 1) * .62))));
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: .005em;
    color: var(--ink);
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.v3-name__text {
    color: #fff4e8;
    text-shadow:
        0 0 2px #fff,
        0 0 10px var(--neon),
        0 0 22px var(--neon),
        0 0 42px var(--neon-glow);
}

.v3-verified {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-left: 4px;
    vertical-align: .18em;
    color: var(--crema);
}

.v3-verified .v3-ico { width: 24px; height: 24px; stroke-width: 1.9; }

.v3-role {
    margin-top: 12px !important;
    color: var(--ink-2);
    font-size: 14px;
    text-wrap: balance;
}

.v3-role__title {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.v3-role__at {
    margin-right: 6px;
    color: var(--muted);
    font-family: var(--hand);
    font-size: 20px;
}

.translated-ltr .v3-role__at,
.translated-rtl .v3-role__at { display: none; }

/* The company, chalked on the menu. */
.v3-role__company {
    color: var(--crema);
    font-family: var(--hand);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.v3-workdesc {
    max-width: 440px;
    margin: 10px auto 0 !important;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.55;
}

.v3-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px !important;
}

/* Little white saucers. */
.v3-social__link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #ffffff, #e8e0d4 70%, #cfc4b6);
    box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .8);
    color: #2a1a12;
    font-size: 17px;
    transition: transform .5s var(--spring), translate .3s var(--ease);
}

.v3-social__link:active { transform: scale(.9); }

/* 5. Actions & ticker ===================================================== */
.v3-actions {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.v3-quick {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.v3-quick__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 72px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-2);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Each shortcut is an espresso cup from above: a crema ring in dark ceramic. */
.v3-quick__ico {
    position: relative;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle, #3b2517 0 52%, #b8763d 54% 60%, #2a1b12 62%);
    box-shadow: 0 0 0 1px rgba(255, 230, 200, .12), 0 10px 16px -10px rgba(0, 0, 0, .9);
    color: #ffe3c0;
    font-size: 19px;
    transition: transform .55s var(--spring), translate .3s var(--ease), box-shadow .3s ease;
}

.v3-quick__ico .v3-ico { width: 20px; height: 20px; stroke-width: 1.9; }
.v3-quick__item:active .v3-quick__ico { transform: scale(.9); }

/* Today's specials, chalked on a board strip. */
.v3-ticker {
    position: relative;
    margin: 42px calc(50% - 50vw + var(--sbw, 0px) / 2) 0;
    padding: 12px 0;
    overflow: hidden;
    background:
        radial-gradient(40% 80% at 20% 50%, rgba(255, 255, 255, .03), transparent 70%),
        radial-gradient(30% 90% at 75% 40%, rgba(255, 255, 255, .025), transparent 70%),
        var(--board);
    box-shadow: inset 0 3px 0 #4a2f1d, inset 0 -3px 0 #4a2f1d;
}

.v3-ticker__track {
    display: flex;
    width: max-content;
    animation: v3-marquee var(--ticker-dur, 40s) linear infinite;
}

.v3-ticker__group {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

.v3-ticker__item {
    color: var(--chalk);
    font-family: var(--hand);
    font-size: 26px;
    font-weight: 700;
    white-space: nowrap;
    opacity: .92;
}

.v3-ticker__bean { display: inline-grid; color: var(--crema); flex-shrink: 0; }
.v3-ticker__bean .v3-ico { width: 18px; height: 18px; stroke-width: 1.8; }

@keyframes v3-marquee { to { transform: translateX(-50%); } }

/* 6. Sections, heads & receipt ============================================= */
.v3-section {
    position: relative;
    isolation: isolate;
    padding: 62px 0 54px;
    counter-increment: v3-sec;
}

/* Full-bleed textured bands: a pseudo layer spanning the viewport. */
.v3-section--chalk::before,
.v3-section--brick::before,
.v3-section--case::before,
.v3-section--neon::before {
    content: '';
    position: absolute;
    inset: 0 calc(50% - 50vw + var(--sbw, 0px) / 2);
    z-index: -1;
}

/* Chalkboard: slate with faint dust and a wooden frame top and bottom. */
.v3-section--chalk {
    --ink: var(--chalk);
    --ink-2: #cfcac0;
    --muted: #b3ada2;
    --line: rgba(234, 230, 220, .14);
    --line-2: rgba(234, 230, 220, .28);
}

.v3-section--chalk::before {
    background:
        radial-gradient(50% 30% at 20% 30%, rgba(255, 255, 255, .045), transparent 70%),
        radial-gradient(40% 25% at 80% 70%, rgba(255, 255, 255, .035), transparent 70%),
        var(--board);
    box-shadow: inset 0 6px 0 #5a3a24, inset 0 -6px 0 #5a3a24, inset 0 8px 0 #3a2616, inset 0 -8px 0 #3a2616;
}

/* Exposed brick wall behind the arched windows. */
.v3-section--brick::before {
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .35) 1px, transparent 1px) 0 0 / 100% 22px,
        linear-gradient(90deg, rgba(0, 0, 0, .35) 1px, transparent 1px) 0 0 / 56px 44px,
        linear-gradient(90deg, rgba(0, 0, 0, .35) 1px, transparent 1px) 28px 22px / 56px 44px,
        linear-gradient(180deg, #3a1d14, #2e1710);
}

.v3-section--brick {
    --line: rgba(255, 230, 210, .14);
}

/* Display case: dark wood with warm case lighting from above. */
.v3-section--case::before {
    background:
        radial-gradient(80% 40% at 50% 0%, rgba(255, 200, 130, .14), transparent 70%),
        linear-gradient(180deg, #1c130d, #150e09);
}

/* The booth wall under a neon sign. */
.v3-section--neon::before {
    background:
        radial-gradient(60% 50% at 80% 10%, rgba(255, 110, 140, .18), transparent 70%),
        radial-gradient(60% 50% at 10% 90%, rgba(255, 140, 80, .12), transparent 70%),
        #0f0a08;
}

.v3-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 26px;
    padding-bottom: 16px;
}

.v3-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.v3-head--row > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Chalked section number: "No. 01". */
.v3-head__no {
    color: var(--crema);
    font-family: var(--hand);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.v3-head__no::before { content: 'No. ' counter(v3-sec, decimal-leading-zero); }

/* Headroom (padding + matching negative margin) so Devanagari marks above
   a translated heading aren't sliced off by the rise-in mask. */
.v3-head__title {
    overflow: hidden;
    padding: .3em 0 .14em;
    margin: -.3em 0 -.14em !important;
    font-family: var(--display);
    font-size: clamp(2rem, 8.6vw, 2.6rem);
    font-weight: 400;
    line-height: 1.06;
    color: var(--ink);
}

.v3-head__title > span {
    display: inline-block;
    transition: transform 1s var(--ease);
}

/* A chalk stroke drawn under the title. */
.v3-head__chalk {
    position: absolute;
    left: -2px;
    bottom: 0;
    width: min(100%, 260px);
    height: 14px;
    overflow: visible;
    fill: none;
}

.v3-head__chalk path {
    stroke: var(--crema);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    opacity: .85;
}

.v3-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--crema);
    font-size: 14px;
    font-weight: 600;
}

.v3-link .v3-ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }

/* A standalone link (e.g. Directions) gets a full-size tap target. */
a.v3-link { min-height: 44px; }

.v3-about {
    color: var(--ink-2);
    font-size: 1.12rem;
    line-height: 1.7;
    white-space: pre-line;
}

.v3-about--cap::first-letter {
    float: left;
    margin: .02em .12em 0 0;
    color: var(--crema);
    font-family: var(--display);
    font-size: 3.6em;
    line-height: .85;
}

/* The order receipt: paper with zig-zag torn edges and dotted leaders. */
.v3-boards {
    --ink: var(--receipt-ink);
    --ink-2: #4b3526;
    --muted: var(--receipt-muted);
    --line: rgba(42, 26, 18, .14);
    --line-2: rgba(42, 26, 18, .26);
    position: relative;
    display: grid;
    padding: 20px 16px;
    background: var(--receipt);
    color: var(--ink);
    -webkit-mask:
        conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 8px repeat-x,
        conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 14px 8px repeat-x,
        linear-gradient(#000, #000) 0 7px / 100% calc(100% - 14px) no-repeat;
    mask:
        conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 8px repeat-x,
        conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 14px 8px repeat-x,
        linear-gradient(#000, #000) 0 7px / 100% calc(100% - 14px) no-repeat;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45));
}

.v3-boards::before {
    content: 'Order · Contact';
    display: block;
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 1.5px dashed var(--line-2);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
}

.v3-board {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 4px;
    border: 0;
    border-bottom: 1.5px dashed var(--line-2);
    background: none;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .3s ease, padding .35s var(--ease);
}

.v3-boards > :last-child .v3-board,
.v3-boards > .v3-board:last-child { border-bottom: 0; }
.v3-board--static { cursor: default; }

.v3-board__ico {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #efe4d4;
    color: #8a4a1f;
}

.v3-board__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.v3-board__label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.v3-board__value {
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.v3-board__go {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    transition: transform .4s var(--ease);
}

.v3-board__go .v3-ico { width: 15px; height: 15px; }
.contact-multi-toggle[aria-expanded="true"] .v3-board__go--chev { transform: rotate(180deg); }

/* vcard-actions.js toggles .d-none; the drawer slides to its natural height. */
.v3-drawer {
    height: auto;
    margin: 0 0 6px !important;
    padding: 4px 8px !important;
    overflow: hidden;
    border-radius: 10px;
    background: #efe4d4;
    opacity: 1;
    interpolate-size: allow-keywords;
    transition: height .5s var(--ease), padding .5s var(--ease), margin .5s var(--ease), opacity .35s var(--ease), display .5s allow-discrete;
}

.v3-drawer.d-none {
    height: 0;
    margin-bottom: 0 !important;
    padding-block: 0 !important;
    opacity: 0;
}

@starting-style {
    .v3-drawer:not(.d-none) {
        height: 0;
        margin-bottom: 0 !important;
        padding-block: 0 !important;
        opacity: 0;
    }
}

.v3-drawer li {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed var(--line-2);
}

.v3-drawer li:last-child { border-bottom: 0; }

.v3-drawer a {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    overflow-wrap: anywhere;
    transition: color .25s ease, padding .3s var(--ease);
}

.v3-drawer .v3-ico { width: 15px; height: 15px; color: #8a4a1f; }

/* Copy buttons (the whole row is already the link, so copy takes the
   arrow's place). Only with the page script. */
.v3-copy,
.v3-tent__zoom { display: none !important; }
.v3-js .v3-copy { display: grid !important; }
.v3-js .v3-tent__zoom:not([hidden]) { display: block !important; }

.v3-board-wrap { position: relative; }
.v3-board--copy { padding-right: 52px; }
.v3-board--copy .v3-board__go { display: none; }

.v3-copy {
    position: relative;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .25s ease, background .25s ease, transform .4s var(--spring);
}

.v3-board-wrap > .v3-copy {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -22px;
}

.v3-copy .v3-ico { width: 18px; height: 18px; grid-area: 1 / 1; }
.v3-copy__done { opacity: 0; transform: scale(.4); color: #2f7d4a; stroke-width: 2.4; }
.v3-copy__icon,
.v3-copy__done { transition: opacity .2s ease, transform .35s var(--spring); }
.v3-copy:active { transform: scale(.88); }
.v3-copy.is-copied .v3-copy__icon { opacity: 0; transform: scale(.4); }
.v3-copy.is-copied .v3-copy__done { opacity: 1; transform: none; }

.v3-copy__tip {
    position: absolute;
    bottom: calc(100% - 2px);
    left: 50%;
    padding: 3px 9px;
    border-radius: 6px;
    background: #2a1a12;
    color: #fbf4ea;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 6px);
    transition: opacity .2s ease, transform .35s var(--spring);
}

.v3-copy.is-copied .v3-copy__tip { opacity: 1; transform: translate(-50%, 0); }

/* 7. Menu board (services) & gazette (blog) ================================ */
.v3-services {
    display: grid;
    gap: 4px;
}

/* A line on the menu board: photo, name + description, number like a price. */
.v3-svc {
    position: relative;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 2px 16px;
    border-bottom: 1.5px dashed var(--line-2);
    transition: transform .5s var(--ease);
}

.v3-svc:last-child { border-bottom: 0; }
.v3-svc--noimg { grid-template-columns: minmax(0, 1fr) auto; }

.v3-svc__brand {
    position: absolute;
    right: 2px;
    top: 10px;
    color: var(--crema);
    font-family: var(--hand);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    opacity: .9;
}

.v3-svc__media {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(234, 230, 220, .5), 0 0 0 5px rgba(234, 230, 220, .1);
}

.v3-svc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.v3-svc__body { min-width: 0; padding-right: 40px; }

.v3-svc__title {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--ink);
}

.v3-svc__desc {
    display: -webkit-box;
    margin-top: 2px !important;
    overflow: hidden;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.v3-svc__go {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-top: 20px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: var(--ink);
    transition: transform .45s var(--spring), background .3s ease, color .3s ease;
}

.v3-svc__go .v3-ico { width: 16px; height: 16px; }

.v3-gazette {
    display: grid;
    gap: 14px;
}

/* A clipping from the cafe gazette: newsprint with a double rule. */
.v3-story {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 6px;
    background: #efe6d8;
    box-shadow: inset 0 3px 0 #2a1a12, inset 0 5px 0 #efe6d8, inset 0 6px 0 #2a1a12, var(--sh);
    color: #2a1a12;
    transition: transform .5s var(--ease);
}

.v3-story--noimg { grid-template-columns: minmax(0, 1fr); }

.v3-story__media {
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: 4px;
    filter: sepia(.25) contrast(1.05);
}

.v3-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.v3-story__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.v3-story__title {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.2;
}

.v3-story__desc {
    display: -webkit-box;
    overflow: hidden;
    color: #4a3526;
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.v3-story .v3-link { margin-top: 4px; color: #8a4a1f; }

/* 8. Gallery: arched cafe windows on brick ================================ */
.v3-arches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
}

.v3-arch {
    position: relative;
    display: block;
    margin: 0;
    padding: 6px;
    overflow: hidden;
    border-radius: 999px 999px 14px 14px;
    background: #1a0f0a;
    box-shadow: inset 0 0 0 2px rgba(255, 220, 180, .12), 0 16px 24px -14px rgba(0, 0, 0, .9);
    transition: transform .6s var(--spring), box-shadow .4s var(--ease);
}

.v3-arch img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 999px 999px 10px 10px;
    background: #2a1a12;
    transition: transform .8s var(--ease);
}

/* Warm light spilling across the glass. */
.v3-arch::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(160deg, rgba(255, 220, 170, .18), transparent 40%);
    pointer-events: none;
}

.v3-arch--file {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    aspect-ratio: 3 / 4;
    color: var(--foam);
    font-weight: 600;
}

.v3-arch--file .v3-ico { width: 34px; height: 34px; color: var(--crema); }
.v3-arch--muted { color: var(--muted); font-size: 13px; }

/* 9. Display case: pastries on a lit glass shelf ============================ */
.v3-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    gap: 16px;
    margin-right: calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 22px 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    scrollbar-width: none;
}

.v3-rail::-webkit-scrollbar { display: none; }
.v3-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.v3-pastry {
    position: relative;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 240, 220, .07), rgba(255, 240, 220, .02));
    box-shadow: inset 0 1px 0 rgba(255, 240, 220, .18), inset 0 0 0 1px rgba(255, 240, 220, .08);
    color: var(--ink);
    transition: transform .6s var(--spring);
}

/* The glass shelf the pastry sits on, with its reflection. */
.v3-pastry::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(255, 240, 220, .1), rgba(255, 240, 220, .35), rgba(255, 240, 220, .1));
}

.v3-pastry__media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #2a1a12;
}

.v3-pastry__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

/* Case lighting from above. */
.v3-pastry__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 210, 150, .18), transparent 45%, rgba(0, 0, 0, .25));
    pointer-events: none;
}

.v3-pastry__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 20px;
}

.v3-pastry--noimg .v3-pastry__body { padding-top: 22px; }

.v3-pastry__title {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.v3-pastry__desc {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.v3-pastry__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
}

/* Price on a little chalk tag. */
.v3-price {
    padding: 2px 12px 3px;
    border-radius: 8px;
    background: var(--board);
    box-shadow: inset 0 0 0 1px rgba(234, 230, 220, .2);
    color: var(--chalk);
    font-family: var(--hand);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.v3-rail-nav {
    display: flex;
    gap: 8px;
}

.v3-rail-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #ffffff, #e8e0d4 70%, #cfc4b6);
    box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .8);
    color: #2a1a12;
    cursor: pointer;
    transition: transform .45s var(--spring);
}

.v3-rail-btn .v3-ico { width: 18px; height: 18px; stroke-width: 2.2; }
.v3-rail-btn:active { transform: scale(.88); }

.v3-railbar {
    position: relative;
    height: 3px;
    margin-top: 4px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--line);
}

.v3-railbar span {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--crema-2), var(--crema));
    transition: transform .2s linear;
}

/* 10. Neon booth: testimonials on frosted glass ============================= */
.v3-rail--quotes { grid-auto-columns: 86%; padding-top: 18px; }

.v3-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px 22px 22px;
    scroll-snap-align: start;
    border-radius: 20px;
    background: rgba(255, 240, 225, .06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 240, 225, .18), inset 0 0 0 1px rgba(255, 240, 225, .08);
    color: var(--ink);
}

/* The quote mark glows like the booth's neon. */
.v3-quote__mark {
    position: absolute;
    top: -22px;
    left: 18px;
    color: #ffd0e0;
    font-family: var(--display);
    font-size: 78px;
    line-height: 1;
    text-shadow: 0 0 6px #ff6f9a, 0 0 18px #ff6f9a, 0 0 32px rgba(255, 111, 154, .6);
}

.v3-quote__text {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.65;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.v3-quote__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.v3-quote__avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #0f0a08, 0 0 0 4px rgba(255, 111, 154, .6);
}

.v3-quote__initials {
    display: grid;
    place-items: center;
    background: rgba(255, 240, 225, .1);
    color: var(--ink);
    font-family: var(--display);
}

.v3-quote__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.v3-insta {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.v3-insta::-webkit-scrollbar { display: none; }

.insta-embed-item { flex-shrink: 0; }

/* Instagram's iframe has a hard 326px min-width: 6px of frame keeps the
   whole card inside the phone column. */
.insta-embed-frame {
    padding: 6px;
    border-radius: 18px;
    background: linear-gradient(160deg, #3a2618, #1d130c);
    box-shadow: var(--sh);
}

/* Pagination dots (Instagram row + QR/UPI carousel): each dot drawn inside a
   larger button so it stays easy to tap. */
.v3-body .slick-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.v3-body .slick-dots li:only-child { display: none; }

.v3-body .slick-dots li button {
    display: block;
    width: 27px;
    height: 27px;
    padding: 10px;
    border: 0;
    border-radius: 999px;
    background: var(--line-2) content-box;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: width .45s var(--ease), background .3s var(--ease);
}

.v3-body .slick-dots li.slick-active button {
    width: 44px;
    background: var(--crema) content-box;
}

/* 11. QR on an acrylic table tent ========================================= */
.vcard-qr-scope { --qr-accent: #6b3b1c; }

.v3-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.v3-tabs {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: var(--card-2);
    box-shadow: inset 0 0 0 1px var(--line);
}

.qr-upi-tab-btn {
    min-height: 40px;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background .35s var(--ease), color .35s var(--ease);
}

.qr-upi-tab-btn.is-active {
    background: linear-gradient(180deg, #e6b47c, var(--crema-2));
    color: var(--on-crema);
}

.v3-qr-panels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.v3-qr-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 4px 2px 8px;
}

/* A clear acrylic stand holding a printed card - always light behind the
   code, dark theme included (scanners want the contrast). */
.v3-tent {
    position: relative;
    width: 100%;
    padding: 12px;
    border-radius: 18px 18px 8px 8px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .14));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .2), 0 26px 30px -20px rgba(0, 0, 0, .9);
}

/* The stand's foot. */
.v3-tent::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -12px;
    height: 12px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .06));
    box-shadow: 0 10px 14px -8px rgba(0, 0, 0, .8);
}

.v3-tent__card {
    position: relative;
    overflow: hidden;
    padding: 14px;
    border-radius: 10px;
    background: #fffaf2;
}

.v3-tent__card img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
}

.v3-tent__glint {
    position: absolute;
    inset: -20% -60%;
    z-index: 1;
    background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .5) 50%, transparent 58%);
    transform: translateX(-70%);
    animation: v3-glint 6s ease-in-out 1.5s infinite;
    pointer-events: none;
}

@keyframes v3-glint {
    0%, 70% { transform: translateX(-70%); }
    100% { transform: translateX(70%); }
}

.v3-tent__zoom {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}

/* The card clips overflow, so the ring sits inside the button. */
.v3-tent__zoom:focus-visible { outline-offset: -4px; }

.v3-tent__zoom-chip {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(42, 26, 18, .85);
    color: #fbf4ea;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .5);
}

.v3-tent__zoom-chip .v3-ico { width: 16px; height: 16px; stroke-width: 2; }

/* Table-number style label under the stand. */
.v3-plate {
    position: relative;
    margin-top: 22px;
    padding: 9px 22px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e6b47c, var(--crema-2));
    box-shadow: inset 0 1px 0 rgba(255, 240, 210, .6), 0 10px 16px -10px rgba(0, 0, 0, .8);
    color: var(--on-crema);
    text-align: center;
}

.v3-plate__name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--display);
    font-size: 18px;
    line-height: 1.2;
}

.v3-plate__name .v3-ico { width: 16px; height: 16px; }

.v3-plate__hint {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .03em;
}

.v3-qr-panel .v3-btn--block { margin-top: 18px; }

/* The shared carousel's corner arrows (vcard-actions.js, inline-styled) as
   little saucers to match the rail buttons. */
.v3-body .qr-upi-carousel-outer > button {
    border: 0 !important;
    background: radial-gradient(circle at 38% 32%, #ffffff, #e8e0d4 70%, #cfc4b6) !important;
    box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .8);
    color: #2a1a12;
    font-family: var(--sans);
    font-weight: 700;
}

/* 12. Hours: a chalk A-frame sign with a neon OPEN / CLOSED ================ */
.v3-sign {
    position: relative;
    margin: 0 10px 34px;
    padding: 22px 16px 20px;
    border-radius: 12px;
    background:
        radial-gradient(50% 30% at 30% 20%, rgba(255, 255, 255, .05), transparent 70%),
        var(--board);
    box-shadow: 0 0 0 7px #6b4128, 0 0 0 9px #3d2415, 0 26px 34px -18px rgba(0, 0, 0, .9);
    color: var(--chalk);
    transform-origin: 50% 100%;
}

/* A-frame legs. */
.v3-sign__leg {
    position: absolute;
    bottom: -34px;
    width: 8px;
    height: 34px;
    border-radius: 3px;
    background: linear-gradient(180deg, #6b4128, #3d2415);
}

.v3-sign__leg--l { left: 14%; transform: rotate(8deg); }
.v3-sign__leg--r { right: 14%; transform: rotate(-8deg); }

.v3-sign__status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: -4px 0 10px !important;
    padding: 0 4px 14px;
    border-bottom: 1.5px dashed rgba(234, 230, 220, .25);
    color: #cfc9be;
    font-family: var(--hand);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

/* The neon sign itself: OPEN lit while open, CLOSED dim otherwise. */
.v3-neon-sign {
    display: inline-grid;
    padding: 4px 16px 3px;
    border-radius: 10px;
    border: 2px solid rgba(255, 140, 160, .25);
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .18em;
}

.v3-neon-sign > span { grid-area: 1 / 1; }
.v3-neon-sign__open { visibility: hidden; }

.v3-neon-sign__closed {
    color: #8e7f74;
}

.v3-sign__status.is-open .v3-neon-sign {
    border-color: #ff8fb0;
    box-shadow: 0 0 10px rgba(255, 111, 154, .6), inset 0 0 10px rgba(255, 111, 154, .35);
}

.v3-sign__status.is-open .v3-neon-sign__open {
    visibility: visible;
    color: #ffe3ec;
    text-shadow: 0 0 4px #fff, 0 0 12px #ff6f9a, 0 0 26px #ff6f9a;
    animation: v3-hum 5s ease-in-out infinite;
}

.v3-sign__status.is-open .v3-neon-sign__closed { visibility: hidden; }
.v3-sign__status.is-open { color: #ffd6b0; }

@keyframes v3-hum {
    0%, 92%, 100% { opacity: 1; }
    93% { opacity: .55; }
    95% { opacity: 1; }
    96% { opacity: .7; }
}

.v3-hours__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    padding: 9px 2px;
    border-bottom: 1px dashed rgba(234, 230, 220, .18);
}

.v3-hours__row:last-child { border-bottom: 0; }

.v3-hours__day {
    font-family: var(--hand);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.v3-hours__leader {
    flex: 1;
    min-width: 10px;
    border-bottom: 2px dotted rgba(234, 230, 220, .3);
    transform: translateY(-5px);
}

.v3-hours__time {
    color: #d9d3c8;
    font-size: 13.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.v3-hours__row.is-today .v3-hours__day { color: #ffc98f; }
.v3-hours__row.is-today .v3-hours__time { color: #fff6ea; font-weight: 600; }

.v3-hours__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f2c089, #d9954f);
    color: #231207;
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: .2em;
}

/* 13. Forms & buttons ===================================================== */
/* An order pad: paper-dark card with a crema clip and a perforated top. */
.v3-paper {
    position: relative;
    padding: 30px 20px 22px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 0, var(--bg) 0 5px, transparent 5.5px) 0 -1px / 18px 12px repeat-x,
        var(--card);
    box-shadow: inset 0 0 0 1px var(--line), var(--sh);
}

.v3-paper::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 64px;
    height: 16px;
    margin-left: -32px;
    border-radius: 6px;
    background: linear-gradient(180deg, #e6b47c, var(--crema-2));
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, .7);
}

.v3-tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px !important;
}

/* An appointment window on a little bean-brown chip. */
.v3-token {
    display: inline-flex;
    flex-wrap: wrap;
    max-width: 100%;
    align-items: baseline;
    gap: 0 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--card-2);
    box-shadow: inset 0 0 0 1px var(--line-2);
    font-size: 12px;
}

.v3-token__day {
    color: var(--crema);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.v3-token__time {
    color: var(--ink-2);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.v3-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px 18px;
}

.v3-field {
    position: relative;
    padding-top: 20px;
}

.v3-input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 0 9px;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.v3-input--area {
    min-height: 96px;
    resize: vertical;
}

.v3-label {
    position: absolute;
    left: 0;
    top: 31px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    pointer-events: none;
    transform-origin: left top;
    transition: transform .4s var(--ease), color .3s var(--ease);
}

.v3-input:focus + .v3-label,
.v3-input:not(:placeholder-shown) + .v3-label,
.v3-field--fixed .v3-label {
    transform: translateY(-24px) scale(.8);
}

.v3-input:focus + .v3-label { color: var(--crema); }

/* Focus pours a line of crema along the field. */
.v3-field__pencil {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--crema-2), var(--crema), #f4d6a8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .7s var(--ease);
}

.v3-input:focus ~ .v3-field__pencil { transform: scaleX(1); }

.v3-input:user-invalid { border-bottom-color: var(--danger); }
.v3-input:user-invalid + .v3-label { color: var(--danger); }

.v3-form__status {
    min-height: 1.2em;
    margin-top: 14px !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.v3-form__status:empty { margin-top: 0 !important; }

.v3-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .3s var(--spring), box-shadow .3s var(--ease), color .3s var(--ease), translate .3s var(--ease), background-color .3s var(--ease);
}

.v3-btn .v3-ico { width: 19px; height: 19px; }

.v3-btn:disabled {
    opacity: .7;
    cursor: progress;
}

/* Crema: a glossy caramel pill with a band of microfoam on top. */
.v3-btn--crema {
    background: linear-gradient(180deg, #ecbd86, var(--crema-fill) 45%, var(--crema-2));
    color: var(--on-crema) !important;
    box-shadow: inset 0 2px 0 rgba(255, 245, 225, .7), inset 0 -3px 0 rgba(80, 40, 10, .25), 0 14px 24px -12px rgba(0, 0, 0, .9);
}

.v3-btn--crema:active { transform: translateY(2px) scale(.98); }

/* A sheen running along the crema on hover. */
.v3-btn--crema::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 250, 240, .5) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .8s var(--ease);
}

.v3-btn--line {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.v3-btn--line:active { transform: scale(.97); }

.v3-btn--block {
    width: 100%;
    margin-top: 28px;
}

.v3-actions .v3-btn--block { margin-top: 0; }

/* Pseudo-element arrow: vcard-actions.js swaps the submit button's
   textContent to "Sending..." and back, which would wipe a real icon. */
.v3-btn--arrow::after {
    content: '\2192';
    font-size: 18px;
    transition: transform .4s var(--spring);
}

/* A little puff of milk foam where a button is pressed (page script). */
.v3-foam {
    position: absolute;
    z-index: 3;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 250, 240, .9);
    pointer-events: none;
    animation: v3-foam .65s var(--ease) forwards;
}

@keyframes v3-foam { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }

/* The shared preview pop-up hardcodes an indigo "Visit" button. */
.v3-body .vcard-preview-visit {
    border-radius: 999px;
    background: #bb7c41;
    color: #1c1009 !important;
}

.v3-body .vcard-preview-title { font-family: var(--display); font-size: 22px; font-weight: 400; }

/* 14. CTA, map, footer, dock ============================================== */
.v3-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 52px;
}

@media (max-width: 767.98px) {
    body.has-dock .v3-cta { display: none; }
}

.v3-map {
    overflow: hidden;
    height: clamp(250px, 64vw, 360px);
    padding: 6px;
    border-radius: 20px;
    background: var(--card-2);
    box-shadow: inset 0 0 0 1px var(--line), var(--sh);
}

.v3-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
    filter: grayscale(1) invert(.88) sepia(.35) hue-rotate(-10deg);
    transition: filter 1.6s var(--ease) .3s;
}

.v3-map.is-in iframe { filter: grayscale(.2) invert(.9) sepia(.25) hue-rotate(-10deg); }

.v3-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 56px;
    padding: 44px 0 20px;
    text-align: center;
}

.v3-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}

.v3-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.vcard-site-footer-logo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
}

.vcard-site-footer-logo svg { width: 17px; height: 17px; }

/* The TapNVisit wordmark keeps the landing page footer's own type - it's
   the product's brand, not part of this template's theme. */
.vcard-site-footer-name {
    font-family: 'Inter var', 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.025em;
    color: var(--ink);
}

.vcard-site-footer-tagline {
    max-width: 300px;
    color: var(--ink-2);
    font-family: var(--hand);
    font-size: 22px;
    line-height: 1.25;
}

.vcard-site-footer-login {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    transition: background .3s var(--ease), color .3s var(--ease);
}

.vcard-site-footer-powered {
    margin-top: 6px !important;
    color: var(--muted);
    font-size: 11.5px;
}

.vcard-site-footer-powered a {
    color: var(--ink);
    font-weight: 700;
}

/* The espresso bar floating at the bottom of phones. */
.v3-dock {
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(26, 17, 11, .88);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: inset 0 0 0 1px rgba(255, 230, 200, .12), 0 18px 30px -12px rgba(0, 0, 0, .9);
    transform: translate(-50%, calc(100% + 40px));
    transition: transform .6s var(--spring);
}

.v3-dock.is-visible { transform: translate(-50%, 0); }

body.has-dock .v3-shell { padding-bottom: 104px; }

.v3-dock__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 66px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: #f0dfc8;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .4s var(--spring), background .3s var(--ease);
}

.v3-dock__item .v3-ico,
.v3-dock__item > i { width: 19px; height: 19px; font-size: 18px; }
.v3-dock__item:active { transform: scale(.92); }
.v3-dock__item > span { max-width: calc(100% - 8px); line-height: 1.1; text-align: center; }

.v3-dock__item--crema {
    width: 88px;
    background: linear-gradient(180deg, #ecbd86, var(--crema-2));
    color: var(--on-crema);
    box-shadow: inset 0 1px 0 rgba(255, 245, 225, .7);
}

/* Desktop: a soft warm glow follows the pointer. */
.v3-cursor { display: none; }

.has-cursor .v3-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: block;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 140, .4), rgba(255, 200, 140, 0) 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease);
}

.has-cursor .v3-cursor.is-on { opacity: 1; }
.has-cursor .v3-cursor.is-hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; }

/* 15. QR view (full screen) & LN menu ====================================== */
/* The QR unfolds out of the tapped stand (--ox/--oy set by the page script)
   and folds back on close. */
.v3-qrzoom {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 24px;
    border: 0;
    background: #fffaf2;
    color: #2a1a12;
    text-align: center;
    opacity: 0;
    transform: scale(.35);
    transform-origin: var(--ox, 50%) var(--oy, 50%);
    transition: opacity .3s var(--ease), transform .55s var(--spring), overlay .55s allow-discrete, display .55s allow-discrete;
}

.v3-qrzoom[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 1;
    transform: none;
}

@starting-style {
    .v3-qrzoom[open] { opacity: 0; transform: scale(.35); }
}

.v3-qrzoom::backdrop {
    background: rgba(18, 10, 6, 0);
    transition: background .35s var(--ease), overlay .55s allow-discrete, display .55s allow-discrete;
}

.v3-qrzoom[open]::backdrop { background: rgba(18, 10, 6, .65); }

@starting-style {
    .v3-qrzoom[open]::backdrop { background: rgba(18, 10, 6, 0); }
}

html:has(.v3-qrzoom[open]) { overflow: hidden; }

.v3-qrzoom__img {
    width: min(86vw, 62vh, 460px);
    height: auto;
    aspect-ratio: 1;
    image-rendering: pixelated;
}

.v3-qrzoom__name {
    font-family: var(--display);
    font-size: 26px;
    line-height: 1.2;
}

.v3-qrzoom__hint {
    color: #5a4636;
    font-size: 15px;
    font-weight: 500;
}

.v3-qrzoom__close {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top));
    right: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #efe4d4;
    color: #2a1a12;
    cursor: pointer;
}

.v3-qrzoom__close .v3-ico { width: 22px; height: 22px; stroke-width: 2; }

.ln [hidden] { display: none !important; }

.ln-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.ln-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 13px 0 11px;
    border: 1px solid rgba(255, 230, 200, .22);
    border-radius: 999px;
    background: rgba(18, 10, 6, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #ffe3c0;
    font-family: var(--sans);
    cursor: pointer;
    transition: background .2s ease, transform .45s var(--spring);
}

.ln-trigger:active { transform: scale(.94); }
.ln.is-open .ln-trigger { background: rgba(18, 10, 6, .8); }

.ln-trigger__globe {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    transition: transform .7s var(--ease);
}

.ln.is-open .ln-trigger__globe { transform: rotate(180deg); }

.ln-trigger__text {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1;
}

.ln-trigger__code {
    padding: 3px 6px;
    border-radius: 999px;
    background: var(--crema-fill);
    color: var(--on-crema);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1;
}

.ln-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: transparent;
}

.ln-panel {
    position: fixed;
    top: calc(62px + env(safe-area-inset-top));
    right: max(14px, calc(50vw - var(--sbw, 0px) / 2 - 310px + 14px));
    z-index: 1200;
    display: flex;
    flex-direction: column;
    width: 360px;
    max-height: min(72vh, 580px);
    overflow: hidden;
    border-radius: 20px;
    background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line), var(--sh-lg);
    color: var(--ink);
    text-align: left;
    opacity: 0;
    transform: translateY(-10px) scale(.97);
    transform-origin: top right;
    transition: opacity .28s var(--ease), transform .4s var(--spring);
}

.ln.is-shown .ln-panel {
    opacity: 1;
    transform: none;
}

.ln-panel__grip { display: none; }

.ln-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 10px 20px;
}

.ln-panel__title {
    margin: 0;
    font-family: var(--display);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
}

.ln-panel__close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--card-2);
    color: var(--ink);
    cursor: pointer;
    transition: transform .4s var(--spring), background .2s ease;
}

.ln-panel__close svg,
.ln-search svg,
.ln-item__tick svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ln-panel__close:active { transform: scale(.9); }

.ln-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 16px 10px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--card-2);
    color: var(--muted);
    transition: box-shadow .2s ease;
}

.ln-search:focus-within { box-shadow: 0 0 0 2px var(--crema); }

.ln-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 500 16px/1.2 var(--sans);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ln-search input:focus-visible { outline: none; }
.ln-search input::placeholder { color: var(--muted); }
.ln-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.ln-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 6px;
    padding: 2px 10px 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.ln-group {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 10px 6px;
    color: var(--crema);
    font-family: var(--hand);
    font-size: 20px;
    font-weight: 700;
}

.ln-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    padding: 8px 10px 8px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, transform .3s var(--spring);
}

.ln-item:active { transform: scale(.97); }
.ln-item--original { grid-column: 1 / -1; }

.ln-item__names {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ln-item__native {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    unicode-bidi: plaintext;
}

.ln-item__en {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
}

.ln-item__tick {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--crema-fill);
    color: var(--on-crema);
    opacity: 0;
    transform: scale(.4);
    transition: opacity .2s ease, transform .4s var(--spring);
}

.ln-item__tick svg { width: 13px; height: 13px; stroke-width: 3; }

.ln-item.is-current { background: var(--crema-soft); }
.ln-item.is-current .ln-item__tick { opacity: 1; transform: none; }

.ln-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 18px 10px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.ln-panel__note {
    margin: 0;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11.5px;
    text-align: center;
}

@media (hover: hover) {
    .ln-trigger:hover { background: rgba(18, 10, 6, .8); }
    .ln-item:hover { background: var(--card-2); }
    .ln-item.is-current:hover { background: var(--crema-soft); }
    .ln-panel__close:hover { background: var(--line-2); }
}

@media (max-width: 559.98px) {
    .ln-backdrop {
        background: rgba(10, 6, 4, .5);
        opacity: 0;
        transition: opacity .3s var(--ease);
    }

    .ln.is-shown .ln-backdrop { opacity: 1; }

    .ln-panel {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        max-height: 84vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        opacity: 1;
        transition: transform .45s var(--ease);
    }

    .ln.is-shown .ln-panel { transform: none; }

    .ln-panel__grip {
        display: block;
        width: 40px;
        height: 4px;
        margin: 10px auto 0;
        border-radius: 4px;
        background: var(--line-2);
    }

    .ln-panel__head { padding-top: 10px; }
}

.ln-lock,
.ln-lock body { overflow: hidden; }

.ln-google {
    position: absolute;
    top: 0;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body > div.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* 16. Motion & reveal ====================================================== */
/* Hero intro runs on CSS alone, gated on .v3-js (no-JS sees everything). */
.v3-js .v3-window { animation: v3-fade 1.2s var(--ease) both; }
.v3-js .v3-counter { animation: v3-rise-in 1.1s var(--ease) .1s both; }
.v3-js .v3-cup { animation: v3-set-down 1s var(--spring) .35s both; }
.v3-js .v3-latte__pour { animation: v3-draw 1.8s var(--ease) .9s both; }
.v3-js .v3-steam { animation: v3-fade 1.2s ease 1.2s both; }
.v3-js .v3-views { animation: v3-rise .9s var(--ease) .7s both; }
.v3-js .v3-name__text { animation: v3-neon-on 1.6s linear 1s both; }
.v3-js .v3-role { animation: v3-rise .9s var(--ease) 1.6s both; }
.v3-js .v3-workdesc { animation: v3-rise .9s var(--ease) 1.7s both; }
.v3-js .v3-social > li { animation: v3-rise .7s var(--spring) both; }
.v3-js .v3-social > li:nth-child(1) { animation-delay: 1.75s; }
.v3-js .v3-social > li:nth-child(2) { animation-delay: 1.82s; }
.v3-js .v3-social > li:nth-child(3) { animation-delay: 1.89s; }
.v3-js .v3-social > li:nth-child(4) { animation-delay: 1.96s; }
.v3-js .v3-actions > .v3-btn { animation: v3-rise .9s var(--ease) 1.85s both; }
.v3-js .v3-quick__item { animation: v3-rise .8s var(--spring) both; }
.v3-js .v3-quick__item:nth-child(1) { animation-delay: 1.95s; }
.v3-js .v3-quick__item:nth-child(2) { animation-delay: 2.02s; }
.v3-js .v3-quick__item:nth-child(3) { animation-delay: 2.09s; }
.v3-js .v3-quick__item:nth-child(4) { animation-delay: 2.16s; }
.v3-js .v3-quick__item:nth-child(5) { animation-delay: 2.23s; }

@keyframes v3-fade { from { opacity: 0; } }
@keyframes v3-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes v3-rise-in { from { opacity: 0; transform: translateY(40px); } }
@keyframes v3-set-down { from { opacity: 0; transform: translateY(-24px) scale(1.12); } }
@keyframes v3-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* A neon tube catching: dark, a couple of stutters, then full glow. */
@keyframes v3-neon-on {
    0% { opacity: .08; text-shadow: none; }
    12% { opacity: .9; }
    14% { opacity: .15; }
    26% { opacity: 1; }
    28% { opacity: .3; }
    40%, 100% { opacity: 1; }
}

/* Scroll reveals (the page script adds .is-in). */
.v3-js [data-reveal="item"],
.v3-js [data-reveal=""],
.v3-js .v3-cta[data-reveal],
.v3-js .v3-qr-panels[data-reveal],
.v3-js .v3-paper[data-reveal],
.v3-js .v3-map[data-reveal],
.v3-js .v3-sign[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.v3-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* Heads: the title rises, then a chalk stroke is drawn under it. */
.v3-js [data-reveal="head"] .v3-head__title > span { transform: translateY(105%); }
.v3-js [data-reveal="head"] .v3-head__chalk path { stroke-dashoffset: 1; }
.v3-js [data-reveal="head"].is-in .v3-head__title > span { transform: none; }
.v3-js [data-reveal="head"].is-in .v3-head__chalk path { animation: v3-draw .9s var(--ease) .25s both; }

/* Hover-capable pointers only - no sticky hovers on touch screens. */
@media (hover: hover) {
    .v3-theme:hover { background: rgba(18, 10, 6, .8); }
    :root[data-theme="light"] .v3-theme:hover { background: #ffe6c2; }
    .v3-cup:hover .v3-cup__img { transform: rotate(-8deg) scale(1.03); }
    .v3-social__link:hover { transform: translateY(-3px); }
    .v3-quick__item:hover .v3-quick__ico { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255, 230, 200, .2), 0 0 18px rgba(220, 164, 106, .45); }
    .v3-btn--crema:hover::before { transform: translateX(100%); }
    .v3-btn--line:hover { background: var(--ink); color: var(--bg); }
    .v3-btn--arrow:hover::after { transform: translateX(5px); }
    .v3-board:not(.v3-board--static):hover { padding-left: 10px; }
    .v3-copy:hover { color: #8a4a1f; background: rgba(138, 74, 31, .1); }
    .v3-drawer a:hover { color: #8a4a1f; padding-left: 14px; }
    .v3-svc:hover { transform: translateX(4px); }
    .v3-svc:hover .v3-svc__media img { transform: scale(1.1); }
    .v3-svc:hover .v3-svc__go { background: var(--chalk); color: var(--board); transform: rotate(45deg); }
    .v3-story:hover { transform: translateY(-3px) rotate(-.4deg); }
    .v3-story:hover .v3-story__media img,
    .v3-pastry:hover .v3-pastry__media img,
    .v3-arch:hover img { transform: scale(1.06); }
    .v3-pastry:hover { transform: translateY(-4px); }
    .v3-arch:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px rgba(255, 220, 180, .25), 0 0 26px rgba(255, 180, 110, .25), 0 20px 28px -14px rgba(0, 0, 0, .9); }
    .v3-link:hover .v3-ico { transform: translate(3px, -2px); }
    .v3-rail-btn:hover { transform: translateY(-2px); }
    .v3-map:hover iframe { filter: invert(.9) sepia(.2) hue-rotate(-10deg); transition-delay: 0s; }
    .vcard-site-footer-login:hover { background: var(--ink); color: var(--bg); }
    .v3-dock__item:not(.v3-dock__item--crema):hover { background: rgba(255, 230, 200, .08); }
    .v3-tent__zoom:hover .v3-tent__zoom-chip { background: var(--crema-2); }
}

/* 17. Responsive =========================================================== */
@media (max-width: 360px) {
    :root { --gutter: 14px; }
    .v3-quick__item { font-size: 10.5px; }
    .v3-quick__ico { width: 48px; height: 48px; }
    .v3-svc { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; }
    .v3-svc__media { width: 50px; height: 50px; }
    .v3-dock__item { width: 60px; }
    .v3-story { grid-template-columns: 76px minmax(0, 1fr); }
    .v3-story__media { width: 76px; height: 76px; }
}

@media (min-width: 520px) {
    .v3-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v3-field--full { grid-column: 1 / -1; }
    .v3-cta:not(.v3-cta--single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v3-rail--case { grid-auto-columns: 46%; }
    .v3-rail--quotes { grid-auto-columns: 72%; }
    .v3-actions { max-width: 440px; margin-inline: auto; }
}

@media (min-width: 680px) {
    :root { --gutter: 0px; --window-h: 350px; --counter-lift: 88px; }
    .v3-counter { padding-inline: 40px; }
    .v3-name { --name-w: 528px; }
    .v3-arches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v3-rail { margin-right: 0; padding-right: 2px; }
}

@media (min-width: 768px) {
    .v3-dock { display: none; }
    body.has-dock .v3-shell { padding-bottom: 24px; }
}

/* Morning latte (the visitor's light pick). The chalkboard, the neon booth
   and the display case stay dark - they're objects, not the room light. */
:root[data-theme="light"] {
    --bg: #f5ece0;
    --bg-2: #ecdfcd;
    --card: #fffaf3;
    --card-2: #f1e5d4;
    --ink: #2a1a12;
    --ink-2: #53402f;
    --muted: #6b5645;
    --line: rgba(42, 26, 18, .12);
    --line-2: rgba(42, 26, 18, .24);
    --crema: #8e521f;
    --crema-2: #bb7c41;
    --crema-soft: rgba(142, 82, 31, .12);
    --sky-1: #f7e3c7;
    --sky-2: #e8c6a0;
    --lamp: rgba(255, 190, 110, .45);
    --sh: 0 1px 0 rgba(42, 26, 18, .06), 0 16px 30px -18px rgba(70, 40, 20, .5);
    --sh-lg: 0 30px 60px -24px rgba(70, 40, 20, .5);
    color-scheme: light;
}

:root[data-theme="light"] .v3-window {
    background:
        radial-gradient(60% 70% at 30% 20%, rgba(255, 245, 225, .8), transparent 70%),
        linear-gradient(180deg, var(--sky-1), var(--sky-2));
}

:root[data-theme="light"] .v3-window__mullions {
    border-color: rgba(90, 55, 30, .55);
    background:
        linear-gradient(90deg, transparent calc(50% - 3px), rgba(90, 55, 30, .55) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
        linear-gradient(180deg, transparent 58%, rgba(90, 55, 30, .55) 58% calc(58% + 6px), transparent calc(58% + 6px));
}

:root[data-theme="light"] .v3-counter {
    background:
        radial-gradient(90% 40% at 50% 0%, rgba(255, 255, 255, .8), transparent 70%),
        linear-gradient(115deg, transparent 20%, rgba(120, 90, 60, .05) 22%, transparent 26%, transparent 60%, rgba(120, 90, 60, .04) 62%, transparent 66%),
        var(--card);
}

/* In daylight the sign isn't lit - the name reads as painted lettering. */
:root[data-theme="light"] .v3-name__text {
    color: var(--ink);
    text-shadow: 0 2px 0 rgba(220, 164, 106, .35);
}

:root[data-theme="light"] .v3-quick__ico {
    background: radial-gradient(circle, #fffaf3 0 52%, #d9a066 54% 60%, #efe3d2 62%);
    color: #5a3313;
    box-shadow: 0 0 0 1px rgba(42, 26, 18, .1), 0 10px 16px -10px rgba(70, 40, 20, .6);
}

:root[data-theme="light"] .v3-section--brick::before {
    background:
        linear-gradient(0deg, rgba(120, 60, 40, .25) 1px, transparent 1px) 0 0 / 100% 22px,
        linear-gradient(90deg, rgba(120, 60, 40, .25) 1px, transparent 1px) 0 0 / 56px 44px,
        linear-gradient(90deg, rgba(120, 60, 40, .25) 1px, transparent 1px) 28px 22px / 56px 44px,
        linear-gradient(180deg, #d9b59b, #cfa487);
}

:root[data-theme="light"] .v3-section--brick {
    --ink: #2a1a12;
    --muted: #4a3322;
    --crema: #7a3f14;
}

:root[data-theme="light"] .v3-section--case,
:root[data-theme="light"] .v3-section--neon,
:root[data-theme="light"] .v3-section--chalk,
:root[data-theme="light"] .v3-ticker {
    --ink: #f6ebdd;
    --ink-2: #dbc6ad;
    --muted: #b29a80;
    --line: rgba(246, 235, 221, .1);
    --line-2: rgba(246, 235, 221, .2);
    --crema: #dca46a;
}

:root[data-theme="light"] .v3-section--chalk {
    --ink: var(--chalk);
    --ink-2: #cfcac0;
    --muted: #b3ada2;
}

/* Clear acrylic reads as nothing on cream - tint it like smoked glass. */
:root[data-theme="light"] .v3-tent {
    background: linear-gradient(160deg, rgba(110, 70, 35, .16), rgba(110, 70, 35, .05) 45%, rgba(110, 70, 35, .12));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(90, 55, 30, .2), 0 26px 30px -20px rgba(70, 40, 20, .55);
}

:root[data-theme="light"] .v3-tent::after {
    background: linear-gradient(180deg, rgba(110, 70, 35, .2), rgba(110, 70, 35, .06));
    box-shadow: 0 10px 14px -8px rgba(70, 40, 20, .5);
}

:root[data-theme="light"] .v3-dock {
    background: rgba(255, 250, 243, .92);
    box-shadow: inset 0 0 0 1px rgba(42, 26, 18, .12), 0 18px 30px -12px rgba(70, 40, 20, .5);
}

:root[data-theme="light"] .v3-dock__item { color: #3a2412; }
:root[data-theme="light"] .v3-dock__item--crema { color: var(--on-crema); }

/* A smooth cross-fade while the theme switches (no View Transitions). */
.v3-theming,
.v3-theming * {
    transition: background-color .5s ease, color .5s ease, border-color .5s ease, fill .5s ease !important;
}

/* 18. Reduced motion ======================================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .v3-js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .v3-js [data-reveal] .v3-head__title > span { transform: none; }
    .v3-js [data-reveal] .v3-head__chalk path,
    .v3-latte__pour { stroke-dashoffset: 0; }
    .v3-steam,
    .v3-pour { display: none; }
    .v3-ticker__track { animation: none; }
}

/* Scroll-driven extras off the main thread where supported (the page script
   covers the rest). */
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .v3-pour__fill {
            animation: v3-pour linear both;
            animation-timeline: scroll(root);
        }

        .v3-window__layer {
            animation: v3-parallax linear both;
            animation-timeline: scroll(root);
            animation-range: 0 480px;
        }
    }
}

@keyframes v3-pour { to { transform: scaleX(1); } }
@keyframes v3-parallax { to { transform: translate3d(0, 140px, 0); } }
