/* ════════════════════════════════════════════════════════════════
   PIXEL PERFUMES — "The Scent Issue"
   A cut-and-paste zine storefront. Cream newsprint, near-black ink,
   one loud spot colour per fragrance (set as --spot/--deep/--light/--on
   on any element and everything inside re-inks itself).
   ════════════════════════════════════════════════════════════════ */

:root {
  --paper: #EFE8D8;
  --paper-2: #E4DAC5;
  --paper-3: #F8F3E8;
  --ink: #121110;
  --ink-2: #37332C;
  --muted: #5E5647;
  --orange: #F05A1E;
  --spot: var(--orange);
  --deep: #A8360B;
  --light: #FBD2C0;
  --on: #121110;

  --f-display: 'Archivo', 'Arial Black', 'Helvetica Neue', sans-serif;
  --f-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-marker: 'Sedgwick Ave Display', 'Marker Felt', 'Comic Sans MS', cursive;

  --gut: clamp(16px, 3.2vw, 44px);
  --max: 1440px;
  --hdr: 64px;
  --shadow: 4px 4px 0 var(--ink);
  --ease-pop: cubic-bezier(.2, 1.5, .35, 1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url('../assets/img/paper.png');
  background-blend-mode: multiply;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ─── type ─────────────────────────────────────────────────────── */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: 'wdth' 125;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .84;
  margin: 0;
}
.cond { font-stretch: 62%; font-variation-settings: 'wdth' 62; letter-spacing: -.01em; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; }
.marker { font-family: var(--f-marker); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.kicker::before { content: ''; width: 18px; height: 10px; background: var(--spot); }
.ast { display: inline-block; width: .8em; height: .8em; vertical-align: -.05em; }
.hl { background: var(--spot); color: var(--on); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
p { margin: 0 0 1em; }

/* ransom-note letters (built by js/app.js → ransom()) */
.ransom { display: inline-flex; flex-wrap: wrap; gap: .04em; align-items: center; }
.ransom span { display: inline-block; padding: .04em .08em; line-height: .9; }
.ransom .w { width: .3em; }

/* ─── buttons ──────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--ink); border-radius: 0;
  font-family: var(--f-display); font-weight: 850; font-stretch: 112%; font-variation-settings: 'wdth' 112;
  font-size: 15px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn--spot { --bg: var(--spot); --fg: var(--on); }
.btn--paper { --bg: var(--paper-3); --fg: var(--ink); }
.btn--orange { --bg: var(--orange); --fg: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { background: var(--spot); color: var(--on); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px;
  border: 2px solid var(--ink); border-radius: 999px; background: transparent;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .15s, color .15s, transform .15s var(--ease-pop);
}
.chip:hover { transform: rotate(-2deg); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--spot); border: 1.5px solid var(--ink); }

/* ─── ticker ───────────────────────────────────────────────────── */
.ticker { position: relative; display: flex; align-items: center; height: 34px; background: var(--ink); color: var(--paper); overflow: hidden; }
.ticker__track { display: flex; flex: none; white-space: nowrap; animation: marquee 38s linear infinite; }
.ticker__track span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 0 18px; }
.ticker__track span::after { content: '✱'; margin-left: 36px; color: var(--orange); }
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__pause { position: absolute; right: 0; top: 0; bottom: 0; width: 44px; background: var(--ink); border: 0; color: var(--paper); display: grid; place-items: center; box-shadow: -14px 0 14px var(--ink); }
.ticker__pause svg { width: 14px; height: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── header ───────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background-color: var(--paper); background-image: url('../assets/img/paper.png'); background-blend-mode: multiply;
  border-bottom: 2px solid var(--ink);
}
.hdr__in { height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.logo__mark { width: 32px; height: 32px; color: var(--orange); flex: none; transition: transform .3s var(--ease-pop); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.08); }
.logo__word { display: flex; flex-direction: column; line-height: .8; }
.logo__word b { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; font-size: 24px; letter-spacing: -.02em; }
.logo__word small { font-family: var(--f-mono); font-size: 9px; letter-spacing: .32em; margin-top: 3px; }
.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; padding: 8px 12px; text-decoration: none;
  font-family: var(--f-display); font-weight: 800; font-stretch: 100%; font-size: 14px; letter-spacing: .03em; text-transform: uppercase;
}
.nav a::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 8px; background: var(--orange); transform: scaleX(0) skewX(-12deg); transform-origin: left; transition: transform .25s var(--ease); z-index: -1; }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1) skewX(-12deg); }
.hdr__act { justify-self: end; display: flex; align-items: center; gap: 8px; }
.bagbtn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 12px;
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
  font-family: var(--f-display); font-weight: 850; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  padding-right: 22px;
}
.bagbtn__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: var(--ink); font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
.bagbtn.is-bump { animation: bump .45s var(--ease-pop); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-4deg); } }
.burger { display: none; width: 44px; height: 42px; border: 2px solid var(--ink); background: var(--paper-3); place-items: center; }
.burger svg { width: 22px; height: 22px; }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--orange); color: var(--ink);
  display: flex; flex-direction: column; padding: 18px var(--gut) 28px; overflow-y: auto;
  transform: translateY(-102%); transition: transform .45s var(--ease); visibility: hidden;
}
.menu.is-open { transform: none; visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.menu__close { width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--paper-3); display: grid; place-items: center; }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { counter-increment: m; border-top: 2px solid var(--ink); }
.menu li a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; text-decoration: none; }
.menu li a::before { content: 'p.' counter(m, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; }
.menu li a span { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(38px, 11vw, 64px); line-height: .9; letter-spacing: -.02em; }
.menu__foot { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ─── torn paper + textures ───────────────────────────────────── */
.torn { clip-path: var(--torn, none); }
.halftone { background-image: radial-gradient(circle at center, rgba(18, 17, 16, .22) 1.1px, transparent 1.6px); background-size: 7px 7px; }
.grain::after { content: ''; position: absolute; inset: 0; background: url('../assets/img/paper.png'); mix-blend-mode: multiply; pointer-events: none; opacity: .9; }
.tape { position: absolute; width: 110px; height: auto; z-index: 3; pointer-events: none; opacity: .92; }
.rule { height: 2px; background: var(--ink); border: 0; margin: 0; }
.crosshair { position: absolute; width: 26px; height: 26px; color: var(--ink); opacity: .7; pointer-events: none; }

/* ─── stickers (draggable collage pieces) ─────────────────────── */
.stage { position: relative; container-type: size; }
.stk {
  position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--w, 20%);
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r, 0deg)) scale(var(--s, 1));
  transform-origin: 50% 50%;
  filter: drop-shadow(0 5px 6px rgba(40, 30, 10, .22));
  transition: transform .55s var(--ease-pop), left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), opacity .4s;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; z-index: var(--z, 2);
}
.stk img { width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.stk.is-drag { cursor: grabbing; transition: none; filter: drop-shadow(0 16px 16px rgba(40, 30, 10, .3)); --s: 1.05; }
.stk.is-out { opacity: 0; --s: 1.35; }
a.stk, button.stk { display: block; padding: 0; border: 0; background: none; text-decoration: none; }
.blk { position: absolute; background: var(--spot); z-index: 1; transition: background .6s, left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), height .7s var(--ease); }
.blk--2 { background: var(--light); }
.blk.halftone { background-color: var(--spot); }
.pricetag { cursor: pointer; }
.pricetag__txt { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-size: clamp(12px, 1.3vw, 18px); line-height: 1; padding-top: 10%; pointer-events: none; }
.pricetag__txt small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .6em; letter-spacing: .08em; margin-bottom: 3px; }
.scribble { position: absolute; z-index: 6; font-family: var(--f-marker); color: var(--ink); pointer-events: none; transform: rotate(var(--r, -6deg)); white-space: nowrap; }

