/* ═══════════════════════════════════════════════════════════════
   LAWSON — the blue glow of the neighborhood
   Layered diorama composition · soft eased ambient motion
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: "Zen Kaku"; src: url("../assets/fonts/zen-kaku-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Zen Kaku"; src: url("../assets/fonts/zen-kaku-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Zen Kaku"; src: url("../assets/fonts/zen-kaku-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --blue: #0a5ca8;
  --blue-deep: #083e73;
  --blue-bright: #2f9be8;
  --ink: #1c2b3a;
  --paper: #fdfcf8;
  --cream: #f6f1e6;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-snap: cubic-bezier(.34, 1.56, .64, 1);

  /* day-cycle palette — interpolated by JS across scroll */
  --sky-top: #bfe3ff;
  --sky-bot: #f4ead2;
  --ambient: rgba(255, 244, 214, 0);
  --bldg-far: #a9c4d8;
  --bldg-mid: #7d9db8;
  --win-far: #dceaf5;
  --win-mid: #e8f2fa;
  --line: #5b7791;
  --store-wall: #f4f8fc;
  --store-glass: #d9ecf9;
  --store-text: #4d6b85;
  --shelf-color: #b8d4e8;
  --bike: #41586c;
  --lamp-glow: 0;
  --sign-glow: .25;
  --star-op: 0;
  --sun-op: 1;
  --moon-op: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Zen Kaku", "Hiragino Kaku Gothic ProN", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 1.2s var(--ease);
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--blue); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top .3s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

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

[hidden] { display: none !important; }

/* ── Loader ─────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--paper);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__fill { transition: height 1s var(--ease), y 1s var(--ease); }
.loader__line { font-weight: 900; font-size: 1.25rem; color: var(--blue-deep); letter-spacing: .08em; }
.loader__sub { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: #7a93a8; }
.loader__dots i { animation: dot 1.2s infinite; display: inline-block; font-style: normal; }
.loader__dots i:nth-child(2) { animation-delay: .2s; }
.loader__dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { opacity: .2; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ── Header ─────────────────────────────────────────────── */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 92, 168, .1);
  transition: background 1.2s var(--ease);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__word { font-weight: 900; letter-spacing: .18em; color: var(--blue-deep); font-size: 1.05rem; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .85rem;
  padding: 9px 13px; border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.site-nav a:hover { background: rgba(10, 92, 168, .09); color: var(--blue); transform: translateY(-1px); }
.site-nav a:active { transform: translateY(1px) scale(.97); }
.head-actions { display: flex; gap: 8px; align-items: center; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px; min-height: 40px;
  background: #fff; border: 1.5px solid rgba(10, 92, 168, .25);
  font-weight: 700; font-size: .8rem; color: var(--blue-deep);
  transition: transform .3s var(--ease-snap), box-shadow .3s var(--ease), border-color .3s;
}
.chip-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(10, 92, 168, .18); border-color: var(--blue); }
.chip-btn:active { transform: translateY(0) scale(.96); }
.chip-btn__count { background: var(--blue); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .72rem; transition: transform .4s var(--ease-snap); }
.chip-btn__count.bump { transform: scale(1.35); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.nav-toggle span { width: 20px; height: 2.5px; background: var(--blue-deep); border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-weight: 900; font-size: .92rem; letter-spacing: .04em; text-decoration: none;
  transition: transform .35s var(--ease-snap), box-shadow .35s var(--ease), background .35s;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(10, 92, 168, .3); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(10, 92, 168, .4); background: var(--blue-bright); }
.btn--primary:active { transform: translateY(0) scale(.97); }
.btn--ghost { background: transparent; color: var(--blue-deep); border: 2px solid currentColor; }
.btn--ghost:hover { transform: translateY(-3px); background: rgba(10, 92, 168, .08); }
.btn--ghost:active { transform: scale(.97); }

/* ── Stamp card ─────────────────────────────────────────── */
.stamp-card {
  position: fixed; right: clamp(12px, 3vw, 28px); bottom: 24px; z-index: 110;
  width: min(320px, calc(100vw - 24px));
  background: #fffdf6; border: 2px solid #e4d9be; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(28, 43, 58, .25);
  padding: 16px;
  animation: cardIn .5s var(--ease-snap);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.92); } }
