/* ==========================================================================
   Ambifest — redesign mockup design system
   One file, one set of tokens. Every page and component pulls from here so
   the site reads as one designed thing, not a set of sections.

   Colour is locked to the brand palette: pink, deep pink, yellow, ink, paper
   (+ white and one warm grey for surfaces). No other hues.
   ========================================================================== */

:root {
  /* brand */
  --pink: #FF1F8E;
  --pink-deep: #C9156E;
  --yellow: #FAFAAA;
  --ink: #1A1A1A;
  --paper: #FAF9F6;
  --white: #FFFFFF;
  --gray: #F0EEE8;

  /* text + lines (tints of ink / paper only) */
  --muted: #56534F;
  --muted-light: rgba(250, 249, 246, .72);
  --line: rgba(26, 26, 26, .14);
  --line-light: rgba(250, 249, 246, .16);

  /* type */
  --display: "Lexend", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --fs-display: clamp(2.6rem, 4.6vw, 4.6rem);
  --fs-h2: clamp(2.2rem, 4.4vw, 3.6rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.3vw, 1.2rem);

  /* shape — one radius scale, used everywhere */
  --r-pill: 999px;
  --r-card: 22px;
  --r-img: 14px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-pink: 6px 6px 0 var(--pink);

  /* layout */
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --head: 76px;

  /* motion (emil-design-eng / animate skill curves) */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); -webkit-text-size-adjust: 100%; }
body {
  min-width: 320px; overflow-x: hidden;
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-optical-sizing: auto;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--pink); border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: .75rem 1rem; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 800; text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease-out); }
.skip:focus { transform: none; }

.shell { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(4rem, 7vw, 6.5rem); }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-yellow { background: var(--yellow); }
.on-white { background: var(--white); }

/* ---------- type pieces ---------- */
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--body); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--pink); transform: rotate(45deg); flex: none; }
.h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.h2 .pink, .display .pink { color: var(--pink); }
.on-ink .h2 .pink { color: var(--pink); }
.lead { margin-top: 1.1rem; font-size: var(--fs-lead); line-height: 1.65; color: var(--muted); }
.on-ink .lead { color: var(--muted-light); }
.lead.ink { color: var(--ink); }
.lead.narrow { max-width: 30rem; }
.text-link { color: var(--pink-deep); font-weight: 700; }
.hand { font-family: var(--hand); font-weight: 600; letter-spacing: 0; }
/* the brand's pink marker highlight, drawn in with clip-path when revealed */
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::before { content: ""; position: absolute; z-index: -1; inset: 52% -.12em -.02em; background: var(--pink); clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-out) .35s; }
.is-in .hl::before, .hl.is-in::before { clip-path: inset(0 0 0 0); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head > div { max-width: 40rem; }
.section-head > .lead { margin-top: 0; }

/* ---------- buttons (one system) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 50px; padding: .85rem 1.4rem;
  border: 2px solid var(--ink); border-radius: var(--r-pill);
  background: transparent; color: var(--ink);
  font-family: var(--body); font-size: .8125rem; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease-out), box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: 5px 5px 0 var(--pink); }
.btn-pink { border-color: var(--pink); background: var(--pink); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.btn-light { border-color: var(--paper); color: var(--paper); }
.btn-paper { border-color: var(--paper); background: var(--paper); color: var(--ink); box-shadow: 5px 5px 0 var(--pink); }
.btn-text { min-height: 44px; padding: .5rem 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.btn-text span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(4px); }
  .btn-dark:hover { background: var(--pink); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
  .btn-pink:hover { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 5px 5px 0 var(--pink); }
  .btn:not(.btn-dark):not(.btn-pink):not(.btn-paper):not(.btn-text):hover { background: var(--ink); color: var(--white); }
  .btn-light:hover { background: var(--paper) !important; color: var(--ink) !important; }
  .btn-paper:hover { background: var(--pink); border-color: var(--pink); }
  .btn-text:hover { color: var(--pink-deep); }
}
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- chips ---------- */
.chip { align-self: flex-start; justify-self: start; color: var(--ink); display: inline-flex; align-items: center; min-height: 30px; padding: .3rem .75rem; border: 1.5px solid var(--ink); border-radius: var(--r-pill); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--white); }
.chip.pink { background: var(--pink); border-color: var(--pink); }
.chip.yellow { background: var(--yellow); }
.chip.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- card (one system) ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  border: 2px solid var(--ink); border-radius: var(--r-card);
  background: var(--white); box-shadow: var(--shadow);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  a.card:hover, .card.is-hoverable:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--pink); }
}
a.card { text-decoration: none; color: inherit; }
a.card:active { transform: scale(.99); }
.card.ink { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-pink); }
.card.yellow { background: var(--yellow); }
.card.pink { background: var(--pink); }
/* cursor spotlight (redesign-skill "spotlight borders") — --mx/--my set in JS */
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 31, 142, .14), transparent 70%); }
@media (hover: hover) and (pointer: fine) { .spot:hover::after { opacity: 1; } }

/* ---------- header ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--pink); transform-origin: left; transform: scaleX(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .35s var(--ease-out), background-color .25s ease, box-shadow .25s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { background: rgba(250, 249, 246, .86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
@media (prefers-reduced-transparency: reduce) { .site-header.is-scrolled { background: var(--paper); backdrop-filter: none; } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--head); }
.brand img { width: 128px; height: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; font-size: .92rem; font-weight: 700; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 8px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover::after { transform: scaleX(1); } }
.nav-cta { margin-left: .6rem; min-height: 44px; padding: .6rem 1.1rem; }
.menu-btn { position: relative; display: none; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); cursor: pointer; }
.menu-btn span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: var(--ink); transition: transform .25s var(--ease-out); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: calc(var(--head) + 1rem) var(--gutter) 2rem; background: var(--ink); color: var(--paper); overflow-y: auto; }
.sheet a { font-family: var(--display); font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; text-decoration: none; }
.sheet a:active { color: var(--pink); }
.sheet .sheet-meta { margin-top: 2rem; color: var(--muted-light); font-size: .9rem; }
body.menu-open .site-header { background: var(--ink); box-shadow: none; }
body.menu-open .brand img { filter: brightness(0) invert(1); }
body.menu-open .menu-btn { background: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--head) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.display { font-size: var(--fs-display); line-height: .98; margin-top: 1.2rem; }
.display .sent { display: block; }
.display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.display .w > span { display: inline-block; }
.hero .lead { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* next-up ticket */
.nextup { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: center; margin-top: 2.25rem; padding: 1rem 1.1rem; max-width: 34rem; border: 2px dashed var(--ink); border-radius: 18px; background: var(--white); }
.nextup-date { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--yellow); font-family: var(--display); font-weight: 800; line-height: 1; text-align: center; }
.nextup-date b { display: block; font-size: 1.5rem; }
.nextup-date small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.nextup > div { min-width: 0; }
.nextup h2 { font-size: 1.1rem; letter-spacing: -.01em; }
.nextup p { margin-top: .2rem; color: var(--muted); font-size: .9rem; }
.nextup-live { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-deep); }
.nextup-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 31, 142, .5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 31, 142, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 31, 142, 0); } }