/* ─── COVER (home hero) ───────────────────────────────────────── */
.cover { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.cover__in { max-width: var(--max); margin: 0 auto; padding: 14px var(--gut) 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); column-gap: 28px; }
.cover__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.cover__meta .mono:nth-child(2) { text-align: center; }
.cover__mast {
  grid-column: 1 / -1; position: relative; z-index: 1;
  font-size: clamp(92px, 23.2vw, 340px); text-align: center; line-height: .78; letter-spacing: -.045em;
  margin: .06em 0 0; color: var(--ink); text-shadow: .035em .03em 0 var(--spot);
  transition: text-shadow .6s;
}
.cover__stage { grid-column: 2; position: relative; z-index: 3; height: clamp(440px, 64vh, 700px); margin-top: clamp(-150px, -10.5vw, -60px); }
.cover__lines { display: flex; flex-direction: column; gap: 18px; padding-top: 22px; position: relative; z-index: 4; }
.cover__lines--l { grid-column: 1; grid-row: 3; }
.cover__lines--r { grid-column: 3; grid-row: 3; text-align: right; align-items: flex-end; }
.cline { display: block; text-decoration: none; max-width: 300px; }
.cline .no { font-family: var(--f-marker); font-size: 34px; color: var(--deep); display: block; margin-bottom: 4px; transform: rotate(-4deg); transform-origin: left; }
.cline h2, .cline h3 { font-family: var(--f-display); font-weight: 900; font-stretch: 80%; font-variation-settings: 'wdth' 80; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; margin: 0 0 6px; font-size: clamp(22px, 2.2vw, 34px); }
.cline p { margin: 0; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.cline--big h2 { font-size: clamp(30px, 3.3vw, 52px); font-stretch: 70%; }
.cline a, a.cline:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
a.cline:hover h3 { text-decoration-color: var(--spot); }
.cline .hl { padding: 0 .15em; }
.cover__foot { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding-top: 16px; margin-top: 12px; border-top: 2px solid var(--ink); position: relative; z-index: 4; }
.cover__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.barcode { display: flex; align-items: flex-end; gap: 12px; text-decoration: none; }
.barcode svg { height: 54px; width: auto; }
.barcode .mono { font-size: 10px; }
.remix { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 6px 0; font-family: var(--f-marker); font-size: 24px; }
.remix svg { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.remix:hover svg { transform: rotate(-200deg); }
.drag-hint { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ─── section heads ───────────────────────────────────────────── */
.sec { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.sec--tight { padding: clamp(40px, 5vw, 70px) 0; }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--spot { background: var(--spot); color: var(--on); }
.shead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; margin-bottom: clamp(26px, 4vw, 50px); }
.shead h2 { font-size: clamp(46px, 8.2vw, 128px); }
.shead p { max-width: 380px; margin: 0; font-size: 17px; }
.shead .mono { display: block; margin-bottom: 14px; }

/* ─── NEWSSTAND (contents) ───────────────────────────────────── */
.stand-sec { overflow: hidden; }
.stand__ctl { display: grid; gap: 16px; justify-items: end; text-align: right; }
.stand__ctl p { max-width: 340px; margin: 0; font-size: 17px; }
.stand__btns { display: flex; align-items: center; gap: 14px; }
.stand__btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper-3); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s var(--ease-pop), background .2s; }
.stand__btn:hover { background: var(--orange); transform: rotate(-8deg) scale(1.06); }
.stand__btn:active { transform: translate(2px, 2px); box-shadow: none; }
.stand__btn svg { width: 22px; height: 22px; }
.stand__btn[data-stand="-1"] svg { transform: scaleX(-1); }
.stand {
  display: flex; gap: 30px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 26px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 34px; scroll-padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  cursor: grab;
}
.stand::-webkit-scrollbar { display: none; }
.stand.is-drag { cursor: grabbing; scroll-snap-type: none; }
.stand.is-drag .mag { pointer-events: none; }
.stand__shelf { height: 16px; margin: -22px 0 0; background: var(--ink); box-shadow: 0 10px 0 -4px rgba(18,17,16,.25); position: relative; z-index: 2; }
.mag {
  position: relative; flex: none; width: clamp(250px, 23vw, 330px); aspect-ratio: 3 / 4.1; scroll-snap-align: start;
  container-type: inline-size; overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--spot); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(var(--r)); transform-origin: 50% 100%; transition: transform .45s var(--ease-pop), box-shadow .3s;
}
.mag:hover, .mag:focus-visible { transform: rotate(0) translateY(-12px); box-shadow: 12px 16px 0 var(--ink); }
.mag__bg { position: absolute; inset: 0; opacity: .8; }
.mag__mast {
  position: absolute; left: 4cqw; right: 4cqw; top: 3cqw; text-align: center; z-index: 1;
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-variation-settings: 'wdth' 125; font-size: 27cqw; line-height: .8; letter-spacing: -.05em;
  color: var(--on); text-shadow: .04em .035em 0 var(--deep);
}
.mag__meta { position: absolute; left: 5cqw; right: 5cqw; top: 26cqw; display: flex; justify-content: space-between; font-size: 3.3cqw; padding-top: 1.6cqw; border-top: 1.5px solid currentColor; color: var(--on); z-index: 1; }
.mag__chr { position: absolute; width: 58cqw; left: -8cqw; top: 40cqw; transform: rotate(-8deg); z-index: 2; filter: drop-shadow(0 4px 5px rgba(0,0,0,.25)); transition: transform .5s var(--ease-pop); }
.mag__chr--2 { left: auto; right: -10cqw; top: 52cqw; width: 52cqw; transform: rotate(8deg); z-index: 2; }
.mag:hover .mag__chr--2 { transform: rotate(2deg) translateX(3cqw); }
.mag__obj { position: absolute; width: 30cqw; right: 0; top: 60cqw; transform: rotate(12deg); z-index: 4; filter: drop-shadow(0 4px 5px rgba(0,0,0,.25)); transition: transform .5s var(--ease-pop); }
.mag__btl { position: absolute; height: 78cqw; width: auto; left: calc(58% - 39cqw * var(--ar)); top: 34cqw; z-index: 3; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); transition: transform .5s var(--ease-pop); }
.mag:hover .mag__btl { transform: translateY(-3cqw) rotate(-3deg) scale(1.04); }
.mag:hover .mag__chr { transform: rotate(-2deg) translateX(-3cqw); }
.mag:hover .mag__obj { transform: rotate(-6deg) scale(1.12); }
.mag__lines { position: absolute; left: 5cqw; right: 27cqw; bottom: 4cqw; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5cqw; }
.mag__lines b {
  font-family: var(--f-display); font-weight: 900; font-stretch: 100%; font-variation-settings: 'wdth' 100; text-transform: uppercase; font-size: 10.5cqw; line-height: .88; letter-spacing: -.02em;
  background: var(--paper-3); color: var(--ink); padding: 1.2cqw 2.4cqw .6cqw; border: 1.5px solid var(--ink); transform: rotate(-2deg); box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.mag__lines i { font-style: normal; font-family: var(--f-marker); font-size: 6.2cqw; color: var(--on); background: var(--ink); color: var(--paper); padding: .6cqw 2cqw; transform: rotate(1.5deg); }
.mag__price { position: absolute; right: 4cqw; top: 36cqw; z-index: 6; width: 19cqw; aspect-ratio: 1; border-radius: 50%; background: var(--paper-3); border: 1.5px solid var(--ink); display: grid; place-items: center; align-content: center; text-align: center; font-family: var(--f-mono); font-size: 3.2cqw; line-height: 1; transform: rotate(10deg); }
.mag__price b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 6.4cqw; }
.mag__price.is-soon { background: var(--ink); color: var(--paper); }
.mag__bar { position: absolute; right: 5cqw; bottom: 5cqw; z-index: 5; background: #fff; padding: 1.2cqw 1.6cqw; border: 1px solid var(--ink); }
.mag__bar svg { height: 7cqw; width: auto; display: block; }

/* ─── FAMILIES ────────────────────────────────────────────────── */
.fams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.fam { position: relative; container-type: inline-size; display: block; text-decoration: none; background: var(--paper-3); border: 2px solid var(--ink); padding: 0 0 22px; overflow: hidden; transition: transform .4s var(--ease-pop); }
.fam:nth-child(2) { transform: rotate(.8deg); }
.fam:nth-child(3) { transform: rotate(-.6deg); }
.fam:hover { transform: rotate(0) translateY(-6px); }
.fam--noir { background: var(--ink); color: var(--paper); }
.fam__strip { width: 100%; height: clamp(104px, 22cqw, 160px); object-fit: cover; }
.fam__body { padding: 16px 22px 0; display: block; }
.fam h3 { font-size: clamp(19px, 5.9cqw, 42px); font-stretch: 100%; font-variation-settings: 'wdth' 100; overflow-wrap: anywhere; }
.fam p { margin: 8px 0 0; font-size: clamp(14px, 2.4cqw, 17px); }
/* the bottles hang off the strip on the right; the text keeps its own lane so a title
   can never end up underneath them */
.fam__body > div:first-child { padding-right: 40cqw; }
.fam__btls { position: absolute; right: 3cqw; top: 9cqw; height: 24cqw; display: flex; align-items: flex-end; gap: 2px; z-index: 3; }
.fam__btls img { height: 24cqw; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); transition: transform .45s var(--ease-pop); }
.fam__btls img:nth-child(1) { transform: rotate(-7deg); }
.fam__btls img:nth-child(2) { transform: rotate(3deg) translateY(-8px); height: 26.5cqw; }
.fam__btls img:nth-child(3) { transform: rotate(9deg); }
.fam:hover .fam__btls img { transform: rotate(0) translateY(-10px); }
.fam__go { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 14px 22px 0; display: inline-block; border-bottom: 2px solid currentColor; }

