/* =========================================================================
   SoyStories — English home page (index.html only)
   Design tokens: page / surface / ink / muted / brand / line
   Type: Source Serif 4 (short headings) + Source Sans 3 (text, UI, menu)
   Sub-pages (KO, 繁中, menu details) keep home.css + sub.css untouched.
   ========================================================================= */
:root {
    --page: #FCFBF8;
    --surface: #F1EDE5;
    --ink: #2D302B;
    --muted: #60665E;
    --brand: #3C513D;
    --brand-d: #2E3F2F;
    --line: #D8D9D1;
    --line-strong: #8C9187;       /* control borders: 3:1+ on page */
    --notice-bg: #FBF3E3;         /* caution panel (allergy notice) */
    --notice-line: #A1621C;       /* 3.6:1 on notice-bg, non-text */
    --ok: #3E7B47;                /* open-now dot */
    --soon: #B07A1E;
    --closed: #9A4F37;

    --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
    --sans: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

    --hd-h: 60px;
    --gutter: 20px;
    --maxw: 1200px;
    --r-photo: 3px;
    --r-btn: 6px;
    --r-panel: 8px;
    --sec-y: 56px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --sec-y: 72px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --hd-h: 64px; --sec-y: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-variant-numeric: lining-nums;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-d); }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
[lang="ja"] { font-family: var(--ja); }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-btn); z-index: 999; }
.skip-link:focus { left: 8px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: calc(1320px + var(--gutter) * 2); }

/* ---------- Type roles ---------- */
.kicker { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--brand); margin-bottom: 10px; }
.sec__title {
    font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 1.6vw + 22px, 42px);
    line-height: 1.14; letter-spacing: -.005em; text-wrap: balance; max-width: 22ch;
}
.sec__lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 58ch; text-wrap: pretty; }
.sec__head { margin-bottom: 28px; }
.sec__head .sec__title + .sec__lead, .sec__head--split > .sec__lead { margin-top: 14px; }
.nowrap { white-space: nowrap; }
@media (min-width: 1024px) {
    .sec__head { margin-bottom: 40px; }
    .sec__head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
    .sec__head--split .sec__lead { margin-top: 0; padding-bottom: 6px; }
    .sec__head--end { align-items: end; }
}
.fine { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 16px; max-width: 80ch; }
.muted { color: var(--muted); }
.sec { padding: var(--sec-y) 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 10px 20px; border-radius: var(--r-btn);
    font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: center;
    border: 1.5px solid transparent; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn--secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--surface); color: var(--brand-d); }