/* polaroid stack — the hero's interactive photo pile */
.pile { position: relative; height: clamp(420px, 44vw, 560px); touch-action: none; }
.polaroid {
  position: absolute; left: 50%; top: 50%; width: clamp(210px, 21vw, 290px);
  padding: 12px 12px 0; border: 0; border-radius: 6px; background: var(--white);
  box-shadow: 0 1px 0 rgba(26, 26, 26, .06), 0 14px 30px rgba(26, 26, 26, .16);
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; will-change: transform;
}
.polaroid:active { cursor: grabbing; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; pointer-events: none; }
.polaroid figcaption { padding: .55rem .2rem .8rem; font-family: var(--hand); font-size: 1.35rem; font-weight: 600; line-height: 1.1; text-align: center; color: var(--ink); }
.polaroid .tape { position: absolute; left: 50%; top: -12px; width: 84px; height: 24px; margin-left: -42px; background: rgba(250, 250, 170, .85); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(26, 26, 26, .08); }
.pile-hint { position: absolute; right: 2%; bottom: -6px; display: flex; align-items: center; gap: .4rem; font-family: var(--hand); font-size: 1.45rem; color: var(--pink-deep); transform: rotate(-4deg); pointer-events: none; }
.pile-hint svg { width: 38px; height: 38px; }
.pile-shuffle { position: absolute; left: 0; bottom: 0; z-index: 9999; min-height: 44px; padding: .55rem 1rem; }
.hero-star { position: absolute; color: var(--pink); pointer-events: none; }
.hero-star svg { width: 100%; height: 100%; }

/* ---------- proof band ---------- */
.proof { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { padding-left: 1.1rem; border-left: 2px solid var(--pink); }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--paper); }
.stat span { display: block; margin-top: .5rem; color: var(--muted-light); font-size: .9rem; line-height: 1.4; }

/* ---------- pillars (scroll-filled words) ---------- */
.pillars-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pillars-intro { position: sticky; top: calc(var(--head) + 2rem); }
.mv { display: grid; gap: 1.25rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.mv h3 { font-family: var(--body); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-deep); }
.mv p { margin-top: .35rem; font-size: 1.05rem; }
.pillar { padding-block: clamp(1.25rem, 2.4vw, 2rem); border-bottom: 1.5px solid var(--line); }
.pillar:first-child { padding-top: 0; }
.pillar-word { position: relative; display: inline-block; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .95; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.pillar-word .fill { position: absolute; inset: 0; color: var(--ink); -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); }
.pillar-word .fill.pink { color: var(--pink); }
.pillar p { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }
.pillar .chip { margin-top: 1rem; }
.quote-hl { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 58%, var(--yellow) 58%); }