/* ─── PRODUCT CARDS ───────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 46px 28px; }
.card { position: relative; display: flex; flex-direction: column; }
@media (min-width: 1100px) { .grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 46px 22px; } .grid--5 .card__name { font-size: 26px; } }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; text-decoration: none; }
.card__blk { position: absolute; inset: 6% 4% 0; background: var(--spot); }
.card__btl { position: absolute; left: 50%; bottom: 6%; height: 84%; width: auto; max-width: 88%; object-fit: contain; transform: translateX(-50%) rotate(var(--r, -3deg)); transition: transform .45s var(--ease-pop); filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); z-index: 2; }
.card__obj { position: absolute; width: 36%; right: -2%; top: 2%; transform: rotate(14deg) scale(.6); opacity: 0; transition: transform .45s var(--ease-pop), opacity .25s; z-index: 3; filter: drop-shadow(0 6px 8px rgba(0,0,0,.2)); }
.card:hover .card__btl { transform: translateX(-50%) rotate(0deg) translateY(-10px) scale(1.03); }
.card:hover .card__obj { opacity: 1; transform: rotate(8deg) scale(1); }
.card .tape { top: 0; left: 50%; width: 96px; transform: translateX(-50%) rotate(var(--tr, -4deg)); }
.card__stamp { position: absolute; left: 6%; top: 10%; z-index: 4; padding: 4px 10px 3px; border: 2px solid var(--ink); background: var(--paper-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-6deg); }
.card__stamp--soon { background: var(--ink); color: var(--paper); }
.card__body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__meta { display: flex; justify-content: space-between; gap: 8px; }
.card__name { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-variation-settings: 'wdth' 112; text-transform: uppercase; font-size: 30px; line-height: .88; letter-spacing: -.02em; margin: 0; }
.card__name a { text-decoration: none; }
.card__name a:hover { background: var(--spot); color: var(--on); }
.card__smells { font-size: 15px; line-height: 1.35; color: var(--ink-2); margin: 0; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--f-display); font-weight: 850; font-size: 19px; }
.price small { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .06em; margin-left: 6px; color: var(--muted); }
.addbtn { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--spot); color: var(--on); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.addbtn:hover { transform: translate(-2px, -2px) rotate(-6deg); box-shadow: 5px 5px 0 var(--ink); }
.addbtn:active { transform: translate(2px, 2px); box-shadow: none; }
.addbtn svg { width: 20px; height: 20px; }
.notifybtn { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border: 2px dashed var(--ink); background: transparent; padding: 10px 12px; min-height: 44px; }
.notifybtn:hover { background: var(--ink); color: var(--paper); border-style: solid; }

/* ─── ERA / quiz teaser ───────────────────────────────────────── */
.era { position: relative; overflow: hidden; }
.era__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-bottom: 36px; }
.era h2 { font-size: clamp(44px, 8vw, 124px); color: var(--paper); }
.era h2 .marker { color: var(--orange); font-size: .55em; display: block; transform: rotate(-3deg); margin-bottom: .1em; }
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px 16px; text-decoration: none; background: var(--paper-2); color: var(--ink); border: 2px solid var(--paper); transition: transform .35s var(--ease-pop), background .2s; }
.face:nth-child(odd) { transform: rotate(-1.5deg); }
.face:nth-child(even) { transform: rotate(1.2deg); }
.face:hover { transform: rotate(0) translateY(-8px); background: var(--orange); }
.face img { width: 88%; height: auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.face b { font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-variation-settings: 'wdth' 90; text-transform: uppercase; font-size: 20px; line-height: 1; }
.face .mono { color: var(--ink-2); }

/* ─── strips / masthead band ──────────────────────────────────── */
.stripband { position: relative; margin: 0; }
.stripband img { width: 100%; height: clamp(120px, 18vw, 250px); object-fit: cover; }
.stripband__txt { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 var(--gut); }
.stripband__txt span { background: var(--paper-3); border: 2px solid var(--ink); padding: 8px 16px 6px; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(18px, 2.6vw, 34px); transform: rotate(-2deg); box-shadow: var(--shadow); }

.about-teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-teaser h2 { font-size: clamp(40px, 6.2vw, 96px); margin-bottom: 22px; }
.about-teaser p { font-size: 18px; max-width: 560px; }
.about-teaser__img { position: relative; }
.about-teaser__img img { width: 100%; border: 2px solid var(--ink); transform: rotate(2deg); box-shadow: 8px 8px 0 var(--ink); }
.about-teaser__img .tape { top: -18px; left: 20px; transform: rotate(-12deg); width: 130px; }

/* ─── polaroid wall ───────────────────────────────────────────── */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; align-items: start; }
.pola { position: relative; background: #fbfaf6; padding: 12px 12px 54px; box-shadow: 0 10px 22px rgba(40, 30, 10, .18); border: 1px solid rgba(0,0,0,.08); transition: transform .4s var(--ease-pop); }
.pola:nth-child(1) { transform: rotate(-4deg); }
.pola:nth-child(2) { transform: rotate(3deg) translateY(24px); }
.pola:nth-child(3) { transform: rotate(-2deg) translateY(-6px); }
.pola:nth-child(4) { transform: rotate(5deg) translateY(18px); }
.pola:hover { transform: rotate(0) scale(1.03); }
.pola__img { aspect-ratio: 1; background: var(--spot); display: grid; place-items: center; overflow: hidden; position: relative; }
.pola__img img { width: 70%; }
.pola__img.is-empty { background: #8d8a84; }
.pola__img.is-empty::after { content: '+'; font-family: var(--f-marker); color: var(--paper); font-size: 64px; }
.pola figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; font-family: var(--f-marker); font-size: 20px; line-height: 1.05; }
.pola .tape { top: -14px; left: 50%; transform: translateX(-50%) rotate(3deg); width: 90px; }

/* ─── signup ──────────────────────────────────────────────────── */
.signup { position: relative; background: var(--orange); border: 2px solid var(--ink); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; box-shadow: 10px 10px 0 var(--ink); }
.signup h2 { font-size: clamp(38px, 5.6vw, 84px); }
.signup form { display: flex; gap: 0; border: 2px solid var(--ink); background: var(--paper-3); }
.signup input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 16px; font-size: 17px; }
.signup input:focus { outline: none; }
.signup form:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.signup button { border: 0; border-left: 2px solid var(--ink); background: var(--ink); color: var(--paper); padding: 0 20px; font-family: var(--f-display); font-weight: 850; text-transform: uppercase; }
.signup .mono { margin-top: 12px; display: block; }
.signup__stk { position: absolute; right: -20px; top: -46px; width: 120px; transform: rotate(12deg); }

