/* NŌKA — "Noir unique" theme. Loaded LAST on every public page.
   One background colour everywhere (the brand black #2B2623 from the logo files), all text off-white. */
:root {
  --noir: #2B2623;
  --blanc: #F4F1EA;
  --ink: #F4F1EA;          /* text + "solid" controls (buttons become light on black) */
  --ink-2: #2B2623;        /* section backgrounds that were "dark" */
  --ink-soft: #CFC7BC;     /* secondary text */
  --paper: #2B2623;        /* page background */
  --paper-2: #2B2623;
  --muted: #A1978E;
  --gold-deep: #C9AB7F;
  --line: rgba(244, 241, 234, .12);
  --line-light: rgba(244, 241, 234, .14);
  --surf: rgba(244, 241, 234, .045);   /* cards */
  --surf-2: rgba(244, 241, 234, .08);  /* inputs, hover */
}
html, body { background: var(--noir); color: var(--blanc); }
.paper-tex { background: var(--noir); background-image: none; }
::selection { background: var(--shu); color: #fff; }

/* sections that were designed light-on-dark keep light text */
.hero, .boxes, .findus, .nav-overlay, .ig-card.follow { color: var(--blanc); }
.corner .jp, .hero-copy .h-xl, .sound-btn:hover { color: var(--blanc); }
.findus-ctas .btn.ghost { color: var(--blanc); }
.findus-ctas .btn.ghost:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }

/* single colour: no alternate section fills, no gradients */
.hero-stage { background: var(--noir); }
.hero-stage::after, .hero-glow { display: none; }
.hero, .boxes, .findus, .delivery, .signatures, .gallery, .insta, .story, .nigiri, .kaiten, .site-footer, .loader { background: var(--noir); }
.site-footer .pat { display: none; }
.site-footer .inner { border-top: 1px solid var(--line); }
.nav-overlay { background: var(--noir); }