/* ---------- events ---------- */
.rail-wrap { position: relative; }
.rail-head { margin-bottom: 1rem; }
.b-title { margin-top: 1.1rem; max-width: 14ch; }
.b-copy { max-width: 30ch; color: var(--ink) !important; }
.b-merch-copy h3 { margin-top: .45rem; }
.footer-cta h2 { margin-top: 1rem; }
.rail { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 30vw, 360px); gap: 1.4rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: .5rem var(--gutter) 1.75rem; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail > * { scroll-snap-align: start; display: flex; }
.rail > * > .card { width: 100%; }
.ev { overflow: hidden; }
.ev-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--gray); }
.ev-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.ev:hover .ev-media img { transform: scale(1.05); } }
.ev-media .chip { position: absolute; left: .9rem; top: .9rem; }
.ev-body { display: flex; flex: 1; flex-direction: column; gap: .55rem; padding: 1.2rem 1.25rem 1.3rem; }
.ev-when { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-deep); }
.ev h3 { font-size: var(--fs-h3); letter-spacing: -.02em; }
.ev p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.ev-link { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ev-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.ev:hover .ev-link svg { transform: translateX(4px); } }
/* feature card: twice as wide, poster beside the copy, same height as the rest */
.rail > li:has(.feature) { grid-column: span 2; }
.ev.feature { flex-direction: row; }
.ev.feature .ev-media { flex: 0 0 46%; aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--ink); }
.ev.feature .ev-body { padding: 1.6rem 1.5rem; justify-content: flex-end; }
.ev.feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ev.feature { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-pink); }
.ev.feature p { color: var(--muted-light); }
.ev.feature .ev-when { color: var(--yellow); }
.rail-ctrl { display: flex; gap: .6rem; }
.icon-btn { display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease, color .2s ease; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:active { transform: scale(.94); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .icon-btn:not([disabled]):hover { background: var(--ink); color: var(--white); } }
.upcoming { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem 1.75rem; align-items: center; margin-bottom: 2.5rem; padding: 1.5rem 1.75rem; }
.upcoming-slot .rail { margin-bottom: 2rem; }
.ev-soon { justify-content: space-between; padding: 1.5rem; }
.ev-soon h3 { margin-top: 1rem; }
.ev-soon p { color: var(--ink) !important; margin-top: .6rem; }
.ev-soon .btn { align-self: flex-start; margin-top: 1.5rem; }
.upcoming-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.upcoming-icon svg { width: 34px; height: 34px; }
.upcoming h3 { font-size: var(--fs-h3); }
.upcoming p { margin-top: .35rem; color: var(--muted); }
.inline-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.field { min-height: 50px; min-width: 0; flex: 1 1 220px; padding: .75rem 1.1rem; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--white); font-size: 1rem; }
.field::placeholder { color: #7d7872; }
.on-ink .field { border-color: var(--line-light); background: rgba(250, 249, 246, .06); color: var(--paper); }
.on-ink .field::placeholder { color: rgba(250, 249, 246, .55); }
.form-note { flex-basis: 100%; min-height: 1.3em; font-size: .88rem; font-weight: 600; }
.form-note.ok { color: var(--pink-deep); }
.on-ink .form-note.ok { color: var(--yellow); }
.form-note.err { color: #b3001f; }
.on-ink .form-note.err { color: #ff8fb8; }

/* ---------- matcher ("Find your people") ---------- */
.matcher { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quiz { padding: clamp(1.5rem, 3.5vw, 2.4rem); min-height: 420px; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.quiz-steps { display: flex; gap: .35rem; }
.quiz-steps i { width: 34px; height: 6px; border-radius: 4px; background: var(--gray); transition: background-color .3s ease; }
.quiz-steps i.on { background: var(--pink); }
.quiz h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.4rem; }
.opt { display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .8rem 1rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--white); font-weight: 700; font-size: .98rem; text-align: left; cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s ease, box-shadow .2s ease; }
.opt svg { width: 26px; height: 26px; flex: none; color: var(--pink-deep); }
.opt:active { transform: scale(.97); }
.opt[aria-pressed="true"] { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
@media (hover: hover) and (pointer: fine) { .opt:hover { box-shadow: 4px 4px 0 var(--pink); } }
.result { display: grid; gap: 1rem; }
.result .chip { justify-self: start; }
.result h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
.result p { color: var(--muted); font-size: 1.05rem; }
.quiz [data-back], .quiz [data-restart] { margin-top: 1.3rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.matcher-aside ul { display: grid; gap: .9rem; margin-top: 2rem; padding: 0; list-style: none; }
.matcher-aside li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; }
.matcher-aside li b { font-family: var(--display); }
.matcher-aside li::before { content: "✦"; color: var(--pink); line-height: 1.5; }

/* ---------- get involved ---------- */
.inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.inv { padding: 1.5rem 1.4rem 1.4rem; gap: .8rem; }
.inv-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; border: 2px solid var(--ink); background: var(--yellow); }
.inv-icon svg { width: 28px; height: 28px; }
.inv:nth-child(2) .inv-icon { background: var(--pink); }
.inv:nth-child(3) .inv-icon { background: var(--white); }
.inv:nth-child(4) .inv-icon { background: var(--ink); color: var(--paper); }
.inv h3 { font-size: var(--fs-h3); margin-top: .3rem; }
.inv p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.inv .tags { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: auto; padding-top: .9rem; border-top: 1.5px solid var(--line); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.inv .tags span::before { content: "✦ "; color: var(--pink); }
.inv .btn { align-self: flex-start; margin-top: .4rem; }

/* ---------- keep the rooms open (support / revenue) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); gap: 1.25rem; }
.b-shop { grid-column: span 3; grid-row: span 2; padding: clamp(1.5rem, 3vw, 2.2rem); overflow: hidden; }
.b-merch { grid-column: span 3; overflow: hidden; }
.b-sponsor { grid-column: span 2; padding: 1.5rem; }
.b-share { grid-column: span 1; padding: 1.2rem; }
.bento h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; }
.bento p { margin-top: .6rem; color: var(--muted); }
.bento .card.ink p { color: var(--muted-light); }
.bento .btn { margin-top: 1.25rem; align-self: flex-start; }
.price-sticker { position: absolute; right: clamp(1rem, 3vw, 2rem); top: clamp(1rem, 3vw, 2rem); display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; border: 2px solid var(--ink); background: var(--pink); font-family: var(--display); font-weight: 800; text-align: center; line-height: 1; transform: rotate(-10deg); box-shadow: 4px 4px 0 var(--ink); }
.price-sticker b { display: block; font-size: 2.3rem; letter-spacing: -.04em; }
.price-sticker small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.book-stack { position: absolute; right: 8%; bottom: -8px; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; }
.book-stack i:nth-child(1) { height: 150px; background: var(--pink); }
.book-stack i:nth-child(2) { height: 120px; background: var(--white); }
.book-stack i:nth-child(3) { height: 170px; background: var(--ink); }
.book-stack i:nth-child(4) { height: 135px; background: var(--pink); }
.book-stack i:nth-child(5) { height: 105px; background: var(--white); rotate: -8deg; }
.book-stack i { display: block; width: 34px; border: 2px solid var(--ink); border-radius: 4px 4px 0 0; transform-origin: bottom center; }
.b-merch-media { position: relative; height: 100%; min-height: 220px; }
.b-merch-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-merch-copy { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; padding: 1rem 1.1rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.b-merch-copy h3 { font-size: 1.3rem; }
.b-merch-copy .btn { margin-top: 0; }
.b-share { display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.b-share svg { width: 34px; height: 34px; }
.b-share b { font-family: var(--display); font-size: 1.1rem; line-height: 1.15; }
.why-note { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.6rem; padding: 1rem 1.2rem; border-left: 3px solid var(--pink); background: var(--white); border-radius: 0 14px 14px 0; font-size: .95rem; color: var(--muted); max-width: 44rem; }

/* ---------- gallery wall ---------- */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: start; }
.wall-col { display: grid; gap: 1rem; will-change: transform; }
.wall figure { position: relative; overflow: hidden; border-radius: var(--r-img); background: var(--gray); aspect-ratio: 4 / 3; }
/* alternate tall/wide per column so every column ends level */
.wall-col:nth-child(odd) figure:first-child, .wall-col:nth-child(even) figure:last-child { aspect-ratio: 4 / 5; }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.wall figcaption { position: absolute; left: .6rem; bottom: .6rem; padding: .3rem .6rem; border-radius: var(--r-pill); background: var(--paper); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .wall figure:hover img { transform: scale(1.05); }
  .wall figure:hover figcaption { opacity: 1; transform: none; }
}

/* ---------- partners ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-set { display: flex; gap: 1.25rem; }
.logo-tile { display: grid; justify-items: center; gap: .7rem; width: 176px; padding: 1.2rem 1rem 1rem; border: 1.5px solid var(--line); border-radius: 18px; background: var(--white); }
.logo-tile img { width: 96px; height: 96px; object-fit: contain; }
.logo-tile span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.logo-tile.slot { border: 2px dashed var(--pink); background: var(--paper); text-decoration: none; color: var(--ink); }
.logo-tile.slot b { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--yellow); font-family: var(--display); font-size: 2.4rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--head) + 2rem); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1.5px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 72px; padding: 1.1rem 0; border: 0; background: none; font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; text-align: left; cursor: pointer; }
.faq-q .plus { position: relative; flex: none; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 50%; transition: background-color .2s ease, transform .3s var(--ease-out); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform .3s var(--ease-out); }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .plus { background: var(--pink); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; height: 0; }
.faq-a-inner { padding: 0 3.5rem 1.4rem 0; color: var(--muted); }
.faq-a-inner p + p { margin-top: .7rem; }
.faq-a-inner a { color: var(--pink-deep); font-weight: 700; }

/* ---------- footer ---------- */
.footer { padding: clamp(4rem, 8vw, 6rem) 0 2rem; }
.footer-cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 4rem; align-items: end; padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1.5px solid var(--line-light); }
.footer-cta h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.footer-cta .pink { color: var(--pink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3rem; }
.footer-grid img { width: 170px; filter: none; }
.footer-grid p { margin-top: 1rem; color: var(--muted-light); font-size: .95rem; max-width: 30ch; }
.footer-grid h3 { font-family: var(--body); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: .8rem; }
.footer-grid ul { display: grid; gap: .1rem; padding: 0; list-style: none; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(250, 249, 246, .82); text-decoration: none; font-size: .95rem; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .footer-grid li a:hover { color: var(--pink); } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1.5px solid var(--line-light); color: var(--muted-light); font-size: .85rem; }

/* ---------- star burst (celebration only) ---------- */
.burst { position: fixed; z-index: 90; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; color: var(--pink); }
.burst i:nth-child(3n) { color: var(--yellow); }
.burst i svg { width: 100%; height: 100%; }

/* ---------- reveal (Motion drives these; CSS is the no-JS/reduced state) ---------- */
.js [data-reveal] { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .inv-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-shop { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .b-merch { grid-column: span 2; min-height: 280px; }
  .b-sponsor { grid-column: span 1; }
  .b-share { grid-column: span 1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .hero-grid, .pillars-grid, .matcher, .faq-grid, .footer-cta { grid-template-columns: 1fr; }
  .pillars-intro, .faq-intro { position: static; }
  .pile { height: 420px; margin-top: 1rem; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .upcoming { grid-template-columns: auto 1fr; }
  .upcoming .inline-form { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 440px) { .display { font-size: 2.3rem; } }
@media (max-width: 560px) {
  .rail > li:has(.feature) { grid-column: span 1; }
  .ev.feature { flex-direction: column; }
  .ev.feature .ev-media { flex: none; aspect-ratio: 4 / 5; border-right: 0; border-bottom: 2px solid var(--ink); }
  .inv-grid { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-shop, .b-merch, .b-sponsor, .b-share { grid-column: auto; }
  .bento { grid-auto-rows: auto; }
  .b-share { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; }
  .price-sticker { width: 92px; height: 92px; }
  .price-sticker b { font-size: 1.8rem; }
  .pile { height: 360px; }
  .polaroid { width: 200px; }
  .upcoming { grid-template-columns: 1fr; padding: 1.25rem; }
  .upcoming-slot .rail { margin-bottom: 2rem; }
.ev-soon { justify-content: space-between; padding: 1.5rem; }
.ev-soon h3 { margin-top: 1rem; }
.ev-soon p { color: var(--ink) !important; margin-top: .6rem; }
.ev-soon .btn { align-self: flex-start; margin-top: 1.5rem; }
.upcoming-icon { width: 56px; height: 56px; }
  .nextup { grid-template-columns: auto 1fr; }
  .faq-a-inner { padding-right: 0; }
}

/* ---------- reduced motion: fewer + gentler, not zero ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; }
  .marquee-track { animation: none; }
  .nextup-live::before { animation: none; }
  .hl::before { transition: none; clip-path: inset(0 0 0 0); }
  .pillar-word .fill { clip-path: inset(0 0 0 0) !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Shop — community manga shelf (shop.html)
   ========================================================================== */
.shop-hero { padding: calc(var(--head) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem); }
.shop-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.price-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.price-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .9rem; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--white); font-size: .86rem; font-weight: 700; }
.price-chip b { color: var(--pink-deep); font-variant-numeric: tabular-nums; }
.price-chip.hot { background: var(--yellow); }
.steps { display: grid; gap: .8rem; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: 16px; background: var(--white); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); font-weight: 800; font-size: .85rem; }
.steps b { display: block; font-family: var(--display); font-size: 1rem; letter-spacing: -.01em; }
.steps span { color: var(--muted); font-size: .92rem; }

/* series shelf — every cover is the same 2:3 box */
.shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2rem 1.5rem; }
.series { display: flex; flex-direction: column; gap: .7rem; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; }
.series-cover { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border: 2px solid var(--ink); border-radius: 12px; background: var(--gray); box-shadow: var(--shadow); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.series-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.series-cover .chip { position: absolute; left: .6rem; top: .6rem; }
.series-cover .spine { position: absolute; inset: 0 auto 0 0; width: 10px; background: linear-gradient(90deg, rgba(26, 26, 26, .28), transparent); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .series:hover .series-cover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 9px 9px 0 var(--pink); }
  .series:hover .series-cover img { transform: scale(1.04); }
}
.series:active .series-cover { transform: scale(.98); }
.series:focus-visible { outline: none; box-shadow: none; }
.series:focus-visible .series-cover { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--pink); }
.series h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.series-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; color: var(--muted); font-size: .88rem; }
.series-meta b { color: var(--pink-deep); }
.shelf-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.search { position: relative; flex: 0 1 320px; }
.search input { width: 100%; min-height: 48px; padding: .7rem 1rem .7rem 2.7rem; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--white); font-size: 1rem; }
.search svg { position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* series drawer — slides in from the right (bottom sheet on phones) */
.drawer { position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(680px, 100%); max-width: 100%; max-height: 100%; height: 100%; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 2px solid var(--ink); background: var(--paper); color: var(--ink); overflow: hidden; }
.drawer::backdrop { background: rgba(26, 26, 26, .55); backdrop-filter: blur(3px); }
@media (prefers-reduced-transparency: reduce) { .drawer::backdrop { background: rgba(26, 26, 26, .8); backdrop-filter: none; } }
.drawer-inner { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1.5px solid var(--line); background: var(--white); }
.drawer-head:has(> img[hidden]) { grid-template-columns: 1fr auto; }
.drawer-head img { width: 76px; aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 8px; }
.drawer-head h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.02em; }
.drawer-head p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.3rem 1.4rem 1.6rem; }
.drawer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; padding: 1rem 1.4rem; border-top: 2px solid var(--ink); background: var(--white); }
.drawer-foot .sum { font-variant-numeric: tabular-nums; }
.drawer-foot .sum b { display: block; font-family: var(--display); font-size: 1.3rem; letter-spacing: -.02em; }
.drawer-foot .sum span { color: var(--muted); font-size: .86rem; }
.drawer-foot .acts { display: flex; gap: .6rem; }
.step-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.step-label h3 { font-family: var(--body); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.quick { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.quick .btn { min-height: 40px; padding: .5rem .9rem; font-size: .72rem; }
.range { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.2rem; font-size: .9rem; font-weight: 600; }
.range input { width: 72px; min-height: 40px; padding: .4rem .6rem; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); font-size: 1rem; text-align: center; font-variant-numeric: tabular-nums; }
.vol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: .5rem; }
.vtile { position: relative; display: grid; place-items: center; aspect-ratio: 2 / 3; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); cursor: pointer; font-family: var(--display); transition: transform .12s var(--ease-out), background-color .15s ease, box-shadow .15s ease; }
.vtile input { position: absolute; opacity: 0; pointer-events: none; }
.vtile b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.vtile small { position: absolute; top: 5px; left: 0; right: 0; text-align: center; font-family: var(--body); font-size: .55rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vtile::after { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; }
.vtile:active { transform: scale(.95); }
.vtile:has(input:checked) { background: var(--pink); box-shadow: 3px 3px 0 var(--ink); }
.vtile:has(input:checked) small { color: var(--ink); }
.vtile:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.vtile.is-off { border-style: dashed; border-color: var(--line); background: var(--gray); color: var(--muted); cursor: not-allowed; }
.vtile.is-off small { color: var(--pink-deep); }
@media (hover: hover) and (pointer: fine) { .vtile:not(.is-off):hover { box-shadow: 3px 3px 0 var(--pink); } }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; color: var(--muted); font-size: .8rem; }
.legend i { display: inline-block; width: 12px; height: 16px; margin-right: .35rem; vertical-align: -3px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--white); }
.legend i.sel { background: var(--pink); }
.legend i.off { border-style: dashed; background: var(--gray); }
.picked { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 1.2rem; }
.picked button { display: inline-flex; align-items: center; gap: .35rem; min-height: 34px; padding: .3rem .7rem; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--yellow); font-size: .8rem; font-weight: 700; cursor: pointer; }
.picked button span { font-size: 1rem; line-height: 1; }
.summary { display: grid; gap: .35rem; margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--ink); color: var(--paper); font-variant-numeric: tabular-nums; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.summary div span:first-child { color: var(--muted-light); }
.summary .total { margin-top: .3rem; padding-top: .6rem; border-top: 1px solid var(--line-light); font-family: var(--display); font-size: 1.2rem; font-weight: 800; }
.summary .total span:first-child { color: var(--paper); }
.done-panel { display: grid; gap: 1rem; }
.done-panel .tick { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: 50%; background: var(--pink); box-shadow: 4px 4px 0 var(--ink); }
.done-panel .tick svg { width: 30px; height: 30px; }
.timeline { display: grid; gap: .7rem; margin-top: .4rem; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 26px 1fr; gap: .7rem; font-size: .95rem; }
.timeline li::before { content: "✦"; color: var(--pink); font-size: 1rem; line-height: 1.5; }
.ref { display: inline-block; padding: .25rem .6rem; border: 1.5px dashed var(--ink); border-radius: 8px; font-family: ui-monospace, monospace; font-weight: 700; letter-spacing: .06em; }