/* ─── footer ──────────────────────────────────────────────────── */
.ftr { background: var(--ink); color: var(--paper); padding: 56px 0 26px; margin-top: clamp(60px, 8vw, 110px); position: relative; }
.ftr::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 20px; background: var(--ink); clip-path: var(--torn-top); }
.ftr__big { font-size: clamp(90px, 24vw, 380px); line-height: .76; letter-spacing: -.05em; color: var(--paper); text-align: center; margin: 0 0 30px; text-shadow: .035em .03em 0 var(--orange); }
.ftr__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; border-top: 2px solid var(--paper); padding-top: 26px; }
.ftr h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; color: var(--orange); font-weight: 500; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.ftr__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(239, 232, 216, .25); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #b9b1a1; }
.masthead-credits { font-size: 15px; line-height: 1.6; color: #d8d0bf; max-width: 360px; }

/* ─── cart drawer ─────────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; background: rgba(18, 17, 16, .5); z-index: 95; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.is-on { opacity: 1; visibility: visible; }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); z-index: 100;
  background-color: var(--paper-3); background-image: url('../assets/img/paper.png'); background-blend-mode: multiply;
  border-left: 2px solid var(--ink); display: flex; flex-direction: column;
  transform: translateX(104%); transition: transform .45s var(--ease); visibility: hidden;
}
.bag.is-open { transform: none; visibility: visible; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 2px solid var(--ink); }
.bag__head h2 { font-size: 34px; }
.bag__close { width: 44px; height: 44px; border: 2px solid var(--ink); background: transparent; display: grid; place-items: center; }
.bag__close svg, .menu__close svg { width: 20px; height: 20px; }
.bag__items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.bag__empty { text-align: center; padding: 50px 10px; }
.bag__empty img { width: 150px; margin: 0 auto 16px; transform: rotate(-8deg); }
.bag__empty p { font-family: var(--f-marker); font-size: 30px; line-height: 1.1; margin-bottom: 20px; }
.line { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1.5px dashed var(--ink); align-items: center; }
.line__img { width: 78px; height: 92px; background: var(--spot); display: grid; place-items: center; position: relative; overflow: hidden; }
.line__img img { height: 80px; width: auto; max-width: 100%; object-fit: contain; transform: rotate(-4deg); }
.line__name { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: 18px; line-height: 1; margin: 0 0 4px; }
.line__name a { text-decoration: none; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); margin-top: 8px; background: var(--paper-3); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 18px; display: grid; place-items: center; }
.qty button:hover { background: var(--ink); color: var(--paper); }
.qty output, .qty input { width: 38px; display: grid; place-items: center; text-align: center; font-family: var(--f-mono); font-size: 14px; border: 0; background: transparent; }
.line__side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line__rm { border: 0; background: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; padding: 4px 0; }
.bag__foot { padding: 16px 20px 20px; border-top: 2px solid var(--ink); display: grid; gap: 12px; background: var(--paper); }
.bag__row { display: flex; justify-content: space-between; align-items: baseline; }
.bag__row .price { font-size: 26px; }
.bag__note { font-size: 13px; color: var(--muted); margin: 0; }

/* fly-to-bag */
.flyer { position: fixed; z-index: 120; pointer-events: none; transition: transform .75s cubic-bezier(.5, -0.3, .6, 1), opacity .75s; }

/* ─── toast + modal ───────────────────────────────────────────── */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 130; transform: translate(-50%, 140%) rotate(-2deg); background: var(--ink); color: var(--paper); padding: 12px 18px; border: 2px solid var(--paper); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; transition: transform .4s var(--ease-pop), visibility .4s; max-width: calc(100vw - 32px); visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0) rotate(-2deg); visibility: visible; }
.modal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-on { visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(18, 17, 16, .55); }
.modal__card { position: relative; width: min(520px, 100%); background: var(--paper-3); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 34px 28px 28px; transform: translateY(30px) rotate(-2deg); opacity: 0; transition: transform .4s var(--ease-pop), opacity .25s; }
.modal.is-on .modal__card { transform: none; opacity: 1; }
.modal__card h2 { font-size: 40px; margin-bottom: 10px; }
.modal__card .tape { top: -16px; left: 50%; transform: translateX(-50%) rotate(-3deg); width: 120px; }
.modal__x { position: absolute; right: 12px; top: 12px; }
.code { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border: 2px dashed var(--ink); background: var(--paper); }
.code span { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; font-size: clamp(26px, 6vw, 38px); letter-spacing: .06em; }
.bag__row--off { color: var(--deep); }
.bag__row--off span { font-weight: 700; }

