:root {
  --bg: #efede8;
  --paper: #ffffff;
  --ink: #111215;
  --ink-2: #3a3d43;
  --muted: #6b6e74;
  --line: rgba(17, 18, 21, .1);
  --lime: #d7ff3c;
  --sale: #d8261b;
  --card: #f6f5f2;
  --radius: 20px;
  --pad: 16px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.3, 1.35, .45, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #1d63ff; outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--pad);
  padding-top: env(safe-area-inset-top);
}
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 150px; height: auto; filter: invert(1); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2);
}
.nav-link:hover { color: var(--ink); }
.nav-pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  background: var(--ink); color: #fff; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: .01em;
}
.nav-pill:hover { background: #2a2c31; }
.hide-sm { display: none; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  height: 100svh; min-height: 680px; max-height: 1100px;
  background:
    radial-gradient(120% 70% at 50% 42%, #fbfaf7 0%, #f1efea 48%, #e2dfd8 100%);
  isolation: isolate;
}
.hero::after { /* soft floor */
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: -1;
  background: linear-gradient(180deg, rgba(226, 223, 216, 0) 0%, rgba(214, 210, 201, .55) 100%);
}
.stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.poster { display: none; }

.hero-copy {
  position: relative; z-index: 2; pointer-events: none;
  padding: 84px var(--pad) 0; text-align: center;
  transition: opacity .45s var(--ease-out), transform .55s var(--ease-out);
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(17,18,21,.9); }
h1 {
  margin: 0 auto; max-width: 13ch;
  font-size: clamp(38px, 10.6vw, 96px); line-height: .9; font-weight: 850;
  font-stretch: 72%; text-transform: uppercase; letter-spacing: -.005em;
  text-wrap: balance;
}
h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.6px var(--ink); }
.lede { margin: 10px auto 0; max-width: 28ch; color: var(--ink-2); font-size: 15px; }

.hero.is-open .hero-copy { opacity: 0; transform: translateY(-14px); }

/* tile labels (follow the 3D tiles) */
.tile-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tile-label {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  min-height: 44px; min-width: 44px; padding: 7px 14px 8px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 0; border-radius: 14px; cursor: pointer; pointer-events: auto;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 18px -8px rgba(17,18,21,.35);
  white-space: nowrap; will-change: transform;
  transition: opacity .35s var(--ease-out), background-color .2s;
  opacity: 0;
}
.ready .tile-label { opacity: 1; }
.tile-label:hover { background: #fff; }
.tile-label .tl-name { font-weight: 800; font-size: 15px; line-height: 1.15; letter-spacing: -.005em; }
.tile-label .tl-code { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.hero.is-open .tile-label { opacity: 0; pointer-events: none; }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; margin: 0;
  display: flex; justify-content: center; pointer-events: none;
  transition: opacity .35s;
}
.hero-foot span {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.55);
}
.hero.is-open .hero-foot { opacity: 0; }

/* product panel */
.panel {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 48%;
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 26px 26px 0 0;
  box-shadow: 0 -18px 40px -24px rgba(17,18,21,.35);
  transform: translateY(104%);
  transition: transform .6s var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.hero.is-open .panel { transform: none; transition: transform .65s cubic-bezier(.16, 1, .3, 1); }
.panel-tabs {
  display: flex; gap: 6px; padding: 12px 12px 4px; overflow-x: auto; scrollbar-width: none;
  flex: none;
}
.panel-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; min-height: 44px; padding: 0 11px; border-radius: 999px; justify-content: center;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px;
}
.tab i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel-head { position: relative; padding: 6px 64px 10px 18px; flex: none; }
.panel-codes { display: none; margin: 2px 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.panel-title {
  margin: 0; font-size: 26px; line-height: 1; font-weight: 850; font-stretch: 75%; text-transform: uppercase;
}
.panel-title:focus { outline: none; }
.panel-desc { margin: 4px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.panel-close {
  position: absolute; right: 12px; top: 6px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--card); display: grid; place-items: center; cursor: pointer;
}
.panel-close:hover { background: #ebe9e4; }
.panel-list {
  flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 10px;
  border-top: 1px solid var(--line);
}
.panel-list li + li { border-top: 1px solid var(--line); }
.pl {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center;
  min-height: 72px; padding: 8px; text-decoration: none; border-radius: 14px;
}
.pl:hover { background: var(--card); }
.pl-img { width: 76px; height: 61px; border-radius: 10px; background: var(--card); overflow: hidden; }
.pl-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pl-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.pl-brand { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pl-sole { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 6px; background: var(--card); color: var(--ink-2); vertical-align: 1px; }
.price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price b { display: block; font-size: 15px; font-weight: 800; }
.price s { display: block; font-size: 12px; color: var(--muted); }
.price.on-sale b { color: var(--sale); }
.panel-all {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; margin: 8px 12px 12px; border-radius: 14px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; font-size: 15px;
}
.panel-all:hover { background: #2a2c31; }

/* static (reduced motion / no 3D) */
.static .stage { display: none; }
.static .hero { display: flex; flex-direction: column; height: auto; min-height: 100svh; max-height: none; padding-bottom: 16px; }
.static .hero-copy { order: -1; }
.static .poster {
  display: block; position: relative; z-index: 0; width: 100%; max-width: 360px; height: auto;
  margin: 4px auto 0; aspect-ratio: 780 / 960; object-fit: contain;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 50% 50%, #000 70%, transparent 100%);
}
.static .tile-labels {
  position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 0 var(--pad); margin: 4px auto 0; width: 100%; max-width: 560px;
}
.static .tile-label { position: static; opacity: 1; transform: none !important; background: rgba(255,255,255,.92); }
.static .hero-foot { position: relative; bottom: auto; margin-top: 14px; }
.static .panel { position: fixed; height: 72%; }

/* ticker */
.ticker { background: var(--ink); color: #f2f2ee; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker-row { display: flex; flex: none; }
.ticker-row li {
  display: flex; align-items: center; white-space: nowrap; padding: 15px 22px; font-size: 14px; font-weight: 600;
}
.ticker-row li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-left: 44px; }
.ticker-row b { color: var(--lime); font-weight: 800; margin-right: 6px; text-transform: uppercase; letter-spacing: .04em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
.sec { padding: 64px 0 24px; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 0 var(--pad); margin-bottom: 22px;
}
.sec-title {
  margin: 0; font-size: clamp(34px, 9vw, 64px); line-height: .92; font-weight: 850;
  font-stretch: 72%; text-transform: uppercase;
}
.sec-note { margin: 0; color: var(--ink-2); max-width: 32ch; font-size: 15px; display: none; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(17,18,21,.16);
  background: #fff; display: grid; place-items: center; cursor: pointer;
}
.round:hover { background: var(--ink); color: #fff; }
.shelf-ctl { display: none; gap: 8px; }

.shelf-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad);
  padding: 4px var(--pad) 18px; scrollbar-width: none;
}
.shelf-row::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border-radius: var(--radius); text-decoration: none; overflow: hidden;
  box-shadow: 0 1px 0 rgba(17,18,21,.04), 0 14px 30px -22px rgba(17,18,21,.45);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(17,18,21,.04), 0 22px 36px -22px rgba(17,18,21,.5); }
.card-img { aspect-ratio: 5 / 4; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--line); padding-top: 12px; }
.card-brand { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card-name { font-weight: 700; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.card .price { text-align: left; display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.card .price b { display: inline; font-size: 18px; }
.card .price s { display: inline; font-size: 13px; }
.badge {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  background: var(--sale); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 8px;
  font-variant-numeric: tabular-nums;
}
.sole {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .06em; padding: 4px 8px; border-radius: 8px;
}
.link-more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 6px var(--pad) 0;
  font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--ink);
}

.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 var(--pad); }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 210px; padding: 14px; border-radius: var(--radius); text-decoration: none; overflow: hidden;
  background: #fff; isolation: isolate;
  transition: transform .35s var(--ease-out);
}
.cat:hover { transform: translateY(-4px); }
.cat-img { position: absolute; inset: 34% -4% 4% -8%; z-index: -1; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; }
.cat-name { font-size: 30px; line-height: .9; font-weight: 850; font-stretch: 72%; text-transform: uppercase; }
.cat-sub { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.cat-go {
  align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.cat-grid li:first-child .cat-go { background: var(--lime); color: var(--ink); }

.outlet-grid { display: grid; gap: 12px; padding: 0 var(--pad); }
.outlet {
  background: var(--paper); border-radius: var(--radius); padding: 18px;
  box-shadow: 0 14px 30px -24px rgba(17,18,21,.45);
}
.outlet-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.outlet h3 { margin: 0; font-size: 26px; line-height: 1; font-weight: 850; font-stretch: 75%; text-transform: uppercase; }
.state {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; background: #eceae5; color: var(--ink-2);
}
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9a9ca1; }
.state.open { background: #e5f7d4; color: #1f5c12; }
.state.open::before { background: #34a017; box-shadow: 0 0 0 3px rgba(52,160,23,.2); }
.outlet address { font-style: normal; color: var(--ink-2); margin: 12px 0 10px; font-size: 15px; }
.outlet-hours { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.outlet-hours b { color: var(--ink); }
.outlet-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.outlet-acts .btn.dark { grid-column: 1 / -1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 16px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 14px;
  border: 1px solid rgba(17,18,21,.14); background: #fff;
}
.btn:hover { border-color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.dark:hover { background: #2a2c31; }
.btn svg { flex: none; }

.foot { background: var(--ink); color: #c9cacd; margin-top: 64px; }
.foot-in { padding: 44px var(--pad) 36px; display: grid; gap: 18px; }
.foot-logo { width: 170px; height: auto; }
.foot-line { margin: 0; max-width: 46ch; font-size: 14px; }
.foot-outlets { display: grid; gap: 10px; font-size: 14px; }
.foot-outlets a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 700; }
.foot-outlets span { color: #9ea0a5; }
.foot-copy { margin: 0; font-size: 13px; color: #8d8f94; }

@media (min-width: 760px) {
  :root { --pad: 40px; }
  .top { height: 76px; }
  .brand img { width: 176px; }
  .hide-sm { display: inline-flex; }
  .hero-copy { padding-top: 112px; }
  h1 { max-width: none; font-size: clamp(56px, 6.4vw, 104px); }
  .lede { font-size: 18px; margin-top: 14px; max-width: none; }
  .panel {
    left: auto; right: 40px; top: 96px; bottom: 32px; width: 440px; height: auto;
    border-radius: 26px; transform: translateX(calc(100% + 80px));
    box-shadow: 0 30px 60px -30px rgba(17,18,21,.45);
  }
  .panel-tabs { padding: 14px 14px 4px; }
  .panel-head { padding: 12px 68px 14px 22px; }
  .panel-title { font-size: 40px; }
  .panel-codes { display: block; }
  .panel-desc { font-size: 14px; margin-top: 6px; }
  .panel-list { padding: 0 12px; }
  .sec { padding-top: 96px; }
  .sec-note { display: block; }
  .shelf-ctl { display: flex; }
  .shelf-row { grid-auto-columns: 280px; gap: 16px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .cat { min-height: 320px; padding: 22px; }
  .cat-name { font-size: 44px; }
  .outlet-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .outlet { padding: 24px; }
  .foot-in { grid-template-columns: 1.2fr 1fr; align-items: start; padding: 56px var(--pad) 44px; }
  .foot-outlets { grid-row: span 3; }
  .static .tile-labels { grid-template-columns: repeat(4, auto); justify-content: center; max-width: none; }
  .static .poster { max-width: 400px; }
  .static .panel { height: auto; }
}
@media (min-width: 1200px) {
  .sec, .foot-in { max-width: 1360px; margin-left: auto; margin-right: auto; }
  .foot-in { max-width: none; padding-left: max(40px, calc((100vw - 1280px) / 2)); padding-right: max(40px, calc((100vw - 1280px) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .ticker-row[aria-hidden] { display: none; }
  .ticker-track { width: auto; flex-wrap: wrap; }
  .ticker-row { flex-wrap: wrap; justify-content: center; }
  .ticker-row li { padding: 10px 16px; }
  .ticker-row li::after { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