.btn:active { background-color: var(--brand-d); color: #fff; }
.btn .ic { width: 19px; height: 19px; }

/* ---------- Header ---------- */
.hd {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    padding-top: env(safe-area-inset-top);
    background: rgba(252, 251, 248, .97); border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.hd.is-solid { box-shadow: 0 1px 0 rgba(45, 48, 43, .04); }
.hd__inner { height: var(--hd-h); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 8px 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hd__logo { display: inline-flex; align-items: center; min-height: 44px; }
.hd__logo img { height: 26px; width: auto; }
.hd__nav { display: none; }
.hd__actions { display: flex; align-items: center; gap: 2px; }
.hd__lang-group { display: flex; align-items: center; }
.hd__lang { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 8px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.hd__lang + .hd__lang { border-left: 1px solid var(--line); }
.hd__lang:hover { color: var(--brand); text-decoration: underline; }
.hd__burger { width: 48px; height: 48px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; border-radius: var(--r-btn); }
@media (max-width: 359px) {
    .hd__inner { padding-left: 14px; padding-right: 2px; gap: 6px; }
    .hd__logo img { height: 22px; }
    .hd__lang { padding: 0 4px; font-size: 13px; }
    .hd__burger { width: 44px; }
}
.hd__burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .2s, opacity .2s; }
.hd__burger.is-checked span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd__burger.is-checked span:nth-child(2) { opacity: 0; }
.hd__burger.is-checked span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
    position: fixed; left: 0; right: 0; top: calc(var(--hd-h) + env(safe-area-inset-top)); bottom: 0;
    background: var(--page); padding: 8px var(--gutter) 40px; overflow-y: auto; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s;
}
.drawer.is-checked { opacity: 1; visibility: visible; }
.drawer__nav a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px;
    border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 600;
}
.drawer__nav a::after { content: ""; width: 8px; height: 8px; border-top: 1.75px solid var(--muted); border-right: 1.75px solid var(--muted); transform: rotate(45deg); margin-right: 6px; flex: 0 0 auto; }
.drawer__nav .drawer__ig { color: var(--brand); justify-content: flex-start; gap: 10px; font-size: 17px; }
.drawer__nav .drawer__ig span { flex: 1; }
.drawer__nav .drawer__ja { font-family: var(--ja); font-size: 16px; font-weight: 500; color: var(--brand); }
.drawer__nav a:not(.drawer__ja) + .drawer__ja { margin-top: 14px; border-top: 2px solid var(--line-strong); }

@media (min-width: 1024px) {
    .hd__inner { padding-right: var(--gutter); }
    .hd__nav { display: flex; gap: 2px; margin-left: auto; margin-right: 16px; }
    .hd__nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink); }
    .hd__nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .18s ease; }
    .hd__nav a:hover::after, .hd__nav a.is-current::after { transform: scaleX(1); }
    .hd__nav a.is-current { color: var(--brand); }
    .hd__burger { display: none; }
    .hd__lang-group { padding-left: 12px; border-left: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero { display: grid; padding-top: calc(var(--hd-h) + env(safe-area-inset-top)); background: var(--page); }
.hero__media { order: -1; position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 3 / 2; max-height: 42svh; min-height: 200px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 60%; }
.hero__content { padding: 24px var(--gutter) 36px; }
.hero__status { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); margin-bottom: 10px; }
.hero__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.hero__status.is-soon .dot { background: var(--soon); }
.hero__status.is-closed .dot { background: var(--closed); }
.hero__eyebrow { font-size: 15px; line-height: 1.45; color: var(--muted); margin-bottom: 14px; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.4vw + 22px, 66px); line-height: 1.06; letter-spacing: -.012em; text-wrap: balance; max-width: 12ch; margin-bottom: 16px; }
.hero__lead { font-size: 17px; line-height: 1.6; max-width: 44ch; margin-bottom: 24px; text-wrap: pretty; }
.hero__lead strong { font-weight: 600; }
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 440px; }
.hero__cta .btn { padding-left: 12px; padding-right: 12px; }
.hero__rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 20px; min-height: 44px; font-size: 15px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.hero__rating:hover span:last-child { text-decoration: underline; }
.stars { color: var(--brand); letter-spacing: 1px; font-size: 14px; }
@media (min-width: 768px) {
    .hero__media { max-height: 52svh; }
    .hero__content { padding-top: 32px; padding-bottom: 48px; }
}
@media (min-width: 1024px) {
    .hero {
        grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
        min-height: clamp(560px, calc(100svh - 150px), 760px);
    }
    .hero__media { order: 0; aspect-ratio: auto; max-height: none; min-height: 0; }
    .hero__media img { position: absolute; inset: 0; object-position: 38% 55%; }
    .hero__content {
        align-self: center;
        padding: 56px 56px 56px max(var(--gutter), calc((100vw - var(--maxw)) / 2));
    }
    .hero__lead { font-size: 18px; }
    .hero__cta { display: flex; flex-wrap: wrap; max-width: none; }
    .hero__cta .btn { padding-left: 22px; padding-right: 22px; }
}