/* ─── forms ───────────────────────────────────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--ink); background: var(--paper-3); border-radius: 0; font-size: 17px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--spot); outline-offset: 0; }
.field .err { color: #A3200B; font-size: 13px; font-weight: 700; display: none; }
.field.is-bad input, .field.is-bad select { border-color: #A3200B; }
.field.is-bad .err { display: block; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--ink); background: var(--paper-3); cursor: pointer; }
.radio-card:has(input:checked) { background: var(--spot); color: var(--on); box-shadow: var(--shadow); }
.radio-card input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.radio-card b { display: block; font-family: var(--f-display); text-transform: uppercase; font-weight: 850; }
.radio-card span { font-size: 14px; }

/* ─── SHOP ────────────────────────────────────────────────────── */
.pagehead { padding: clamp(34px, 5vw, 64px) 0 26px; border-bottom: 2px solid var(--ink); position: relative; overflow: hidden; }
.pagehead h1 { font-size: clamp(50px, 12.5vw, 210px); line-height: .8; overflow-wrap: anywhere; }
.pagehead p { max-width: 520px; font-size: 18px; margin: 18px 0 0; }
.pagehead__stk { position: absolute; width: clamp(110px, 15vw, 220px); z-index: 2; }
.filters { position: sticky; top: var(--hdr); z-index: 20; background-color: var(--paper); background-image: url('../assets/img/paper.png'); background-blend-mode: multiply; border-bottom: 2px solid var(--ink); }
.filters__in { display: flex; gap: 10px; align-items: center; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.filters__in::-webkit-scrollbar { display: none; }
.filters__lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex: none; margin-left: 8px; }
.filters__lbl:first-child { margin-left: 0; }
.filters .chip { flex: none; }
.filters select { flex: none; min-height: 38px; border: 2px solid var(--ink); background: var(--paper-3); padding: 4px 10px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; border-radius: 0; margin-left: auto; }
.results-bar { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; gap: 12px; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 60px 0; }
.empty-state p { font-family: var(--f-marker); font-size: 32px; }