/* shared form fields (shop forms) */
.form { display: grid; gap: 1rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fld { display: grid; gap: .4rem; }
.fld > label, .fld > legend { font-weight: 700; font-size: .92rem; padding: 0; }
.fld .hint { color: var(--muted); font-weight: 500; font-size: .82rem; }
fieldset.fld { border: 0; margin: 0; padding: 0; min-width: 0; }
.inp { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); font-size: 1rem; }
textarea.inp { min-height: 96px; resize: vertical; line-height: 1.5; }
.inp::placeholder { color: #7d7872; }
.inp[aria-invalid="true"] { border-color: var(--pink-deep); box-shadow: 0 0 0 3px rgba(255, 31, 142, .2); }
.choices { display: grid; gap: .5rem; }
.choices.row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 50px; padding: .6rem .95rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); font-size: .93rem; font-weight: 600; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease, transform .12s var(--ease-out); }
.choice label em { font-style: normal; font-weight: 800; color: var(--pink-deep); white-space: nowrap; }
.choice label:active { transform: scale(.98); }
.choice input:checked + label { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.choice input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.toggle { display: flex; align-items: center; gap: .8rem; min-height: 50px; padding: .7rem .95rem; border: 2px dashed var(--ink); border-radius: 12px; background: var(--paper); font-weight: 700; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--pink-deep); }
.form-err { padding: .75rem 1rem; border: 2px solid var(--pink-deep); border-radius: 12px; background: #fff0f6; color: #7a0040; font-size: .92rem; font-weight: 600; }
.form-card { padding: clamp(1.25rem, 3.5vw, 2rem); }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside-points { display: grid; gap: .8rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.aside-points li { display: flex; gap: .7rem; color: var(--muted); }
.aside-points li::before { content: "✦"; color: var(--pink); }
.success { display: grid; gap: .6rem; padding: 1.4rem; border: 2px solid var(--ink); border-radius: 18px; background: var(--yellow); }
.success h3 { font-size: 1.35rem; }

/* homepage shelf card: real covers instead of the book-stack drawing */
.cover-fan { position: absolute; right: clamp(1rem, 4vw, 2.5rem); bottom: -18px; display: flex; pointer-events: none; }
.cover-fan img { width: clamp(92px, 11vw, 132px); aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 4px 4px 0 var(--ink); }
.cover-fan img:first-child { transform: rotate(-8deg) translateX(18px); }
.cover-fan img:last-child { transform: rotate(6deg) translateY(-10px); }

@media (max-width: 900px) {
  .shop-hero-grid, .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .drawer { inset: auto 0 0 0; width: 100%; height: 92dvh; margin: auto 0 0; border-left: 0; border-top: 2px solid var(--ink); border-radius: 22px 22px 0 0; }
  .drawer-head { grid-template-columns: 56px 1fr auto; padding: 1rem; }
  .drawer-head img { width: 56px; }
  .drawer-body { padding: 1rem; }
  .drawer-foot { padding: .9rem 1rem; }
  .drawer-foot .acts { width: 100%; }
  .drawer-foot .acts .btn { flex: 1; }
  .fgrid { grid-template-columns: 1fr; }
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .vol-grid { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); }
}

/* ---------- bag (cross-series reservations + swaps) ---------- */
.bag-fab { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 60; display: inline-flex; align-items: center; gap: .7rem; min-height: 56px; padding: .6rem 1.1rem .6rem .8rem; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--ink); color: var(--white); box-shadow: 5px 5px 0 var(--pink); font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: transform .16s var(--ease-out); }
.bag-fab:active { transform: scale(.96); }
.bag-fab svg { width: 24px; height: 24px; }
.bag-fab .count { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 .4rem; border-radius: var(--r-pill); background: var(--pink); color: var(--ink); font-variant-numeric: tabular-nums; }
.bag-rows { display: grid; gap: .8rem; }
.bag-row { display: grid; grid-template-columns: 48px 1fr auto; gap: .9rem; align-items: start; padding: .8rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); }
.bag-row img { width: 48px; aspect-ratio: 2 / 3; object-fit: cover; border: 1.5px solid var(--ink); border-radius: 6px; }
.bag-row h4 { font-size: 1rem; letter-spacing: -.01em; }
.bag-row .picked { margin: .45rem 0 0; }
.bag-row .edit { min-height: 36px; padding: .35rem .8rem; font-size: .7rem; }
.co-sec { margin-top: 1.5rem; }
.co-sec > h3 { margin-bottom: .7rem; font-family: var(--body); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--white); }
.stepper button { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: none; font-size: 1.4rem; font-weight: 800; cursor: pointer; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 3ch; font-family: var(--display); font-size: 1.3rem; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.swap-count { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.swap-count p { color: var(--muted); font-size: .9rem; }
.note { padding: .7rem .9rem; border-left: 3px solid var(--pink); border-radius: 0 10px 10px 0; background: var(--white); color: var(--muted); font-size: .86rem; line-height: 1.5; }
.note b { color: var(--ink); }
.choice input:disabled + label { border-style: dashed; border-color: var(--line); background: var(--gray); color: var(--muted); cursor: not-allowed; }
.choice input:disabled + label em { color: var(--muted); }
.summary .credit span:last-child { color: var(--pink); font-weight: 700; }
.pick-limit { color: var(--pink-deep); font-size: .82rem; font-weight: 700; }
@media (max-width: 640px) {
  .bag-fab { left: 1rem; right: 1rem; justify-content: center; }
}
@media print { .bag-fab { display: none; } }

/* ==========================================================================
   Inner pages — gallery, contact, merch, product, legal
   Same tokens, same card, same buttons. Every page opens with .page-hero.
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--head) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem); overflow: hidden; }
.page-hero .lead { max-width: 40rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: 1.1rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--pink-deep); }
.crumbs span[aria-hidden] { color: var(--pink); }
/* a small fanned photo stack for page heroes (static cousin of the homepage pile) */
.hero-stack { position: relative; height: clamp(240px, 26vw, 330px); }
.hero-stack img { position: absolute; top: 50%; left: 50%; width: clamp(150px, 15vw, 200px); aspect-ratio: 4 / 5; object-fit: cover; padding: 8px 8px 30px; border-radius: 4px; background: var(--white); box-shadow: 0 12px 28px rgba(26, 26, 26, .16); }
.hero-stack img:nth-child(1) { transform: translate(-115%, -50%) rotate(-9deg); }
.hero-stack img:nth-child(2) { transform: translate(-50%, -56%) rotate(2deg); z-index: 2; }
.hero-stack img:nth-child(3) { transform: translate(15%, -48%) rotate(10deg); }

/* ---------- gallery ---------- */
.filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: .35rem var(--gutter) 1rem; margin: 0 calc(-1 * var(--gutter)); scroll-snap-type: x proximity; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--white); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .12s var(--ease-out); }
.filter span { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.filter:active { transform: scale(.96); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--pink); }
.filter[aria-pressed="true"] span { color: var(--yellow); }
@media (hover: hover) and (pointer: fine) { .filter:not([aria-pressed="true"]):hover { background: var(--yellow); } }
.masonry { columns: 4 240px; column-gap: 1rem; }
.tile { position: relative; display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; border-radius: var(--r-img); overflow: hidden; background: var(--gray); cursor: zoom-in; break-inside: avoid; }
.tile img { width: 100%; height: auto; transition: transform .7s var(--ease-out); }
.tile .cap { position: absolute; inset: auto 0 0 0; display: grid; gap: .15rem; padding: 2.2rem .9rem .8rem; background: linear-gradient(transparent, rgba(26, 26, 26, .78)); color: var(--white); text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .3s var(--ease-out); }
.tile .cap b { font-family: var(--hand); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.tile .cap small { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.05); }
  .tile:hover .cap, .tile:focus-visible .cap { opacity: 1; transform: none; }
}
.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--pink); }
.gallery-count { color: var(--muted); font-size: .9rem; margin-top: .3rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16, 16, 16, .94); color: var(--paper); overflow: hidden; }
.lightbox::backdrop { background: transparent; }
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(4.5rem, 8vw, 5.5rem) clamp(1rem, 6vw, 5rem) clamp(6rem, 10vw, 7rem); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); user-select: none; -webkit-user-select: none; }
.lb-top { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 3vw, 1.5rem); }
.lb-count { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--muted-light); }
.lb-cap { position: absolute; inset: auto 0 0; display: grid; justify-items: center; gap: .2rem; padding: 1.2rem 1.5rem 1.6rem; text-align: center; }
.lb-cap b { font-family: var(--hand); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.1; }
.lb-cap small { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.lb-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.lb-nav.prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lb-nav.next { right: clamp(.5rem, 2vw, 1.5rem); }
.lightbox .icon-btn { border-color: var(--paper); background: rgba(250, 249, 246, .08); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .lightbox .icon-btn:hover { background: var(--paper); color: var(--ink); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.purpose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.purpose { position: relative; }
.purpose input { position: absolute; opacity: 0; pointer-events: none; }
.purpose label { display: grid; grid-template-columns: auto 1fr; gap: .15rem .85rem; align-items: center; min-height: 76px; height: 100%; padding: .9rem 1rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--white); cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, transform .12s var(--ease-out); }
.purpose label .pi { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); }
.purpose label .pi svg { width: 22px; height: 22px; }
.purpose label b { font-family: var(--display); font-size: 1.02rem; letter-spacing: -.01em; }
.purpose label small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.purpose label:active { transform: scale(.98); }
.purpose input:checked + label { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
.purpose input:checked + label .pi { background: var(--pink); }
.purpose input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .purpose input:not(:checked) + label:hover { box-shadow: 4px 4px 0 var(--pink); } }
.event-note { display: flex; gap: .9rem; align-items: flex-start; margin-top: .9rem; padding: .9rem 1rem; border: 2px dashed var(--ink); border-radius: 14px; background: var(--paper); font-size: .9rem; color: var(--muted); }
.event-note b { color: var(--ink); }
.event-note svg { flex: none; width: 22px; height: 22px; color: var(--pink-deep); margin-top: .1rem; }
.form-panel { margin-top: 1.6rem; }
.form-panel h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.side-stack { display: grid; gap: 1rem; position: sticky; top: calc(var(--head) + 1.5rem); }
.side-card { padding: 1.3rem 1.3rem 1.4rem; }
.side-card h3 { font-size: 1.1rem; letter-spacing: -.01em; }
.side-card p, .side-card li { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.side-card ol { display: grid; gap: .5rem; margin-top: .7rem; padding: 0; list-style: none; counter-reset: n; }
.side-card ol li { counter-increment: n; display: grid; grid-template-columns: 24px 1fr; gap: .6rem; margin: 0; }
.side-card ol li::before { content: counter(n); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: var(--ink); font-size: .75rem; font-weight: 800; }
.side-card .socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.side-card .socials .btn { min-height: 42px; padding: .5rem .9rem; font-size: .72rem; }

/* ---------- merch ---------- */
.drop-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.drop-media { position: relative; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-pink); background: var(--gray); }
.drop-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.drop-media .chip { position: absolute; left: 1rem; bottom: 1rem; }
.notify { margin-top: 1.8rem; padding: 1.1rem 1.2rem; max-width: 34rem; }
.notify h3 { font-size: 1.1rem; letter-spacing: -.01em; }
.notify p { color: var(--muted); font-size: .9rem; margin: .25rem 0 .8rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.htile { overflow: hidden; }
.htile-media { position: relative; aspect-ratio: 1145 / 1374; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--tile-bg, var(--gray)); }
.htile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease, transform .6s var(--ease-out); }
.htile-media img.back { opacity: 0; }
.htile-media.show-back img.back { opacity: 1; }
.htile-media.show-back img.front { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .htile:hover .htile-media img { transform: scale(1.03); } }
.htile-media .flip { position: absolute; right: .8rem; bottom: .8rem; z-index: 2; min-height: 40px; padding: .45rem .85rem; font-size: .7rem; background: var(--paper); }
.htile-media .chip { position: absolute; left: .8rem; top: .8rem; z-index: 2; }
.htile-body { display: grid; gap: .35rem; padding: 1rem 1.1rem 1.2rem; }
.htile-body h3 { font-size: 1.12rem; letter-spacing: -.01em; }
.htile-body p { color: var(--muted); font-size: .88rem; }
.swatches { display: flex; gap: .35rem; }
.swatches i { width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 50%; }
.craft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.craft-media { position: relative; aspect-ratio: 1; overflow: hidden; border: 2px solid var(--paper); border-radius: var(--r-card); background: var(--craft-bg, #111); }
.craft-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.craft-opts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.craft-opt { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem .9rem; border: 2px solid var(--line-light); border-radius: var(--r-pill); background: transparent; color: var(--paper); font-size: .78rem; font-weight: 700; cursor: pointer; }
.craft-opt i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--paper); background: var(--chip); }
.craft-opt[aria-pressed="true"] { border-color: var(--pink); background: rgba(255, 31, 142, .14); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1.5px solid var(--line-light); }
.specs b { display: block; font-family: var(--display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.specs span { color: var(--muted-light); font-size: .82rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fact { padding: 1.4rem; }
.fact .inv-icon { margin-bottom: .6rem; }
.fact h3 { font-size: 1.1rem; }
.fact p { color: var(--muted); font-size: .93rem; margin-top: .4rem; }

/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.pdp-gallery { position: relative; }
.pdp-main { position: relative; aspect-ratio: 1145 / 1374; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--r-card); background: var(--main-bg, var(--gray)); touch-action: pan-y; }
.pdp-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pdp-main .chip { position: absolute; left: 1rem; top: 1rem; z-index: 2; }
.pdp-main .icon-btn { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.pdp-main .prev { left: .8rem; }
.pdp-main .next { right: .8rem; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .8rem; }
.thumb { position: relative; aspect-ratio: 1145 / 1374; overflow: hidden; padding: 0; border: 2px solid var(--line); border-radius: 12px; background: var(--thumb-bg, var(--gray)); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-current="true"] { border-color: var(--ink); box-shadow: 3px 3px 0 var(--pink); }
.buy { position: sticky; top: calc(var(--head) + 1.5rem); padding: clamp(1.25rem, 3vw, 1.8rem); }
.buy h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -.02em; }
.buy .price { margin-top: .3rem; font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.opt-group { margin-top: 1.3rem; }
.opt-group h3 { display: flex; gap: .5rem; align-items: baseline; font-family: var(--body); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.opt-group h3 span { color: var(--muted); letter-spacing: .02em; text-transform: none; font-weight: 600; }
.opt-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.swatch { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .45rem 1rem .45rem .5rem; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--white); font-weight: 700; font-size: .9rem; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .12s var(--ease-out); }
.swatch i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--chip); }
.swatch:active { transform: scale(.97); }
.swatch[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--pink); }
.swatch[disabled] { opacity: .35; cursor: not-allowed; }
.buy .note { margin-top: 1.2rem; }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.2rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1.5px solid var(--line); font-size: .9rem; }
.spec-list dt { font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding-top: .15rem; }
.spec-list dd { margin: 0; color: var(--muted); }
.buy-bar { position: fixed; inset: auto 0 0; z-index: 55; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--white); }
.buy-bar b { font-family: var(--display); font-size: 1rem; }
.buy-bar small { display: block; color: var(--muted); font-size: .78rem; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr) 200px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.legal-nav, .toc { position: sticky; top: calc(var(--head) + 1.5rem); }
.legal-nav { display: grid; gap: .2rem; }
.legal-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 .9rem; border-radius: 12px; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .2s ease; }
.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--pink); }
@media (hover: hover) and (pointer: fine) { .legal-nav a:not([aria-current]):hover { background: var(--yellow); } }
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; scroll-margin-top: calc(var(--head) + 1.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); line-height: 1.75; }
.prose strong { color: var(--ink); }
.prose ul { display: grid; gap: .55rem; padding-left: 1.2rem; }
.prose li::marker { color: var(--pink); }
.prose a { color: var(--pink-deep); font-weight: 700; text-underline-offset: 3px; }
.prose .callout { padding: 1rem 1.2rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--yellow); color: var(--ink); }
.prose .intro { font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.prose .new { position: relative; }
.toc h2 { font-family: var(--body); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem; }
.toc ol { position: relative; display: grid; gap: .1rem; padding: 0 0 0 .9rem; list-style: none; border-left: 2px solid var(--line); }
.toc a { display: block; padding: .3rem 0; color: var(--muted); font-size: .84rem; line-height: 1.35; text-decoration: none; transition: color .2s ease; }
.toc a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.toc .rail-dot { position: absolute; left: -2px; top: 0; width: 2px; height: 1.9rem; background: var(--pink); transition: transform .3s var(--ease-out); }
.legal-meta { margin-top: 1rem; color: var(--muted); font-size: .9rem; }

@media (max-width: 1080px) {
  .legal { grid-template-columns: 200px minmax(0, 1fr); }
  .toc { display: none; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .page-hero-grid, .contact-grid, .drop-hero, .craft, .pdp { grid-template-columns: 1fr; }
  .hero-stack { display: none; }
  .side-stack, .buy { position: static; }
  .legal { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; gap: .4rem; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) .4rem; }
  .legal-nav::-webkit-scrollbar { display: none; }
  .legal-nav a { flex: none; border: 2px solid var(--ink); border-radius: var(--r-pill); min-height: 42px; font-size: .82rem; }
  .buy-bar { display: flex; }
  body:has(.buy-bar) .footer { padding-bottom: 6rem; }
}
@media (max-width: 640px) {
  .masonry { columns: 2; column-gap: .6rem; }
  .tile { margin-bottom: .6rem; border-radius: 10px; }
  .tile .cap { display: none; }
  .purpose-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .thumbs { gap: .4rem; }
  .lb-nav { display: none; }
}

/* shop → merch strip */
.merch-strip { display: grid; grid-template-columns: 220px 1fr auto; gap: 1.5rem; align-items: center; padding: 1rem 1.5rem 1rem 1rem; overflow: hidden; }
.merch-strip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.merch-strip h2 { margin-top: .6rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; }
.merch-strip p { color: var(--muted-light); margin-top: .3rem; }
@media (max-width: 760px) { .merch-strip { grid-template-columns: 1fr; padding: 1rem; } }
/* one-off layout helpers used by inner pages (kept here, not inline) */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }

