/* =========================================================
   NODEX — BRANDS
   A daytime street snap on the crossing (from img/brands):
   mint sky, hot-pink decora, caramel curls, deep-teal asphalt
   and cream zebra stripes. Everything sits on one centre axis.
   ========================================================= */
.xs-page {
  --sky: #dff6f2;
  --sky-2: #bfe8e2;
  --mint: #8fd8cf;
  --hot: #ff2d6f;
  --hot-2: #ff8fb8;
  --caramel: #f47f49;
  --lilac: #d9a6ef;
  --asphalt: #0f2a33;
  --zebra: #f6eedd;
  --pop-yellow: #ffe24a;
  --pop-red: #e3122a;
  --marker: "Permanent Marker", cursive;
  background: var(--sky);
  color: var(--asphalt);
}
.xs-page main { overflow-x: clip; }
.xs-page .mast { background: rgba(223,246,242,.94); color: var(--asphalt); border-bottom: 1.5px solid var(--asphalt); }
.xs-page .mast__burger span { background: var(--asphalt); }
.xs-page .ticker { background: var(--hot); color: #fff; }
.xs-page .menu { background: var(--sky); color: var(--asphalt); }

/* current page marker (never a link) */
.is-current { position: relative; font: 700 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--hot); cursor: default; }
.mast__nav .is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px; border-radius: 3px; background: var(--hot); }
.menu .is-current { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid;
  font: 900 clamp(38px, 11vw, 80px)/1 var(--sans); font-stretch: 62%; text-transform: uppercase; letter-spacing: 0; }
.menu .is-current span { font: 700 12px var(--mono); }
.back__cols .is-current { display: block; padding: 4px 0; font: 600 15px var(--sans); letter-spacing: 0; text-transform: none; color: var(--hot-2); }
a.mast__logo { transition: color .3s; }
a.mast__logo:hover { color: var(--hot); }