/* ─── PRODUCT PAGE ────────────────────────────────────────────── */
.pdp-top { position: relative; background: var(--spot); color: var(--on); padding: 20px 0 70px; transition: background .5s; }
.pdp-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--paper); clip-path: var(--torn-top); background-image: url('../assets/img/paper.png'); background-blend-mode: multiply; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.crumbs a { text-decoration: none; border-bottom: 1.5px solid currentColor; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pdp__stage { height: clamp(460px, 74vh, 760px); }
.pdp__views { display: flex; gap: 10px; margin-top: 10px; position: relative; z-index: 5; }
.pdp__views button { width: 64px; height: 64px; border: 2px solid var(--on); background: var(--light); padding: 4px; opacity: .75; transition: transform .2s var(--ease-pop), opacity .2s; }
.pdp__views button img { width: 52px; height: 52px; object-fit: contain; }
.pdp__views button[aria-pressed='true'] { opacity: 1; box-shadow: 3px 3px 0 var(--on); transform: rotate(-4deg); }
.pdp__view { position: absolute; inset: 0; display: none; }
.pdp__view.is-on { display: block; }
.pdp__view--photo, .pdp__view--cat { display: none; place-items: center; }
.pdp__view--photo.is-on, .pdp__view--cat.is-on { display: grid; }
.pdp__view--photo img { height: 90cqh; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(0,0,0,.28)); }
.pdp__view--cat img { height: 96cqh; width: auto; max-width: 100%; object-fit: contain; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1.5deg); }
.info { position: relative; background: var(--paper-3); color: var(--ink); border: 2px solid var(--ink); padding: clamp(24px, 3vw, 38px); box-shadow: 10px 10px 0 var(--ink); margin-top: 12px; }
.info .tape { top: -18px; right: 30px; width: 120px; transform: rotate(8deg); }
.info__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.info h1 { font-size: clamp(44px, 5.1vw, 84px); margin: 14px 0 6px; overflow-wrap: anywhere; }
.info__tag { font-family: var(--f-marker); font-size: clamp(26px, 2.6vw, 36px); color: var(--deep); margin: 0 0 16px; display: inline-block; transform: rotate(-2deg); }
.info__smells { font-size: 19px; line-height: 1.4; margin-bottom: 18px; }
.info__smells b { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.info__buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: stretch; margin: 20px 0 10px; }
.info__buy .qty { margin: 0; }
.info__buy .qty button, .info__buy .qty output { height: 48px; }
.info__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.info__price .price { font-size: 36px; }
.info__small { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.info__small span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.info__small svg { width: 16px; height: 16px; }
.acc { border-top: 2px solid var(--ink); margin-top: 24px; }
.acc details { border-bottom: 2px solid var(--ink); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--f-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: 18px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--f-mono); font-size: 22px; transition: transform .25s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 18px; font-size: 16px; }
.pyramid { display: grid; gap: 12px; }
.tier { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: start; }
.tier .mono { padding-top: 7px; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tier li { padding: 5px 11px 4px; border: 2px solid var(--ink); background: var(--light); font-weight: 700; font-size: 14px; transform: rotate(var(--r, 0deg)); }
.tier:nth-child(2) li { background: var(--spot); color: var(--on); }
.tier:nth-child(3) li { background: var(--ink); color: var(--paper); }

.spread { position: relative; }
.spread figure { margin: 0; position: relative; }
.spread img { width: 100%; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.spread figcaption { margin-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.spread .tape--l { top: -16px; left: 6%; transform: rotate(-8deg); width: 130px; }
.spread .tape--r { top: -16px; right: 6%; transform: rotate(6deg); width: 130px; }

/* ─── QUIZ ────────────────────────────────────────────────────── */
.quiz { min-height: calc(100svh - 100px); display: flex; flex-direction: column; padding-top: 26px; padding-bottom: 60px; }
.quiz__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.quiz__prog { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 420px; }
.quiz__prog i { height: 10px; border: 2px solid var(--ink); background: transparent; transition: background .3s; }
.quiz__prog i.is-on { background: var(--orange); }
.quiz__back { border: 0; background: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; padding: 8px 0; }
.q { display: none; }
.q.is-on { display: block; animation: qin .5s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(18px) rotate(-.6deg); } }
.q h1 { font-size: clamp(46px, 8vw, 120px); margin-bottom: 8px; }
.q h1 .marker { font-size: .45em; display: block; color: var(--deep); transform: rotate(-3deg); margin-bottom: .15em; }
.q > p { font-size: 18px; margin-bottom: 30px; }
.opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 14px 18px; border: 2px solid var(--ink); background: var(--paper-3); text-align: center; transition: transform .3s var(--ease-pop), background .2s, box-shadow .2s; }
.opt:nth-child(odd) { transform: rotate(-1.2deg); }
.opt:nth-child(even) { transform: rotate(1deg); }
.opt:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow); background: var(--light); }
.opt.is-picked { background: var(--orange); box-shadow: var(--shadow); transform: rotate(-2deg) scale(1.03); }
.opt__img { height: 170px; display: grid; place-items: center; overflow: visible; }
.opt__img img { height: 170px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.2)); }
.opt__img--strip img { height: 90px; width: 100%; object-fit: cover; }
/* the face/object cut-outs are sized in px, not %, so they can never spill onto the label */
.opt b { font-family: var(--f-display); font-weight: 900; font-stretch: 100%; text-transform: uppercase; font-size: 20px; line-height: 1; }
.opt span { font-size: 14px; color: var(--ink-2); line-height: 1.3; }