/* ---------- Key store facts ---------- */
.trust { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.trust__inner { max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; }
.trust__list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; }
.trust__list li + li { border-top: 1px solid var(--line); }
.trust__list--visit { padding-left: 16px; border-left: 1px solid var(--line); }
.trust__list--diet { padding-right: 16px; }
.trust__list strong { font-size: 16px; font-weight: 700; line-height: 1.3; }
.trust__list--diet strong { color: var(--brand); }
.trust__list span { font-size: 15px; line-height: 1.4; color: var(--muted); }
@media (max-width: 359px) { .trust__inner { grid-template-columns: 1fr; } .trust__list--visit { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
@media (min-width: 1024px) {
    .trust__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust__list li { padding: 22px 20px 22px 0; }
    .trust__list li + li { border-top: 0; padding-left: 20px; border-left: 1px solid var(--line); }
    .trust__list--visit { padding-left: 28px; border-left: 2px solid var(--line); }
    .trust__list--diet { padding-right: 28px; }
}

/* ---------- Inside: photo pages ---------- */
.photo { margin: 0; }
.photo img { width: 100%; object-fit: cover; border-radius: var(--r-photo); background: var(--surface); }
.photo figcaption { font-size: 15px; line-height: 1.45; color: var(--muted); padding-top: 10px; max-width: 46ch; }
.gallery__lead { display: grid; grid-template-columns: 1fr; gap: 20px; }
.photo--showcase img { aspect-ratio: 16 / 10; object-position: 35% 55%; }
.photo--baking img { aspect-ratio: 16 / 10; object-position: 50% 62%; }
.gallery__more { margin-top: 24px; }
.photo--seating img { aspect-ratio: 3 / 2; }
.photo--product img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--surface); border: 1px solid var(--line); padding: 10px; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--tall:first-of-type img { object-position: 50% 60%; }
@media (min-width: 520px) {
    .gallery__lead { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
    .photo--showcase img, .photo--baking img { aspect-ratio: 4 / 5; }
}

/* horizontal rail (used for supporting photos & reviews on small screens) */
.rail {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
    padding-bottom: 12px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter);
}
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.gallery__rail > .photo { width: 64vw; max-width: 300px; }
.gallery__rail > .photo--seating { width: 80vw; max-width: 420px; }
.gallery__rail .photo img { aspect-ratio: auto; height: clamp(200px, 58vw, 280px); } /* one shared height on phones: no ragged gap */
.rail-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.rail-nav[hidden] { display: none; }
.rail-nav__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-btn); border: 1.5px solid var(--line-strong); background: var(--page); color: var(--ink); transition: background-color .18s, border-color .18s; }
.rail-nav__btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.rail-nav__btn:disabled { opacity: .45; cursor: default; }

@media (min-width: 768px) {
    .gallery__lead { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; }
    .photo--showcase img, .photo--baking img { aspect-ratio: auto; height: clamp(340px, 40vw, 560px); }
    .photo--showcase img { object-position: 50% 50%; }
    .photo--baking img { object-position: 50% 58%; }
    .gallery__more { margin-top: 28px; }
    .gallery__rail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
    .gallery__rail > .photo, .gallery__rail > .photo--seating { width: auto; max-width: none; }
    .gallery__rail .photo img { aspect-ratio: auto; height: clamp(220px, 26vw, 300px); }
    .gallery__more .rail-nav { display: none; }
}
@media (min-width: 1024px) {
    .gallery__rail { grid-template-columns: minmax(0, 1.5fr) minmax(0, .95fr) minmax(0, .8fr) minmax(0, .8fr); }
    .gallery__rail .photo img { height: clamp(240px, 22vw, 300px); }
    .photo--seating img { max-width: 550px; }
}

