/* ==========================================================================
   KooKoo — "Go a little KooKoo"
   Cartoon-sticker system: thick ink outlines, hard offset shadows,
   bubble type, and things you can play with.
   ========================================================================== */

:root {
  --ink: #0c0c0c;
  --cream: #f4efe4;
  --paper: #fffdf8;
  --red: #e5332a;
  --red-d: #b92018;
  --sky: #a9c7e8;
  --sky-d: #7ea6d3;
  --mute: #6b655b;

  --f-bubble: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Space Grotesk", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --line: 3px;
  --pop: 5px 5px 0 var(--ink);
  --pop-lg: 8px 8px 0 var(--ink);
  --r: 22px;
  --g: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --boing: cubic-bezier(.34, 1.7, .5, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[data-anim]:not(.is-live) *, [data-anim]:not(.is-live) *::before, [data-anim]:not(.is-live) *::after { animation-play-state: paused !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html.is-locked, html.is-locked body { overflow: hidden; } /* lock the real scroller (html), not just body */
img { display: block; max-width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
input { font: inherit; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
main { overflow: clip; }

.mono { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.sr { 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: 999; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ulink { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ulink:hover { color: var(--red); }

.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-desk { display: none; } .hint-touch { display: inline; } }

/* ---------- Buttons: stickers you press ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: var(--pop);
  font-family: var(--f-bubble); font-size: 1.12rem; font-weight: 400; letter-spacing: .01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn i { font-style: normal; display: inline-block; transition: transform .3s var(--boing); }
.btn:hover i { transform: translateX(4px) rotate(-10deg); }
.btn--red { --bg: var(--red); --fg: var(--paper); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); box-shadow: 5px 5px 0 var(--paper); }
.btn--ink:hover { box-shadow: 7px 7px 0 var(--paper); }
.btn--ghost { --bg: var(--paper); }
.btn--wide { width: 100%; }
.btn--grow { flex: 1; }
.btn.is-off { --bg: #d9d3c7; --fg: #6b655b; }
.shake { animation: shake .42s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px) rotate(-1deg); } 40%, 80% { transform: translateX(7px) rotate(1deg); } }

/* ---------- Eyes ---------- */
.js-eye { display: inline-block; width: 1em; height: 1em; vertical-align: middle; }
.eye { width: 100%; height: 100%; overflow: visible; display: block; }
.eye__ball { transform-origin: 50% 50%; transform-box: fill-box; transition: transform .08s ease-in; }
.eye.is-blink .eye__ball { transform: scaleY(.06); }
.eye__pupil { transition: transform .1s linear; }
.eye.is-happy .eye__ball { transform: scaleY(.55); transition: transform .3s var(--boing); }

/* ---------- Intro lids ---------- */
.lids { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.lid { position: absolute; left: -10%; right: -10%; height: 52%; background: var(--ink); }
.lid--top { top: 0; border-radius: 0 0 50% 50% / 0 0 22% 22%; animation: lidTop 1.25s var(--ease) .15s forwards; }
.lid--bot { bottom: 0; border-radius: 50% 50% 0 0 / 22% 22% 0 0; animation: lidBot 1.25s var(--ease) .15s forwards; }
.lid--top::after { /* lashes */
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 1px; height: 26px;
  background: repeating-linear-gradient(100deg, transparent 0 24px, var(--ink) 24px 30px);
  transform: translateY(100%);
}
@keyframes lidTop { 0% { transform: translateY(0); } 28% { transform: translateY(-14%); } 42% { transform: translateY(0); } 100% { transform: translateY(-115%); } }
@keyframes lidBot { 0% { transform: translateY(0); } 28% { transform: translateY(14%); } 42% { transform: translateY(0); } 100% { transform: translateY(115%); } }
.no-intro .lids { display: none; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; opacity: 0; transition: opacity .25s; }
.cursor.is-on { opacity: 1; }
.cursor__eye { position: absolute; left: -17px; top: -17px; font-size: 34px; transition: transform .35s var(--boing); }
.cursor.is-big .cursor__eye { transform: scale(1.8); }
.cursor.is-grab .cursor__eye { transform: scale(.7); }
.cursor.is-hide .cursor__eye { transform: scale(0); }
.cursor__label {
  position: absolute; left: 22px; top: 18px; white-space: nowrap;
  background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: 999px;
  font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em;
  opacity: 0; transform: scale(.6); transform-origin: 0 0; transition: opacity .2s, transform .3s var(--boing);
}
.cursor.is-big .cursor__label { opacity: 1; transform: none; left: 36px; top: 26px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor * { cursor: none !important; } }

/* ---------- Header ---------- */
.hdr {
  position: fixed; z-index: 100; top: 12px; left: var(--g); right: var(--g);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  transition: transform .45s var(--ease);
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr.is-hidden { transform: translateY(-140%); }
.hdr__logo { justify-self: start; display: block; padding: 3px 12px; border-radius: 999px; background: var(--paper); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .3s var(--boing); }
.hdr__logo:hover { transform: rotate(-4deg) scale(1.04); }
.hdr__logo img { height: 38px; width: auto; }
.hdr__nav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: var(--paper); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: opacity .3s; }
.hdr__nav a { text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 16px; border-radius: 999px; transition: background .2s, color .2s; }
.hdr__nav a:hover { background: var(--ink); color: var(--paper); }
.hdr__right { justify-self: end; display: flex; gap: 8px; }
.hdr__bag, .hdr__menu {
  height: 50px; border-radius: 999px; background: var(--paper); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s;
}
.hdr__bag:active, .hdr__menu:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.hdr__bag { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px 0 16px; font-family: var(--f-bubble); font-size: 1.05rem; }
.hdr__bag-n { min-width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--red); color: var(--paper); font-family: var(--f-mono); font-size: .82rem; border: 2px solid var(--ink); }
.hdr__bag.bump { animation: bump .55s var(--boing); }
@keyframes bump { 35% { transform: scale(1.18) rotate(-6deg); } 70% { transform: scale(.95) rotate(3deg); } }
.hdr__menu { width: 50px; display: none; position: relative; }
.hdr__menu span { position: absolute; left: 13px; right: 13px; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--boing), opacity .2s; }
.hdr__menu span:nth-child(1) { top: 15px; }
.hdr__menu span:nth-child(2) { top: 21.5px; }
.hdr__menu span:nth-child(3) { top: 28px; }
.hdr__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--red); color: var(--paper);
  padding: 100px var(--g) calc(28px + var(--safe-b));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .65s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); }
.menu__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.menu__nav a {
  font-family: var(--f-bubble); font-size: clamp(3rem, 14vw, 6rem); line-height: 1.02; text-decoration: none;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(var(--r)) translateY(40px); opacity: 0;
  transition: transform .6s var(--boing), opacity .4s, color .2s;
}
.menu.is-open .menu__nav a { transform: rotate(var(--r)); opacity: 1; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__nav a:hover { color: var(--sky); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.menu__foot button { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.menu__eyes { margin-top: auto; align-self: flex-end; display: flex; gap: 6px; font-size: 76px; }

/* ==========================================================================
   1. Hero — centered logo, two pieces peeking in from the corners
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center;
  padding: clamp(100px, 14vh, 140px) var(--g) clamp(60px, 10vh, 110px);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1.5' cy='1.5' r='1.3' fill='%230c0c0c' fill-opacity='.13'/%3E%3C/svg%3E") 0 0 / 22px 22px,
    var(--cream);
}
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink);
  font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  transform: rotate(-2deg);
}
.tag__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blinkDot 1.2s steps(2) infinite; }
@keyframes blinkDot { 50% { opacity: .2; } }
.hero__title { margin: 0; display: flex; flex-direction: column; align-items: center; }
.hero__line {
  font-family: var(--f-bubble); font-weight: 400; font-size: clamp(2.2rem, 5.5vw, 4.6rem); line-height: 1;
  color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg); margin-bottom: -.15em; position: relative; z-index: 1;
  animation: lineIn .8s var(--boing) 1s both;
}
.hero__logo {
  width: min(860px, 88vw, 120vh); height: auto; filter: drop-shadow(6px 8px 0 var(--ink));
  transform-origin: 50% 80%;
  animation: logoIn 1s var(--boing) 1.1s backwards, wobble 6s ease-in-out 2.4s infinite;
}
.no-intro .hero__logo { animation-delay: .1s, 1.4s; }
.no-intro .hero__line { animation-delay: 0s; }
@keyframes logoIn { from { transform: scale(.4) rotate(-8deg); opacity: 0; } }
@keyframes lineIn { from { transform: translateY(20px) rotate(-10deg); opacity: 0; } }
@keyframes wobble { 0%, 100% { transform: rotate(0) scale(1); } 25% { transform: rotate(-1.2deg) scale(1.01); } 75% { transform: rotate(1.2deg) scale(1.01); } }
.hero__sub { margin: 16px 0 0; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: clamp(18px, 3vh, 28px); }

.peek {
  position: absolute; z-index: 1; bottom: -6%; width: clamp(200px, 26vw, 400px); aspect-ratio: 1;
  transition: transform .8s var(--ease); will-change: transform;
}
.peek img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(7px 9px 0 rgba(12, 12, 12, .88)); transition: transform .5s var(--boing); animation: peekIn 1s var(--boing) 1.5s backwards; }
.peek--l { left: -3%; }
.peek--l img { --r: 14deg; }
.peek--r { right: -3%; }
.peek--r img { --r: -12deg; animation-delay: 1.65s; }
.no-intro .peek img { animation-delay: .4s; }
.no-intro .peek--r img { animation-delay: .55s; }
.peek img { transform: rotate(var(--r)); }
.peek:hover img { transform: rotate(0deg) translateY(-14px) scale(1.05); }
@keyframes peekIn { from { transform: translateY(70%) rotate(var(--r)); opacity: 0; } to { transform: rotate(var(--r)); opacity: 1; } }

/* ==========================================================================
   2. Speed marquee
   ========================================================================== */
.speed { background: var(--ink); color: var(--paper); padding: 18px 0; overflow: hidden; }
.speed__row { overflow: hidden; }
.speed__track {
  display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap;
  font-family: var(--f-bubble); font-size: clamp(2rem, 6vw, 4.4rem); line-height: 1.1;
  will-change: transform;
}
.speed__row--rev .speed__track { color: var(--red); font-size: clamp(1.4rem, 4vw, 2.8rem); }
.speed .js-eye { width: 1em; height: 1em; }
.speed em { font-style: normal; color: var(--sky); }

/* ---------- Section heads ---------- */
.shead { text-align: center; margin: 0 auto clamp(24px, 4vw, 44px); padding: 0 var(--g); }
.shead__num { margin: 0 0 12px; display: inline-block; padding: 6px 12px; border-radius: 999px; border: 2px solid currentColor; }
.shead__title {
  margin: 0; font-family: var(--f-bubble); font-weight: 400; line-height: .95;
  font-size: clamp(3rem, 10vw, 8.4rem); letter-spacing: -.01em;
}
.shead__sub { margin: clamp(22px, 2.6vw, 34px) auto 0; max-width: 42ch; font-size: 1.05rem; color: var(--mute); }
.shead--dark .shead__sub { color: rgba(255, 253, 248, .6); }
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; transform: translateY(.5em) rotate(10deg) scale(.6); opacity: 0; transition: transform .7s var(--boing), opacity .35s; }
.is-in .char { transform: none; opacity: 1; }

/* ==========================================================================
   3. Lineup ring
   ========================================================================== */
.lineup { padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 120px); background: var(--sky); border-bottom: var(--line) solid var(--ink); }
.lineup .shead__sub { color: #34506f; }
.ring { position: relative; height: clamp(380px, 44vw, 560px); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: grab; }
.ring.is-drag { cursor: grabbing; }
.ring__floor {
  position: absolute; left: 50%; bottom: 2%; width: min(900px, 90vw); height: 90px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(12, 12, 12, .25), transparent);
}
.ring__stage { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 30%; }
.ring__spin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.ring__item {
  --w: clamp(200px, 22vw, 300px);
  position: absolute; left: calc(var(--w) / -2); top: calc(var(--w) * -.62);
  width: var(--w); height: calc(var(--w) * 1.22);
  transform-style: preserve-3d; will-change: transform, opacity;
}
.ring__card {
  position: absolute; inset: 0; border-radius: 26px; background: var(--tone, #efe8da); border: var(--line) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink); overflow: hidden; display: block; width: 100%; height: 100%;
}
.ring__card img { position: absolute; left: 6%; top: 6%; width: 88%; height: 70%; object-fit: contain; filter: drop-shadow(5px 8px 0 rgba(12, 12, 12, .85)); transition: transform .5s var(--boing); }
.ring__item.is-front .ring__card img { transform: scale(1.08) rotate(-3deg); }
.ring__label { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 14px; background: var(--paper); border: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; line-height: 1.2; text-align: left; }
.ring__label b { font-family: var(--f-bubble); font-weight: 400; font-size: 1rem; }
.ring__arrow {
  position: absolute; top: 50%; z-index: 5; width: 58px; height: 58px; margin-top: -29px; border-radius: 50%;
  background: var(--paper); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-size: 1.5rem; font-weight: 700; transition: transform .15s, box-shadow .15s;
}
.ring__arrow:hover { transform: scale(1.08); }
.ring__arrow:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.ring__arrow--prev { left: var(--g); }
.ring__arrow--next { right: var(--g); }

.now {
  position: relative; z-index: 3; margin: 0 auto; width: min(900px, calc(100% - 2 * var(--g)));
  display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center;
  padding: 22px 24px; border-radius: 26px; background: var(--paper); border: var(--line) solid var(--ink); box-shadow: var(--pop-lg);
}
.now__cat { margin: 0 0 4px; color: var(--red); }
.now__name { margin: 0; font-family: var(--f-bubble); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; }
.now__color { margin: 6px 0 0; color: var(--mute); }
.now__price { font-family: var(--f-bubble); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); justify-self: end; }
.now__sizes { grid-column: 1 / -1; }
.now__btns { grid-column: 1 / -1; display: flex; gap: 12px; }
.now__btns .btn:first-child { flex: 1; }
.now .form-msg { grid-column: 1 / -1; margin: -4px 0 0; }
.now.swap .now__name, .now.swap .now__price { animation: pop .45s var(--boing); }
@keyframes pop { from { transform: scale(.7) rotate(-4deg); opacity: 0; } }

.picks { list-style: none; margin: 26px auto 0; padding: 0 var(--g); display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.picks button {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 14px 4px 4px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink); font-weight: 700; font-size: .88rem; transition: background .2s, color .2s, transform .2s var(--boing);
}
.picks img { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); object-fit: contain; padding: 2px; }
.picks button:hover { transform: translateY(-2px); }
.picks button.is-on { background: var(--ink); color: var(--paper); }

/* ---------- Sizes (shared) ---------- */
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button {
  min-width: 54px; height: 48px; padding: 0 12px; border-radius: 14px;
  background: var(--paper); border: 2px solid var(--ink); font-weight: 700;
  transition: transform .2s var(--boing), background .15s, color .15s, box-shadow .15s;
}
.sizes button:hover { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
.sizes button.is-on { background: var(--ink); color: var(--paper); transform: translateY(-3px) rotate(-3deg); box-shadow: 0 3px 0 var(--red); }

/* ==========================================================================
   4. Flashlight
   ========================================================================== */
.closer { background: #070707; color: var(--paper); padding: clamp(90px, 12vw, 150px) 0 clamp(50px, 6vw, 80px); }
.closer .shead__num, .closer .shead__title { color: var(--paper); }
.dark {
  --lx: 50%; --ly: 40%; --lr: 120px;
  position: relative; margin: 0 auto; width: min(720px, calc(100% - 2 * var(--g)));
  aspect-ratio: 1; border-radius: 32px; overflow: hidden;
  background: #0b0b0b; border: var(--line) solid #262626; touch-action: none; cursor: none;
}
.dark__glow { /* warm glow around the beam — moved with transform only */
  position: absolute; left: 0; top: 0; width: 440px; height: 440px; pointer-events: none; will-change: transform;
  background: radial-gradient(closest-side, rgba(255, 236, 190, .1), transparent);
}
.dark__lens { /* the lit circle: a fixed soft mask that moves via transform (no repaint) */
  position: absolute; left: 0; top: 0; width: 200px; height: 200px; border-radius: 50%; overflow: hidden; pointer-events: none; will-change: transform;
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent 100%); mask: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.dark__lens img { position: absolute; left: 0; top: 0; max-width: none; object-fit: contain; will-change: transform; filter: brightness(1.15); }
.dark__stage { position: absolute; inset: 0; }
.dark__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.dark__img--dim { filter: brightness(.07) contrast(1.2); }
.dark.is-on { cursor: auto; background: radial-gradient(circle at 50% 45%, #2c2c2c, #0b0b0b 72%); }
.dark.is-on .dark__glow, .dark.is-on .dark__lens { display: none; }
.dark.is-on .dark__img--dim { filter: none; transition: filter .6s; }
.spot {
  position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  opacity: 0; transition: opacity .3s; cursor: none;
}
.spot i { position: absolute; inset: 9px; border-radius: 50%; border: 3px solid var(--red); background: rgba(229, 51, 42, .25); animation: ping 1.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(229, 51, 42, .6); } 70%, 100% { box-shadow: 0 0 0 14px rgba(229, 51, 42, 0); } }
.spot span {
  position: absolute; top: 50%; left: calc(100% + 4px); transform: translateY(-50%) scale(.6); transform-origin: 0 50%;
  width: max-content; max-width: 180px; text-align: left;
  padding: 8px 12px; border-radius: 12px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--red);
  font-weight: 700; font-size: .8rem; line-height: 1.25; opacity: 0; transition: opacity .3s, transform .45s var(--boing); pointer-events: none;
}
.spot[data-side="l"] span { left: auto; right: calc(100% + 4px); transform-origin: 100% 50%; text-align: right; }
.spot[data-side="t"] span { left: 50%; top: auto; bottom: calc(100% + 4px); transform: translateX(-50%) scale(.6); transform-origin: 50% 100%; text-align: center; }
.spot[data-side="t"].is-found span { transform: translateX(-50%); }
.spot.is-lit, .spot.is-found { opacity: 1; }
.spot.is-found i { background: var(--red); animation: none; }
.spot.is-found span { opacity: 1; transform: translateY(-50%); }
.dark.is-on .spot { cursor: pointer; }
.dark__hud { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(40, 40, 40, .85); }
.dark__hud p { margin: 0; }
.dark__bar { width: 80px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.dark__bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .5s var(--boing); }
.dark__win {
  position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 180%); display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--paper); color: var(--ink); border: var(--line) solid var(--ink);
  transition: transform .6s var(--boing); white-space: nowrap; cursor: auto;
}
.dark__win .btn { min-height: 48px; box-shadow: 3px 3px 0 var(--ink); }
.dark.is-won .dark__win { transform: translate(-50%, 0); }
.dark__win-t { margin: 0; font-family: var(--f-bubble); font-size: 1.5rem; }
.closer__skip { text-align: center; margin: 22px 0 0; color: rgba(255, 253, 248, .65); }
.closer__skip button { min-height: 40px; }

/* ==========================================================================
   5. Shades
   ========================================================================== */
.shades {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; overflow: hidden; background: var(--bg); color: var(--fg);
  padding: clamp(90px, 12vw, 150px) 0 clamp(80px, 10vw, 130px);
}
.shades[data-shade="sky"] { --bg: var(--sky); --fg: var(--ink); }
.shades[data-shade="white"] { --bg: var(--paper); --fg: var(--ink); }
.shades__flood { position: absolute; inset: 0; z-index: 0; clip-path: circle(0 at 50% 50%); pointer-events: none; }
.shades__word { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-40%) rotate(-6deg); z-index: 0; pointer-events: none; opacity: .16; overflow: hidden; }
.shades__word-track { display: flex; width: max-content; font-family: var(--f-bubble); font-size: clamp(8rem, 26vw, 22rem); line-height: 1.1; color: transparent; -webkit-text-stroke: 3px var(--fg); white-space: nowrap; transform: translateX(-12%); }
.shades__word-track.is-sliding { animation: wordIn 1s var(--ease) both; }
@keyframes wordIn { from { transform: translateX(8%); opacity: 0; } to { transform: translateX(-12%); opacity: 1; } }
.shades__word-track span { padding-right: .3em; }
@keyframes slide { to { transform: translateX(-50%); } }
.shades__inner { position: relative; z-index: 1; }
.shades .shead__num { color: var(--fg); }
.shades__tee { cursor: pointer; width: min(540px, 86vw); aspect-ratio: 1; margin: -10px auto 0; position: relative; touch-action: pan-y; }
.shades__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(10px 14px 0 rgba(12, 12, 12, .85));
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) scale(.3) rotate(-40deg);
  opacity: 0; transition: transform .7s var(--boing), opacity .3s;
}
.shades__img.is-on { opacity: 1; transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.shades__tee.is-tilting .shades__img.is-on { transition: transform .12s ease-out, opacity .3s; }
.shades__img { will-change: transform; }
.shades[data-shade="black"] .shades__img { filter: drop-shadow(10px 14px 0 rgba(229, 51, 42, .95)); }
.shades__ui { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 10px; padding: 0 var(--g); }
.shades__pick { display: flex; gap: 12px; }
.shades__pick button {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 16px 8px; border-radius: 20px;
  border: var(--line) solid transparent; font-weight: 700; transition: transform .3s var(--boing), border-color .2s;
}
.shades__pick i { width: 54px; height: 54px; border-radius: 50%; background: var(--c); border: var(--line) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .3s var(--boing); }
.shades[data-shade="black"] .shades__pick i { border-color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.shades__pick button:hover i { transform: scale(1.1) rotate(-8deg); }
.shades__pick button.is-on { border-color: var(--fg); transform: translateY(-4px); }
.shades__buy { display: flex; align-items: center; gap: 18px; }
.shades__buy strong { font-family: var(--f-bubble); font-weight: 400; font-size: 2.4rem; }
.shades[data-shade="black"] .shades__buy .btn { box-shadow: 5px 5px 0 var(--paper); }

/* ==========================================================================
   6. The fit
   ========================================================================== */
.fit { background: var(--cream); padding-bottom: clamp(70px, 9vw, 120px); }
.fit__track { height: 240vh; position: relative; }
.fit__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.fit__bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; }
.fit__bg span { font-family: var(--f-bubble); font-size: clamp(6rem, 19vw, 17rem); line-height: .88; color: transparent; -webkit-text-stroke: 2px rgba(12, 12, 12, .13); }
.fit__stack { --h: min(40svh, 60vw); position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin-top: 4svh; }
.fit__top, .fit__bot { width: var(--h); height: var(--h); object-fit: contain; filter: drop-shadow(8px 10px 0 rgba(12, 12, 12, .9)); will-change: transform; }
.fit__top { position: relative; z-index: 2; transform: translate3d(0, -80vh, 0) rotate(-28deg); }
.fit__bot { margin-top: calc(var(--h) * -.14); transform: translate3d(0, 80vh, 0) rotate(22deg); }
.fit__title { position: absolute; left: var(--g); top: 50%; transform: translateY(-50%); z-index: 2; max-width: 30vw; }
.fit__title h2 { margin: 0; font-family: var(--f-bubble); font-weight: 400; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .95; }
.fit__title h2 span { color: var(--red); }
.fit__progress { position: absolute; right: var(--g); bottom: 30px; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: background .3s; }
.fit.is-dressed .fit__progress { background: var(--red); }

.builder {
  position: relative; z-index: 2; width: min(980px, calc(100% - 2 * var(--g))); margin: 0 auto; padding: clamp(18px, 3vw, 30px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 30px; box-shadow: var(--pop-lg);
}
.builder__item { display: flex; gap: 16px; align-items: center; }
.builder__item img { width: 96px; height: 96px; flex: none; border-radius: 20px; background: var(--cream); border: 2px solid var(--ink); padding: 6px; object-fit: contain; }
.builder__name { margin: 0 0 10px; font-weight: 700; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.builder__name strong { font-family: var(--f-bubble); font-weight: 400; font-size: 1.2rem; }
.builder .sizes button { min-width: 46px; height: 44px; }
.builder__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 2px dashed rgba(12, 12, 12, .25); }
.builder__foot p { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.builder__foot strong { font-family: var(--f-bubble); font-weight: 400; font-size: 2.2rem; }
.builder .form-msg { grid-column: 1 / -1; margin: -6px 0 0; }

/* ==========================================================================
   7. Watch (newsletter)
   ========================================================================== */
.watch { background: var(--red); color: var(--paper); text-align: center; padding: clamp(80px, 10vw, 130px) var(--g); border-top: var(--line) solid var(--ink); }
.watch__eyes { display: flex; justify-content: center; gap: 4px; font-size: clamp(110px, 18vw, 210px); margin-bottom: 10px; }
.watch__eyes .eye { filter: drop-shadow(6px 7px 0 var(--ink)); }
.watch__title { margin: 0 auto; max-width: 12ch; font-family: var(--f-bubble); font-weight: 400; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: .98; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.watch__sub { margin: 18px auto 28px; max-width: 40ch; font-size: 1.1rem; }
.watch__form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; padding: 8px; border-radius: 999px; background: var(--paper); border: var(--line) solid var(--ink); box-shadow: var(--pop-lg); }
.watch__form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font-size: 1.05rem; color: var(--ink); outline: none; }
.watch__form .btn { min-height: 52px; box-shadow: none; border-width: 2px; }
.watch__form .btn:hover { transform: rotate(-3deg); box-shadow: none; }
.form-msg { min-height: 1.4em; margin: 14px 0 0; font-family: var(--f-mono); font-size: .8rem; }
.form-msg.is-err { color: var(--red); }
.watch .form-msg.is-err { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { background: var(--ink); color: var(--paper); padding: clamp(60px, 8vw, 100px) var(--g) calc(24px + var(--safe-b)); overflow: hidden; }
.ftr__cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px clamp(40px, 8vw, 110px); margin-bottom: clamp(40px, 6vw, 70px); text-align: center; }
.ftr__cols > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ftr__cols button, .ftr__cols a { font-weight: 700; font-size: 1.05rem; text-decoration: none; min-height: 32px; transition: color .2s, transform .25s var(--boing); }
.ftr__cols button:hover, .ftr__cols a:hover { color: var(--red); transform: rotate(-3deg) scale(1.06); }
.ftr__h { margin: 0 0 4px; color: rgba(255, 253, 248, .45); }
.ftr__logo img { width: 100%; transform: skewX(var(--sk, 0deg)) scaleY(var(--sy, 1)); transform-origin: 50% 100%; transition: transform .7s var(--boing); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; color: rgba(255, 253, 248, .5); }
.ftr__bottom a { text-decoration: none; }
.ftr__bottom a:hover { color: var(--red); }

/* ==========================================================================
   Overlays
   ========================================================================== */
.scrim { position: fixed; inset: 0; z-index: 140; background: rgba(12, 12, 12, .5); opacity: 0; transition: opacity .35s; }
.scrim.is-open { opacity: 1; }
.x {
  position: absolute; top: 14px; right: 14px; z-index: 6; width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: var(--line) solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: transform .35s var(--boing);
}
.x:hover { transform: rotate(90deg); }

.sheet {
  position: fixed; z-index: 150; left: 50%; top: 50%; width: min(1080px, calc(100vw - 48px)); max-height: calc(100vh - 48px);
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 30px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden;
  transform: translate(-50%, -50%) scale(.7) rotate(-4deg); opacity: 0;
  transition: transform .55s var(--boing), opacity .25s;
}
.sheet.is-open { transform: translate(-50%, -50%); opacity: 1; }
.sheet__grip { display: none; }
.sheet__body { display: grid; grid-template-columns: 1.05fr 1fr; max-height: calc(100vh - 54px); }
.sheet__body > * { min-height: 0; max-height: calc(100vh - 54px); }
.gal { position: relative; background: var(--tone, #efe8da); border-right: var(--line) solid var(--ink); display: flex; flex-direction: column; justify-content: center; min-height: 0; transition: background .4s; }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: center; display: grid; place-items: center; }
.gal__slide img { width: 100%; height: 100%; object-fit: contain; padding: 7%; filter: drop-shadow(6px 10px 0 rgba(12, 12, 12, .8)); }
.gal__slide.is-photo img { object-fit: cover; padding: 0; filter: none; }
.gal__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.gal__dots button { width: 14px; height: 14px; border-radius: 7px; background: var(--paper); border: 2px solid var(--ink); transition: width .3s var(--boing), background .2s; }
.gal__dots button.is-on { width: 32px; background: var(--ink); }
.pinfo { padding: 36px 32px 28px; overflow-y: auto; overscroll-behavior: contain; }
.pinfo__cat { margin: 0 0 8px; color: var(--red); }
.pinfo__name { margin: 0; padding-right: 50px; font-family: var(--f-bubble); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: .95; }
.pinfo__price { margin: 12px 0; font-family: var(--f-bubble); font-size: 1.7rem; }
.pinfo__blurb { margin: 0 0 22px; color: #3f3b34; }
.pinfo__group { margin-bottom: 20px; }
.pinfo__label { margin: 0 0 10px; color: var(--mute); display: flex; gap: 8px; align-items: center; }
.pinfo__label .ulink { font-family: var(--f-mono); font-size: .72rem; margin-left: auto; min-height: 32px; }
.swatches { display: flex; gap: 14px; }
.sw { width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: var(--line) solid var(--ink); transition: transform .25s var(--boing); }
.sw.is-on { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--red); transform: scale(1.06); }
.pinfo__buy { display: flex; gap: 10px; margin: 6px 0 22px; }
.qty { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 52px; font-size: 1.3rem; font-weight: 700; }
.qty output { min-width: 18px; text-align: center; font-weight: 700; }
.acc { border-top: 2px solid var(--ink); }
.acc:last-child { border-bottom: 2px solid var(--ink); }
.acc summary { list-style: none; cursor: pointer; padding: 15px 0; font-weight: 700; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .35s var(--boing); }
.acc[open] summary::after { transform: rotate(135deg); }
.acc ul { margin: 0 0 16px; padding-left: 20px; color: #3f3b34; }
.acc p { margin: 0 0 16px; color: #3f3b34; }

.drawer {
  position: fixed; z-index: 160; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100vw - 24px));
  display: flex; flex-direction: column; background: var(--paper);
  border: var(--line) solid var(--ink); border-radius: 28px; box-shadow: -8px 8px 0 var(--ink); overflow: hidden;
  transform: translateX(calc(100% + 40px)) rotate(4deg); transition: transform .6s var(--boing);
}
.drawer.is-open { transform: none; }
.drawer__head { position: relative; padding: 22px 22px 16px; border-bottom: 2px solid var(--ink); background: var(--sky); }
.drawer__head h2 { margin: 0; font-family: var(--f-bubble); font-weight: 400; font-size: 2rem; line-height: 1; }
.drawer__head .x { top: 12px; right: 12px; }
.drawer__view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.lines { list-style: none; margin: 0; padding: 6px 22px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 2px dashed rgba(12, 12, 12, .2); animation: lineIn .5s var(--boing); }
@keyframes lineIn { from { opacity: 0; transform: translateX(30px) rotate(3deg); } }
.line__img { width: 84px; height: 84px; border-radius: 18px; background: var(--tone, #efe8da); border: 2px solid var(--ink); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.line__name { margin: 0; font-weight: 700; line-height: 1.2; }
.line__meta { margin: 4px 0 10px; color: var(--mute); }
.line .qty { display: inline-flex; }
.line .qty button { width: 36px; height: 36px; font-size: 1.1rem; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line__price { font-family: var(--f-bubble); font-size: 1.15rem; }
.line__rm { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; text-decoration: underline; color: var(--mute); min-height: 32px; }
.line__rm:hover { color: var(--red); }
.empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.empty p { margin: 0; font-weight: 700; font-size: 1.1rem; }
.empty__eyes, .done__eyes { display: flex; gap: 4px; font-size: 80px; }
.drawer.is-empty .empty { display: flex; }
.drawer.is-empty .lines, .drawer.is-empty [data-foot] { display: none; }
.drawer__foot { padding: 16px 22px calc(16px + var(--safe-b)); border-top: 2px solid var(--ink); background: var(--paper); }
.drawer__foot .row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.1rem; }
.drawer__foot .row strong { font-family: var(--f-bubble); font-weight: 400; font-size: 1.6rem; }
.drawer__note { margin: 2px 0 14px; color: var(--mute); font-size: .88rem; }
.co { overflow-y: auto; overscroll-behavior: contain; }
.co__back { align-self: flex-start; margin: 16px 22px 0; font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; min-height: 32px; }
.co fieldset { border: 0; margin: 0; padding: 14px 22px 2px; }
.co legend { color: var(--mute); margin-bottom: 8px; }
.co label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .88rem; margin-bottom: 12px; }
.co label small { font-weight: 400; color: var(--mute); }
.co input, .co textarea { height: 50px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; font-size: 16px; transition: box-shadow .2s; }
.co textarea { height: 120px; padding: 12px 14px; font: inherit; font-size: 16px; resize: vertical; }
.co input:focus, .co textarea:focus { outline: none; box-shadow: 3px 3px 0 var(--ink); }
.co input.is-bad { border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.co__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co .drawer__foot { margin-top: auto; position: sticky; bottom: 0; }
.done { align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 14px; }
.done h3 { margin: 0; font-family: var(--f-bubble); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.done p { margin: 0; max-width: 32ch; }
.done__ref { color: var(--mute); }

.info {
  position: fixed; z-index: 170; left: 50%; top: 50%; width: min(540px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink);
  padding: 34px 26px 26px; transform: translate(-50%, -50%) scale(.7) rotate(3deg); opacity: 0; transition: transform .5s var(--boing), opacity .25s;
}
.info.is-open { transform: translate(-50%, -50%); opacity: 1; }
.info h2 { margin: 0 0 14px; padding-right: 50px; font-family: var(--f-bubble); font-weight: 400; font-size: 2.3rem; line-height: 1; }
.info p { color: #3f3b34; }
.info form.co { padding: 0; overflow: visible; }

.toast {
  position: fixed; z-index: 950; left: 50%; bottom: calc(24px + var(--safe-b)); width: max-content; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--ink); color: var(--paper); border: 2px solid var(--paper); box-shadow: 4px 4px 0 var(--red);
  font-weight: 700; font-size: .92rem; line-height: 1.25;
  transform: translate(-50%, calc(100% + 140px)) rotate(6deg); visibility: hidden; transition: transform .5s var(--boing), visibility 0s .5s;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--boing); }
.toast img { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); object-fit: contain; padding: 3px; }
.toast button { color: var(--red); text-decoration: underline; font-weight: 700; }
.fly { position: fixed; z-index: 940; pointer-events: none; object-fit: contain; }

.bagbar {
  position: fixed; z-index: 80; left: 14px; right: 14px; bottom: calc(12px + var(--safe-b));
  display: none; align-items: center; gap: 12px; height: 60px; padding: 0 20px 0 8px;
  background: var(--ink); color: var(--paper); border: var(--line) solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--red);
  font-family: var(--f-bubble); font-size: 1.1rem;
  transform: translateY(170%); transition: transform .55s var(--boing);
}
.bagbar strong { margin-left: auto; font-weight: 400; }
.bagbar__n { width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--f-mono); font-size: .9rem; border: 2px solid var(--paper); }
.bagbar.is-on { transform: none; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1024px) {
  .hdr__nav { display: none; }
  .hdr { grid-template-columns: 1fr auto; }
  .hdr__menu { display: block; }
  .fit__title { left: 0; right: 0; top: 90px; transform: none; max-width: none; text-align: center; }
  .fit__title h2 { font-size: clamp(2rem, 7vw, 3.6rem); }
  .fit__title h2 br { display: none; }
  .fit__title .shead__num { display: none; }
  .fit__stack { margin-top: 70px; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 760px) {
  :root { --line: 2.5px; --pop: 4px 4px 0 var(--ink); --pop-lg: 6px 6px 0 var(--ink); }
  .hdr { top: 10px; left: 12px; right: 12px; }
  .hdr__logo { padding: 3px 10px; box-shadow: 3px 3px 0 var(--ink); }
  .hdr__logo img { height: 34px; }
  .hdr__bag, .hdr__menu { height: 46px; box-shadow: 3px 3px 0 var(--ink); }
  .hdr__menu { width: 46px; }
  .hdr__menu span { left: 12px; right: 12px; }
  .hdr__menu span:nth-child(1) { top: 13px; }
  .hdr__menu span:nth-child(2) { top: 19.5px; }
  .hdr__menu span:nth-child(3) { top: 26px; }
  .hdr__bag { padding: 0 5px 0 12px; font-size: .95rem; }
  .hdr__bag-n { min-width: 30px; height: 30px; }

  .btn { min-height: 54px; font-size: 1.05rem; padding: 0 22px; }
  .hero { padding-top: 96px; padding-bottom: 40vw; min-height: auto; }
  .peek { width: 42vw; bottom: -4%; }
  .peek--l { left: -6%; }
  .peek--r { right: -6%; }
  .tag { font-size: .6rem; padding: 6px 10px; }
  .hero__line { font-size: clamp(1.9rem, 9vw, 2.6rem); -webkit-text-stroke-width: 2.5px; text-shadow: 3px 3px 0 var(--ink); }
  .hero__logo { width: 94vw; filter: drop-shadow(4px 5px 0 var(--ink)); }
  .hero__sub { font-size: 1.1rem; margin-top: 12px; }
  .hero__ctas { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__ctas .btn { padding: 0 12px; }

  .speed { padding: 12px 0; }

  .shead__title { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .shead__sub { font-size: .98rem; }
  .ring { height: 380px; }
  .ring__item { --w: 184px; }
  .ring__label { font-size: .76rem; padding: 6px 9px; }
  .ring__arrow { width: 48px; height: 48px; margin-top: 0; font-size: 1.2rem; top: auto; bottom: 6px; }
  .ring__arrow--prev { left: 16px; }
  .ring__arrow--next { right: 16px; }
  .now { width: calc(100% - 28px); padding: 18px 16px; margin-top: 8px; }
  .now .sizes { display: grid; grid-template-columns: repeat(4, 1fr); }
  .now .sizes button { min-width: 0; }
  .now__btns .btn:last-child { flex: 0 0 auto; }
  .picks { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 2px 14px 6px; scrollbar-width: none; }
  .picks::-webkit-scrollbar { display: none; }
  /* each pill keeps its own width; long names wrap to a second line instead of overflowing */
  .picks li { flex: 0 0 auto; display: flex; }
  .picks button { max-width: 180px; text-align: left; line-height: 1.15; padding-right: 16px; }
  .picks img { flex: none; }

  .dark { width: calc(100% - 24px); border-radius: 24px; }
  .spot span { max-width: 128px; font-size: .7rem; padding: 6px 9px; }
  .dark__win { bottom: 12px; padding: 6px 6px 6px 16px; gap: 10px; }
  .dark__win-t { font-size: 1.1rem; }
  .dark__win .btn { min-height: 44px; font-size: .95rem; padding: 0 14px; }

  .shades__tee { width: 88vw; }
  .shades__pick { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .shades__buy { width: 100%; justify-content: space-between; }
  .shades__buy .btn { flex: 1; }

  .fit__track { height: 200vh; }
  .fit__title { top: 80px; }
  .fit__progress { right: 50%; transform: translateX(50%); bottom: 22px; }
  .builder { grid-template-columns: 1fr; width: calc(100% - 24px); padding: 16px; border-radius: 24px; }
  .builder__item { align-items: flex-start; gap: 12px; }
  .builder__item img { width: 64px; height: 64px; border-radius: 14px; }
  .builder__item > div { flex: 1; min-width: 0; }
  .builder .sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .builder .sizes button { min-width: 0; padding: 0; }
  .builder__foot { flex-direction: column; align-items: stretch; }
  .builder__foot p { justify-content: space-between; }

  .watch { padding-bottom: 90px; }
  .watch__title { -webkit-text-stroke-width: 2.5px; text-shadow: 4px 4px 0 var(--ink); }
  .watch__form { flex-direction: column; border-radius: 26px; }
  .watch__form input { height: 52px; text-align: center; }
  .watch__form .btn { width: 100%; }

  .ftr { padding-bottom: calc(100px + var(--safe-b)); }

  .ftr__bottom { font-size: .64rem; }

  .sheet {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: calc(100svh - 24px);
    border-radius: 26px 26px 0 0; border-bottom: 0; box-shadow: 0 -5px 0 var(--ink);
    transform: translateY(105%); opacity: 1; display: flex; flex-direction: column;
    transition: transform .5s var(--ease);
  }
  .sheet.is-open { transform: translateY(var(--drag, 0px)); }
  .sheet.is-dragging { transition: none; }
  .sheet__grip { display: block; position: absolute; z-index: 7; top: 8px; left: 50%; width: 48px; height: 6px; margin-left: -24px; border-radius: 3px; background: var(--ink); opacity: .35; }
  .sheet .x { top: 14px; right: 12px; width: 42px; height: 42px; }
  .sheet__body { display: block; overflow-y: auto; max-height: none; flex: 1; overscroll-behavior: contain; }
  .sheet__body > * { max-height: none; }
  .gal { border-right: 0; border-bottom: var(--line) solid var(--ink); }
  .gal__slide { aspect-ratio: 1 / .9; }
  .pinfo { padding: 20px 16px 0; overflow: visible; }
  .pinfo__name { padding-right: 0; }
  .sheet .sizes { display: grid; grid-template-columns: repeat(4, 1fr); }
  .sheet .sizes button { min-width: 0; }
  .pinfo__buy { position: sticky; bottom: 0; z-index: 4; margin: 0 -16px; padding: 12px 16px calc(12px + var(--safe-b)); background: linear-gradient(to top, var(--paper) 78%, rgba(255, 253, 248, 0)); }
  .pinfo .acc:last-child { margin-bottom: 20px; }

  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 92svh; border-radius: 26px 26px 0 0; border-bottom: 0; box-shadow: 0 -5px 0 var(--ink); transform: translateY(105%); transition: transform .5s var(--ease); }
  .info { top: auto; bottom: 0; left: 0; width: 100%; border-radius: 26px 26px 0 0; border-bottom: 0; box-shadow: 0 -5px 0 var(--ink); transform: translateY(105%); max-height: 88svh; padding-bottom: calc(26px + var(--safe-b)); transition: transform .5s var(--ease); }
  .info.is-open { transform: none; }
  .bagbar { display: flex; }
  .toast { bottom: calc(86px + var(--safe-b)); }
}

@media (max-width: 370px) {
  .hdr__bag-txt { display: none; }
  .hdr__bag { padding: 0 6px; }
  .hero__ctas { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .lids { display: none; }
  .char { transform: none !important; opacity: 1 !important; }
  .fit__top, .fit__bot { transform: none !important; }
  .fit__track { height: auto; }
  .fit__pin { position: relative; }
}

.hdr__nav a.is-current { background: var(--ink); color: var(--paper); }
.ring.is-solo { cursor: default; }
.ring.is-solo .ring__arrow { display: none; }

/* ---------- Bundle: one size row per piece ---------- */
.part-sizes { display: grid; gap: 14px; }
.part-size p { margin: 0 0 8px; color: var(--mute); }
.part-sizes.shake { animation: shake .42s; }

/* ---------- Lights toggle ---------- */
.btn.lights { --bg: #ffd84a; --fg: var(--ink); box-shadow: 5px 5px 0 var(--paper); }
.btn.lights:hover { box-shadow: 7px 7px 0 var(--paper); }
.btn.lights:active { box-shadow: 1px 1px 0 var(--paper); }
.closer.is-lit .btn.lights { --bg: var(--ink); --fg: #ffd84a; border-color: #ffd84a; box-shadow: 5px 5px 0 #ffd84a; }
.closer { transition: background .6s; }
.closer.is-lit { background: #2a2622; }
.closer__skip { margin-top: 30px; }

/* ---------- Current page in the nav ---------- */
.menu__nav a.is-current { color: var(--sky); }

/* ==========================================================================
   Collection pages
   ========================================================================== */
.cat {
  padding: clamp(120px, 16vh, 170px) var(--g) clamp(70px, 9vw, 120px); text-align: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1.5' cy='1.5' r='1.3' fill='%230c0c0c' fill-opacity='.13'/%3E%3C/svg%3E") 0 0 / 22px 22px,
    var(--cream);
}
.cat .tag { margin-bottom: 18px; }
.cat__title {
  margin: 0; font-family: var(--f-bubble); font-weight: 400; line-height: 1.1; font-size: clamp(3.6rem, 12vw, 9.5rem);
  color: var(--paper); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--red);
  animation: logoIn .9s var(--boing) both;
}
.cat__sub { margin: clamp(26px, 3vw, 40px) auto 0; max-width: 46ch; font-size: 1.15rem; font-weight: 700; }
.cgrid {
  list-style: none; margin: clamp(40px, 6vw, 70px) auto 0; padding: 0; max-width: 1240px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 2.5vw, 32px);
  text-align: left;
}
.pcard { flex: 0 1 280px; opacity: 0; transform: translateY(30px) rotate(var(--r)); transition: opacity .5s var(--d), transform .8s var(--boing) var(--d); }
.cgrid.is-in .pcard { opacity: 1; transform: rotate(var(--r)); }
.pcard__btn {
  display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 26px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden;
  transition: transform .3s var(--boing), box-shadow .3s var(--ease);
}
.pcard__btn:hover { transform: translate(-3px, -4px) rotate(calc(var(--r) * -1)); box-shadow: 10px 10px 0 var(--ink); }
.pcard__btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.pcard__img { display: block; aspect-ratio: 1; background: var(--tone); border-bottom: var(--line) solid var(--ink); }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; filter: drop-shadow(6px 8px 0 rgba(12, 12, 12, .85)); transition: transform .5s var(--boing); }
.pcard__btn:hover .pcard__img img { transform: scale(1.06) rotate(-3deg); }
.pcard__info { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 18px 6px; align-items: baseline; }
.pcard__name { font-weight: 700; font-size: 1.08rem; line-height: 1.2; }
.pcard__price { font-family: var(--f-bubble); font-weight: 400; font-size: 1.5rem; grid-row: 1 / 3; grid-column: 2; align-self: center; }
.pcard__meta { color: var(--mute); }
.pcard__cta { margin: 10px 18px 18px; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--f-bubble); font-size: 1rem; }
.pcard__cta i { font-style: normal; display: inline-block; transition: transform .3s var(--boing); }
.pcard__btn:hover .pcard__cta { background: var(--red); }
.pcard__btn:hover .pcard__cta i { transform: translateX(4px); }
@media (max-width: 760px) {
  .cat { padding-top: 100px; }
  .cat__title { -webkit-text-stroke-width: 3px; text-shadow: 4px 4px 0 var(--red); }
  .cgrid { gap: 14px; }
  .pcard { flex-basis: calc(50% - 7px); }
  .pcard__info { grid-template-columns: 1fr; padding: 12px 12px 4px; }
  .pcard__price { grid-row: auto; grid-column: auto; font-size: 1.25rem; }
  .pcard__name { font-size: .95rem; }
  .pcard__cta { margin: 8px 12px 12px; font-size: .9rem; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) { .pcard { opacity: 1; transform: none; } }
.pcard--set .pcard__img img { padding: 3%; } /* multi-piece images are wide; let them fill the card */

/* ---------- Footer policy links ---------- */
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 28px; }
.ftr__legal a { color: rgba(255, 253, 248, .6); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.ftr__legal a:hover { color: var(--red); }

/* ---------- Bag totals ---------- */
.drawer__foot .row--sm { font-size: .95rem; font-weight: 500; color: var(--mute); margin-bottom: 4px; }

/* ---------- Policy pages ---------- */
.cat--policy .cat__title { font-size: clamp(2.6rem, 8vw, 6rem); }
.cat--policy .cat__sub { font-weight: 400; font-size: .8rem; }
.legal {
  max-width: 760px; margin: clamp(32px, 5vw, 56px) auto 0; padding: clamp(22px, 4vw, 44px);
  text-align: left; background: var(--paper); border: var(--line) solid var(--ink); border-radius: 26px; box-shadow: var(--pop-lg);
  font-size: 1.02rem; line-height: 1.65;
}
.legal h2 { margin: 1.8em 0 .5em; font-family: var(--f-bubble); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .35em; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