.result { display: none; }
.result.is-on { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: center; animation: qin .6s var(--ease); }
.result__cover { position: relative; aspect-ratio: 9 / 16; height: min(78vh, 700px); width: auto; max-width: 100%; margin: 0 auto; background: var(--paper-3); border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); overflow: hidden; }
.result__cover canvas { width: 100%; height: 100%; display: block; }
.result h2 { font-size: clamp(48px, 7vw, 110px); }
.result .marker { font-size: clamp(26px, 3vw, 40px); color: var(--deep); display: block; transform: rotate(-3deg); margin-bottom: 10px; }
.result__acts { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.result__wild { display: flex; align-items: center; gap: 16px; padding: 16px; border: 2px dashed var(--ink); text-decoration: none; margin-top: 10px; }
.result__wild img { height: 90px; width: auto; }

/* ─── CHECKOUT ────────────────────────────────────────────────── */
.co form { container-type: inline-size; }
.co { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(26px, 5vw, 70px); align-items: start; padding: 36px 0 20px; }
.co h1 { font-size: min(14cqw, 92px); margin-bottom: 20px; }   /* sized to its own column so CHECKOUT never breaks */
.co fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.co legend { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: 24px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.co legend i { font-style: normal; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: 13px; }
.receipt {
  position: sticky; top: calc(var(--hdr) + 20px); background: #fdfcf8; padding: 26px 24px 40px; font-family: var(--f-mono); font-size: 14px;
  box-shadow: 0 16px 30px rgba(40, 30, 10, .16); transform: rotate(.8deg);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
}
.receipt h2 { font-family: var(--f-display); font-size: 30px; text-align: center; margin-bottom: 4px; }
.receipt__sub { text-align: center; font-size: 11px; letter-spacing: .1em; margin-bottom: 18px; }
.receipt hr { border: 0; border-top: 1.5px dashed var(--ink); margin: 14px 0; }
.receipt__line { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 5px 0; }
.receipt__line small { display: block; color: var(--muted); font-size: 12px; }
.receipt__tot { font-size: 18px; font-weight: 500; }
.receipt__bar { margin: 18px auto 6px; height: 44px; width: 70%; }
.receipt__bar svg { width: 100%; height: 44px; display: block; }
.done { text-align: center; padding: 50px 0; display: none; }
.done.is-on { display: block; }
.done h1 { font-size: clamp(44px, 12vw, 130px); overflow-wrap: anywhere; }
.done img { width: 180px; margin: 0 auto 20px; transform: rotate(-6deg); }

/* ─── ABOUT / MASTHEAD ────────────────────────────────────────── */
.letter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.letter__img { position: relative; }
.letter__img img { width: 100%; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(-1.5deg); }
.letter__txt { font-size: 19px; line-height: 1.55; }
.letter__txt p:first-of-type::first-letter { float: left; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: 5.2em; line-height: .78; padding: .05em .08em 0 0; color: var(--orange); }
.letter__sig { font-family: var(--f-marker); font-size: 34px; transform: rotate(-3deg); display: inline-block; margin-top: 8px; }
.credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.credits div { padding: 18px 16px 18px 0; border-bottom: 2px solid var(--ink); }
.credits dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.credits dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 900; font-stretch: 100%; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.faq { max-width: 900px; }
.prose { max-width: 760px; font-size: 17px; }
.prose h2 { font-family: var(--f-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: 26px; margin: 34px 0 10px; }
.draft-flag { display: inline-block; background: var(--ink); color: var(--paper); padding: 6px 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }

/* ─── reveal on scroll ────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(26px) rotate(var(--rr, -1deg)); transition: opacity .6s var(--ease), transform .7s var(--ease-pop); }
.rv.is-in { opacity: 1; transform: none; }

/* ─── responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ftr__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --hdr: 58px; }
  .nav { display: none; }
  .burger { display: grid; }
  .hdr__in { grid-template-columns: auto 1fr; }
  .bagbtn__lbl { display: none; }
  .cover__in { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .cover__meta .mono:nth-child(2) { display: none; }
  .cover__stage { grid-column: 1 / -1; grid-row: 3; height: min(122vw, 620px); margin-top: -9vw; }
  .cover__lines--l { grid-column: 1; grid-row: 4; }
  .cover__lines--r { grid-column: 2; grid-row: 4; }
  .cover__foot { flex-direction: column; align-items: stretch; }
  .cover__cta .btn { flex: 1; }
  .barcode { display: none; }
  .fams { grid-template-columns: 1fr; }
  .faces, .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-teaser, .signup, .letter, .pdp, .result.is-on, .co { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .shead { grid-template-columns: 1fr; }
  .stand__ctl { justify-items: start; text-align: left; }
  .mag { width: min(74vw, 320px); }
  .era__head { grid-template-columns: 1fr; }
  .credits { grid-template-columns: 1fr 1fr; }
  .pdp__stage { height: min(112vw, 560px); }
  .receipt { position: relative; top: 0; transform: none; }
  .pagehead__stk:nth-of-type(2) { display: none; }
  .pagehead__stk { opacity: .95; }
  .co { padding-top: 22px; gap: 28px; }
  .co fieldset { margin-bottom: 24px; }
  .co legend { font-size: 21px; }
  .result__cover { max-width: 420px; }
}
@media (max-width: 560px) {
  .cover__in { grid-template-columns: 1fr; }
  .cover__lines--l, .cover__lines--r { grid-column: 1; grid-row: auto; text-align: left; align-items: flex-start; }
  .cover__lines--r { padding-top: 0; }
  /* a phone cover keeps only the headline story + the scent line */
  .cline--extra { display: none; }
  .cover__lines { gap: 12px; padding-top: 14px; }
  .cline .no { font-size: 28px; }
  .fam__body > div:first-child { padding-right: 40cqw; }
  .fields-2 { grid-template-columns: 1fr; }
  .card__name { font-size: 26px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
  .card__smells { display: none; }
  .card__foot { flex-wrap: wrap; }
  .price { font-size: 16px; }
  .notifybtn { width: 100%; }
  .ftr__cols { grid-template-columns: 1fr; }
  .opt__img { height: 120px; }
  .opt__img img { height: 120px; }
  .opt b { font-size: 17px; }
  .signup__stk { width: 84px; right: -8px; top: -38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  .rv { opacity: 1; transform: none; }
}