/* ---------- the NODEX wordmark family (matches the site logo) ---------- */
.nxm { display: inline-flex; flex-direction: column; align-items: center; line-height: .9; color: #111; }
.nxm b { font: 900 1em/.9 var(--sans); font-stretch: 125%; letter-spacing: -.01em; }
.nxm b sup { font-size: .32em; vertical-align: top; margin-left: .06em; font-weight: 700; }
.nxm small { display: block; width: 100%; margin-top: .14em; padding-top: .14em; border-top: .06em solid currentColor; text-align: center;
  font: 700 .26em/1 var(--mono); letter-spacing: .62em; padding-left: .62em; }

/* ---------- sign box (a billboard in daylight) ---------- */
.lbx { position: relative; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px;
  box-shadow: 0 0 0 4px var(--glow, var(--hot)), 0 0 0 6px var(--asphalt), 6px 8px 0 6px rgba(15,42,51,.18); }
.lbx img { width: auto; height: 58%; max-width: 76%; object-fit: contain; }
.lbx .nxm { font-size: var(--nx, 40px); }
.lbx.is-flicker { animation: blink .9s steps(1) 1; }
@keyframes blink { 0%, 30% { filter: brightness(1.25) saturate(0); } 15%, 45%, 100% { filter: none; } }

/* image slots */
.xs-page .ph { background: repeating-linear-gradient(135deg, rgba(15,42,51,.06) 0 8px, transparent 8px 16px), var(--sky-2); }
.xs-page .ph::after { color: var(--asphalt); text-align: center; left: 12px; right: 12px; bottom: 44%; }
.xs-page .ph.is-loaded { background: none; }
.xs-page .ph.is-loaded::after { display: none; }

/* =========================================================
   COVER
   ========================================================= */
.xs-cover { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--top) + 36px) var(--gut) 0; isolation: isolate; }
.xs-cover__sky { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 36% at 50% 46%, rgba(255,143,184,.45), transparent 70%), radial-gradient(30% 30% at 12% 30%, rgba(217,166,239,.4), transparent 70%),
    radial-gradient(30% 30% at 88% 30%, rgba(244,127,73,.25), transparent 70%), linear-gradient(180deg, #f2fffc 0%, var(--sky) 45%, var(--sky-2) 100%); }
.xs-cover__head { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.xs-issue { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font: 700 10px var(--mono); letter-spacing: .16em; }
.xs-issue span { padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--asphalt); background: rgba(255,255,255,.6); }
.xs-issue .xs-pink { background: var(--hot); color: #fff; border-color: var(--hot); }
.xs-cover__title { margin-top: 14px; line-height: .8; }
/* decora sticker lettering: hot pink, thick white outline, teal drop */
.xs-cover__word { display: inline-flex; justify-content: center; font: 900 clamp(84px, 14.5vw, 250px)/.86 var(--sans); font-stretch: 118%; letter-spacing: -.02em; color: var(--hot); }
.xs-cover__word > span { display: inline-block;
  text-shadow: 4px 0 0 #fff, -4px 0 0 #fff, 0 4px 0 #fff, 0 -4px 0 #fff, 3px 3px 0 #fff, -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 0 12px 0 var(--asphalt); }
.xs-cover__word > span:nth-child(even) { color: var(--caramel); }
.xs-cover__hand { position: relative; z-index: 3; margin-top: -.2em; font: 400 clamp(24px, 2.6vw, 40px)/1 var(--marker); color: var(--asphalt); rotate: -3deg;
  background: var(--pop-yellow); padding: 4px 14px 6px; box-shadow: 4px 4px 0 var(--asphalt); }

/* photo in the middle, billboards either side */
.xs-cover__stage { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 3vw, 50px);
  width: 100%; max-width: 1240px; margin-top: 30px; }
.xs-cover__photo { position: relative; margin: 0; width: min(30vw, 440px); }
.lens { position: relative; border: 10px solid #fff; border-radius: 42px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 2px var(--asphalt), 0 16px 0 2px var(--hot), 0 40px 70px rgba(15,42,51,.3); }
.lens .ph { aspect-ratio: 3 / 4; }
.lens .ph img { transition: transform 1.2s var(--ease); }
.xs-cover__photo:hover .lens .ph img { transform: scale(1.05); }
/* plastic hair clips + decora stickers */
.clip { position: absolute; z-index: 3; width: 74px; height: 22px; border-radius: 11px; border: 2px solid var(--asphalt); }
.clip--1 { top: -8px; left: 18%; rotate: -14deg; background: repeating-linear-gradient(90deg, var(--hot-2) 0 10px, #fff 10px 20px); }
.clip--2 { top: -6px; right: 16%; rotate: 12deg; background: repeating-linear-gradient(90deg, var(--lilac) 0 10px, #fff 10px 20px); }
.deco { position: absolute; z-index: 3; display: grid; place-items: center; font-size: 38px; line-height: 1; color: var(--hot);
  text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 3px 4px 0 var(--asphalt); }
.deco--heart { left: -24px; top: 38%; rotate: -16deg; }
.deco--star { right: -22px; top: 22%; color: var(--pop-yellow); font-size: 44px; rotate: 12deg; }
.deco--flower { right: -18px; bottom: 16%; color: var(--lilac); font-size: 46px; }
.xs-cover__stamp { position: absolute; z-index: 3; left: 50%; bottom: -26px; translate: -50% 0; display: grid; padding: 8px 18px 6px; rotate: -3deg;
  background: var(--asphalt); color: #fff; font: 900 20px/1 var(--sans); font-stretch: 125%; border-radius: 6px; box-shadow: 4px 4px 0 var(--hot); }
.xs-cover__stamp small { font: 700 9px var(--mono); letter-spacing: .2em; color: var(--mint); margin-top: 3px; }

.bills { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 34px); }
.bills--l { align-items: flex-end; }
.bills--r { align-items: flex-start; }
.bill { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: translate .3s var(--ease); }
.bill .lbx { width: clamp(130px, 12vw, 190px); height: clamp(52px, 4.8vw, 72px); }
.bill .lbx .nxm { font-size: clamp(15px, 1.5vw, 24px); }
.bill__floor { font: 700 10px var(--mono); letter-spacing: .16em; padding: 2px 8px; border-radius: 999px; background: var(--asphalt); color: #fff; }
.bill:hover { translate: 0 -5px; }
.bills--l .bill:nth-child(odd) { rotate: -3deg; } .bills--l .bill:nth-child(even) { rotate: 2deg; }
.bills--r .bill:nth-child(odd) { rotate: 3deg; } .bills--r .bill:nth-child(even) { rotate: -2deg; }
.bills--l .bill:nth-child(even) { margin-right: 36px; } .bills--r .bill:nth-child(even) { margin-left: 36px; }

.xs-cover__foot { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 640px; margin-top: 64px; }
.xs-cover__lead { font: 16px/1.55 var(--sans); }
.xs-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.xs-stats span { display: grid; min-width: 104px; padding: 10px 14px; border: 1.5px solid var(--asphalt); border-radius: 12px; background: #fff;
  font: 700 9px var(--mono); letter-spacing: .16em; box-shadow: 3px 3px 0 var(--asphalt); }
.xs-stats b { font: 900 30px/1 var(--sans); font-stretch: 118%; color: var(--hot); letter-spacing: 0; margin-bottom: 4px; }
.xs-cover__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.xs-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--asphalt); background: #fff;
  font: 800 12px var(--sans); letter-spacing: .14em; box-shadow: 4px 4px 0 var(--asphalt); transition: translate .2s var(--ease), box-shadow .2s, background .2s, color .2s; }
.xs-btn:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--asphalt); }
.xs-btn--pink { background: var(--hot); color: #fff; }

/* the crossing */
.zebra { position: relative; width: 100vw; height: clamp(90px, 10vw, 150px); margin-top: 70px; background: var(--asphalt); overflow: hidden; }
.zebra::before { content: ""; position: absolute; left: -10%; right: -10%; top: 18%; bottom: 18%;
  background: repeating-linear-gradient(90deg, var(--zebra) 0 70px, transparent 70px 130px) var(--shift, 0px) 0; transform: perspective(300px) rotateX(28deg); transform-origin: 50% 100%; }

/* =========================================================
   FLOOR GUIDE
   ========================================================= */
.guide-sec { padding: 90px var(--gut); background: var(--asphalt); }
.guide { max-width: 940px; margin: 0 auto; padding: 26px 26px 18px; border-radius: 22px; background: #fff; color: var(--asphalt);
  box-shadow: 0 0 0 3px var(--asphalt), 0 0 0 9px var(--hot), 0 30px 60px rgba(0,0,0,.35); }
.guide__head { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 18px; text-align: center; border-bottom: 2px dashed rgba(15,42,51,.25); }
.guide__title { font: 900 clamp(36px, 4.4vw, 60px)/1 var(--sans); font-stretch: 125%; color: var(--hot); }
.guide__jp { font-size: 14px; font-weight: 900; letter-spacing: .5em; color: var(--caramel); }
.guide__you { font: 700 11px var(--mono); letter-spacing: .12em; color: #fff; background: var(--asphalt); padding: 4px 10px; border-radius: 999px; }
.guide__list { margin-top: 8px; }
.floor { display: grid; grid-template-columns: 70px 190px 1fr auto; align-items: center; gap: 18px; width: 100%; padding: 12px 10px; text-align: left;
  border-bottom: 1px solid rgba(15,42,51,.12); border-radius: 10px; transition: background .25s; }
.floor:hover, .floor:focus-visible { background: color-mix(in srgb, var(--c) 14%, #fff); outline: none; }
.floor__no { display: grid; place-items: center; height: 46px; border-radius: 10px; background: var(--c); color: #fff; font: 900 22px var(--sans); font-stretch: 125%;
  box-shadow: 3px 3px 0 var(--asphalt); }
.floor__logo { height: 40px; display: flex; align-items: center; justify-content: center; }
.floor__logo img { max-height: 30px; max-width: 150px; }
.floor__logo .nxm { font-size: 28px; }
.floor__what { font: 13px/1.4 var(--sans); color: rgba(15,42,51,.7); }
.floor__what b { display: block; font: 800 16px var(--sans); color: var(--asphalt); }
.floor__go { font: 700 11px var(--mono); letter-spacing: .12em; color: var(--hot); }

/* =========================================================
   STORES — centred shopfront between two nobori flags
   ========================================================= */
.stores { display: flex; flex-direction: column; }
.store { --glow: #4f8bff; position: relative; display: grid; grid-template-columns: 70px minmax(0, 1000px) 70px; justify-content: center; gap: clamp(20px, 3vw, 44px);
  align-items: start; padding: 90px var(--gut) 80px; scroll-margin-top: calc(var(--top) + 10px);
  background: radial-gradient(46% 30% at 50% 0%, color-mix(in srgb, var(--glow) 26%, transparent), transparent 70%), var(--sky); }
.store:nth-child(even) { background: radial-gradient(46% 30% at 50% 0%, color-mix(in srgb, var(--glow) 26%, transparent), transparent 70%), var(--zebra); }
.store.is-flash .store__sign .lbx { animation: blink .9s steps(1) 1; }
/* nobori flags, one each side */
.nobori { position: relative; justify-self: center; width: 64px; height: 400px; margin-top: 20px; }
.nobori::before { content: ""; position: absolute; top: -14px; bottom: -40px; width: 6px; border-radius: 3px; background: linear-gradient(90deg, #888, #ddd, #777); left: -8px; }
.nobori--r::before { left: auto; right: -8px; }
.nobori__cloth { position: absolute; inset: 0; display: grid; place-items: center; background: var(--glow); color: #fff; writing-mode: vertical-rl;
  font: 900 24px/1 var(--kanji); letter-spacing: .2em; border-top: 14px solid #fff; transform-origin: 0 0; animation: wave 3.5s ease-in-out infinite;
  box-shadow: 4px 6px 0 rgba(15,42,51,.25); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 96%, 0 100%); }
.nobori--r .nobori__cloth { transform-origin: 100% 0; animation-delay: -1.7s; }
@keyframes wave { 50% { transform: skewY(2deg) scaleX(.96); } }
.nobori__cloth small { font-size: 11px; letter-spacing: .3em; margin-top: 14px; opacity: .9; }
/* shopfront */
.shopfront { position: relative; display: flex; flex-direction: column; align-items: center; }
.store__sign { width: min(100%, 560px); }
.store__sign .lbx { height: clamp(90px, 10vw, 130px); --nx: clamp(40px, 5vw, 64px); }
.awning { align-self: stretch; height: 26px; margin: 22px -10px 0; border-radius: 0 0 14px 14px; border: 2px solid var(--asphalt);
  background: repeating-linear-gradient(90deg, var(--glow) 0 36px, #fff 36px 72px); box-shadow: 0 6px 0 rgba(15,42,51,.15); }
.window { position: relative; align-self: stretch; margin-top: 12px; padding: 24px 22px 12px; border: 3px solid var(--asphalt); border-radius: 0 0 18px 18px; background: #fff;
  box-shadow: 8px 8px 0 var(--asphalt); }
.window::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(191,232,226,.45) 0 8%, transparent 8% 16%, rgba(191,232,226,.3) 16% 19%, transparent 19%); }
.shelves { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, var(--cw, 190px))); justify-content: center; gap: 26px 18px; }
.item { position: relative; display: flex; flex-direction: column; align-items: center; padding-bottom: 12px; }
.item::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: 0; height: 8px; border-radius: 4px; background: var(--sky-2); box-shadow: 0 4px 0 rgba(15,42,51,.12); }
.item__img { position: relative; width: 100%; aspect-ratio: 1.05; }
.item__img .ph { position: absolute; inset: 4% 8% 0; background: none; }
.item__img .ph::after { display: none; }
.item__img .ph img { object-fit: contain; object-position: 50% 100%; }
/* very wide shots (e.g. a compact camera seen from the front): centred, not squashed to the shelf */
.item.is-wide .item__img { aspect-ratio: 1.5; }
.item.is-wide .item__img .ph { inset: 6% 2% 4%; }
.item.is-wide .item__img .ph img { object-position: 50% 60%; }
.item__img .ph.is-loaded img { filter: drop-shadow(0 8px 8px rgba(15,42,51,.22)); transition: transform .5s var(--ease); }
.item:hover .item__img .ph img { transform: translateY(-6px) scale(1.05); }
.pop { position: absolute; z-index: 3; left: -6px; top: 4px; min-width: 70px; padding: 6px 8px 5px; background: var(--pop-yellow); border: 2px solid var(--asphalt); rotate: -6deg; text-align: center;
  box-shadow: 2px 3px 0 var(--asphalt); }
.pop--sale { background: var(--hot); color: #fff; }
.pop__tag { display: block; font: 800 8px var(--sans); letter-spacing: .12em; color: var(--pop-red); }
.pop--sale .pop__tag { color: var(--pop-yellow); }
.pop__price { display: block; font: 400 22px/1 var(--marker); color: var(--asphalt); }
.pop--sale .pop__price { color: #fff; }
.pop__was { display: block; font: 400 12px var(--marker); text-decoration: line-through; opacity: .75; }
.item__name { margin-top: 8px; font: 800 12px/1.2 var(--sans); text-align: center; }
.item__add { margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--asphalt); color: #fff; font: 800 10px var(--sans); letter-spacing: .12em; transition: background .25s; }
.item__add:hover { background: var(--hot); }
.item__add.is-added { background: #1f8f66; }
/* info plate: centred under the window */
.plate { align-self: stretch; display: flex; flex-direction: column; align-items: center; margin-top: 30px; text-align: center; }
.plate__floor { display: inline-grid; place-items: center; min-width: 58px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--glow); color: #fff;
  font: 900 20px var(--sans); font-stretch: 125%; box-shadow: 3px 3px 0 var(--asphalt); }
.plate__name { margin: 12px 0 2px; font: 900 clamp(28px, 3vw, 40px)/1 var(--sans); font-stretch: 125%; }
.plate__jp { font-size: 13px; font-weight: 900; letter-spacing: .4em; color: var(--caramel); }
.plate__blurb { max-width: 520px; margin: 12px 0 16px; font: 15px/1.55 var(--sans); }
.plate dl { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font: 700 10px var(--mono); letter-spacing: .1em; }
.plate dl div { display: flex; gap: 8px; padding: 6px 12px; border: 1.5px solid var(--asphalt); border-radius: 999px; background: #fff; }
.plate dt { opacity: .55; }
.enter { display: inline-flex; margin-top: 20px; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--asphalt); background: var(--glow); color: #fff;
  font: 800 12px var(--sans); letter-spacing: .14em; box-shadow: 4px 4px 0 var(--asphalt); transition: translate .2s var(--ease), box-shadow .2s; }
.enter:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--asphalt); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .shelves { grid-template-columns: repeat(auto-fit, minmax(140px, 180px)); }
}
@media (max-width: 999px) {
  .xs-cover__stage { grid-template-columns: repeat(4, auto); justify-content: center; gap: 22px 14px; }
  .xs-cover__photo { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(62vw, 400px); margin-bottom: 40px; }
  .bills { display: contents; }
  .bills--l .bill:nth-child(even), .bills--r .bill:nth-child(even) { margin: 0; }
  .bill .lbx { width: clamp(76px, 20vw, 150px); height: clamp(36px, 8vw, 58px); }
  .bill .lbx .nxm { font-size: clamp(11px, 2.6vw, 20px); }
  .xs-cover__foot { margin-top: 44px; }
  .store { grid-template-columns: minmax(0, 1fr); }
  .nobori { display: none; }
  .floor { grid-template-columns: 56px 1fr auto; }
  .floor__what { display: none; }
}
@media (max-width: 640px) {
  .xs-cover__word { font-size: 17vw; }
  .xs-cover__word > span { text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 0 6px 0 var(--asphalt); }
  .xs-cover__photo { width: 76vw; }
  .xs-cover__stage { gap: 16px 8px; }
  .bill__floor { font-size: 9px; }
  .deco--heart { left: -14px; } .deco--star { right: -12px; } .deco--flower { right: -10px; }
  .xs-stats span { min-width: 0; flex: 1; padding: 10px 8px; }
  .xs-stats { align-self: stretch; }
  .xs-stats b { font-size: 24px; }
  .xs-cover__hand { margin-top: 12px; }
  .zebra { height: 70px; margin-top: 50px; }
  .zebra::before { background-size: 90px 100%; background-image: repeating-linear-gradient(90deg, var(--zebra) 0 40px, transparent 40px 90px); transform: none; }
  .shelves { grid-template-columns: 1fr 1fr; }
  .window { padding: 20px 12px 10px; box-shadow: 5px 5px 0 var(--asphalt); }
  .floor { grid-template-columns: 50px 1fr; }
  .floor__go { display: none; }
}