/* inner-page fixes */
.drop-hero { align-items: start; }
.drop-hero .drop-media { margin-top: 3.2rem; }
.notify { display: block; }
.tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1180px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .htile-body p { display: none; } }
.htile-body h3 { font-size: 1rem; }
.htile-media .flip { right: .6rem; bottom: .6rem; min-height: 38px; padding: .4rem .75rem; font-size: .66rem; }
.craft-opt i { background: var(--chip); }
.form-note:empty { display: none; }
.lb-stage img { max-height: calc(100dvh - clamp(10.5rem, 18vw, 12.5rem)); max-width: min(100%, 1200px); width: auto; height: auto; }

/* ---------- newsletter pop-up ---------- */
.pop { margin: auto; width: min(460px, calc(100% - 2rem)); padding: clamp(1.6rem, 5vw, 2.2rem); overflow: visible; border: 2px solid var(--pink); border-radius: var(--r-card); background: var(--ink); color: var(--paper); box-shadow: 8px 8px 0 var(--pink); }
.pop::backdrop { background: rgba(26, 26, 26, .6); backdrop-filter: blur(4px); }
@media (prefers-reduced-transparency: reduce) { .pop::backdrop { background: rgba(26, 26, 26, .85); backdrop-filter: none; } }
.pop-photo { position: absolute; top: -46px; right: 64px; width: 118px; aspect-ratio: 4 / 5; object-fit: cover; padding: 6px 6px 22px; border-radius: 4px; background: var(--white); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transform: rotate(-7deg); pointer-events: none; }
.pop-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-color: var(--paper); background: transparent; color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .pop-close:hover { background: var(--paper); color: var(--ink); } }
.pop .kicker { color: var(--yellow); }
.pop h2 { margin-top: .9rem; max-width: 12ch; font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.02; }
.pop p { margin-top: .8rem; color: var(--muted-light); }
.pop .inline-form { margin-top: 1.3rem; }
.pop .field { border-color: var(--line-light); background: rgba(250, 249, 246, .06); color: var(--paper); }
.pop .field::placeholder { color: rgba(250, 249, 246, .55); }
.pop .form-note.ok { color: var(--yellow); }
.pop .form-note.err { color: #ff8fb8; }
.pop-later { margin-top: .6rem; color: var(--muted-light); }
@media (hover: hover) and (pointer: fine) { .pop-later:hover { color: var(--paper); } }
@media (max-width: 480px) { .pop-photo { width: 92px; top: -38px; right: 58px; } }