.stamp-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.stamp-card__title { font-weight: 900; color: #6b5522; }
.stamp-card__sub { font-size: .72rem; color: #a08c58; letter-spacing: .12em; text-transform: uppercase; }
.stamp-card__close, .basket__close { font-size: 1.4rem; line-height: 1; padding: 4px 10px; border-radius: 8px; color: #a08c58; transition: background .3s; }
.stamp-card__close:hover, .basket__close:hover { background: rgba(0,0,0,.06); }
.stamp-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stamp-grid li {
  display: grid; place-items: center; gap: 2px; padding: 8px 2px;
  border: 2px dashed #d8cba6; border-radius: 12px; color: #c3b384;
  transition: all .4s var(--ease);
}
.stamp-grid li em { font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .04em; }
.stamp-grid__icon { font-size: 1.1rem; filter: grayscale(1); opacity: .45; transition: all .45s var(--ease-snap); }
.stamp-grid li.is-stamped { border-style: solid; border-color: var(--blue); background: #eef6fd; color: var(--blue-deep); }
.stamp-grid li.is-stamped .stamp-grid__icon { filter: none; opacity: 1; transform: scale(1.25) rotate(-8deg); }
.stamp-card__done { margin-top: 10px; font-size: .82rem; color: #6b5522; background: #fdf3d7; border-radius: 10px; padding: 8px 10px; }
.stamp-card.is-complete { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,155,232,.25), 0 24px 60px rgba(10,92,168,.35); }

/* ── Basket drawer ──────────────────────────────────────── */
.basket {
  position: fixed; right: clamp(12px, 3vw, 28px); bottom: 24px; z-index: 115;
  width: min(340px, calc(100vw - 24px)); max-height: min(70vh, 520px);
  display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; border: 1.5px solid rgba(10,92,168,.2);
  box-shadow: 0 24px 60px rgba(28, 43, 58, .28);
  animation: cardIn .5s var(--ease-snap); overflow: hidden;
}
.basket__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px dashed rgba(10,92,168,.25); }
.basket__title { font-weight: 900; color: var(--blue-deep); }
.basket__title span { font-weight: 500; color: #7a93a8; font-size: .8rem; margin-left: 6px; }
.basket__empty { padding: 26px 16px; text-align: center; color: #7a93a8; font-size: .9rem; display: grid; justify-items: center; gap: 10px; }
.basket__list { list-style: none; overflow-y: auto; padding: 8px 12px; }
.basket__list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px;
  border-bottom: 1px dashed rgba(10,92,168,.15);
  animation: cardIn .4s var(--ease-snap);
}
.basket__list .b-name { font-weight: 700; font-size: .88rem; }
.basket__list .b-price { margin-left: auto; font-weight: 700; color: var(--blue); font-size: .88rem; }
.basket__list .b-rm { width: 30px; height: 30px; border-radius: 8px; color: #b0563e; font-size: 1rem; transition: background .3s; flex: none; }
.basket__list .b-rm:hover { background: #fdeee9; }
.basket__foot { padding: 14px 16px; border-top: 1.5px solid rgba(10,92,168,.2); display: grid; gap: 6px; }
.basket__total { font-size: .95rem; display: flex; justify-content: space-between; }
.basket__total strong { color: var(--blue-deep); font-size: 1.2rem; }
.basket__ponta { font-size: .78rem; color: #c77d1f; font-weight: 700; }
.basket .btn { width: 100%; text-align: center; }

/* flying pickup dot */
.fly-dot {
  position: fixed; z-index: 150; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-bright); box-shadow: 0 0 0 4px rgba(47,155,232,.3);
  pointer-events: none; transition: transform .7s var(--ease), opacity .7s;
}

/* ── Toasts ─────────────────────────────────────────────── */
.toast-stack { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 130; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  background: var(--blue-deep); color: #fff; border-radius: 14px; padding: 12px 18px;
  font-size: .88rem; font-weight: 700; text-align: center;
  box-shadow: 0 14px 34px rgba(8, 62, 115, .4);
  animation: toastIn .45s var(--ease-snap);
}
.toast.is-out { opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }

/* ── Hero diorama ───────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  overflow: hidden;
  background: linear-gradient(var(--sky-top), var(--sky-bot) 78%);
  transition: background 1.2s var(--ease);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.hero__celestial { position: absolute; left: 50%; top: 0; width: 1px; height: 1px; }
.hero__orb {
  position: absolute; left: -42px; top: 60px; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #fff7d6, #ffd97a 60%, #ffb84d);
  box-shadow: 0 0 60px 18px rgba(255, 209, 122, .55);
  opacity: var(--sun-op);
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease), background 1.2s var(--ease), box-shadow 1.2s var(--ease);
}
body[data-cycle="dusk"] .hero__orb, body[data-cycle="night"] .hero__orb {
  background: radial-gradient(circle at 38% 35%, #fff, #dfe8f5 60%, #b9c9e0);
  box-shadow: 0 0 44px 12px rgba(214, 228, 248, .4);
}
.hero__stars { position: absolute; inset: 0; opacity: var(--star-op); transition: opacity 1.4s var(--ease); }
.hero__stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: twinkle 3s infinite ease-in-out; }
@keyframes twinkle { 50% { opacity: .25; } }
.hero__cloud {
  position: absolute; height: 26px; border-radius: 999px; background: rgba(255,255,255,.85);
  filter: blur(1px); transition: opacity 1.2s var(--ease);
}
.hero__cloud::before, .hero__cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.hero__cloud::before { width: 42px; height: 42px; top: -20px; left: 22px; }
.hero__cloud::after { width: 30px; height: 30px; top: -13px; left: 56px; }
.hero__cloud--a { width: 110px; top: 16%; left: -140px; animation: drift 70s linear infinite; }
.hero__cloud--b { width: 150px; top: 30%; left: -200px; animation: drift 95s linear infinite 12s; opacity: .8; }
@keyframes drift { to { transform: translateX(calc(100vw + 420px)); } }

.diorama { position: absolute; inset: auto 0 0 0; height: min(56vh, 520px); }
.diorama__layer { position: absolute; inset: 0; will-change: transform; }
.diorama__layer > svg { width: 100%; height: 100%; }
.diorama__layer--far { bottom: 30%; height: 70%; opacity: .85; }
.diorama__layer--mid { bottom: 12%; height: 88%; }
.diorama__windows rect { transition: fill 1.2s var(--ease); }
body[data-cycle="dusk"] .diorama__windows rect, body[data-cycle="night"] .diorama__windows rect { fill: #ffd97a; }

.diorama__layer--street { display: grid; grid-template-rows: 1fr auto; }
.street {
  position: relative; min-height: 0;
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 3vw, 40px);
  padding: 0 clamp(12px, 4vw, 60px);
}
.storefront {
  position: relative; width: min(46vw, 420px); flex: none;
  transition: transform .5s var(--ease-snap);
  border-radius: 12px;
}
.storefront:hover, .storefront:focus-visible { transform: translateY(-8px); }
.storefront:active { transform: translateY(-3px) scale(.985); }
.storefront svg { overflow: visible; }
.storefront__glow {
  position: absolute; inset: -8% -14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47,155,232,.4), transparent 70%);
  opacity: var(--sign-glow); transition: opacity 1.2s var(--ease);
  pointer-events: none;
}
.storefront__interior rect[fill="var(--store-glass)"] { transition: fill 1.2s var(--ease); }
body[data-cycle="dusk"] .storefront__interior rect, body[data-cycle="night"] .storefront__interior rect { }
.storefront__goods rect, .storefront__goods circle { fill: #e88ba0; }
.storefront__goods rect:nth-child(odd), .storefront__goods circle:nth-child(odd) { fill: #f4c14f; }
.storefront__goods rect:nth-child(3n) { fill: #7fce9f; }
.storefront__tip {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%) translateY(8px);
  background: var(--blue-deep); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 8px 14px; border-radius: 10px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: all .35s var(--ease);
}
.storefront__tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--blue-deep); }
.storefront:hover .storefront__tip, .storefront:focus-visible .storefront__tip { opacity: 1; transform: translateX(-50%) translateY(0); }

.prop { position: relative; flex: none; }
.prop--vendo {
  width: 74px; height: 150px; border-radius: 10px 10px 4px 4px;
  background: linear-gradient(#e8f0f7, #cfdce8);
  border: 3px solid #5b7791; border-bottom-width: 5px;
  display: grid; grid-template-rows: 2fr 1fr auto; padding: 8px; gap: 6px;
}
.prop__vendo-light { border-radius: 6px; background: linear-gradient(90deg, #2f9be8, #7cc4f2); opacity: calc(.5 + var(--lamp-glow) * .5); box-shadow: 0 0 calc(var(--lamp-glow) * 24px) rgba(124,196,242,.8); }
.prop__vendo-rows { display: flex; gap: 4px; justify-content: center; }
.prop__vendo-rows i { width: 8px; height: 16px; border-radius: 3px; background: #e88ba0; }
.prop__vendo-rows i:nth-child(2n) { background: #f4c14f; }
.prop__vendo-rows i:nth-child(3n) { background: #7fce9f; }
.prop__vendo-slot { height: 14px; border-radius: 4px; background: #41586c; }
.prop--lamp { display: grid; justify-items: center; align-content: end; height: 190px; }
.prop__lamp-head { width: 26px; height: 14px; border-radius: 8px 8px 12px 12px; background: #41586c; }
.prop__lamp-pole { width: 6px; height: 176px; background: #41586c; border-radius: 3px; }
.prop__lamp-glow {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 217, 122, .55), transparent 72%);
  opacity: var(--lamp-glow); transition: opacity 1.2s var(--ease);
}
.prop--bike { margin-bottom: 6px; }
.prop--shop { display: none; }

.road { position: relative; height: clamp(54px, 9vh, 92px); background: linear-gradient(#6a7f92, #576b7e); }
.road__stripe {
  position: absolute; top: 45%; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, #f4ead2 0 46px, transparent 46px 92px);
  opacity: .8;
}

.hero__copy {
  position: relative; z-index: 5;
  max-width: 660px; padding: clamp(90px, 13vh, 140px) clamp(20px, 5vw, 64px) clamp(150px, 32vh, 270px);
  pointer-events: none;
}
.hero__copy a, .hero__copy button { pointer-events: auto; }
.hero__eyebrow { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.hero__title {
  font-size: clamp(2.4rem, 6.2vw, 4.4rem); font-weight: 900; line-height: 1.08;
  color: var(--blue-deep); letter-spacing: -.01em; margin-bottom: 18px;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--blue-bright); position: relative; }
.hero__lede { font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 54ch; color: #3c5064; margin-bottom: 26px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero__hint { font-size: .82rem; color: #6b8296; }
.hero__hint strong { color: var(--blue-deep); }
.hero__scrollcue {
  position: absolute; right: clamp(18px, 4vw, 48px); bottom: 26px; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #5b7791; font-weight: 700;
}
.hero__scrollcue span { width: 2px; height: 42px; background: var(--blue); display: block; border-radius: 2px; transform-origin: top; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 46% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── Sections shared ────────────────────────────────────── */
.section { position: relative; padding: clamp(72px, 12vh, 130px) clamp(20px, 5vw, 64px); max-width: 1220px; margin: 0 auto; }
.section__head { max-width: 640px; margin-bottom: clamp(30px, 5vh, 54px); }
.section__eyebrow { font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--blue-bright); margin-bottom: 10px; }
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; color: var(--blue-deep); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 12px; text-wrap: balance; }
.section__lede { color: #4d6478; max-width: 58ch; }

/* ambient overlay drifting with day cycle */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: var(--ambient); transition: background 1.2s var(--ease);
}

/* ── Shelf ──────────────────────────────────────────────── */
.shelf-wrap { position: relative; }
.shelf {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2vw, 22px);
  padding: clamp(18px, 3vw, 34px); padding-bottom: clamp(40px, 6vw, 70px);
  background: linear-gradient(#fffdf6, #fdf6e9);
  border: 2px solid #ecdfc2; border-radius: 24px;
  position: relative;
}
.shelf::after { /* shelf board */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 16px; height: 12px;
  background: linear-gradient(#d9c69a, #c9b381); border-radius: 6px;
  box-shadow: 0 10px 20px rgba(160, 140, 88, .35);
}
.shelf-item {
  display: grid; justify-items: center; gap: 8px;
  padding: 14px 8px 12px; border-radius: 18px;
  transition: transform .45s var(--ease-snap), background .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.shelf-item:hover, .shelf-item:focus-visible { transform: translateY(-10px); background: #fff; box-shadow: 0 16px 30px rgba(160, 140, 88, .25); }
.shelf-item:active { transform: translateY(-4px) scale(.96); }
.shelf-item__art { width: clamp(56px, 7vw, 80px); transition: transform .45s var(--ease-snap); }
.shelf-item:hover .shelf-item__art { transform: scale(1.12) rotate(-4deg); }
.shelf-item__tag {
  display: grid; text-align: center; gap: 1px;
  background: #fff; border: 1.5px solid #ecdfc2; border-radius: 10px; padding: 5px 10px;
  font-size: .78rem;
}
.shelf-item__tag b { color: var(--ink); font-weight: 700; }
.shelf-item__tag i { font-style: normal; color: var(--blue); font-weight: 900; }
.shelf-item.is-picked { opacity: .45; }
.shelf-item.is-picked .shelf-item__tag { background: #eef6fd; border-color: var(--blue-bright); }
.shelf-item.is-picked .shelf-item__tag i::after { content: " ✓ in basket"; color: #3f8f5f; font-weight: 700; }
.shelf-note { text-align: center; margin-top: 18px; color: #8a7a52; font-size: .88rem; }
.shelf-note strong { color: var(--blue-deep); }

/* ── Karaage-kun ────────────────────────────────────────── */
.section--karaage { max-width: none; background: linear-gradient(#fdf3ee, #fff); }
.section--karaage > * { max-width: 1220px; margin-left: auto; margin-right: auto; }
.kg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.kg-card {
  background: #fff; border-radius: 22px; padding: 20px;
  border: 2px solid color-mix(in srgb, var(--kg) 25%, #fff);
  display: grid; gap: 10px; align-content: start;
  transition: transform .5s var(--ease-snap), box-shadow .5s var(--ease);
}
.kg-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 22px 44px color-mix(in srgb, var(--kg) 30%, transparent); }
.kg-card__badge {
  justify-self: start; font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  color: var(--kg); background: color-mix(in srgb, var(--kg) 12%, #fff);
  padding: 4px 10px; border-radius: 999px;
}
.kg-card__art { width: clamp(80px, 9vw, 110px); margin: 0 auto; transition: transform .5s var(--ease-snap); }
.kg-card:hover .kg-card__art { transform: scale(1.1) rotate(3deg); }
.kg-card h3 { font-size: 1.25rem; font-weight: 900; color: var(--ink); }
.kg-card > p { font-size: .86rem; color: #5b6f80; }
.kg-stats { display: grid; gap: 7px; margin-top: 4px; }
.kg-stats > div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; }
.kg-stats dt { font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #8a99a8; }
.kg-stats dd { display: flex; align-items: center; gap: 8px; }
.kg-stats b { font-size: .74rem; color: var(--kg); min-width: 2ch; text-align: right; }
.bar { flex: 1; height: 8px; border-radius: 999px; background: rgba(28,43,58,.09); overflow: hidden; }
.bar i {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue));
  transition: width 1.1s var(--ease);
}
.kg-card .bar i { background: linear-gradient(90deg, color-mix(in srgb, var(--kg) 55%, #fff), var(--kg)); }
.in-view .bar i { width: var(--v); }
.kg-foot { text-align: center; margin-top: 34px; color: #7a6a4a; }
.kg-foot strong { color: #c1121f; }

/* ── Stats ──────────────────────────────────────────────── */
.section--stats { text-align: center; }
.section--stats .section__head { margin-left: auto; margin-right: auto; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 30px); }
.stat {
  background: #fff; border-radius: 20px; padding: clamp(20px, 3vw, 34px) 16px;
  border: 1.5px solid rgba(10, 92, 168, .14);
  transition: transform .45s var(--ease-snap), box-shadow .45s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(10, 92, 168, .14); }
.stat__num { display: block; font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 900; color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat__label { font-size: .82rem; color: #5b6f80; }

/* ── Universe map ───────────────────────────────────────── */
.universe { position: relative; height: 560px; }
.universe__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.u-link { fill: none; stroke: rgba(10, 92, 168, .3); stroke-width: 2.5; stroke-dasharray: 6 8; }
.u-node { position: absolute; left: calc(var(--x) / 1000 * 100%); top: calc(var(--y) / 560 * 100%); transform: translate(-50%, -50%); z-index: 2; }
.u-node__sign {
  font-weight: 900; font-size: clamp(.62rem, 1.2vw, .82rem); letter-spacing: .08em;
  color: #fff; background: var(--c, var(--blue));
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(28, 43, 58, .2);
  transition: transform .4s var(--ease-snap), box-shadow .4s var(--ease);
  cursor: default;
}
.u-node:hover .u-node__sign, .u-node:focus-within .u-node__sign { transform: scale(1.12); box-shadow: 0 14px 30px rgba(28, 43, 58, .3); }
.u-node--center .u-node__sign { font-size: clamp(.9rem, 1.8vw, 1.2rem); padding: 14px 26px; background: var(--blue); }
.u-node__card {
  position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%) translateY(8px);
  width: min(250px, 62vw);
  background: #fff; border-radius: 16px; padding: 14px 16px;
  border: 1.5px solid rgba(10, 92, 168, .2);
  box-shadow: 0 18px 40px rgba(28, 43, 58, .22);
  opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 5;
}
.u-node:hover .u-node__card, .u-node:focus-within .u-node__card { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.u-node__card h3 { font-size: .95rem; color: var(--blue-deep); margin-bottom: 4px; }
.u-node__card p { font-size: .8rem; color: #5b6f80; }

/* ── Gacha ──────────────────────────────────────────────── */
.section--gacha { max-width: none; background: linear-gradient(#eef6fd, #fdfcf8); }
.section--gacha > * { max-width: 1220px; margin-left: auto; margin-right: auto; }
.gacha { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.gacha__machine { display: grid; justify-items: center; }
.gacha__dome {
  width: clamp(170px, 22vw, 230px); aspect-ratio: 1;
  border-radius: 50% 50% 8px 8px / 62% 62% 8px 8px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(210,232,248,.75));
  border: 4px solid var(--blue); position: relative; overflow: hidden;
  transition: transform .3s var(--ease);
}
.gacha__dome.is-shaking { animation: shake .5s var(--ease); }
@keyframes shake { 25% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } }
.cap { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(#fff 46%, var(--cap, #2f9be8) 46%); border: 2px solid rgba(8, 62, 115, .3); }
.cap--1 { --cap: #e63946; left: 18%; top: 52%; } .cap--2 { --cap: #f4c14f; left: 44%; top: 62%; }
.cap--3 { --cap: #7fce9f; left: 66%; top: 50%; } .cap--4 { --cap: #f49ac1; left: 30%; top: 72%; }
.cap--5 { --cap: #2f9be8; left: 58%; top: 74%; } .cap--6 { --cap: #e88ba0; left: 10%; top: 74%; }
.cap--7 { --cap: #ffd60a; left: 76%; top: 70%; } .cap--8 { --cap: #009944; left: 48%; top: 44%; }
.gacha__neck { width: 60px; height: 18px; background: var(--blue); border-radius: 4px; }
.gacha__body {
  width: clamp(190px, 24vw, 250px); height: clamp(140px, 17vw, 175px);
  background: linear-gradient(#0f6ec2, var(--blue)); border-radius: 20px;
  display: grid; place-items: center; position: relative;
  box-shadow: 0 18px 40px rgba(10, 92, 168, .35);
}
.gacha__knob {
  width: 64px; height: 64px; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 0 #083e73, 0 10px 20px rgba(0,0,0,.25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.gacha__knob:hover { transform: scale(1.06); }
.gacha__knob:active, .gacha__knob.is-turning { transform: rotate(120deg) scale(.94); box-shadow: 0 2px 0 #083e73; }
.gacha__knob:disabled { cursor: wait; opacity: .8; }
.gacha__slot {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 30px; border-radius: 8px; background: #083e73;
  display: grid; place-items: center;
}
.gacha__capsule {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(#fff 46%, #e63946 46%);
  border: 2px solid rgba(255,255,255,.6);
  animation: capsuleDrop .8s var(--ease-snap);
}
@keyframes capsuleDrop { from { transform: translateY(-90px) scale(.6); opacity: 0; } 60% { transform: translateY(4px) scale(1.05); } }
.gacha__reveal { min-height: 300px; display: grid; align-content: center; justify-items: center; text-align: center; }
.gacha__placeholder { color: #8aa2b5; display: grid; justify-items: center; gap: 8px; }
.gacha__q {
  width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.4rem; font-weight: 900; color: #fff;
  background: linear-gradient(#fff 46%, #9cc3e4 46%);
  border: 3px dashed var(--blue-bright); color: var(--blue-deep);
  animation: bob 3s var(--ease) infinite;
}
@keyframes bob { 50% { transform: translateY(-8px) rotate(4deg); } }
.gacha__card {
  background: #fff; border-radius: 22px; padding: 26px 30px; max-width: 340px;
  border: 2px solid rgba(10, 92, 168, .2); box-shadow: 0 22px 50px rgba(10, 92, 168, .22);
  display: grid; justify-items: center; gap: 8px;
  animation: reveal .7s var(--ease-snap);
}
@keyframes reveal { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }
.gacha__rarity { font-size: .68rem; font-weight: 900; letter-spacing: .22em; color: var(--blue-bright); }
.gacha__art { width: 90px; }
.gacha__card h3 { font-size: 1.3rem; font-weight: 900; color: var(--blue-deep); }
.gacha__card > p { font-size: .86rem; color: #5b6f80; }
.gacha__price { font-weight: 900; color: var(--blue) !important; font-size: 1.05rem !important; }

/* ── Formats ────────────────────────────────────────────── */
.formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.fmt-card {
  background: #fff; border-radius: 22px; overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--fmt) 22%, #fff);
  transition: transform .5s var(--ease-snap), box-shadow .5s var(--ease);
}
.fmt-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px color-mix(in srgb, var(--fmt) 24%, transparent); }
.fmt-card__sign {
  background: var(--fmt); color: #fff; font-weight: 900; letter-spacing: .14em;
  text-align: center; padding: 12px; font-size: .9rem;
}
.fmt-card__diagram { padding: 18px 18px 0; }
.fmt-card h3 { padding: 8px 20px 0; font-weight: 900; color: var(--ink); }
.fmt-card > p { padding: 4px 20px 0; font-size: .85rem; color: #5b6f80; }
.fmt-bars { list-style: none; padding: 14px 20px 20px; display: grid; gap: 8px; }
.fmt-bars li { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; color: #8a99a8; }
.fmt-bars .bar i { background: linear-gradient(90deg, color-mix(in srgb, var(--fmt) 55%, #fff), var(--fmt)); }
.fmt-photo { margin-top: clamp(30px, 5vh, 50px); text-align: center; }
.fmt-photo img { margin: 0 auto; border-radius: 18px; border: 2px solid rgba(10, 92, 168, .18); box-shadow: 0 18px 40px rgba(28, 43, 58, .16); }
.fmt-photo figcaption, .heritage__photo figcaption { font-size: .8rem; color: #7a93a8; margin-top: 10px; }

/* ── Services ───────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.svc {
  background: #fff; border-radius: 20px; padding: 24px 22px;
  border: 1.5px solid rgba(10, 92, 168, .14);
  transition: transform .45s var(--ease-snap), box-shadow .45s var(--ease), border-color .35s;
}
.svc:hover { transform: translateY(-7px); box-shadow: 0 18px 38px rgba(10, 92, 168, .15); border-color: rgba(10, 92, 168, .4); }
.svc__icon { font-size: 1.9rem; margin-bottom: 10px; transition: transform .45s var(--ease-snap); }
.svc:hover .svc__icon { transform: scale(1.2) rotate(-6deg); }
.svc h3 { font-weight: 900; color: var(--blue-deep); margin-bottom: 6px; }
.svc p { font-size: .85rem; color: #5b6f80; }

/* ── Loyalty ────────────────────────────────────────────── */
.section--loyalty { max-width: none; background: linear-gradient(#fdf6e9, #fdfcf8); }
.loyalty { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.loyalty__card { perspective: 900px; display: grid; place-items: center; }
.loyalty__card-face {
  width: min(300px, 72vw); aspect-ratio: 1.586; border-radius: 18px;
  background: linear-gradient(135deg, #f4a261, #e07b39);
  box-shadow: 0 24px 50px rgba(224, 123, 57, .4);
  position: relative; padding: 22px; color: #fff;
  display: grid; align-content: end; font-weight: 900; font-size: 1.3rem; letter-spacing: .06em;
  transition: transform .6s var(--ease);
  transform: rotate(-6deg);
}
.loyalty__card:hover .loyalty__card-face { transform: rotate(0deg) translateY(-8px); }
.loyalty__chip { position: absolute; top: 20px; left: 22px; width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(#ffe3a3, #e8b64c); }
.loyalty__tanuki { position: absolute; right: 16px; top: 14px; width: 74px; }
.loyalty__copy h2 { margin-bottom: 12px; }
.loyalty__copy p:not(.section__eyebrow) { color: #5b6f80; margin-bottom: 20px; max-width: 52ch; }

/* ── Heritage ───────────────────────────────────────────── */
.timeline { list-style: none; position: relative; max-width: 720px; margin: 0 auto; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: linear-gradient(var(--blue-bright), var(--blue-deep)); }
.timeline li { position: relative; padding: 0 0 26px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -27px; top: 7px; width: 15px; height: 15px;
  border-radius: 50%; background: #fff; border: 4px solid var(--blue);
  transition: transform .4s var(--ease-snap), background .3s;
}
.timeline li:hover::before { transform: scale(1.4); background: var(--blue-bright); }
.timeline b { display: block; font-size: 1.05rem; font-weight: 900; color: var(--blue-deep); }
.timeline span { font-size: .9rem; color: #4d6478; }
.heritage__photo { text-align: center; margin-top: 34px; }
.heritage__photo img { margin: 0 auto; border-radius: 18px; border: 2px solid rgba(10, 92, 168, .18); }

/* ── Footer ─────────────────────────────────────────────── */
.site-foot {
  background: linear-gradient(#0f3d6e, #082f57);
  color: #cfe2f2; text-align: center;
  padding: clamp(60px, 10vh, 100px) 24px 40px;
}
.site-foot__signbox {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; font-weight: 900; letter-spacing: .2em;
  padding: 12px 26px; border-radius: 14px; font-size: 1.1rem;
  box-shadow: 0 0 40px rgba(47, 155, 232, .5);
  animation: signPulse 4s var(--ease) infinite;
}
@keyframes signPulse { 50% { box-shadow: 0 0 60px rgba(47, 155, 232, .75); } }
.site-foot__sign p { font-size: .8rem; color: #8fb6d8; margin-top: 12px; font-style: italic; }
.site-foot__word { margin: 34px 0 14px; }
.site-foot__word img { margin: 0 auto; background: #fff; padding: 8px 14px; border-radius: 10px; }
.site-foot__note { max-width: 62ch; margin: 0 auto 8px; font-size: .78rem; color: #8fb6d8; }
.site-foot__note a { color: #b9d9f2; }
.site-foot__meta { font-size: .72rem; color: #6d97ba; margin: 0 auto 22px; max-width: 72ch; }
.site-foot__top { color: #b9d9f2; font-weight: 700; text-decoration: none; font-size: .85rem; }
.site-foot__top:hover { color: #fff; }

/* ── Day-cycle palettes ─────────────────────────────────── */
body[data-cycle="noon"] {
  --sky-top: #8fd0ff; --sky-bot: #eaf6ff;
  --bldg-far: #9cbcd4; --bldg-mid: #7194b0; --win-far: #e6f1f9; --win-mid: #eef6fc;
  --ambient: rgba(255, 250, 230, 0);
}
body[data-cycle="dusk"] {
  --sky-top: #f5a86e; --sky-bot: #f8d9a0;
  --bldg-far: #8d7d94; --bldg-mid: #6b5d78; --win-far: #ffd97a; --win-mid: #ffdf92;
  --line: #4a3f56; --store-wall: #f4ece4; --store-glass: #ffe9b8; --store-text: #6b5648;
  --bike: #3a3145;
  --lamp-glow: .85; --sign-glow: .8; --sun-op: .9; --star-op: .15;
  --ambient: rgba(245, 168, 110, .08);
}
body[data-cycle="night"] {
  --sky-top: #16294a; --sky-bot: #2c4a75;
  --bldg-far: #22344f; --bldg-mid: #1a2a42; --win-far: #ffd97a; --win-mid: #ffe39a;
  --line: #0e1c30; --store-wall: #2c4260; --store-glass: #ffdf92; --store-text: #cfe2f2;
  --shelf-color: #46688c; --bike: #0e1c30;
  --lamp-glow: 1; --sign-glow: 1; --sun-op: 0; --moon-op: 1; --star-op: 1;
  --ambient: rgba(16, 34, 64, .12);
}
body[data-cycle="night"] .hero__copy .hero__lede,
body[data-cycle="night"] .hero__hint { color: #b9cfe2; }
body[data-cycle="night"] .hero__title { color: #eaf3fc; }
body[data-cycle="dusk"] .hero__title { color: #4a3550; }

/* section reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1060px) {
  .kg-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .shelf { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .site-nav {
    position: fixed; top: 64px; right: 12px; z-index: 105;
    flex-direction: column; background: #fff; border-radius: 16px; padding: 10px;
    box-shadow: 0 20px 50px rgba(28,43,58,.25); border: 1.5px solid rgba(10,92,168,.2);
    opacity: 0; pointer-events: none; transform: translateY(-10px);
    transition: all .35s var(--ease);
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 12px 18px; }
  .nav-toggle { display: flex; }
  .formats-grid, .svc-grid { grid-template-columns: 1fr 1fr; }
  .gacha { grid-template-columns: 1fr; }
  .loyalty { grid-template-columns: 1fr; text-align: center; }
  .loyalty__copy .btn { margin: 0 auto; }
  .loyalty__copy p { margin-left: auto; margin-right: auto; }
  .universe { height: 640px; }
  .u-link { display: none; }
  .universe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: auto; align-content: center; }
  .u-node { position: static; transform: none; justify-self: center; }
  .u-node--center { grid-column: 1 / -1; }
  .u-node__card { top: auto; bottom: calc(100% + 12px); transform: translateX(-50%) translateY(-8px); }
  .u-node:hover .u-node__card, .u-node:focus-within .u-node__card { transform: translateX(-50%) translateY(0); }
}
@media (max-width: 640px) {
  .chip-btn { padding: 8px 10px; font-size: .72rem; }
  .brand__word { display: none; }
  .hero__copy { padding-bottom: clamp(160px, 36vh, 280px); }
  .diorama { height: 46vh; }
  .storefront { width: min(64vw, 420px); }
  .prop--lamp, .prop--bike { display: none; }
  .prop--vendo { width: 58px; height: 120px; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .kg-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .formats-grid, .svc-grid { grid-template-columns: 1fr; }
  .hero__scrollcue { display: none; }
  .stamp-card { right: 12px; bottom: 12px; }
  .basket { right: 12px; bottom: 12px; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .bar i { width: var(--v); }
}