/* header: always light-on-black */
.site-header, .site-header.on-dark, .site-header.scrolled { color: var(--blanc); }
.site-header.scrolled { background: rgba(43, 38, 35, .88); border-bottom-color: var(--line); }
.site-header .brand img, .on-dark:not(.scrolled) .brand img { filter: invert(96%) sepia(6%) saturate(240%) hue-rotate(358deg) brightness(104%); }
.cart-btn, .on-dark:not(.scrolled) .cart-btn { background: var(--blanc); color: var(--noir); }
.cart-btn:hover { background: var(--shu); color: #fff; }
.menu-btn, .on-dark:not(.scrolled) .menu-btn { background: var(--blanc); }
.menu-btn i, .on-dark:not(.scrolled) .menu-btn i { background: var(--noir); box-shadow: 0 5px 0 var(--noir); }
.lang-toggle a[aria-current="true"] span, .on-dark:not(.scrolled) .lang-toggle a[aria-current="true"] span { color: var(--noir); }

/* hero: the logo stays white — no gold, no red seal */
.hero-emblem path { fill: var(--blanc) !important; stroke: var(--blanc) !important; }
.hero-word path, .hero-word rect, .hero-word .macron { fill: var(--blanc) !important; }
.hero-tag { color: var(--blanc); opacity: .8; }
.hero-kanji { color: var(--blanc); opacity: .035; }
.hero-copy .lede, .corner em { color: var(--ink-soft); }
.hero-copy .eyebrow.gold { color: var(--ink-soft); }
.loader-seal { display: none; }

/* ink illustrations become white ink on black */
.nigiri-art img, .story-ink img, .empty-state img, .cat-head h2 img, .no-results img, body > main > img { filter: invert(1) brightness(1.05); }
.nigiri-kanji { color: var(--blanc); opacity: .05; }

/* surfaces: cards, inputs, chips on black */
.card, .mode-card, .side-cart-inner, .co-sec, .co-summary, .ig-card, .box-card, .radio-card, .opt, .line-item .qty { background: var(--surf); }
.card:hover { border-color: rgba(191, 162, 122, .45); }
.field input, .field select, .field textarea, .search input, .promo input { background: var(--surf-2); color: var(--blanc); border-color: var(--line); }
.field select option, .select option { background: var(--noir); color: var(--blanc); }
.field input::placeholder, .search input::placeholder, .promo input::placeholder, textarea::placeholder { color: var(--muted); }
.filters button { background: var(--surf); color: var(--ink-soft); }
.filters button[aria-pressed="true"], .cats a.active, .seg button[aria-pressed="true"] { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.cats a:hover { background: var(--surf-2); color: var(--blanc); }
.seg { background: var(--surf-2); }
.seg button { color: var(--ink-soft); }
.radio-card:has(input:checked), .opt:has(input:checked) { border-color: var(--blanc); box-shadow: 0 0 0 1px var(--blanc); }
.sheet, .drawer, .checkout-wrap { background: var(--noir); }
.sheet-art { background: var(--surf-2); }
.sheet-x { background: var(--surf-2); color: var(--blanc); }
.sheet-foot, .drawer footer { background: var(--noir); }
.co-head { background: rgba(43, 38, 35, .9); }
.banner-closed { background: var(--surf-2); color: var(--blanc); border: 1px solid var(--line); }
.progress-min, .insta-progress, .sig-dots button { background: rgba(244, 241, 234, .14); }
.delivery-info li { border-bottom-color: var(--line); }
.mobile-cart-bar { background: var(--blanc); color: var(--noir); }
.toast { background: var(--blanc); color: var(--noir); }
.toast b { color: var(--shu); }
.plate-tip { background: var(--blanc); color: var(--noir); }
.ic-btn { background: var(--surf); color: var(--blanc); }
.ic-btn:hover { background: var(--blanc); color: var(--noir); }
.ig-media { background: var(--surf-2); }
.ig-card.follow { background: var(--surf-2); }
.box-card { border-color: var(--line); }
.box-card .btn { background: var(--blanc); color: var(--noir); }
.tag { border-color: var(--line); color: var(--ink-soft); }
.tag.veg { color: #A9BD7E; } .tag.spicy { color: #E2796C; } .tag.sig { color: var(--gold); }
.eyebrow.gold, .delivery-info h5, .site-footer h5 { color: var(--gold); }
.dish-art { box-shadow: inset 0 -10px 30px rgba(0, 0, 0, .1), 0 18px 34px -20px rgba(0, 0, 0, .8); }
.kaiten-svg .bowl text { fill: var(--blanc); }
.story-stats { border-top-color: var(--line); }
@media (hover: none), (pointer: coarse) { .ic-btn:hover { background: var(--surf); color: var(--blanc); } .card:hover { border-color: var(--line); } }

/* sticky elements (category bar, basket) need a non-scrolling body: clip instead of hidden */
html, body { overflow-x: clip !important; }

/* ================= Footer (shared: home + order page) ================= */
.nf { background: var(--noir); color: var(--blanc); border-top: 1px solid var(--line); padding: 0 clamp(16px, 5vw, 64px); font-size: 14px; }
.nf a { transition: color .2s, background .2s, border-color .2s; }
.nf-cta { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.nf-cta-t { display: flex; flex-direction: column; gap: 6px; }
.nf-k { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.nf-cta-t b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; }
.nf-cta-a { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nf-g { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 12px; border-radius: 99px; background: #fff; color: #1f1f1f; }
.nf-g svg { width: 24px; height: 24px; }
.nf-g span { display: flex; flex-direction: column; line-height: 1.1; } .nf-g b { font-size: 13.5px; font-weight: 600; } .nf-g small { font-size: 11.5px; color: #5f6368; } .nf-g i { font-style: normal; color: #FBBC04; letter-spacing: 1px; }
.nf-g:hover { box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); }
.nf-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .9fr 1fr 1.2fr; gap: 40px; padding: 48px 0 40px; }
.nf-logo { width: 170px; height: auto; filter: invert(96%) sepia(6%) saturate(240%) hue-rotate(358deg) brightness(104%); }
.nf-brand p { color: var(--ink-soft); line-height: 1.65; margin: 16px 0 20px; max-width: 34ch; }
.nf-social { display: flex; gap: 8px; flex-wrap: wrap; }
.nf-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blanc); }
.nf-social a:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.nf-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nf-col h5 { margin: 4px 0 18px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.nf-col ul { list-style: none; margin: 0; padding: 0; }
.nf-col nav ul li, .nf-col > ul li { margin-bottom: 11px; }
.nf-col a:not(.nf-map):hover { color: var(--gold); }
.nf-open { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px; border-radius: 99px; background: rgba(169,189,126,.12); color: #A9BD7E; font-size: 12.5px; font-weight: 600; }
.nf-open.closed { background: rgba(233,181,107,.12); color: #E9B56B; }
.nf-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.nf-info li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); margin: 0 !important; }
.nf-info li span { color: var(--muted); } .nf-info li b { font-weight: 500; text-align: right; }
.nf-map { position: relative; display: block; height: 150px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #1E1A18; }
.nf-map-img { position: absolute; inset: 0; overflow: hidden; }
.nf-tiles { position: absolute; left: calc(50% + var(--ox)); top: calc(50% + var(--oy)); width: 768px; height: 768px; filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.85) saturate(.3); }
.nf-tiles img { position: absolute; width: 256px; height: 256px; }
.nf-attr { position: absolute; right: 6px; bottom: 4px; font-size: 9px; color: rgba(244,241,234,.55); }
.nf-pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -34px 0 0 -17px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blanc); box-shadow: 0 6px 14px rgba(0,0,0,.5); display: grid; place-items: center; }
.nf-pin img { width: 22px; height: 22px; transform: rotate(45deg); }
.nf-map-cta { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 99px; background: var(--shu); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nf-map:hover { border-color: rgba(191,162,122,.5); } .nf-map:hover .nf-map-cta { background: var(--shu-deep); }
.nf-find address { font-style: normal; color: var(--ink-soft); line-height: 1.6; margin: 14px 0 6px; }
.nf-phones { margin: 0; font-weight: 500; }
.nf-bottom { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.nf-pay { display: flex; gap: 8px; flex-wrap: wrap; } .nf-pay i { font-style: normal; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-soft); }
.nf-lang { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.nf-lang a { padding: 4px 12px; border-radius: 99px; font-size: 11.5px; letter-spacing: .14em; font-weight: 600; color: var(--ink-soft); }
.nf-lang a[aria-current="true"] { background: var(--blanc); color: var(--noir); }
@media (max-width: 1000px) { .nf-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; } }
@media (max-width: 640px) {
  .nf { padding-bottom: env(safe-area-inset-bottom); }
  .nf-cta { padding: 34px 0 30px; flex-direction: column; align-items: stretch; text-align: center; }
  .nf-cta-a { justify-content: center; }
  .nf-cta-a .pill { flex: 1; justify-content: center; } .nf-cta-a .pill .t { flex: 1; }
  .nf-g { flex: 1; justify-content: center; }
  .nf-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; padding: 34px 0 30px; }
  .nf-brand, .nf-find { grid-column: 1 / -1; }
  .nf-brand { text-align: center; } .nf-brand p { margin: 14px auto 18px; } .nf-social { justify-content: center; } .nf-logo { margin: 0 auto; }
  .nf-map { height: 170px; }
  .nf-bottom { flex-direction: column; text-align: center; padding-bottom: calc(28px + 70px); }
}
@media (max-width: 640px) {
  .nf-cta-a { flex-direction: column; align-items: stretch; }
  .nf-cta-a .pill { width: 100%; }
  .nf-g { width: 100%; height: 52px; justify-content: center; }
  .nf-g span { flex-direction: row; align-items: baseline; gap: 8px; white-space: nowrap; }
  .nf-grid { grid-template-columns: 1fr; gap: 30px; }
  .nf-col nav ul, nav.nf-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .nf-open { white-space: nowrap; }
}
@media (max-width: 640px) { .nf-cta-a .pill, .nf-cta-a .nf-g { flex: none; } .nf-cta-a .pill { height: 52px; } .nf-cta-a .pill .a { width: 52px; height: 52px; } }

/* language selector hidden — language is auto-detected from the browser */
.lang-toggle, .nf-lang { display: none !important; }

/* iOS: a closed drawer parked off-screen made pages slide sideways → keep it inside the viewport, clipped */
.drawer { transform: none !important; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s linear .5s !important; }
.drawer.on { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s !important; }
html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }
/* sound toggle hidden (effects stay muted by default) */
.sound-btn { display: none !important; }

/* footer bottom: recruitment link */
.nf-bottom .nf-jobs { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); text-decoration: none; font-weight: 500; letter-spacing: .02em; }
.nf-bottom .nf-jobs svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nf-bottom .nf-jobs:hover { color: var(--blanc); }

/* footer: opening hours per day */
.nf-info li.nf-days-li { display: block; padding: 4px 0 0; border-bottom: 0; }
.nf-days { list-style: none; margin: 0; padding: 0; }
.nf-days li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.nf-days li span { color: var(--muted); }
.nf-days li b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.nf-days li.today span, .nf-days li.today b { color: var(--gold); font-weight: 600; }