.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid var(--ink); }
.facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 16px; padding-right: 0; border-left: 1px solid var(--line); }
.facts strong { font-size: 17px; font-weight: 700; line-height: 1.3; }
.facts small { font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (min-width: 1024px) {
    .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; }
    .facts li, .facts li:nth-child(even) { padding: 18px 20px; border-bottom: 0; border-left: 1px solid var(--line); }
    .facts li:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Menu ---------- */
.sec--menu { border-top: 1px solid var(--line); }
.card__title { font-family: var(--sans); font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -.003em; }
.card__ja { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 2px; }
.card__desc { font-size: 17px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.price { font-size: 16px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums lining-nums; }
.price strong { font-size: 20px; font-weight: 700; color: var(--ink); }
.price span { margin: 0 4px; }
.price small { font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.tags li { font-weight: 600; }
.tags li + li::before { content: ""; display: inline-block; width: 1px; height: .9em; background: var(--line-strong); margin: 0 10px; vertical-align: -1px; }
.card__actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }

/* signature */
.sig { display: grid; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.sig__media { display: block; border-radius: var(--r-photo); overflow: hidden; background: #F4F4F3; }
.sig__media img { width: 100%; aspect-ratio: 1039 / 836; object-fit: cover; transition: transform .25s ease; }
.sig__media:hover img { transform: scale(1.015); }
.sig__label { font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.sig__label::before { content: ""; width: 24px; height: 2px; background: var(--brand); }
.sig .card__title { font-size: clamp(26px, 1vw + 22px, 30px); line-height: 1.2; }
.sig .price { margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 17px; }
.sig .price strong { font-size: 24px; }
.sig .card__desc { margin-bottom: 16px; max-width: 60ch; }
.sig .tags { margin-bottom: 24px; }
@media (max-width: 599px) {
    .sig .card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .sig .card__actions .btn { width: 100%; padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 900px) {
    .sig { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-bottom: 56px; }
}

/* category grid */
.mgrid { display: grid; gap: 0; margin-top: 8px; }
.mcard { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.mcard__media { grid-row: 1; display: block; border-radius: var(--r-photo); overflow: hidden; background: #F4F4F3; align-self: start; }
.mcard__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mcard__head { grid-row: 1; align-self: center; }
.mcard__head .price { margin-top: 6px; }
.mcard__body { grid-column: 1 / -1; margin-top: 14px; }
.mcard .card__desc { margin-bottom: 10px; }
.mcard .tags { margin-bottom: 14px; }
.mcard .card__actions { justify-content: space-between; }
@media (max-width: 599px) {
    .mcard .card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .mcard .link-arrow {
        justify-content: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-btn);
        background: var(--surface); color: var(--ink); padding: 8px 12px; font-size: 15px;
    }
    .mcard .chip-btn { justify-content: center; border-color: var(--brand); color: var(--brand); width: 100%; }
}
@media (min-width: 600px) {
    .mcard { grid-template-columns: 168px minmax(0, 1fr); gap: 0 24px; }
    .mcard__media { grid-row: 1 / span 2; }
    .mcard__head { align-self: end; }
    .mcard__body { grid-column: 2; margin-top: 10px; }
    .mcard .card__actions { justify-content: flex-start; }
}
@media (min-width: 1024px) {
    .mgrid { grid-template-columns: 1fr 1fr; column-gap: 56px; }
    .mcard { padding: 32px 0; grid-template-columns: 180px minmax(0, 1fr); }
    .mcard:nth-last-child(-n+2) { border-bottom: 0; }
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--brand); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .ic { transform: translateX(2px); }
.chip-btn {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 16px; border-radius: var(--r-btn);
    border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.2;
    transition: border-color .18s, background-color .18s, color .18s;
}
.chip-btn:hover { border-color: var(--brand); color: var(--brand); }
.chip-btn:active { background: var(--surface); }
.chip-btn .ic { width: 18px; height: 18px; }

/* toppings */
.toppings { margin-top: 40px; padding: 24px 20px; background: var(--surface); border-radius: var(--r-panel); }
.toppings__head h3 { font-family: var(--sans); font-size: 21px; font-weight: 600; line-height: 1.3; }
.toppings__head p { font-size: 16px; line-height: 1.5; color: var(--muted); margin: 6px 0 18px; max-width: 46ch; }
.toppings__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
@media (max-width: 359px) { .toppings__list { grid-template-columns: 1fr; } }
.toppings__list li { display: flex; align-items: center; gap: 12px; }
.toppings__list img { width: 52px; height: 52px; object-fit: contain; flex: 0 0 auto; }
.toppings__list span { font-size: 16px; font-weight: 600; line-height: 1.3; }
.toppings__list em { display: block; font-style: normal; font-weight: 400; color: var(--muted); font-size: 15px; }
@media (min-width: 768px) { .toppings__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
    .toppings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 40px; align-items: center; padding: 32px 36px; }
    .toppings__head p { margin-bottom: 0; }
    .toppings__list { gap: 20px 24px; }
}

/* full menu table */
.full-menu { margin-top: 40px; border-top: 2px solid var(--ink); }
.full-menu summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    min-height: 60px; padding: 14px 0; font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--ink);
}
.full-menu summary::-webkit-details-marker { display: none; }
.full-menu summary::after { content: ""; flex: 0 0 10px; width: 10px; height: 10px; margin-right: 6px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.full-menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.full-menu summary:hover { color: var(--brand); }
.full-menu__body { overflow-x: auto; border-top: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.m-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; min-width: 680px; }
.m-table th, .m-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.m-table thead th { font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.m-table tbody th { font-weight: 400; width: 38%; }
.m-table tbody th strong { font-weight: 600; }
.m-table .m-cat { padding-top: 22px; padding-bottom: 8px; font-weight: 700; font-size: 15px; color: var(--brand); border-bottom: 1px solid var(--brand); }
.m-table .m-ja { display: block; font-size: 14px; color: var(--muted); font-family: var(--ja); margin-top: 2px; }
.m-table .m-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.m-table td:nth-child(2) { color: var(--muted); width: 14%; }
.m-table em { font-style: normal; color: var(--muted); }
.full-menu__fine { margin-top: 16px; }
/* Phones: each menu row re-flows into a readable block (ARIA roles in the markup keep table semantics) */
@media (max-width: 599px) {
    .full-menu__body { overflow: visible; }
    .m-table { min-width: 0; display: block; }
    .m-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .m-table tbody { display: block; }
    .m-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
    .m-table th, .m-table td { display: block; padding: 0; border: 0; width: auto; }
    .m-table tbody th { grid-column: 1; grid-row: 1; width: auto; }
    .m-table .m-price { grid-column: 2; grid-row: 1; text-align: right; font-size: 17px; }
    .m-table td:nth-child(2) {
        grid-column: 1 / -1; grid-row: 2; width: fit-content; margin-top: 6px;
        font-size: 13px; font-weight: 600; color: var(--ink); background: var(--surface);
        padding: 2px 8px; border-radius: 4px;
    }
    .m-table td:nth-child(4) { grid-column: 1 / -1; grid-row: 3; margin-top: 6px; font-size: 15px; line-height: 1.45; }
    .m-table td:nth-child(4)::before { content: "Allergens Used in Recipe*: "; font-weight: 600; color: var(--muted); } /* repeats the visually hidden column header */
    .m-table tr:has(.m-cat) { display: block; padding: 22px 0 8px; border-bottom: 1px solid var(--brand); }
    .m-table .m-cat { padding: 0; border: 0; }
}

/* ---------- Allergen policy & checker ---------- */
.sec--allergy { position: relative; border-top: 1px solid var(--line); }
.anchor-alias { position: absolute; top: 0; }
.kitchen { display: grid; gap: 24px; margin-bottom: 40px; }
.kitchen__badge { font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.kitchen__policy > p:not(.kitchen__badge) { max-width: 62ch; text-wrap: pretty; }
.kitchen__free { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--line); max-width: 560px; }
.kitchen__free li { font-size: 16px; font-weight: 600; line-height: 1.3; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .kitchen__free { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.policy-note {
    padding: 20px 20px 20px 22px; background: var(--notice-bg); border-left: 4px solid var(--notice-line); border-radius: 0 var(--r-panel) var(--r-panel) 0;
    font-size: 17px; line-height: 1.6; color: var(--ink);
}
.policy-note > strong:first-child { display: inline-block; font-size: 18px; line-height: 1.35; margin-bottom: 6px; }
@media (min-width: 1024px) {
    .kitchen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 56px; }
}

.checker { border-top: 2px solid var(--ink); padding-top: 24px; }
.checker__q { font-weight: 600; font-size: 19px; line-height: 1.35; margin-bottom: 12px; }
.checker__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.checker__chips .fchip { flex: 0 1 auto; justify-content: flex-start; }
@media (min-width: 1024px) { .checker__chips { flex-direction: column; align-items: stretch; max-width: 300px; } .checker__chips .fchip { flex: 1 1 auto; } }
.fchip {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 12px; border-radius: var(--r-btn);
    border: 1.5px solid var(--line-strong); background: var(--page); color: var(--ink); font-size: 16px; font-weight: 600;
    transition: background-color .15s, color .15s, border-color .15s;
}
.fchip::before {
    content: ""; width: 18px; height: 18px; flex: 0 0 18px; border: 1.5px solid currentColor; border-radius: 3px;
    background: transparent no-repeat center / 12px 12px;
}
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fchip[aria-pressed="true"]::before {
    background-color: #fff; border-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%232D302B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checker__result { font-size: 16px; line-height: 1.45; color: var(--ink); margin: 14px 0 0; min-height: 1.45em; font-weight: 600; }
.checker__list { display: flex; flex-direction: column; margin-top: 20px; border-top: 1px solid var(--line); }
.checker__list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); transition: background-color .18s; }
.checker__list strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.35; }
.checker__list small { display: block; font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
/* neutral by default: no marker, no "safe" check */
.checker__list .ok { display: none; }
/* item contains a selected ingredient: marker + quieter (still 4.5:1) text + tinted row, sorted below available items */
.checker__list li.is-out { order: 1; background: var(--surface); padding-left: 10px; padding-right: 10px; }
.checker__list li.is-out .ok {
    display: block; position: relative; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 1.75px solid var(--muted);
}
.checker__list li.is-out .ok::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1.75px; margin-top: -.9px; background: var(--muted); }
.checker__list li.is-out strong { color: var(--muted); font-weight: 600; }
.checker__note { font-size: 16px; line-height: 1.55; color: var(--ink); margin-top: 18px; max-width: 72ch; }
.checker__note a { font-weight: 600; display: inline-block; padding: 12px 0; margin: -12px 0; }
.checker__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn--sm { min-height: 44px; padding: 8px 14px; font-size: 15px; }
@media (max-width: 599px) {
    .checker__contact { display: grid; grid-template-columns: 1fr; }
    .checker__contact .btn { width: 100%; }
}
@media (min-width: 1024px) {
    .checker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 56px; align-items: start; padding-top: 32px; }
    .checker__controls { position: sticky; top: calc(var(--hd-h) + 24px); }
    .checker__list { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 0; }
    .checker__list li:nth-child(-n+2) { border-top: 1px solid var(--line); }
    .checker__note, .checker__contact { grid-column: 2; }
}

/* ---------- Seasonal ---------- */
.sec--seasonal { background: var(--surface); }
.seasonal { display: grid; gap: 28px; }
.seasonal__text .sec__lead { margin-top: 14px; }
.ig-pill { margin-top: 18px; background: var(--page); text-align: left; justify-content: flex-start; width: 100%; max-width: 480px; }
.ig-pill span { line-height: 1.35; }
.seasonal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.season { margin: 0; }
.season img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-photo); background: var(--page); }
/* landscape originals (boxed donuts, drinks) keep a landscape frame so glasses and the box are not cut */
.season:nth-child(n+3) img { aspect-ratio: 3 / 2; }
.season figcaption { font-size: 15px; font-weight: 600; line-height: 1.4; padding-top: 8px; }
@media (min-width: 1024px) {
    .seasonal { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
    .seasonal__text { position: sticky; top: calc(var(--hd-h) + 32px); padding-top: 4px; }
    .seasonal__grid { gap: 28px 24px; }
}

/* ---------- Takeout ---------- */
.to-grid { display: grid; gap: 32px; }
.to-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-photo); background: #fff; }
.to-feature__body { padding-top: 18px; }
.to-feature h3 { font-family: var(--sans); font-size: 23px; font-weight: 600; line-height: 1.3; max-width: 32ch; }
.to-feature__keep { margin: 10px 0 8px; font-size: 16px; font-weight: 700; color: var(--brand); }
.to-feature p:last-child { max-width: 60ch; }
.to-list { border-top: 2px solid var(--ink); }
.to-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.to-list strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.35; }
.to-list small { display: block; font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 4px; }
.btn--ig { margin-top: 24px; width: 100%; }
@media (min-width: 1024px) {
    .to-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
    .btn--ig { width: auto; }
}

/* ---------- Reviews ---------- */
.sec--reviews { border-top: 1px solid var(--line); }
.scores { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.score { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--ink); }
.score__num { font-family: var(--sans); font-size: 30px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.score__meta { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; color: var(--muted); }
.score:hover .score__meta { color: var(--brand); text-decoration: underline; }
@media (max-width: 767px) {
    .scores {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel);
    }
    .score + .score { padding-left: 10px; border-left: 1px solid var(--line); }
    .score__num { font-size: 26px; }
    .score__meta { font-size: 13px; }
}
@media (min-width: 1024px) { .sec--reviews .scores { justify-content: flex-end; padding-bottom: 6px; } }

.rv {
    width: 82vw; max-width: 340px; padding: 20px;
    background: var(--surface); border: 1px solid var(--line); border-top: 2.5px solid var(--ink); border-radius: 0 0 var(--r-panel) var(--r-panel);
    display: flex; flex-direction: column; gap: 16px;
}
.rv p { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.rv p::before { content: "★★★★★"; display: block; color: var(--brand); letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.rv footer { margin-top: auto; }
.rv footer strong { display: block; font-size: 16px; font-weight: 700; }
.rv footer span { font-size: 15px; color: var(--muted); }
.reviews .rail { gap: 14px; }
@media (min-width: 768px) {
    .rail--reviews { display: block; columns: 2; column-gap: 40px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
    .rail--reviews .rv { width: auto; max-width: none; padding: 20px 0 0; background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; break-inside: avoid; margin-bottom: 36px; display: flex; }
    .reviews .rail-nav { display: none; }
}
@media (min-width: 1200px) { .rail--reviews { columns: 3; column-gap: 48px; } }

/* ---------- Story & craft ---------- */
.sec--craft { border-top: 1px solid var(--line); }
.story { display: grid; gap: 20px; }
.story-box h3 { font-family: var(--sans); font-size: 21px; font-weight: 600; line-height: 1.35; margin: 0 0 10px; }
.story-box p { font-size: 18px; line-height: 1.65; max-width: 58ch; text-wrap: pretty; }
.story-box p + p { margin-top: 12px; }
.craft { display: grid; gap: 0; margin-top: 40px; border-top: 2px solid var(--ink); }
.craft li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; align-content: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.craft img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-photo); }
.craft strong { display: block; font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.35; }
.craft small { display: block; font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 4px; }
@media (min-width: 1024px) {
    .story { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
    .craft { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 56px; }
    .craft li { grid-template-columns: 1fr; border-bottom: 0; padding-top: 24px; }
    .craft img { width: 80px; height: 80px; }
}

/* ---------- FAQ ---------- */
.sec--faq { border-top: 1px solid var(--line); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
    min-height: 56px; padding: 16px 0; font-weight: 600; font-size: 18px; line-height: 1.4; transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary::after {
    content: ""; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px;
    background: linear-gradient(currentColor, currentColor) center / 14px 1.75px no-repeat, linear-gradient(currentColor, currentColor) center / 1.75px 14px no-repeat;
    transition: transform .2s ease;
}
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 14px 1.75px no-repeat; }
.faq details > div { padding: 0 36px 20px 0; }
.faq p { font-size: 17px; line-height: 1.65; max-width: 68ch; }
.faq p a { font-weight: 600; }
@media (min-width: 1024px) {
    .faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
    .faq-layout .sec__head { position: sticky; top: calc(var(--hd-h) + 32px); margin-bottom: 0; }
}

/* ---------- Access ---------- */
.sec--access { border-top: 1px solid var(--line); }
.access { display: grid; gap: 28px; }
.access__map { border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.info { border-top: 2px solid var(--ink); }
.info > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--brand); padding-top: 1px; }
.info dd { font-size: 17px; line-height: 1.55; }
.info dd .muted { font-size: 15px; }
.info a { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; margin: -10px 0; }
.access__btns { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 600px) { .access__btns { display: flex; flex-wrap: wrap; } }
.ig-connect {
    margin-top: 20px; padding: 18px; border-radius: var(--r-panel);
    background: var(--surface); border: 1px solid var(--line-strong);
    display: grid; gap: 14px;
}
.ig-connect__head { display: flex; gap: 12px; align-items: flex-start; }
.ig-connect__head > .ic { width: 24px; height: 24px; color: var(--brand); margin-top: 2px; }
.ig-connect__head strong { font-size: 17px; line-height: 1.35; }
.ig-connect__head p { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.ig-connect__head p strong { font-size: 15px; color: var(--ink); }
.ig-connect__actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 480px) { .ig-connect__actions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
    .access { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
    .access__map { aspect-ratio: auto; height: 100%; min-height: 460px; }
}

.visit-extra { display: grid; gap: 28px; margin-top: 40px; }
.spot img { width: 100%; max-width: 385px; aspect-ratio: 385 / 256; object-fit: cover; border-radius: var(--r-photo); }
.spot p { font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 12px; max-width: 46ch; }
.spot strong { color: var(--ink); }
.taxi { padding: 20px; border-radius: var(--r-panel); background: var(--surface); border: 1.5px solid var(--line-strong); }
.taxi__label { font-size: 16px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.taxi__ja { font-size: 22px; font-weight: 700; line-height: 1.55; margin-bottom: 16px; }
.taxi__ja span { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.btn--copy { background: var(--page); width: 100%; }
@media (min-width: 600px) { .btn--copy { width: auto; } }
.btn--copy::before {
    content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h8'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.taxi__msg { display: block; font-size: 15px; font-weight: 600; color: var(--brand); margin-top: 10px; min-height: 1.4em; word-break: break-word; }
.pay__label { font-size: 16px; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.pay ul { border-top: 1px solid var(--line); }
.pay li { font-size: 16px; line-height: 1.45; padding: 9px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) {
    .visit-extra { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .taxi { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 1024px) {
    .visit-extra { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 40px; margin-top: 48px; }
    .taxi { grid-column: auto; grid-row: auto; padding: 24px; }
}

/* ---------- Footer ---------- */
.ft { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 32px; }
.ft__inner { display: grid; gap: 28px; }
.ft__logo { height: 34px; width: auto; margin-bottom: 12px; }
.ft__tag { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 40ch; }
.ft__nav { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.ft__nav a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.35; border-bottom: 1px solid var(--line); }
.ft__nav a:hover { color: var(--brand); text-decoration: underline; }
.ft__nav a[lang] { font-size: 15px; }
.ft__copy { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (min-width: 600px) { .ft__nav { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (min-width: 1024px) {
    .ft { padding: 64px 0 40px; }
    .ft__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; }
    .ft__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ft__copy { grid-column: 1 / -1; padding-top: 8px; }
}

/* ---------- Mobile dock ---------- */
.dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: rgba(252, 251, 248, .98); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .22s ease;
}
.dock.is-visible { transform: none; }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: var(--r-btn); text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.dock a:active { background: var(--surface); }
.dock .ic { width: 22px; height: 22px; }
.dock .dock__primary { background: var(--brand); color: #fff; }
.dock .dock__primary:active { background: var(--brand-d); }
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- Show-staff overlay ---------- */
.staff { position: fixed; inset: 0; z-index: 100; background: rgba(28, 30, 27, .62); display: grid; place-items: center; padding: 16px; animation: fadeIn .18s ease; }
.staff[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.staff__card { width: 100%; max-width: 440px; max-height: calc(100svh - 32px); overflow-y: auto; background: #fff; border-radius: var(--r-panel); padding: 26px 22px 20px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.staff__hint { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.staff__please { font-size: 22px; font-weight: 700; color: var(--brand); }
.staff__item { font-size: clamp(20px, 5.4vw, 28px); font-weight: 700; line-height: 1.35; margin: 10px 0 6px; word-break: keep-all; overflow-wrap: break-word; }
.staff__en { font-size: 16px; color: var(--muted); margin-bottom: 18px; }
.staff__mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.staff__mode button { min-height: 72px; border-radius: var(--r-btn); border: 1.5px solid var(--line-strong); background: var(--page); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px; }
.staff__mode span { font-size: 18px; font-weight: 700; }
.staff__mode small { font-size: 14px; color: var(--muted); }
.staff__mode .is-on { border: 2.5px solid var(--brand); background: #EDF1EA; }
.staff__close { width: 100%; min-height: 50px; border-radius: var(--r-btn); border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; }

/* ---------- Utilities ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
