/* ─────────────────────────────────────────────
   Y2K dorm pin board
   ───────────────────────────────────────────── */
:root {
  --cork: #c8955b;
  --cork-dark: #a8743f;
  --wood: #6b3f1f;
  --ink: #2b1d3a;
  --paper: #fffdf6;
  --hot-pink: #ff4fa3;
  --bubblegum: #ffb3d9;
  --baby-blue: #8fd3ff;
  --lime: #c6f432;
  --lilac: #c9a7ff;
  --butter: #ffe36e;
  --chrome-1: #f4f6fb;
  --chrome-2: #b9c0cf;

  --font-title: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-stub: "Righteous", "Trebuchet MS", system-ui, sans-serif;
  --font-ticket: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-logo: "Modak", "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --font-body: "DM Sans", system-ui, sans-serif;

  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--wood);
  overflow: hidden;
}

/* ── The board ───────────────────────────────── */
.board {
  position: fixed;
  inset: 0;
  overflow: hidden;
  /* wooden frame */
  border: clamp(10px, 1.6vmin, 20px) solid var(--wood);
  box-shadow:
    inset 0 0 0 3px #4a2a12,
    inset 0 0 40px rgba(60, 30, 5, .55);
  /* cork: speckles + fine noise */
  background-color: var(--cork);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .2  0 0 0 0 .05  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(circle at 20% 30%, rgba(255, 225, 170, .35) 0 1.5px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(90, 50, 15, .45) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 40% 60%, rgba(255, 230, 180, .25) 0 1px, transparent 1.5px),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(80, 40, 10, .35));
  background-size: 220px 220px, 23px 19px, 31px 27px, 13px 17px, 100% 100%;
}

/* ── Title ───────────────────────────────────── */
.board__title {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%) rotate(-3deg);
  text-align: center;
  pointer-events: none;
  z-index: 1;
  width: max-content;
  max-width: 46vw;
}
.title {
  margin: 0;
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(56px, 8vw + 1.5vmin, 168px);
  line-height: .78;
  letter-spacing: .02em;
  color: var(--hot-pink);
  /* sticker-letter look: thick white outline + hard shadow */
  text-shadow:
    0 .05em 0 #fff, .05em 0 0 #fff, 0 -.05em 0 #fff, -.05em 0 0 #fff,
    .035em .035em 0 #fff, -.035em .035em 0 #fff, .035em -.035em 0 #fff, -.035em -.035em 0 #fff,
    .09em .1em 0 var(--ink),
    .1em .16em .2em rgba(40, 15, 0, .35);
}
.title__line { display: block; }
.title__line:nth-child(2) { color: var(--baby-blue); }
.subtitle {
  margin: .35em 0 0;
  font-family: var(--font-title);
  font-size: clamp(22px, 2.6vw + .4vmin, 46px);
  line-height: 1.05;
  color: var(--butter);
  transform: rotate(2deg);
  text-shadow:
    0 .06em 0 var(--ink), .06em 0 0 var(--ink), 0 -.06em 0 var(--ink), -.06em 0 0 var(--ink),
    .045em .045em 0 var(--ink), -.045em .045em 0 var(--ink), .045em -.045em 0 var(--ink), -.045em -.045em 0 var(--ink),
    .08em .1em 0 var(--ink);
}
.title__hint {
  margin: .6em 0 0;
  display: inline-block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 26px);
  color: var(--ink);
  background: var(--butter);
  padding: .1em .7em .15em;
  transform: rotate(2deg);
  box-shadow: 2px 3px 0 rgba(43, 29, 58, .25);
}

/* little 4-point sparkles */
.sparkle {
  position: absolute;
  width: 1em; height: 1em;
  font-size: clamp(22px, 2.6vw, 44px);
  background: #fff;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9));
  animation: twinkle 2.4s ease-in-out infinite;
}
.sparkle--a { top: -.4em; left: -.6em; }
.sparkle--b { top: 30%; right: -.9em; font-size: clamp(14px, 1.6vw, 28px); animation-delay: .8s; background: var(--butter); }
.sparkle--c { bottom: 18%; left: -1.1em; font-size: clamp(12px, 1.2vw, 22px); animation-delay: 1.5s; background: var(--lime); }
@keyframes twinkle {
  0%, 100% { transform: scale(.6) rotate(0); opacity: .6; }
  50% { transform: scale(1.1) rotate(45deg); opacity: 1; }
}

/* ── Items (shared) ──────────────────────────── */
.item {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1vmin);
  transform: rotate(calc(var(--r) * 1deg));
  transform-origin: 50% 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  z-index: 2;
  transition: transform .35s var(--pop), filter .35s ease;
  filter: drop-shadow(3px 6px 5px rgba(50, 25, 5, .45));
  -webkit-tap-highlight-color: transparent;
}
.item:hover,
.item:focus-visible {
  transform: rotate(calc(var(--r) * .3deg)) scale(1.07) translateY(-4px);
  filter: drop-shadow(8px 16px 14px rgba(50, 25, 5, .45));
  z-index: 5;
}
.item:focus-visible { outline: none; }
.item:focus-visible .item__face { outline: 4px solid var(--lime); outline-offset: 6px; }
.item:active { transform: rotate(calc(var(--r) * .3deg)) scale(1.02); }

.item__face, .item__face span, .art-item { display: block; }
.art-item { position: relative; }

/* push pin */
.pin {
  position: absolute;
  top: -.55em; left: 50%;
  width: 1.15em; height: 1.15em;
  margin-left: -.575em;
  font-size: clamp(14px, 2.4vmin, 26px);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 12%, var(--pin) 30%, color-mix(in srgb, var(--pin) 60%, #000) 100%);
  box-shadow: 2px 4px 3px rgba(40, 15, 0, .5);
  z-index: 3;
}
.pin--pink { --pin: var(--hot-pink); }
.pin--blue { --pin: #3fb5ff; }
.pin--lime { --pin: #9bd400; }
.pin--yellow { --pin: #ffc400; }
.pin--lilac { --pin: #a77bff; }
.item:hover .pin { animation: pin-wiggle .5s ease; }
@keyframes pin-wiggle {
  30% { transform: rotate(-12deg); } 60% { transform: rotate(10deg); }
}

/* washi tape */
.tape {
  position: absolute;
  top: -.7em; left: 50%;
  width: 40%; height: 1.6em;
  font-size: clamp(12px, 1.8vmin, 20px);
  transform: translateX(-50%) rotate(-4deg);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .45) 0 6px, transparent 6px 12px),
    rgba(255, 143, 199, .78);
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 100% 0, 96% 12%, 100% 25%, 96% 50%, 100% 75%, 96% 90%, 100% 100%, 6% 100%, 0 88%, 4% 70%, 0 50%, 4% 30%);
  z-index: 3;
}
.item:nth-of-type(3n) .tape { background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 5px, transparent 5px 10px), rgba(143, 211, 255, .8); transform: translateX(-50%) rotate(3deg); }
.item:nth-of-type(3n+1) .tape { background: radial-gradient(circle, rgba(255,255,255,.7) 0 2px, transparent 2.5px) 0 0 / 9px 9px, rgba(198, 244, 50, .75); }

/* ── Polaroid ────────────────────────────────── */
.polaroid .item__face {
  background: var(--paper);
  padding: 7% 7% 0;
  border-radius: 2px;
}
.polaroid .photo {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  background: #222;
}
.polaroid .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid .caption {
  display: block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: calc(var(--w) * .13vmin + 6px);
  line-height: 1;
  padding: .35em 0 .45em;
  text-align: center;
  color: var(--ink);
}

/* placeholder photo scenes */
.scene { width: 100%; height: 100%; position: relative; }
.scene--lake {
  background:
    radial-gradient(circle at 62% 40%, #fff6c8 0 8%, #ffd36e 9% 13%, transparent 14%),
    linear-gradient(#ff9ecf 0%, #ffc7a8 42%, #5ab8e6 42%, #2a84c4 100%);
}
.scene--lake::after {
  content: ""; position: absolute; left: 0; right: 0; top: 42%; height: 4%;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 10%, transparent 10% 18%);
}
.scene--concert {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 79, 163, .9), transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(143, 211, 255, .9), transparent 50%),
    radial-gradient(ellipse at 50% 10%, rgba(198, 244, 50, .7), transparent 40%),
    linear-gradient(#2a1046, #0d0618);
}
.scene--concert::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: radial-gradient(circle at 50% 100%, #0d0618 0 30%, transparent 31%) 0 0 / 22% 100% repeat-x;
}
.scene--camera {
  background:
    radial-gradient(circle at 50% 54%, #222 0 13%, #666 14% 17%, #111 18% 21%, transparent 22%),
    linear-gradient(transparent 32%, #e9e4f2 32% 78%, transparent 78%) 50% 0 / 70% 100% no-repeat,
    linear-gradient(135deg, #c9a7ff, #8fd3ff);
}
.scene--city {
  background:
    linear-gradient(transparent 55%, #2b1d3a 55%) 0 0 / 14% 100%,
    linear-gradient(transparent 42%, #3a2650 42%) 7% 0 / 19% 100%,
    linear-gradient(transparent 62%, #24163a 62%) 3% 0 / 11% 100%,
    radial-gradient(circle at 50% 48%, #ffe36e 0 14%, transparent 15%),
    linear-gradient(#ff4fa3, #ff9e6e 55%, #ffd36e);
}
.scene--kitchen {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 22%, #ffe36e 23% 30%, transparent 31%),
    repeating-conic-gradient(#ff5a6e 0 25%, #fff 0 50%) 0 0 / 22% 22%;
}

/* ── Postcard ────────────────────────────────── */
.postcard .item__face {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--paper);
  padding: 5%;
  border-radius: 3px;
}
.postcard .postcard__front {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 2px;
}
.postcard .postcard__front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.postcard .greetings {
  position: absolute;
  left: 6%; top: 8%;
  text-align: left;
  line-height: .9;
  color: #fff;
  text-shadow: 2px 2px 0 var(--ink);
}
.postcard .greetings small {
  display: block;
  font-family: var(--font-hand);
  font-size: calc(var(--w) * .1vmin + 4px);
  font-weight: 700;
}
.postcard .greetings b {
  display: block;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: calc(var(--w) * .12vmin + 4px);
  color: var(--butter);
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--ink);
}
.stamp {
  position: absolute;
  right: 7%; top: 9%;
  width: 18%;
  aspect-ratio: 4 / 5;
  background: var(--lime);
  /* perforated edge */
  -webkit-mask: radial-gradient(circle 3px at 3px 3px, transparent 98%, #000) -3px -3px / 8px 8px;
          mask: radial-gradient(circle 3px at 3px 3px, transparent 98%, #000) -3px -3px / 8px 8px;
  box-shadow: inset 0 0 0 4px #fff;
}
.stamp::after {
  content: "♡";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: calc(var(--w) * .1vmin + 4px);
  color: var(--hot-pink);
}
.postmark {
  position: absolute;
  right: 18%; top: 22%;
  width: 22%; aspect-ratio: 1;
  border: 2px solid rgba(43, 29, 58, .6);
  border-radius: 50%;
  box-shadow: 0 0 0 4px transparent, 14px 0 0 -2px transparent;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(43, 29, 58, .45) 5px 7px) 120% 50% / 60% 50% no-repeat;
}

/* ── Drawing ─────────────────────────────────── */
.drawing .item__face {
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.drawing .item__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.paper--lined {
  background:
    radial-gradient(circle at 6% 15%, var(--cork) 0 3.5%, transparent 4%),
    radial-gradient(circle at 6% 50%, var(--cork) 0 3.5%, transparent 4%),
    radial-gradient(circle at 6% 85%, var(--cork) 0 3.5%, transparent 4%),
    linear-gradient(90deg, transparent 15%, #ff7a8a 15% 16%, transparent 16%),
    repeating-linear-gradient(#fff 0 9%, #a9d4f5 9% 9.6%) 0 6% / 100% 100%,
    #fff;
}
.paper--graph {
  background:
    linear-gradient(rgba(120, 170, 220, .45) 1px, transparent 1px) 0 0 / 10% 8%,
    linear-gradient(90deg, rgba(120, 170, 220, .45) 1px, transparent 1px) 0 0 / 10% 8%,
    #fbfdff;
}
.doodle { position: absolute; inset: 8% 6% 6% 18%; width: auto; height: auto; }
.paper--graph .doodle { inset: 8%; }

/* ── Sticker ─────────────────────────────────── */
.sticker .item__face svg {
  display: block;
  width: 100%; height: auto;
  overflow: visible;
  /* die-cut white border */
  filter:
    drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
    drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff);
}
.sticker { transform-origin: 50% 50%; }
.sticker::after {
  /* glossy shine strip */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 45%, transparent 55%);
  background-size: 250% 100%;
  background-position: 120% 0;
  mix-blend-mode: soft-light;
  pointer-events: none;
  transition: background-position .6s ease;
}
.sticker:hover::after { background-position: -20% 0; }

/* ── Pop-up ──────────────────────────────────── */
.popup {
  width: min(92vw, 1180px);
  height: min(88vh, 900px);
  max-width: none; max-height: none;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 12px 0 var(--ink), 0 30px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.popup[open] { display: flex; animation: pop-in .45s var(--pop); }
.popup.is-closing { animation: pop-out .2s ease-in forwards; }
.popup::backdrop {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .25) 1px, transparent 1.5px) 0 0 / 14px 14px,
    rgba(43, 29, 58, .6);
  backdrop-filter: blur(3px);
}
@keyframes pop-in { from { transform: scale(.6) rotate(-4deg); opacity: 0; } }
@keyframes pop-out { to { transform: scale(.85) rotate(2deg); opacity: 0; } }

.popup__bar {
  flex: none;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px 10px 16px;
  border-bottom: 3px solid var(--ink);
  background: linear-gradient(180deg, #ffd0ea 0%, var(--hot-pink) 55%, #e23a8c 100%);
  color: #fff;
}
.popup__dots { display: flex; gap: 6px; }
.popup__dots i {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff 0 15%, var(--c) 45%);
}
.popup__dots i:nth-child(1) { --c: var(--butter); }
.popup__dots i:nth-child(2) { --c: var(--lime); }
.popup__dots i:nth-child(3) { --c: var(--baby-blue); }
.popup__bar-title {
  flex: 1;
  font-family: var(--font-title);
  font-size: 18px;
  letter-spacing: .02em;
  text-shadow: 1px 1px 0 var(--ink);
}
.popup__close {
  width: 40px; height: 40px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--chrome-1), var(--chrome-2));
  color: var(--ink);
  font: 700 18px/1 var(--font-body);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.popup__close:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.popup__close:focus-visible { outline: 4px solid var(--lime); outline-offset: 2px; }

.popup__scroll {
  --pad: clamp(20px, 4vw, 48px);
  flex: 1;
  overflow-y: auto;
  padding: var(--pad);
  overscroll-behavior: contain;
}

.pop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.pop-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  font: 700 13px/1.2 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pop-title {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: .95;
  color: var(--hot-pink);
  text-shadow: 3px 3px 0 var(--ink);
}
.pop-body p { margin: 0 0 1em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 60ch; }

.pop-art {
  display: grid; place-items: center;
  aspect-ratio: 1;
  max-height: 46vh;
  margin: 0 auto;
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .7) 1.5px, transparent 2px) 0 0 / 18px 18px,
    linear-gradient(135deg, var(--bubblegum), var(--baby-blue) 60%, var(--lime));
  overflow: hidden;
}
.pop-art > * {
  width: 62%;
  pointer-events: none;
  filter: drop-shadow(6px 10px 8px rgba(43, 29, 58, .35));
}
.pop-art .item { position: relative; left: auto; top: auto; transform: rotate(-4deg); cursor: default; }

/* animations for the art */
.anim-spin > * { animation: a-spin 4s linear infinite; }
.anim-flutter > * { animation: a-flutter .5s ease-in-out infinite alternate; }
.anim-bounce > * { animation: a-bounce 1.1s var(--pop) infinite; }
.anim-float > * { animation: a-float 3.2s ease-in-out infinite; }
.anim-wiggle > * { animation: a-wiggle 1.6s ease-in-out infinite; }
@keyframes a-spin { to { transform: rotate(360deg); } }
@keyframes a-flutter { from { transform: scaleX(1) rotate(-6deg); } to { transform: scaleX(.75) rotate(6deg) translateY(-6px); } }
@keyframes a-bounce { 0%, 100% { transform: translateY(0) scale(1, 1); } 40% { transform: translateY(-14%) scale(.95, 1.05); } 70% { transform: translateY(0) scale(1.08, .92); } }
@keyframes a-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6%) rotate(3deg); } }
@keyframes a-wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) scale(1.04); } }

.pop-section { margin-top: clamp(28px, 4vw, 44px); }
.pop-section h3 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
}
.pop-section h3::before {
  content: "";
  width: .8em; height: .8em;
  background: var(--butter);
  border: 2px solid var(--ink);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}
.gallery figure {
  margin: 0;
  padding: 10px 10px 0;
  background: #fff;
  box-shadow: 3px 5px 10px rgba(43, 29, 58, .25);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .3s var(--pop);
}
.gallery figure:hover { transform: rotate(0) scale(1.04); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.gallery figcaption {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  padding: 6px 0 10px;
}

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.media-frame iframe, .media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ig-wrap { display: flex; justify-content: center; }
.ig-wrap .instagram-media { margin: 0 auto !important; }

/* placeholders: show where content goes */
.placeholder {
  display: grid; place-items: center;
  text-align: center;
  padding: 18px;
  border: 3px dashed rgba(43, 29, 58, .45);
  border-radius: 14px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 179, 217, .35) 0 12px, rgba(255, 255, 255, .5) 12px 24px);
  color: rgba(43, 29, 58, .75);
  font-size: 15px;
  line-height: 1.4;
}
.placeholder b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.placeholder code { font-size: 13px; background: rgba(255, 255, 255, .8); padding: 1px 5px; border-radius: 4px; }
.gallery .placeholder { aspect-ratio: 1; border-radius: 0; border-width: 2px; }
.media-frame .placeholder { position: absolute; inset: 0; border: 0; border-radius: 0; background: repeating-linear-gradient(45deg, #2b1d3a 0 14px, #3a2650 14px 28px); color: #e8dcf5; }
.media-frame .placeholder b { color: #fff; }
.ig-wrap .placeholder { width: min(100%, 420px); aspect-ratio: 4 / 5; }

/* ── About button + letter ───────────────────── */
.about-btn {
  position: absolute;
  top: clamp(12px, 2vmin, 22px);
  right: clamp(12px, 2vmin, 22px);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .45em 1.1em .5em;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd0ea 0%, var(--hot-pink) 55%, #e23a8c 100%);
  color: #fff;
  font: 400 clamp(17px, 1.5vw, 24px)/1 var(--font-title);
  letter-spacing: .02em;
  text-shadow: 1px 1px 0 var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(3deg);
  cursor: pointer;
  transition: transform .25s var(--pop), box-shadow .2s ease;
}
.about-btn span { color: var(--butter); }
.about-btn:hover { transform: rotate(0) scale(1.06); }
.about-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.about-btn:focus-visible { outline: 4px solid var(--lime); outline-offset: 3px; }

.popup.popup--compact { width: min(92vw, 760px); height: auto; max-height: 88vh; }
.about { max-width: 62ch; margin: 0 auto; }
.about-title {
  margin: 0 0 22px;
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 84px);
  line-height: .85;
  color: var(--hot-pink);
  text-shadow: 3px 3px 0 var(--ink);
}
.about-letter {
  padding: 26px 26px 22px 56px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 38px, #ff7a8a 38px 40px, transparent 40px),
    repeating-linear-gradient(#fff 0 31px, #cfe6f8 31px 32px) 0 21px,
    #fff;
  box-shadow: 4px 6px 14px rgba(43, 29, 58, .2);
  transform: rotate(-.6deg);
}
.about-letter p { margin: 0 0 32px; font-size: 17px; line-height: 32px; }
.about-letter em { font-style: italic; background: var(--bubblegum); padding: 0 .2em; }
.about-letter strong { background: var(--butter); padding: 0 .2em; }
.about-closing {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 30px !important;
  color: #b0306f;
  margin-bottom: 0 !important;
}
.about-start {
  display: block;
  margin: 26px auto 0;
  padding: 12px 26px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font: 400 20px/1 var(--font-title);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.about-start:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.about-start:focus-visible { outline: 4px solid var(--hot-pink); outline-offset: 3px; }

/* ── Torn recipe page (board) ────────────────── */
.recipe .item__face {
  --lh: 1.42em;             /* one ruled line */
  --top: 2.5em;             /* first line of writing */
  position: relative;
  aspect-ratio: 4 / 5;
  padding: var(--top) 1em .6em 3.3em;
  overflow: hidden;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: calc(var(--w) * .052vmin + 2px);
  line-height: var(--lh);
  color: #2b3f8f; /* blue-ink handwriting */
  background:
    linear-gradient(90deg, transparent 2.6em, #ff7a8a 2.6em, #ff7a8a calc(2.6em + 1.5px), transparent calc(2.6em + 1.5px)),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--lh) - 1px), #a9d4f5 calc(var(--lh) - 1px) var(--lh)) 0 calc(var(--top) + .12em) / 100% 100%,
    #fffefa;
  /* torn top edge, where it was ripped out of the notebook */
  clip-path: polygon(0 4%, 4% 1.5%, 8% 4.5%, 13% 2%, 18% 5%, 23% 1%, 29% 4%, 34% 2.5%, 40% 5%, 46% 1.5%, 52% 4%, 57% 2%, 63% 5%, 69% 1%, 75% 4%, 80% 2%, 86% 4.5%, 91% 1.5%, 96% 4%, 100% 2%, 100% 100%, 0 100%);
}
.recipe .item__face > span { white-space: nowrap; height: var(--lh); }
.rp-title { font-size: 1.3em; line-height: calc(var(--lh) / 1.3) !important; height: auto !important; color: var(--hot-pink); text-decoration: underline wavy var(--hot-pink) 1px; text-underline-offset: 2px; }
.rp-line::before { content: "- "; }
.rp-sub { color: var(--hot-pink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.rp-step b { color: var(--hot-pink); font-weight: 700; }
.rp-cake { position: absolute !important; right: 2%; top: 5%; width: 18% !important; height: auto !important; transform: rotate(8deg); }
.rp-cake svg { display: block; width: 100%; height: auto; }

/* ── Kitchen diary (pop-up) ──────────────────── */
.kt-head { margin-bottom: 8px; }
.kt-intro { margin: 0 0 14px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.kt-ph { opacity: .45; }
.kt-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(190px, 44vw), 1fr));
  gap: 22px;
}
/* Lately: flip cards. Both faces sit in the same grid cell, so the card is as
   tall as its longer side; the back is turned 180deg until the card flips. */
.kt-card { transform: rotate(var(--tilt)); transition: transform .3s var(--pop); perspective: 900px; }
.kt-card:hover { transform: rotate(0) translateY(-4px); }
.kt-flip {
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.kt-flip:disabled { cursor: default; }
.kt-flip:focus-visible { outline: 4px solid var(--lime); outline-offset: 4px; border-radius: 6px; }
.kt-flip-inner {
  display: grid !important;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s var(--pop);
}
.kt-flip[aria-pressed="true"] .kt-flip-inner { transform: rotateY(180deg); }
.kt-face {
  grid-area: 1 / 1;
  display: flex !important;
  flex-direction: column;
  gap: 2px;
  padding: 12px 12px 12px;
  border-radius: 4px;
  background:
    linear-gradient(#ff7a8a, #ff7a8a) 0 34px / 100% 1.5px no-repeat,
    repeating-linear-gradient(180deg, #fffefa 0 23px, #cfe6f8 23px 24px);
  box-shadow: 3px 5px 12px rgba(43, 29, 58, .2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.kt-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(90deg, transparent 18px, #ff7a8a 18px 20px, transparent 20px),
    repeating-linear-gradient(180deg, #fff7fb 0 23px, #f3d6e6 23px 24px);
  padding-left: 30px;
}
.kt-back .kt-name { margin-bottom: 4px; }
.kt-back .kt-note { font-size: 14.5px; line-height: 24px; margin: 0; }
.kt-hint {
  margin-top: auto;
  padding-top: 6px;
  align-self: flex-end;
  font: 700 11px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b0306f;
}
@media (prefers-reduced-motion: reduce) { .kt-flip-inner { transition: none; } }
.kt-pic { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; border-radius: 6px; overflow: hidden; background: #fff0f7; border: 2px dashed rgba(43, 29, 58, .25); }
.kt-pic svg { width: 76%; height: auto; }
.kt-pic { position: relative; }
.kt-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kt-name { font-family: var(--font-hand); font-weight: 700; font-size: 24px; line-height: 1.05; color: #2b3f8f; }
.kt-date { font-size: 13px; color: #6b5a7d; margin: 0; }
.kt-note { font-size: 14px; line-height: 1.4; margin-top: 4px; }

.kt-cakes {
  margin-left: calc(var(--pad) * -1);
  margin-right: calc(var(--pad) * -1);
  padding: 28px var(--pad) 34px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .55) 2px, transparent 2.5px) 0 0 / 18px 18px,
    linear-gradient(135deg, #ffd0ea, #ffb3d9 60%, #ffe0b3);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.kt-cakes h3::before { background: var(--hot-pink); }
.kt-cake-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.kt-cake {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 6px 0 var(--ink);
}
.kt-cake-pic { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff0f7; }
.kt-cake-pic svg { width: 84%; height: auto; animation: a-float 4s ease-in-out infinite; }
.kt-cake-pic { position: relative; }
.kt-cake-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kt-occasion { margin: 0 0 4px; font: 700 12px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #8a2457; }
.kt-cake h4 { margin: 0 0 4px; font: 400 clamp(22px, 2.4vw, 30px)/1.05 var(--font-title); color: var(--hot-pink); text-shadow: 2px 2px 0 var(--ink); }
.kt-cake-note { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }

.kt-recipes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.kt-recipe {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 16px 30px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 18px, #ff7a8a 18px 20px, transparent 20px),
    repeating-linear-gradient(180deg, #fffefa 0 25px, #cfe6f8 25px 26px);
  box-shadow: 3px 5px 12px rgba(43, 29, 58, .2);
}
.kt-recipe-title { font-family: var(--font-hand); font-weight: 700; font-size: 26px; line-height: 1.05; color: #2b3f8f; }
.kt-recipe-src { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b5a7d; }
.kt-recipe-note { font-size: 14px; line-height: 1.4; }
.kt-open {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  padding: 8px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font: 400 15px/1 var(--font-title);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
}
.kt-open svg { width: 16px; height: 16px; }
.kt-open:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.kt-open:focus-visible { outline: 3px solid var(--hot-pink); outline-offset: 3px; }
.kt-open--empty { background: #fff; border-style: dashed; box-shadow: none; opacity: .55; }
@media (max-width: 560px) { .kt-cake { grid-template-columns: 1fr; } }

/* ── Videos & podcasts (pop-up) ──────────────── */
.md-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: clamp(20px, 2.6vw, 30px);
  align-items: start;
}
.md-item.pw-in { animation: pw-in .4s var(--pop) both; }
.md-card {
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #fff;
  box-shadow: 5px 6px 0 var(--ink);
}
/* chunky Y2K screen bezel around each video */
.md-screen {
  padding: 12px;
  background: linear-gradient(180deg, var(--chrome-1), var(--chrome-2));
  border-bottom: 3px solid var(--ink);
}
.md-screen > * {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.md-screen iframe { border: 3px solid var(--ink); }
.md-thumb { position: relative; padding: 0; cursor: pointer; }
.md-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.md-thumb:hover img { transform: scale(1.04); }
.md-play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--hot-pink);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .2s var(--pop);
}
.md-play svg { width: 30px; height: 30px; margin-left: 4px; }
.md-thumb:hover .md-play { transform: translate(-50%, -50%) scale(1.1); }
.md-thumb:focus-visible { outline: 4px solid var(--lime); outline-offset: 3px; }
.md-static {
  display: grid !important; place-items: center;
  padding: 16px;
  text-align: center;
  color: #e8dcf5;
  font-size: 14px;
  line-height: 1.4;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(45deg, #2b1d3a 0 14px, #3a2650 14px 28px) !important;
}
.md-static b, .md-pod-empty b { display: block; margin-bottom: 4px; font: 400 19px/1.2 var(--font-title); color: inherit; }
.md-static code, .md-pod-empty code { font-size: 12px; background: rgba(255, 255, 255, .85); color: var(--ink); padding: 1px 5px; border-radius: 4px; }
.md-info { display: grid; gap: 3px; padding: 14px 16px 16px; }
.md-tag {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 5px;
  margin-bottom: 4px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--baby-blue);
  font: 700 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.md-tag svg { width: 15px; height: 15px; }
.md-tag--pod { background: var(--lime); }
.md-title { margin: 0; font: 400 21px/1.15 var(--font-title); color: var(--ink); }
.md-by { margin: 0; font-size: 14px; font-weight: 700; color: #8a2457; }
.md-note { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.md-card--podcast { background: linear-gradient(180deg, #fff 0%, #fff7fb 100%); }
.md-pod { display: block; width: calc(100% - 28px); margin: 0 14px 14px; border: 0; border-radius: 12px; }
.md-pod--spotify { height: 152px; }
.md-pod--apple { height: 175px; }
.md-pod-empty {
  display: grid; place-items: center;
  min-height: 152px;
  margin: 0 14px 14px;
  padding: 16px;
  text-align: center;
  border: 3px dashed rgba(43, 29, 58, .4);
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, rgba(198, 244, 50, .25) 0 12px, rgba(255, 255, 255, .6) 12px 24px);
  color: rgba(43, 29, 58, .75);
  font-size: 14px;
  line-height: 1.4;
}
.md-pod-empty b { color: var(--ink); }
.md-link { display: inline-block; margin: -4px 16px 14px; font-size: 14px; font-weight: 700; color: #8a2457; }

/* ── Flower bunch (board) ────────────────────── */
.bouquet .item__face { aspect-ratio: 100 / 140; }
.bouquet .bq { display: block; width: 100%; height: 100%; overflow: visible; }
.bouquet .tape { top: 66%; width: 62%; transform: translateX(-50%) rotate(-10deg); }
.bouquet { transform-origin: 50% 70%; }

/* ── Nature Polaroids (pop-up) ───────────────── */
.nt-head { margin-bottom: clamp(22px, 3vw, 34px); }
.nt-intro { margin: 0 0 14px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 56ch; }
.nt-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 44vw), 1fr));
  gap: clamp(24px, 3vw, 38px) clamp(18px, 2.4vw, 30px);
}
.nt-grid li { transform: rotate(var(--tilt)); transition: transform .3s var(--pop); }
.nt-grid li:hover { transform: rotate(0) translateY(-6px) scale(1.04); z-index: 1; }
.nt-polaroid {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  cursor: zoom-in;
}
.nt-polaroid:focus-visible { outline: 4px solid var(--lime); outline-offset: 6px; }
.nt-polaroid figure, .nt-big {
  margin: 0;
  padding: 7% 7% 0;
  background: var(--paper);
  box-shadow: 3px 6px 14px rgba(43, 29, 58, .25);
}
.nt-photo { display: block; aspect-ratio: 1; overflow: hidden; background: #e6f5ff; }
.nt-photo img, .nt-photo svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.nt-polaroid figcaption, .nt-big figcaption {
  display: grid;
  gap: 1px;
  padding: 10px 4px 14px;
  text-align: center;
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1.05;
}
.nt-place { font-size: 24px; }
.nt-date { font-size: 18px; color: #6b5a7d; }
.nt-cap--empty { opacity: .45; }
.nt-tape {
  position: absolute; z-index: 2;
  top: -10px; left: 50%;
  width: 44%; height: 22px;
  transform: translateX(-50%) rotate(-4deg);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 6px, transparent 6px 12px), rgba(198, 244, 50, .8);
}
.nt-light {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(43, 29, 58, .72);
  backdrop-filter: blur(3px);
}
.nt-light[hidden] { display: none; }
.popup__scroll:has(.nt-light:not([hidden])) { overflow: hidden; }
.nt-light-body { width: min(560px, 100%, 70vh); animation: pop-in .4s var(--pop); }
.nt-big { padding: 6% 6% 0; transform: rotate(-1.5deg); }
/* the larger view shows real photos uncropped */
.nt-big .nt-photo:has(img) { aspect-ratio: auto; background: none; }
.nt-big .nt-photo img { width: 100%; height: auto; max-height: 64vh; object-fit: contain; }
.nt-light-body:has(img) { width: auto; max-width: min(760px, 100%); }
.nt-big .nt-place { font-size: 34px; }
.nt-big .nt-date { font-size: 24px; }
.nt-light-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--chrome-1), var(--chrome-2));
  color: var(--ink);
  font: 700 18px/1 var(--font-body);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.nt-light-close:focus-visible { outline: 4px solid var(--lime); outline-offset: 2px; }

/* ── Ticket stub (board) ─────────────────────── */
.ticket .item__face {
  display: flex !important;
  aspect-ratio: 2.35 / 1;
  border-radius: 6px;
  /* notches at the perforation, top and bottom */
  -webkit-mask: radial-gradient(circle at 76% 0, transparent 5%, #000 5.2%) top / 100% 51% no-repeat,
                radial-gradient(circle at 76% 100%, transparent 5%, #000 5.2%) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 76% 0, transparent 5%, #000 5.2%) top / 100% 51% no-repeat,
                radial-gradient(circle at 76% 100%, transparent 5%, #000 5.2%) bottom / 100% 51% no-repeat;
  color: var(--ink);
  font-size: calc(var(--w) * .05vmin + 2px);
}
.tk-main {
  position: relative;
  flex: 0 0 76%;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: .25em;
  padding: 0 8%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 12px),
    linear-gradient(110deg, #ff4fa3 0%, #ff8a6b 45%, #ffd36e 100%);
  border-right: 2px dashed rgba(43, 29, 58, .55);
}
.ticket .tape { left: 76%; width: 26%; transform: translateX(-50%) rotate(6deg); }
.tk-wheel { position: absolute; right: 3%; top: 50%; width: 30%; transform: translateY(-50%); opacity: .3; z-index: 0; }
.tk-main > span { position: relative; z-index: 1; }
.tk-top { font: 700 1.05em/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.tk-name {
  font-family: var(--font-ticket);
  font-size: calc(var(--w) * .145vmin);
  line-height: .95;
  color: var(--ink);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tk-sub { font: 700 1.05em/1.1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.tk-row { display: flex !important; align-items: baseline; gap: .6em; }
.tk-row b { font: 400 1.9em/1 var(--font-ticket); color: var(--ink); letter-spacing: .04em; }
.tk-row span { font: 700 .95em/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.tk-stub {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5em;
  background: var(--butter);
}
.tk-stub-text { font: 700 .95em/1 "Courier New", ui-monospace, monospace; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .1em; }
.tk-barcode {
  width: 55%;
  height: 40%;
  background: repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px);
}

.tk-back {
  position: absolute !important;
  inset: 0;
  z-index: -1;
  border-radius: 6px;
}
.tk-back--1 { background: linear-gradient(110deg, #8fd3ff, #c9a7ff); transform: rotate(7deg) translate(4%, -10%); }
.tk-back--2 { background: linear-gradient(110deg, #c6f432, #8fd3ff); transform: rotate(-6deg) translate(-5%, 9%); }
.tk-back::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 24%;
  background: #fffdf6; border-left: 2px dashed rgba(43, 29, 58, .4); border-radius: 0 6px 6px 0;
}

/* Cartoon look: bold ink outline on every ticket, a thick white die-cut
   border around the whole stack (like the stickers), rounder corners and a shine */
.item.ticket {
  filter:
    drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
    drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
    drop-shadow(3px 6px 5px rgba(50, 25, 5, .45));
}
.item.ticket:hover, .item.ticket:focus-visible {
  filter:
    drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff)
    drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
    drop-shadow(8px 16px 14px rgba(50, 25, 5, .45));
}
.ticket .item__face { position: relative; border-radius: 12px; }
.ticket .item__face::after {
  /* ink outline drawn on top of the ticket */
  content: "";
  position: absolute; inset: 0;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  pointer-events: none;
}
.tk-back { border: 2.5px solid var(--ink); border-radius: 12px; }
.tk-back::after { border-radius: 0 10px 10px 0; }
.tk-main { border-radius: 12px 0 0 12px; }
.tk-stub { border-radius: 0 12px 12px 0; }
.tk-main::after {
  /* glossy cartoon shine */
  content: "";
  position: absolute; z-index: 1;
  left: 3%; top: 6%;
  width: 18%; height: 5%;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  pointer-events: none;
}

/* ── Ticket wall (pop-up) ────────────────────── */
.tw-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: clamp(22px, 3vw, 34px) clamp(18px, 2.4vw, 28px);
}
.tw-item { transform: rotate(var(--tilt)); transition: transform .3s var(--pop); }
.tw-item:hover { transform: rotate(0) translateY(-6px) scale(1.03); z-index: 1; }
.tw-item.pw-in { animation: pw-in .4s var(--pop) both; }
.tw-ticket {
  container-type: inline-size;
  display: flex;
  aspect-ratio: 2.35 / 1;
  border-radius: 10px;
  color: var(--ink);
  filter: drop-shadow(4px 5px 0 var(--ink)) drop-shadow(0 8px 12px rgba(43, 29, 58, .18));
}
.tw-main, .tw-stub {
  -webkit-mask: radial-gradient(circle at var(--nx) 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at var(--nx) 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at var(--nx) 0, transparent 9px, #000 9.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at var(--nx) 100%, transparent 9px, #000 9.5px) bottom / 100% 51% no-repeat;
}
.tw-main {
  --nx: 100%;
  position: relative;
  flex: 0 0 76%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6cqw;
  padding: 0 6cqw;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(110deg, var(--a), var(--b));
  border-right: 2px dashed rgba(43, 29, 58, .5);
}
.tw-stub {
  --nx: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3cqw;
  border-radius: 0 10px 10px 0;
  background: var(--s);
}
/* four pattern styles layered over the gradient */
.tw-style-0 .tw-main { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 3px, transparent 3px 16px), linear-gradient(110deg, var(--a), var(--b)); }
.tw-style-1 .tw-main { background: radial-gradient(circle, rgba(255, 255, 255, .3) 2px, transparent 2.5px) 0 0 / 14px 14px, linear-gradient(110deg, var(--a), var(--b)); }
.tw-style-2 .tw-main { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 42%, transparent 54%), linear-gradient(110deg, var(--a), var(--b)); }
.tw-style-3 .tw-main { background: repeating-conic-gradient(from 0deg at 110% 120%, rgba(255, 255, 255, .14) 0 6deg, transparent 6deg 12deg), linear-gradient(110deg, var(--a), var(--b)); }
.tw-motif { position: absolute; right: 2.5cqw; top: 50%; width: 16cqw; height: 16cqw; transform: translateY(-50%) rotate(-8deg); }
.tw-main > span { position: relative; z-index: 1; max-width: 52cqw; }
.tw-top { font: 700 3cqw/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--u); }
.tw-name {
  font-family: var(--font-stub);
  font-size: 11cqw;
  line-height: 1;
  color: var(--t);
  /* thin, crisp outline all round plus a small drop shadow */
  text-shadow:
    -.035em -.035em 0 var(--o, var(--ink)), .035em -.035em 0 var(--o, var(--ink)), -.035em .035em 0 var(--o, var(--ink)), .035em .035em 0 var(--o, var(--ink)),
    0 -.045em 0 var(--o, var(--ink)), 0 .045em 0 var(--o, var(--ink)), -.045em 0 0 var(--o, var(--ink)), .045em 0 0 var(--o, var(--ink)),
    .07em .09em 0 var(--o, var(--ink));
  letter-spacing: .01em;
}
.tw-sub { font: 700 3.2cqw/1.15 var(--font-body); letter-spacing: .04em; color: var(--u); }
.tw-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4em 1em; }
.tw-row b { font: 400 6cqw/1 var(--font-stub); color: var(--t); text-shadow: -.04em -.04em 0 var(--o, var(--ink)), .04em -.04em 0 var(--o, var(--ink)), -.04em .04em 0 var(--o, var(--ink)), .04em .04em 0 var(--o, var(--ink)), .06em .08em 0 var(--o, var(--ink)); }
.tw-row span { font: 700 2.8cqw/1.2 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: var(--u); }
.tw-no { font: 700 3cqw/1 "Courier New", ui-monospace, monospace; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .1em; color: var(--ink); }
.tw-barcode { width: 50%; height: 34%; background: repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px); }

/* ── Receipts stack (board) ──────────────────── */
.receipts .item__face { position: relative; aspect-ratio: 1 / 2; }
.rc {
  position: absolute;
  inset: 0;
  background: #fffefa;
  /* torn zig-zag bottom edge */
  clip-path: polygon(0 0, 100% 0, 100% 96%, 95% 100%, 90% 96%, 85% 100%, 80% 96%, 75% 100%, 70% 96%, 65% 100%, 60% 96%, 55% 100%, 50% 96%, 45% 100%, 40% 96%, 35% 100%, 30% 96%, 25% 100%, 20% 96%, 15% 100%, 10% 96%, 5% 100%, 0 96%);
}
.rc--1 { background: #f3ead6; transform: rotate(-9deg) translate(-8%, 5%); }
.rc--2 { background: #fbf3e2; transform: rotate(7deg) translate(7%, 3%); }
.rc--3 {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: .32em;
  padding: 12% 10% 16%;
  font: 700 calc(var(--w) * .068vmin + 2.2px)/1.2 "Courier New", ui-monospace, monospace;
  color: var(--ink);
  text-transform: uppercase;
  background:
    repeating-linear-gradient(0deg, rgba(43, 29, 58, .025) 0 2px, transparent 2px 4px),
    #fffefa;
}
.rc-head { text-align: center; letter-spacing: .08em; }
.rc-store { text-align: center; font-family: var(--font-logo); font-weight: 400; font-size: 1.7em; line-height: 1; text-transform: none; color: var(--hot-pink); }
.rc-rule { height: 0; border-top: 1.5px dashed rgba(43, 29, 58, .6); }
.rc-line { display: flex !important; justify-content: space-between; gap: .5em; }
.rc-line span:first-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rc-line span:last-child { color: var(--hot-pink); }
.rc-thanks { text-align: center; text-transform: lowercase; font-family: var(--font-hand); font-size: 1.35em; line-height: 1; }
.rc-meta { display: flex !important; justify-content: space-between; gap: .5em; font-size: .8em; opacity: .7; white-space: nowrap; }
.rc-total { font-size: 1.15em; }
.rc-total span:last-child { letter-spacing: .05em; }
.rc-small { font-size: .85em; opacity: .7; }
.rc-small span:last-child { color: var(--ink) !important; }
.rc-barcode {
  margin-top: auto;
  height: 2.2em;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px);
}

/* ── Shop (pop-up) ───────────────────────────── */
.sh { margin: calc(var(--pad) * -1); min-height: calc(100% + var(--pad) * 2); background: #fff7fb; }
.sh-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: linear-gradient(180deg, #2b1d3a, #3d2a52);
  border-bottom: 3px solid var(--ink);
}
.sh-logo {
  font-family: var(--font-logo);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: .9;
  color: var(--bubblegum);
  text-shadow: 2px 2px 0 var(--hot-pink);
  letter-spacing: .02em;
}
.sh-bag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  color: var(--paper);
  font: 700 15px/1 var(--font-body);
}
.sh-bag svg { width: 18px; height: 18px; fill: var(--hot-pink); }
.sh-ticker {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  padding: 7px 0;
  background: var(--lime);
  border-bottom: 3px solid var(--ink);
  font: 700 13px/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sh-ticker span { flex: none; padding-right: 2em; animation: sh-ticker 26s linear infinite; }
@keyframes sh-ticker { to { transform: translateX(-100%); } }
.sh-body { padding: var(--pad); }
.sh-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 30px; margin-bottom: 26px; }
.sh-intro { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.sh-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-tab {
  padding: 8px 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff;
  font: 400 16px/1 var(--font-title); color: var(--ink); cursor: pointer;
}
.sh-tab[aria-pressed="true"] { background: var(--hot-pink); color: #fff; text-shadow: 1px 1px 0 var(--ink); }

.sh-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.sh-card {
  display: flex; flex-direction: column;
  width: 100%; height: 100%;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 5px 6px 0 var(--ink);
  transition: transform .2s var(--pop), box-shadow .2s ease;
}
.sh-card:hover { transform: translate(-2px, -3px); box-shadow: 7px 9px 0 var(--ink); }
.sh-card:focus-visible { outline: 4px solid var(--lime); outline-offset: 3px; }
.sh-img {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1;
  border-bottom: 3px solid var(--ink);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .8) 1.5px, transparent 2px) 0 0 / 16px 16px,
    linear-gradient(135deg, #ffd0ea, #ffb3d9 55%, #e6d6ff);
}
.sh-img svg { width: 78%; height: auto; filter: drop-shadow(4px 8px 6px rgba(43, 29, 58, .25)); }
.sh-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--butter);
  font: 700 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sh-info { display: grid; gap: 4px; padding: 14px 16px 6px; }
.sh-brand { margin: 0; font: 700 13px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #8a2457; }
.sh-name { font: 400 21px/1.1 var(--font-title); }
.sh-meta { font-size: 14px; color: #5c5266; }
.sh-from { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 14px; }
.sh-from svg { flex: none; width: 16px; height: 16px; color: var(--hot-pink); }
.sh-view {
  margin: 10px 16px 16px;
  padding: 10px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  font: 400 16px/1 var(--font-title);
  text-align: center;
}

.sh-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
  padding: 8px 14px 8px 8px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 700 15px/1 var(--font-body);
  cursor: pointer;
}
.sh-back svg { width: 18px; height: 18px; }
.sh-back:focus-visible, .sh-love:focus-visible, .sh-visit:focus-visible { outline: 4px solid var(--lime); outline-offset: 3px; }
.sh-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  animation: pl-in .35s var(--pop);
}
.sh-product-img {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 6px 7px 0 var(--ink);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .8) 1.5px, transparent 2px) 0 0 / 18px 18px,
    linear-gradient(135deg, #ffd0ea, #ffb3d9 55%, #e6d6ff);
}
.sh-product-img svg { width: 80%; height: auto; filter: drop-shadow(6px 12px 10px rgba(43, 29, 58, .25)); animation: a-float 4s ease-in-out infinite; }
.sh-product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-product-name {
  margin: 4px 0 12px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  color: var(--hot-pink);
  text-shadow: 3px 3px 0 var(--ink);
}
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sh-chip { padding: 5px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 700 13px/1.2 var(--font-body); }
.sh-from--lg { display: flex; font-size: 16px; margin: 0 0 8px; }
.sh-status { display: flex !important; }
.sh-from--lg svg { width: 20px; height: 20px; }
.sh-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 700; font-size: 15px; }
.sh-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); animation: twinkle 1.6s ease-in-out infinite; }
.sh-product-info h4 { margin: 18px 0 6px; font-family: var(--font-hand); font-weight: 700; font-size: 26px; }
.sh-why p { margin: 0 0 .8em; font-size: 17px; line-height: 1.6; }
.sh-details { margin: 0; padding-left: 1.2em; font-size: 16px; line-height: 1.7; }
.sh-details li::marker { content: "✦  "; color: var(--hot-pink); }
.sh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sh-love, .sh-visit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font: 400 18px/1 var(--font-title);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sh-love { background: #fff; }
.sh-love svg { width: 20px; height: 20px; fill: none; stroke: var(--hot-pink); stroke-width: 2.2; }
.sh-love[aria-pressed="true"] { background: var(--hot-pink); color: #fff; text-shadow: 1px 1px 0 var(--ink); }
.sh-love[aria-pressed="true"] svg { fill: #fff; stroke: #fff; animation: pl-thump .35s var(--pop); }
.sh-visit { background: var(--lime); }
.sh-visit svg { width: 18px; height: 18px; }
.sh-love:hover, .sh-visit:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

@media (max-width: 760px) {
  .sh-product { grid-template-columns: 1fr; }
}

/* ── Magazine cover (board) ──────────────────── */
.magazine .item__face { aspect-ratio: 3 / 4; border-radius: 2px; overflow: hidden; }
.magazine .mag { display: block; width: 100%; height: 100%; }
.mag-mast { font: 700 104px/1 "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif; letter-spacing: -2px; fill: #b01e3a; }
.mag-big { font: italic 500 19px/1 "Bodoni Moda", "Didot", Georgia, serif; fill: #2b1d3a; }
.mag-small { font: 700 10.5px/1 "DM Sans", system-ui, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; fill: #2b1d3a; }
.mag-issue { font: 700 10px/1 "DM Sans", system-ui, sans-serif; letter-spacing: 2.4px; text-transform: uppercase; fill: #fff; }

/* ── Fashion inspiration (pop-up) ────────────── */
.fs-head { text-align: center; max-width: 640px; margin: 0 auto clamp(20px, 3vw, 34px); }
.fs-kicker { margin: 0 0 6px; font: 700 12px/1 var(--font-body); letter-spacing: .32em; text-transform: uppercase; color: #b01e3a; }
.fs-name {
  margin: 0 0 10px;
  font: italic 500 clamp(40px, 5.6vw, 72px)/1 "Bodoni Moda", "Didot", Georgia, serif;
  color: var(--ink);
  letter-spacing: -.01em;
}
.fs-intro { margin: 0 0 14px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.fs-head .wm-example { transform: none; }
.fs-section { margin-top: clamp(26px, 3.4vw, 40px); }
.fs-h {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px;
  font: italic 500 clamp(26px, 2.8vw, 36px)/1 "Bodoni Moda", "Didot", Georgia, serif;
  color: var(--ink);
}
.fs-h::after { content: ""; flex: 1; height: 1.5px; background: var(--ink); opacity: .35; }
.fs-title { margin: 0; font: italic 500 20px/1.15 "Bodoni Moda", "Didot", Georgia, serif; color: var(--ink); }
.fs-run-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.fs-run .md-screen { background: linear-gradient(180deg, #f7d3df, #e9b4c7); }

.fs-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, rgba(255, 179, 217, .35) 0 12px, rgba(255, 255, 255, .6) 12px 24px);
}
.fs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; padding: 12px; text-align: center; font-size: 13px; color: rgba(43, 29, 58, .7); }
.fs-empty b { font: italic 500 18px/1.1 "Bodoni Moda", Georgia, serif; color: var(--ink); }
.fs-empty code { font-size: 11px; background: rgba(255, 255, 255, .85); padding: 1px 5px; border-radius: 4px; }

.fs-shoot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
/* Seen in person: flip cards with a bold outline */
.fs-shoot { transform: rotate(var(--tilt)); transition: transform .3s var(--pop); perspective: 1100px; }
.fs-shoot:hover { transform: rotate(0) translateY(-4px); }
.fs-shoot .fs-face { padding: 0; background: #fff; border: 3px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); }
.fs-shoot .fs-photo { aspect-ratio: 4 / 5; border-bottom: 3px solid var(--ink); }
.fs-shoot-cap { display: grid; gap: 3px; padding: 12px 14px 10px; flex: 1; }
.fs-shoot-cap .fs-hint { margin-top: 4px; }
.fs-shoot-back {
  transform: rotateY(180deg);
  gap: 4px;
  padding: 18px 18px 12px !important;
  background: radial-gradient(circle, rgba(176, 30, 58, .08) 1.5px, transparent 2px) 0 0 / 16px 16px, #fff7f9 !important;
}
.fs-shoot-back .fs-title { font-size: 22px; }
.fs-shoot-back .fs-note { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.fs-credit { font: 700 11px/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #8a2457; }
.fs-note { font-size: 14px; line-height: 1.5; margin-top: 4px; }

.fs-look-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 44vw), 1fr)); gap: clamp(20px, 2.6vw, 32px) clamp(16px, 2vw, 24px); }
/* Recently worn: flip cards. Both faces share one grid cell; the back is
   turned 180deg until the card flips. */
.fs-look { transform: rotate(var(--tilt)); transition: transform .3s var(--pop); perspective: 1000px; }
.fs-look:hover { transform: rotate(0) translateY(-4px); }
.fs-flip { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.fs-flip:disabled { cursor: default; }
.fs-flip:focus-visible { outline: 4px solid var(--lime); outline-offset: 4px; }
.fs-flip-inner { display: grid; transform-style: preserve-3d; transition: transform .6s var(--pop); }
.fs-flip[aria-pressed="true"] .fs-flip-inner { transform: rotateY(180deg); }
.fs-face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 10px;
  background: var(--paper);
  box-shadow: 3px 6px 14px rgba(43, 29, 58, .25);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.fs-look .fs-photo { aspect-ratio: 3 / 4; }
.fs-look-cap { display: block; padding: 8px 4px 2px; text-align: center; font-family: var(--font-hand); font-weight: 700; font-size: 22px; line-height: 1.05; }
.fs-hint { margin-top: auto; padding-top: 4px; align-self: flex-end; font: 700 10.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #b01e3a; }
/* back: a little outfit tag */
.fs-back {
  transform: rotateY(180deg);
  padding: 18px 16px 12px;
  background:
    radial-gradient(circle at 50% 14px, var(--paper) 0 5px, var(--ink) 5px 6.5px, transparent 7px),
    #fff4f7;
  border: 2px solid var(--ink);
}
.fs-back-title {
  margin: 14px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(43, 29, 58, .3);
  text-align: center;
  font: italic 500 22px/1.1 "Bodoni Moda", "Didot", Georgia, serif;
}
.fs-tag-list { display: grid; gap: 10px; }
.fs-tag-row { display: grid; gap: 1px; }
.fs-tag-item { font: 700 10.5px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #8a2457; }
.fs-tag-brand { font: italic 500 16px/1.2 "Bodoni Moda", "Didot", Georgia, serif; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .fs-flip-inner { transition: none; } }

/* ── Fashion pop-up as a magazine you page through ── */
.popup__scroll:has(.mz) { padding: 0; overflow: hidden; }
.mz {
  --side: clamp(56px, 6vw, 84px);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #efe6dc;
}
.mz-stage { position: relative; flex: 1; min-height: 0; perspective: 1800px; }
.mz-page {
  position: absolute;
  inset: 14px var(--side) 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px clamp(18px, 3vw, 40px) 28px;
  background:
    linear-gradient(90deg, rgba(43, 29, 58, .07), transparent 26px),
    #fffdf8;
  box-shadow: 0 6px 18px rgba(43, 29, 58, .16), 0 0 0 1px rgba(43, 29, 58, .08);
  border-radius: 2px 6px 6px 2px;
  backface-visibility: hidden;
}
.mz-page[hidden] { display: none; }
/* running header, like a magazine folio */
.mz-folio {
  display: flex; justify-content: space-between; gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
  font: 700 10.5px/1 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8a2457;
}
.mz-folio span:nth-child(2) { color: var(--ink); }
.mz .fs-h { margin-top: 0; }
.mz-cont { margin-left: 4px; font: 700 12px/1 var(--font-body); letter-spacing: .14em; color: #8a2457; order: 2; }
.mz .fs-h::after { order: 1; }

/* cover + contents */
.mz-cover-body { display: grid; gap: clamp(20px, 3vw, 36px); align-content: center; min-height: calc(100% - 40px); }
.mz-cover .fs-head { margin-bottom: 0; }
.mz-cover .fs-name { font-size: clamp(46px, 7vw, 92px); }
.mz-contents { width: min(460px, 100%); margin: 0 auto; }
.mz-contents-h { margin: 0 0 10px; text-align: center; font: 700 11px/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: #8a2457; }
.mz-contents ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mz-jump {
  display: flex; align-items: baseline; gap: 10px;
  width: 100%;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.mz-c-name { font: italic 500 clamp(22px, 2.4vw, 30px)/1.1 "Bodoni Moda", "Didot", Georgia, serif; }
.mz-c-dots { flex: 1; border-bottom: 2px dotted rgba(43, 29, 58, .4); transform: translateY(-5px); }
.mz-c-page { font: 700 15px/1 var(--font-body); color: #8a2457; }
.mz-jump:hover .mz-c-name { color: #b01e3a; }
.mz-jump:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* card grids sized to fit a page */
.mz .mz-grid-runway { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.mz .mz-grid-seen { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 280px)); justify-content: center; }
.mz .mz-grid-worn { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 240px)); justify-content: center; }

/* side arrows */
.mz-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  transform: translateY(-50%);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--chrome-1), var(--chrome-2));
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s;
}
.mz-arrow svg { width: 24px; height: 24px; }
.mz-prev { left: calc((var(--side) - 46px) / 2); }
.mz-next { right: calc((var(--side) - 46px) / 2); }
.mz-arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.08); background: linear-gradient(180deg, #ffd0ea, var(--hot-pink)); color: #fff; }
.mz-arrow:active:not(:disabled) { box-shadow: 1px 1px 0 var(--ink); }
.mz-arrow:disabled { opacity: .3; cursor: default; }
.mz-arrow:focus-visible { outline: 4px solid var(--lime); outline-offset: 3px; }

/* page dots + number */
.mz-bar { flex: none; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 0 12px; }
.mz-dots { display: flex; gap: 8px; }
.mz-dot { width: 10px; height: 10px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
.mz-dot[aria-current="page"] { background: var(--hot-pink); transform: scale(1.2); }
.mz-dot:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.mz-num { font: 700 12px/1 var(--font-body); letter-spacing: .14em; color: #6b5a7d; font-variant-numeric: tabular-nums; }

/* page turning */
.mz-out-next { animation: mz-out-next .52s cubic-bezier(.4, .1, .3, 1) forwards; transform-origin: left center; z-index: 2; }
.mz-in-next  { animation: mz-in-next .52s cubic-bezier(.4, .1, .3, 1) both; transform-origin: right center; }
.mz-out-prev { animation: mz-out-prev .52s cubic-bezier(.4, .1, .3, 1) forwards; transform-origin: right center; z-index: 2; }
.mz-in-prev  { animation: mz-in-prev .52s cubic-bezier(.4, .1, .3, 1) both; transform-origin: left center; }
@keyframes mz-out-next { to { transform: rotateY(-70deg) translateX(-8%); opacity: 0; } }
@keyframes mz-in-next  { from { transform: rotateY(25deg) translateX(10%); opacity: 0; } }
@keyframes mz-out-prev { to { transform: rotateY(70deg) translateX(8%); opacity: 0; } }
@keyframes mz-in-prev  { from { transform: rotateY(-25deg) translateX(-10%); opacity: 0; } }

@media (max-width: 760px) {
  .mz { --side: 12px; }
  .mz-arrow { top: auto; bottom: 4px; transform: none; width: 40px; height: 40px; }
  .mz-arrow:hover:not(:disabled) { transform: scale(1.08); }
  .mz-prev { left: 14px; }
  .mz-next { right: 14px; }
  .mz-bar { padding: 14px 0 16px; }
  .mz-folio span:first-child { display: none; }
}

/* ── Nature pop-up as a photobook (reuses the magazine paging) ── */
.pb { background: #e9dcc6; }
.pb .pb-page {
  display: grid;
  place-items: center;
  padding: 22px clamp(16px, 3vw, 36px) 26px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .18  0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(90deg, rgba(60, 35, 10, .14), transparent 30px),
    #d8bf98;
}
.pb .pb-page[hidden] { display: none; }
/* cover */
.pb-cover-inner { display: grid; justify-items: center; gap: 12px; text-align: center; max-width: 780px; }
.pb-kicker { margin: 0; font: 700 12px/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: #5b3b1f; }
.pb-title { margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: clamp(54px, 7vw, 96px); line-height: .9; color: #2b1d3a; text-shadow: 2px 2px 0 rgba(255, 253, 246, .6); }
.pb-intro { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: #3a2a1a; }
.pb-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 14px; }
.pb-thumb {
  width: clamp(64px, 8vw, 96px);
  padding: 5px 5px 16px;
  border: 0;
  background: var(--paper);
  box-shadow: 2px 4px 8px rgba(43, 29, 58, .25);
  transform: rotate(var(--tilt));
  cursor: pointer;
  transition: transform .25s var(--pop);
}
.pb-thumb:hover { transform: rotate(0) scale(1.08); }
.pb-thumb:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.pb-thumb .nt-photo { aspect-ratio: 1; }
.pb-start { margin: 8px 0 0; font-family: var(--font-hand); font-weight: 700; font-size: 22px; color: #5b3b1f; }
/* one Polaroid per page, whole photo uncropped */
.pb-polaroid {
  position: relative;
  margin: 0;
  padding: 14px 14px 0;
  background: var(--paper);
  box-shadow: 4px 8px 20px rgba(43, 29, 58, .3);
  transform: rotate(var(--tilt));
  max-width: 100%;
}
/* fixed photo window (3:4 tall, 4:3 wide); the photo is cropped to fill it */
.pb-photo {
  position: relative;
  display: block;
  overflow: hidden;
  height: min(calc(88vh - 270px), calc((100vw - 110px) * 4 / 3));
  aspect-ratio: 3 / 4;
  background: #e6e0d4;
}
.pb-wide .pb-photo {
  height: min(calc(88vh - 270px), calc((100vw - 110px) * 3 / 4), 480px);
  aspect-ratio: 4 / 3;
}
.pb-photo img, .pb-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-polaroid figcaption { display: grid; gap: 2px; padding: 12px 4px 16px; text-align: center; font-family: var(--font-hand); font-weight: 700; line-height: 1.05; }
.pb-polaroid .nt-place { font-size: clamp(24px, 2.4vw, 32px); }
.pb-polaroid .nt-date { font-size: clamp(18px, 1.8vw, 24px); color: #6b5a7d; }
.pb-tape {
  position: absolute; z-index: 1;
  top: -12px; left: 50%;
  width: 110px; height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 6px, transparent 6px 12px), rgba(198, 244, 50, .82);
}
.pb-folio { position: absolute; right: 18px; bottom: 12px; font-family: var(--font-hand); font-weight: 700; font-size: 20px; color: #5b3b1f; }
@media (max-width: 760px) {
  .pb-photo { height: min(calc(92vh - 300px), calc((100vw - 90px) * 4 / 3)); }
  .pb-wide .pb-photo { height: min(calc(92vh - 300px), calc((100vw - 90px) * 3 / 4)); }
}

/* ── Movie poster (board) ────────────────────── */
/* A clean cinema one-sheet: dark ground, one soft spotlight, thin cream frame,
   small spaced caps and one big condensed title. */
.poster .item__face {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 2 / 3;
  padding: 16% 10% 13%;
  border-radius: 3px;
  text-align: center;
  color: var(--paper);
  font-size: calc(var(--w) * .07vmin + 2px);
  background:
    radial-gradient(ellipse 80% 55% at 50% 38%, rgba(255, 79, 163, .55), transparent 70%),
    linear-gradient(180deg, #3a2650 0%, #1c1227 100%);
  box-shadow: inset 0 0 0 calc(var(--w) * .035vmin + 2px) var(--paper);
}
.poster .item__face::before {
  /* thin inner keyline */
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255, 253, 246, .35);
  pointer-events: none;
}
.mp-top {
  font: 700 .85em/1 var(--font-body);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--butter);
}
.mp-title {
  font-family: var(--font-ticket);
  font-size: 2.9em;
  line-height: .95;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--paper);
}
.mp-count {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: .7em;
  font: 700 .8em/1 var(--font-body);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 253, 246, .8);
}
.mp-count::before {
  content: "";
  width: 2.4em;
  height: 2px;
  background: var(--hot-pink);
}

/* ── Movies & TV wall (pop-up) ───────────────── */
.pw-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.pw-intro { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 56ch; }
.pw-filters {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.pw-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: 400 18px/1 var(--font-title);
  cursor: pointer;
  transition: background .2s ease;
}
.pw-filter span {
  min-width: 26px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--bubblegum);
  font: 700 13px/1 var(--font-body);
  font-variant-numeric: tabular-nums;
}
.pw-filter:hover { background: #fff0f7; }
.pw-filter[aria-pressed="true"] { background: var(--hot-pink); color: #fff; text-shadow: 1px 1px 0 var(--ink); }
.pw-filter[aria-pressed="true"] span { background: var(--butter); color: var(--ink); text-shadow: none; }
.pw-filter:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.pw-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 42vw), 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.pw-item { transform: rotate(var(--tilt)); transition: transform .3s var(--pop); }
.pw-item:hover { transform: rotate(0) translateY(-6px) scale(1.04); z-index: 1; }
.pw-item.pw-in { animation: pw-in .4s var(--pop) both; }
@keyframes pw-in { from { opacity: 0; transform: rotate(var(--tilt)) scale(.85) translateY(10px); } }

.pw-poster {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--c);
  box-shadow: 5px 6px 0 var(--ink), 0 10px 22px rgba(43, 29, 58, .18);
}
.pw-real {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--ink);
}
.pw-real ~ .pw-tag { z-index: 3; }
.pw-motif { position: relative; overflow: hidden; background: var(--a); }
.pw-motif i { position: absolute; inset: 0; }
.pw-tag {
  position: absolute;
  top: 8px; left: 8px;
  padding: 4px 9px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 700 11px/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pw-item[data-type="tv"] .pw-tag { background: var(--lime); }
.pw-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  border-top: 3px solid var(--ink);
  background: var(--c);
  color: var(--t);
}
.pw-over, .pw-under { font: 700 11px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.pw-title { font: 400 clamp(19px, 1.8vw, 24px)/1 var(--font-title); text-wrap: balance; }
.pw-title--long { font-size: clamp(16px, 1.45vw, 19px); }
.pw-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: 4px; }
.pw-credit { font-size: 11px; line-height: 1.25; opacity: .85; }
.pw-year { flex: none; font: 400 13px/1 var(--font-title); }

/* six poster pattern styles (colours come from --a / --b) */
.pw-style-0 .pw-motif i { background: repeating-conic-gradient(from 0deg at 50% 100%, var(--a) 0 9deg, var(--b) 9deg 18deg); }
.pw-style-0 .pw-motif::after {
  content: ""; position: absolute; left: 50%; bottom: -22%; width: 56%; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%; background: var(--c); border: 3px solid var(--ink);
}
.pw-style-1 .pw-motif i {
  background:
    radial-gradient(circle at 50% 46%, var(--b) 0 26%, var(--ink) 26% calc(26% + 3px), transparent calc(26% + 3px)),
    repeating-linear-gradient(0deg, var(--a) 0 12px, color-mix(in srgb, var(--a) 70%, #fff) 12px 24px);
}
.pw-style-2 .pw-motif i { background: repeating-linear-gradient(-45deg, var(--a) 0 16px, var(--b) 16px 32px); }
.pw-style-3 .pw-motif i {
  background:
    radial-gradient(circle, var(--b) 0 34%, transparent 36%) 0 0 / 26px 26px,
    radial-gradient(circle, var(--b) 0 34%, transparent 36%) 13px 13px / 26px 26px,
    var(--a);
}
.pw-style-4 .pw-motif i {
  background: repeating-conic-gradient(var(--a) 0 25%, var(--b) 0 50%) 0 0 / 34px 34px;
  transform: perspective(160px) rotateX(38deg) scale(1.6);
  transform-origin: 50% 100%;
}
.pw-style-5 .pw-motif i {
  background: repeating-radial-gradient(circle at 50% 120%, var(--a) 0 14px, var(--b) 14px 28px, var(--c) 28px 42px);
}

@media (max-width: 560px) {
  .pw-filters { width: 100%; justify-content: space-between; }
  .pw-filter { padding: 9px 12px; font-size: 16px; }
}

/* ── Scratch map card (board) ────────────────── */
.scratchmap .item__face {
  display: grid;
  grid-template-rows: 1fr;
  gap: 4%;
  aspect-ratio: 3 / 2;
  padding: 5%;
  background: var(--paper);
  border-radius: 3px;
}
.sm-head {
  font-family: var(--font-title);
  font-size: calc(var(--w) * .085vmin + 4px);
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: var(--hot-pink);
  border-radius: 3px;
  text-shadow: 1px 1px 0 var(--ink);
}
.sm-body {
  min-height: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #e6f5ff;
}
.sm-body svg { display: block; width: 100%; height: 100%; transform: scale(1.12); transform-origin: 50% 45%; }
.sm-foot {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: calc(var(--w) * .1vmin + 5px);
  line-height: 1;
  text-align: center;
}

/* ── World Map pop-up ────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 20px;
}
.wm-intro { flex: 1 1 380px; min-width: 0; }
.wm-lede { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 56ch; }
.wm-stat { display: flex; align-items: center; gap: 18px; }
.wm-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 132px; height: 132px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 5px 6px 0 var(--ink);
  transform: rotate(-8deg);
  font-family: var(--font-title);
  color: var(--ink);
}
.wm-badge b { font-weight: 400; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.wm-badge small { font-size: 22px; }
.wm-stat-text p { margin: 0 0 10px; font-size: 16px; }
.wm-stat-text strong { font-family: var(--font-title); font-weight: 400; font-size: 26px; color: var(--hot-pink); text-shadow: 2px 2px 0 var(--ink); }
.wm-bar {
  width: 200px; height: 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(110deg, #c9973a, #f3dc8e 30%, #d4a849 50%, #fbefc0 70%, #c48f2c);
}
.wm-bar span {
  display: block; height: 100%;
  width: var(--p);
  min-width: 6px;
  background: repeating-linear-gradient(45deg, var(--hot-pink) 0 8px, #ff79bb 8px 16px);
  border-right: 2px solid var(--ink);
  animation: wm-grow 1.4s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes wm-grow { from { width: 0; } }
.wm-example {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  background: var(--butter);
  border: 2px dashed var(--ink);
  border-radius: 8px;
  font-size: 14px;
  transform: rotate(-1deg);
}

.wm-main {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(220px, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  align-items: start;
}
.wm-mapwrap { position: relative; margin: 0; min-width: 0; }
.wm-map {
  aspect-ratio: 960 / 500;
  border: 3px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: #e6f5ff;
  box-shadow: 5px 6px 0 var(--ink);
  display: grid;
  place-items: center;
}
.wm-map svg { display: block; width: 100%; height: 100%; }
.wm-status { margin: 0; padding: 20px; text-align: center; font-family: var(--font-hand); font-size: 24px; font-weight: 700; }
.wm-ocean { fill: #e6f5ff; }
.wm-grat { fill: none; stroke: #fff; stroke-width: 1; }
.wm-c { stroke: #a87a22; stroke-width: .5; stroke-linejoin: round; }
.wm-color { stroke: var(--ink); stroke-width: .8; stroke-linejoin: round; }
.wm-want { fill: url(#wm-stripes); stroke: var(--hot-pink); stroke-width: 1.2; pointer-events: all; }
.wm-dot { stroke: var(--ink); stroke-width: 1.2; }
.wm-pin { cursor: default; }
.wm-pin-hit { fill: transparent; }
.wm-pin-head { stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .2s var(--pop); animation: wm-pin-drop .5s var(--pop) 1.8s backwards; }
.wm-pin-dot { fill: #fff; stroke: var(--ink); stroke-width: 1; pointer-events: none; }
.wm-pin:hover .wm-pin-head, .wm-pin:focus-visible .wm-pin-head { transform: scale(1.3); }
.wm-pin:focus-visible { outline: none; }
.wm-pin:focus-visible .wm-pin-head { stroke: var(--lime); stroke-width: 2.5; }
@keyframes wm-pin-drop { from { transform: translateY(-14px); opacity: 0; } }
.wm-pin-mini { fill: var(--hot-pink); stroke: var(--ink); stroke-width: .8; }
.sw-pin { border: 0; width: 12px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--hot-pink); box-shadow: inset 0 0 0 2px var(--ink); }
.wm-scratch {
  fill: none;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: wm-scratch .9s ease-out forwards;
}
@keyframes wm-scratch { to { stroke-dashoffset: 0; } }
.wm-v:hover .wm-color, .wm-c:hover, .wm-want:hover { filter: brightness(1.08); }
.wm-star { cursor: pointer; }
.wm-star polygon {
  fill: var(--butter);
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
  animation: wm-pop .5s cubic-bezier(.34, 1.56, .64, 1) 2.2s backwards;
}
.wm-star:hover polygon, .wm-star:focus-visible polygon { transform: scale(1.35) rotate(15deg); }
.wm-star:focus-visible { outline: none; }
.wm-star:focus-visible polygon { stroke: var(--hot-pink); stroke-width: 3; }
@keyframes wm-pop { from { transform: scale(0); opacity: 0; } }

.wm-tip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 14px;
  white-space: nowrap;
}
.wm-tip[hidden] { display: none; }
.wm-tip b { font-family: var(--font-title); font-weight: 400; font-size: 17px; }
.wm-tip em { font-style: normal; color: #b0306f; font-weight: 700; font-size: 13px; }

.wm-legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 16px;
  font-size: 14px;
}
.wm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 18px; height: 14px; border: 2px solid var(--ink); border-radius: 4px; display: inline-block; }
.sw-visited { background: linear-gradient(90deg, var(--hot-pink) 33%, var(--baby-blue) 0 66%, var(--lime) 0); }
.sw-foil { background: linear-gradient(110deg, #c9973a, #fbefc0, #c48f2c); }
.sw-want { background: repeating-linear-gradient(45deg, var(--hot-pink) 0 3px, #f3dc8e 3px 6px); }
.sw-star { border: 0; background: var(--butter); clip-path: polygon(50% 0, 63% 35%, 100% 38%, 72% 60%, 82% 100%, 50% 78%, 18% 100%, 28% 60%, 0 38%, 37% 35%); width: 18px; height: 18px; }
.wm-missing { margin: 10px 0 0; font-size: 14px; color: #8a2457; }

.wm-bucket {
  position: relative;
  padding: 22px 20px 24px 46px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 32px, #ff7a8a 32px 34px, transparent 34px),
    repeating-linear-gradient(#fff 0 35px, #a9d4f5 35px 36px) 0 14px,
    #fff;
  box-shadow: 4px 6px 12px rgba(43, 29, 58, .22);
  transform: rotate(1.2deg);
}
.wm-bucket::before {
  /* washi tape */
  content: "";
  position: absolute; top: -12px; left: 50%;
  width: 90px; height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 6px, transparent 6px 12px), rgba(143, 211, 255, .85);
}
.wm-bucket h3 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  color: var(--hot-pink);
  text-shadow: 2px 2px 0 var(--ink);
}
.wm-bucket ul { list-style: none; margin: 0; padding: 0; }
.wm-bucket li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 36px;
  padding-top: 5px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.1;
}
.wm-bucket-text { min-width: 0; }
.wm-bucket li small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: #5c5266; }
.wm-check {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border: 2.5px solid var(--ink);
  border-radius: 5px;
  background: #fff;
  position: relative;
}
.is-done .wm-check { background: var(--lime); }
.is-done .wm-check::after {
  content: "✓";
  position: absolute; inset: -6px 0 0 2px;
  font: 700 22px/1 var(--font-body);
  color: var(--ink);
}
.is-done .wm-bucket-text { text-decoration: line-through; text-decoration-color: var(--hot-pink); text-decoration-thickness: 3px; opacity: .75; }

.wm-hl-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.wm-stamp {
  padding: 10px 18px;
  border: 3px dashed var(--ink);
  border-radius: 10px;
  background: color-mix(in srgb, var(--stamp) 35%, #fff);
  font: 400 19px/1 var(--font-title);
  color: var(--ink);
  cursor: pointer;
  transform: rotate(var(--tilt));
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background .2s;
}
.wm-stamp:hover { transform: rotate(0) scale(1.05); }
.wm-stamp[aria-selected="true"] { background: var(--stamp); border-style: solid; box-shadow: 3px 3px 0 var(--ink); }
.wm-stamp:focus-visible { outline: 4px solid var(--lime); outline-offset: 3px; }
.wm-hl-head h4 { margin: 0 0 6px; font-family: var(--font-title); font-weight: 400; font-size: clamp(26px, 3vw, 40px); color: var(--hot-pink); text-shadow: 2px 2px 0 var(--ink); }
.wm-hl-head p { margin: 0 0 20px; font-size: 17px; line-height: 1.6; max-width: 60ch; }
.wm-recs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.wm-rec {
  padding: 14px 16px 18px;
  background: var(--note);
  box-shadow: 3px 5px 10px rgba(43, 29, 58, .2);
  transform: rotate(var(--tilt));
}
.wm-rec-label {
  display: inline-block;
  margin-bottom: 6px;
  font: 700 12px/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}
.wm-rec p { margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: 21px; line-height: 1.2; }

@media (max-width: 860px) {
  .wm-main { grid-template-columns: 1fr; }
  .wm-bucket { transform: none; }
  .wm-badge { width: 104px; height: 104px; }
  .wm-badge b { font-size: 36px; }
  .wm-bar { width: 160px; }
}

/* ── Playlist pop-up ─────────────────────────── */
.pl {
  --pl-bg: #2b1d3a;
  --pl-row: #3a2a4d;
  --pl-text: #fffdf6;
  --pl-dim: #cbbfdc;
  margin: calc(var(--pad) * -1);
  min-height: calc(100% + var(--pad) * 2);
  padding: var(--pad) var(--pad) calc(var(--pad) + 8px);
  background:
    linear-gradient(180deg, #ff4fa3 0, #b0458f 210px, var(--pl-bg) 420px) no-repeat,
    var(--pl-bg);
  color: var(--pl-text);
}
.pl svg { display: block; fill: currentColor; }
.pl svg[fill="none"], .pl-bar svg[fill="none"] { fill: none; } /* outline icons */
.pl-head {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: 26px;
}
.pl-cover.pop-art {
  flex: none;
  width: clamp(150px, 22vw, 232px);
  height: clamp(150px, 22vw, 232px); /* set explicitly so it never collapses */
  min-height: 150px;
  max-height: none;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 5px 6px 0 var(--ink);
}
.pl-cover .art-item { width: 46%; }
.pl-headtext { min-width: 0; }
.pl-type { margin: 0 0 6px; font: 700 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.pl-name {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: .95;
  color: var(--pl-text);
  text-shadow: 4px 4px 0 var(--ink);
  text-wrap: balance;
}
.pl-desc { margin: 0 0 12px; color: #fde3f1; font-size: 16px; line-height: 1.5; max-width: 60ch; }
.pl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.pl-meta span:last-child { color: #fde3f1; }
.pl-meta span:last-child::before { content: "• "; }
.pl-avatar {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--butter);
  color: var(--ink);
  font: 400 14px/1 var(--font-title);
}

.pl-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 18px; }
.pl-controls .pl-example { margin: 0 0 0 auto; color: var(--ink); }
.pl-bigplay, .pl-barplay {
  display: grid; place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 #000;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pl-bigplay { width: 60px; height: 60px; }
.pl-bigplay svg { width: 30px; height: 30px; }
.pl-barplay { width: 40px; height: 40px; box-shadow: 2px 2px 0 #000; }
.pl-barplay svg { width: 20px; height: 20px; }
.pl-bigplay:hover, .pl-barplay:hover { transform: scale(1.06); }
.pl-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--pl-dim);
  cursor: pointer;
}
.pl-icon svg { width: 26px; height: 26px; }
.pl-icon:hover { color: var(--pl-text); }
.pl-like[aria-pressed="true"] { color: var(--hot-pink); }
.pl-like svg { fill: none; stroke: currentColor; stroke-width: 2; }
.pl-like[aria-pressed="true"] svg { fill: currentColor; animation: pl-thump .35s var(--pop); }
@keyframes pl-thump { 50% { transform: scale(1.3); } }
.pl button:focus-visible, .pl-bar button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.pl-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}
.pl-cols, .pl-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1.3fr) 52px;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
}
.pl-cols {
  height: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  margin-bottom: 8px;
  color: var(--pl-dim);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pl-cols svg { width: 16px; height: 16px; margin-left: auto; }
.pl-cols .pl-len, .pl-row .pl-len { text-align: right; justify-self: end; }
.pl-tracks { list-style: none; margin: 0; padding: 0; }
.pl-row {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--pl-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pl-row:hover { background: var(--pl-row); }
.pl-row.is-active { background: rgba(255, 79, 163, .22); }
.pl-row.is-active .pl-names b { color: var(--lime); }
.pl-num { position: relative; height: 20px; color: var(--pl-dim); font-variant-numeric: tabular-nums; text-align: center; }
.pl-num > * { position: absolute; inset: 0; display: grid; place-items: center; }
.pl-hoverplay, .pl-eq { visibility: hidden; }
.pl-hoverplay svg { width: 18px; height: 18px; color: var(--pl-text); }
.pl-row:hover .pl-n { visibility: hidden; }
.pl-row:hover .pl-hoverplay { visibility: visible; }
.pl-row.is-playing .pl-n, .pl-row.is-playing .pl-hoverplay { visibility: hidden; }
.pl-row.is-playing .pl-eq { visibility: visible; }
.pl-eq { grid-auto-flow: column; align-items: end; justify-content: center; gap: 2px; }
.pl-eq i { width: 3px; height: 14px; background: var(--lime); border-radius: 1px; transform-origin: bottom; animation: pl-eq .9s ease-in-out infinite; }
.pl-eq i:nth-child(2) { animation-delay: -.3s; }
.pl-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes pl-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.pl-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pl-names { display: grid; min-width: 0; }
.pl-names b, .pl-names small, .pl-album { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-names b { font-weight: 700; font-size: 15px; }
.pl-names small { color: var(--pl-dim); font-size: 13px; }
.pl-album { color: var(--pl-dim); font-size: 14px; }
.pl-chip {
  display: inline-block;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink);
  font: 700 12px/1.3 var(--font-body);
}
.pl-len { color: var(--pl-dim); font-size: 14px; font-variant-numeric: tabular-nums; }

.pl-art {
  flex: none;
  display: grid; place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--a), var(--b));
  color: var(--ink);
  border: 2px solid var(--ink);
}
.pl-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-art span { font-size: 1.1em; font-weight: 700; }
.pl-art--sm { width: 42px; height: 42px; font-size: 20px; }
.pl-art--lg { width: 100%; aspect-ratio: 1; border-radius: 12px; border-width: 3px; font-size: 96px; box-shadow: 5px 6px 0 var(--ink); }

.pl-detail {
  position: sticky;
  top: 0;
  padding: 20px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 6px 7px 0 #000;
}
.pl-empty { display: grid; place-items: center; gap: 8px; min-height: 240px; text-align: center; }
.pl-empty p { margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: 24px; max-width: 16ch; }
.pl-empty-icon {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  border: 3px dashed var(--ink);
  border-radius: 50%;
  font-size: 34px;
  animation: a-float 3s ease-in-out infinite;
}
.pl-detail-card { animation: pl-in .35s var(--pop); }
@keyframes pl-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.pl-detail-card .pl-art--lg { max-width: 170px; font-size: 72px; margin: 0 auto 16px; }
.pl-detail-kicker { margin: 0 0 4px; font: 700 12px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #8a2457; }
.pl-detail h3 { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: 30px; line-height: 1.05; color: var(--hot-pink); text-shadow: 2px 2px 0 var(--ink); }
.pl-detail-artist { margin: 4px 0 14px; font-size: 15px; color: #5c5266; }
.pl-detail h4 { margin: 0 0 6px; font-family: var(--font-hand); font-weight: 700; font-size: 24px; }
.pl-why p { margin: 0 0 .8em; font-size: 16px; line-height: 1.6; }
.pl-listen {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  padding: 9px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
}
.pl-listen svg { width: 18px; height: 18px; fill: none; }
.pl-listens { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pl-listens .pl-listen { margin-top: 0; }
.pl-listen--apple { background: var(--bubblegum); }
.pl-listen:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }

/* now-playing bar at the bottom of the window */
.pl-bar {
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  background: #1c1227;
  border-top: 3px solid var(--ink);
  color: var(--pl-text, #fffdf6);
  --pl-dim: #cbbfdc;
  --pl-text: #fffdf6;
}
.pl-bar[hidden] { display: none; }
.pl-bar svg { display: block; fill: currentColor; }
.pl-bar-song { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pl-bar-mid { display: grid; gap: 8px; justify-items: center; }
.pl-bar-btns { display: flex; align-items: center; gap: 14px; }
.pl-progress { width: 100%; max-width: 420px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.pl-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--hot-pink), var(--lime));
  transform-origin: left;
  animation: pl-progress 210s linear infinite;
}
.pl-bar.is-paused .pl-progress span { animation-play-state: paused; }
@keyframes pl-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pl-bar-chapter { justify-self: end; color: var(--pl-dim); font-family: var(--font-hand); font-weight: 700; font-size: 20px; text-align: right; }

@media (max-width: 860px) {
  .pl-head { flex-direction: column; align-items: flex-start; }
  .pl-body { grid-template-columns: 1fr; }
  .pl-detail { position: static; }
  .pl-cols, .pl-row { grid-template-columns: 28px minmax(0, 1fr) 46px; }
  .pl-album, .pl-chapter { display: none; }
  .pl-controls .pl-example { margin-left: 0; }
  .pl-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .pl-bar-chapter, .pl-progress { display: none; }
}

/* ── three.js layers (fx.js) ─────────────────── */
.fx-glitter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.fx-on .sparkle { display: none; } /* three.js glitter replaces the CSS sparkles */
.pop-art { position: relative; }
.pop-art > canvas.fx-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: none;
  animation: none;
  pointer-events: auto;
}
.pop-art.fx-on .art-item { display: none; }

/* ── Small screens: board becomes a scrolling collage ── */
@media (max-width: 760px), (max-aspect-ratio: 3/4) {
  body { overflow: auto; }
  .board {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 34px 22px;
    padding: 40px 18px 60px;
    overflow: visible;
  }
  .board__title {
    position: relative;
    left: auto; top: auto;
    transform: rotate(-3deg);
    flex: 0 0 100%;
    max-width: none;
    order: -1;
    margin: 10px 0 20px;
  }
  .title { font-size: clamp(44px, 13vw, 84px); }
  .item {
    position: relative;
    left: auto; top: auto;
    width: calc(var(--w) * 2.1vw);
    max-width: 260px;
  }
.postcard, .scratchmap, .ticket { width: min(80vw, 320px); }
.receipts { width: min(32vw, 130px); margin: 30px 22px 16px; }
.receipts .item__face { aspect-ratio: 3 / 5; }
.receipts .rc--3 { font-size: calc(min(1.6vw, 6.5px) + 2px); padding: 11% 9% 14%; }
  .popup { width: 96vw; height: 92vh; border-radius: 14px; box-shadow: 5px 6px 0 var(--ink); }
  .pop-hero { grid-template-columns: 1fr; }
  .pop-art { max-height: 34vh; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* long place names wrap under the photo instead of widening the Polaroid */
.pb-polaroid figcaption { width: 0; min-width: 100%; box-sizing: border-box; }

/* ── Flower sticker (board): die-cut PNG, the white border follows the petals ── */
.item.flower { transform-origin: 50% 50%; }
.item.flower .item__face { display: block; }
.fl-disc { display: block; }
.fl-disc img {
  display: block; width: 100%; height: auto;
  transition: transform .8s var(--pop);
}
.item.flower:hover .fl-disc img, .item.flower:focus-visible .fl-disc img { transform: rotate(30deg); }
.item.flower:focus-visible .item__face { outline-offset: 2px; border-radius: 50%; }

/* ── Art pop-up: gallery wall ─────────────────── */
.gw {
  --wall: #5b2a4a;
  --brass: #c9a24a;
  position: relative;
  margin: calc(var(--pad) * -1);
  min-height: calc(100% + var(--pad) * 2);
  padding: calc(var(--pad) * .8) var(--pad) 0;
  display: flex; flex-direction: column;
  color: #fff7ee;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255, 220, 190, .14), transparent 70%),
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, .045) 0 18%, transparent 19%) 0 0 / 46px 46px,
    radial-gradient(circle at 75% 75%, rgba(0, 0, 0, .06) 0 18%, transparent 19%) 0 0 / 46px 46px,
    linear-gradient(180deg, #3e1b33 0, var(--wall) 26px, var(--wall) 100%);
}
.gw::before { /* cornice along the ceiling */
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: linear-gradient(180deg, #f3e6d2 0 5px, #d8c3a3 5px 8px, #f3e6d2 8px 11px, rgba(0, 0, 0, .25) 11px);
}
.gw-head { text-align: center; margin: 12px auto clamp(22px, 3vw, 36px); max-width: 640px; }
.gw-kicker {
  margin: 0 0 6px;
  font: 700 12px/1 var(--font-body);
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--brass);
}
.gw-title {
  margin: 0;
  font-family: "Bodoni Moda", Didot, Georgia, serif;
  font-weight: 700; font-style: italic;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff7ee;
}
.gw-intro { margin: 10px 0 0; font-size: 15px; color: #e9d6df; }

.gw-wall {
  --unit: clamp(30px, 4.2vw, 54px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: var(--unit);
  grid-auto-flow: dense;
  gap: clamp(14px, 2vw, 26px) clamp(14px, 2.2vw, 30px);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.gw-slot { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 0; }
.gw-s-small  { grid-column: span 2; grid-row: span 4; }
.gw-s-square { grid-column: span 3; grid-row: span 4; }
.gw-s-tall   { grid-column: span 3; grid-row: span 5; }
.gw-s-wide   { grid-column: span 4; grid-row: span 4; }
.gw-s-big    { grid-column: span 6; grid-row: span 5; }

/* the frame: padding is the moulding, .gw-mat the mount, .gw-art the picture */
.gw-frame {
  position: relative;
  flex: 1; min-height: 0;
  width: 100%;
  display: flex;
  padding: 12px;
  border: 0;
  background: #1b1b1b;
  font: inherit; color: inherit;
  cursor: zoom-in;
  box-shadow: 0 14px 22px rgba(0, 0, 0, .45), 0 3px 6px rgba(0, 0, 0, .35);
  transition: transform .3s var(--pop), box-shadow .3s ease;
}
.gw-frame:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 22px 30px rgba(0, 0, 0, .5), 0 4px 8px rgba(0, 0, 0, .35); }
.gw-frame:focus-visible { outline: 4px solid var(--lime); outline-offset: 6px; }
.gw-mat { flex: 1; display: flex; min-height: 0; padding: 10%; background: #fbf8f1; box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .25); }
.gw-art { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #eae4d8; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.gw-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.gw-empty {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  font: 700 10px/1.2 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase;
  color: #9a8c78;
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 5px),
    #efe8db;
  text-align: center;
}
.gw-empty span { font: 400 26px/1 var(--font-body); color: #b8a98f; }
.gw-frame.is-empty:hover .gw-empty { color: var(--hot-pink); }
.gw-frame.is-empty:hover .gw-empty span { color: var(--hot-pink); }

/* frame styles */
.gw-f-gold {
  padding: 16px;
  background:
    linear-gradient(135deg, #f7df8e 0%, #b8892e 22%, #f3d27a 45%, #8f6420 70%, #e7c566 100%);
  box-shadow:
    inset 0 0 0 2px #6e4c14, inset 0 0 0 5px #e9c96c, inset 0 0 0 7px #8a6420,
    0 14px 22px rgba(0, 0, 0, .5), 0 3px 6px rgba(0, 0, 0, .35);
}
.gw-f-baroque {
  padding: 22px;
  background:
    radial-gradient(circle, #ffe9a8 0 2px, transparent 2.5px) 0 0 / 11px 11px,
    linear-gradient(135deg, #e9c45c 0%, #9a6b1f 25%, #f5d985 50%, #7d5416 75%, #d9ae4a 100%);
  box-shadow:
    inset 0 0 0 3px #5e3f10, inset 0 0 0 7px #d7b04f, inset 0 0 0 9px #6e4c14,
    inset 0 0 0 14px rgba(255, 233, 168, .35), inset 0 0 0 16px #6e4c14,
    0 18px 28px rgba(0, 0, 0, .55), 0 4px 8px rgba(0, 0, 0, .35);
}
.gw-f-baroque .gw-mat { padding: 6%; background: #3d1a2f; box-shadow: inset 2px 2px 6px rgba(0, 0, 0, .6); }
.gw-f-black { padding: 7px; background: linear-gradient(135deg, #3a3a3a, #0d0d0d 40%, #262626); }
.gw-f-black .gw-mat { padding: 14%; }
.gw-f-white { padding: 10px; background: linear-gradient(135deg, #ffffff, #e8e6e1); }
.gw-f-white .gw-mat { padding: 0; box-shadow: inset 1px 1px 3px rgba(0, 0, 0, .2); }
.gw-f-wood {
  padding: 13px;
  background:
    repeating-linear-gradient(90deg, rgba(60, 30, 10, .12) 0 2px, transparent 2px 7px, rgba(255, 220, 170, .08) 7px 9px, transparent 9px 15px),
    linear-gradient(135deg, #c8945c, #9a6232 50%, #b8804a);
  box-shadow: inset 0 0 0 2px #5e3415, inset 3px 3px 0 rgba(255, 220, 170, .3), 0 14px 22px rgba(0, 0, 0, .45);
}
.gw-f-wood .gw-mat { padding: 8%; background: #f4ecdd; }
.gw-f-silver {
  padding: 11px;
  background: linear-gradient(135deg, #ffffff 0%, #a9b0bd 25%, #eef1f6 50%, #8a92a1 75%, #dfe3ea 100%);
  box-shadow: inset 0 0 0 2px #6d7484, inset 0 0 0 4px #e8ebf1, 0 14px 22px rgba(0, 0, 0, .45);
}
.gw-f-silver .gw-mat { padding: 9%; background: #1e1a24; }
.gw-f-pink {
  padding: 13px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd0ea, var(--hot-pink) 45%, #ff8fc7 70%, #ffd0ea);
  box-shadow: inset 0 0 0 2px var(--ink), inset 3px 3px 0 rgba(255, 255, 255, .6), 0 14px 22px rgba(0, 0, 0, .45);
}
.gw-f-pink .gw-mat { padding: 0; border-radius: 4px; overflow: hidden; border: 2px solid var(--ink); }
.gw-f-acrylic {
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .12) 40%, rgba(255, 255, 255, .3));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 10px 14px 18px rgba(0, 0, 0, .4);
  backdrop-filter: blur(2px);
}
.gw-f-acrylic .gw-mat { padding: 0; background: transparent; box-shadow: 4px 6px 10px rgba(0, 0, 0, .35); }
.gw-f-canvas { padding: 0; background: none; box-shadow: 8px 12px 0 rgba(0, 0, 0, .18), 0 18px 26px rgba(0, 0, 0, .5); }
.gw-f-canvas .gw-mat { padding: 0; box-shadow: inset -6px -6px 0 rgba(0, 0, 0, .14); }
.gw-f-oval, .gw-f-round { border-radius: 50%; }
.gw-f-oval {
  padding: 15px;
  background: linear-gradient(135deg, #f7df8e 0%, #b8892e 25%, #f3d27a 50%, #8f6420 75%, #e7c566 100%);
  box-shadow: inset 0 0 0 2px #6e4c14, inset 0 0 0 6px #e9c96c, inset 0 0 0 8px #8a6420, 0 14px 22px rgba(0, 0, 0, .5);
}
.gw-f-round { padding: 9px; background: linear-gradient(135deg, #fff, #ddd8cf); }
.gw-f-oval .gw-mat, .gw-f-round .gw-mat, .gw-f-oval .gw-art, .gw-f-round .gw-art { border-radius: 50%; }
.gw-f-oval .gw-mat { padding: 9%; }
.gw-f-round .gw-mat { padding: 0; }
.gw-slot { container-type: size; }
.gw-f-round { flex: none; width: min(100cqw, calc(100cqh - 44px)); height: min(100cqw, calc(100cqh - 44px)); }

/* brass picture light above a frame */
.gw-light {
  position: absolute; z-index: 2;
  top: -12px; left: 50%;
  width: 46%; height: 10px;
  transform: translateX(-50%);
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(180deg, #f3d989, var(--brass) 50%, #7d5c1c);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
  pointer-events: none;
}
.gw-light::after { /* the glow on the wall and frame */
  content: "";
  position: absolute; left: 50%; top: 8px;
  width: 190%; height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(255, 236, 190, .3), transparent 70%);
  mix-blend-mode: screen;
}

/* small museum label under each frame */
.gw-plaque {
  flex: none;
  display: grid; gap: 1px;
  margin-top: 12px;
  padding: 5px 9px 6px;
  max-width: 100%;
  background: #fbf8f1;
  color: #2b2328;
  font: 10.5px/1.2 var(--font-body);
  text-align: left;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, .4);
}
.gw-plaque i { font-family: "Bodoni Moda", Georgia, serif; font-size: 11.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-plaque b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-plaque small { color: #776a72; }
.gw-plaque--empty { opacity: .55; }

.gw-floor {
  flex: none;
  height: 34px;
  margin: auto calc(var(--pad) * -1) 0;
  background:
    linear-gradient(180deg, #f3e6d2 0 6px, #cdb592 6px 8px, rgba(0, 0, 0, .3) 8px 10px, transparent 10px),
    repeating-linear-gradient(90deg, #7a4a28 0 58px, #6a3e20 58px 60px, #8a5630 60px 118px, #6a3e20 118px 120px);
}

/* close-up view */
.gw-view {
  width: min(94vw, 1100px);
  max-width: none; max-height: 92vh;
  padding: clamp(18px, 3vw, 34px) clamp(54px, 7vw, 84px);
  border: 3px solid var(--ink);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 70% 60% at 40% 40%, rgba(255, 220, 190, .12), transparent 70%),
    #3e1b33;
  color: #fff7ee;
  box-shadow: 10px 12px 0 var(--ink), 0 30px 80px rgba(0, 0, 0, .5);
}
.gw-view[open] { animation: pop-in .4s var(--pop); }
.gw-view::backdrop { background: rgba(20, 10, 18, .72); backdrop-filter: blur(4px); }
.gw-view-fig {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.gw-view-art { display: grid; place-items: center; }
.gw-view-art img {
  display: block;
  max-width: 100%; max-height: 74vh;
  object-fit: contain;
  border: 10px solid #fbf8f1;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .5);
}
.gw-view-empty {
  aspect-ratio: 3 / 4; max-height: 60vh; width: 100%;
  border: 10px solid #fbf8f1;
  background: #efe8db;
  font: 300 64px/1 var(--font-body); color: #b8a98f;
}
.gw-label {
  display: grid; gap: 4px; align-content: center;
  padding: 18px 20px;
  background: #fbf8f1; color: #2b2328;
  font: 14px/1.4 var(--font-body);
  box-shadow: 2px 4px 10px rgba(0, 0, 0, .4);
}
.gw-label i { font-family: "Bodoni Moda", Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.15; }
.gw-label b { font-size: 15px; }
.gw-label small { color: #776a72; font-size: 13px; }
.gw-label p { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #e3dbcd; }
.gw-label code { font-size: 12px; background: #efe8db; padding: 1px 4px; border-radius: 4px; }
.gw-count { margin-top: 8px; font-size: 12px; letter-spacing: .12em; color: #776a72; }
.gw-view-close, .gw-view-nav {
  position: absolute;
  display: grid; place-items: center;
  border: 3px solid var(--ink);
  background: linear-gradient(180deg, var(--chrome-1), var(--chrome-2));
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.gw-view-close { top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 12px; font: 700 16px/1 var(--font-body); }
.gw-view-nav { top: 50%; width: 42px; height: 42px; border-radius: 50%; transform: translateY(-50%); }
.gw-view-nav[hidden] { display: none; }
.gw-view-nav svg { width: 20px; height: 20px; }
.gw-view-prev { left: 10px; }
.gw-view-next { right: 10px; }
.gw-view-close:focus-visible, .gw-view-nav:focus-visible { outline: 4px solid var(--lime); outline-offset: 2px; }

@media (max-width: 760px) {
  .gw-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); --unit: 34px; }
  .gw-s-small  { grid-column: span 2; grid-row: span 6; }
  .gw-s-square { grid-column: span 2; grid-row: span 5; }
  .gw-s-tall   { grid-column: span 2; grid-row: span 6; }
  .gw-s-wide, .gw-s-big { grid-column: span 4; grid-row: span 6; }
  .gw-frame { padding: 8px; }
  .gw-f-gold, .gw-f-oval { padding: 11px; }
  .gw-f-baroque { padding: 15px; }
  .gw-view { padding: 52px 16px 16px; max-height: 94vh; overflow-y: auto; }
  .gw-view-fig { grid-template-columns: 1fr; }
  .gw-view-art img { max-height: 52vh; }
  .gw-view-nav { top: 12px; transform: none; width: 38px; height: 38px; }
  .gw-view-prev { left: 12px; }
  .gw-view-next { left: 58px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .gw-frame, .fl-disc img { transition: none; }
}
.gw-label .gw-place { color: #9a7b8c; font-style: italic; }

/* ── Movies & TV: clickable posters + review card ── */
.pw-open {
  display: block; width: 100%;
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left;
  cursor: pointer;
}
.pw-open:focus-visible { outline: none; }
.pw-open:focus-visible .pw-poster { outline: 4px solid var(--lime); outline-offset: 4px; }
.pw-open .pw-poster::after { /* "read review" hint on hover */
  content: "Read review ✦";
  position: absolute; left: 50%; bottom: 10px; z-index: 4;
  transform: translate(-50%, 6px);
  padding: 5px 10px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--butter); color: var(--ink);
  font: 700 11px/1 var(--font-body); white-space: nowrap;
  box-shadow: 2px 2px 0 var(--ink);
  opacity: 0;
  transition: opacity .2s ease, transform .2s var(--pop);
  pointer-events: none;
}
.pw-open:hover .pw-poster::after, .pw-open:focus-visible .pw-poster::after { opacity: 1; transform: translate(-50%, 0); }

.pw-view {
  width: min(92vw, 880px);
  max-width: none; max-height: 90vh;
  padding: clamp(22px, 3vw, 36px) clamp(56px, 7vw, 76px);
  border: 3px solid var(--ink);
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(255, 79, 163, .12) 1.2px, transparent 1.6px) 0 0 / 16px 16px,
    var(--paper);
  color: var(--ink);
  box-shadow: 10px 12px 0 var(--ink), 0 30px 80px rgba(0, 0, 0, .45);
  overflow-y: auto;
}
.pw-view[open] { animation: pop-in .4s var(--pop); }
.pw-view::backdrop { background: rgba(43, 29, 58, .55); backdrop-filter: blur(3px); }
.pw-card {
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 40px);
  align-items: center;
}
.pw-card-art { transform: rotate(-2.5deg); }
.pw-card-art .pw-poster { box-shadow: 6px 7px 0 var(--ink), 0 14px 28px rgba(43, 29, 58, .25); }
.pw-card-art .pw-poster::after { display: none; }
.pw-card-text { display: grid; gap: 6px; justify-items: start; }
.pw-card-tag {
  padding: 4px 10px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--hot-pink); color: #fff;
  font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  text-shadow: 1px 1px 0 var(--ink);
}
.pw-card-tag--tv { background: var(--lime); color: var(--ink); text-shadow: none; }
.pw-card-title { margin: 4px 0 0; font: 400 clamp(26px, 3.2vw, 38px)/1.05 var(--font-title); text-wrap: balance; }
.pw-card-by { margin: 0; font-weight: 700; font-size: 15px; }
.pw-card-details { margin: 0; font-size: 13.5px; color: #6b5a7d; }
.pw-card-kicker {
  margin: 14px 0 0;
  font: 700 22px/1 var(--font-hand);
  color: var(--hot-pink);
}
.pw-card-review { margin: 0; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.65; max-width: 52ch; }
.pw-card-count { margin-top: 8px; font: 700 12px/1 var(--font-body); letter-spacing: .12em; color: #6b5a7d; }
.pw-view-close, .pw-view-nav {
  position: absolute;
  display: grid; place-items: center;
  border: 3px solid var(--ink);
  background: linear-gradient(180deg, var(--chrome-1), var(--chrome-2));
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.pw-view-close { top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 12px; font: 700 16px/1 var(--font-body); }
.pw-view-nav { top: 50%; width: 42px; height: 42px; border-radius: 50%; transform: translateY(-50%); }
.pw-view-nav[hidden] { display: none; }
.pw-view-nav svg { width: 20px; height: 20px; }
.pw-view-prev { left: 10px; }
.pw-view-next { right: 10px; }
.pw-view-close:focus-visible, .pw-view-nav:focus-visible { outline: 4px solid var(--lime); outline-offset: 2px; }
@media (max-width: 760px) {
  .pw-view { padding: 58px 18px 22px; max-height: 94vh; }
  .pw-card { grid-template-columns: 1fr; justify-items: center; }
  .pw-card-art { width: min(52vw, 200px); }
  .pw-view-nav { top: 12px; transform: none; width: 38px; height: 38px; }
  .pw-view-prev { left: 12px; }
  .pw-view-next { left: 58px; right: auto; }
}

/* ── Ticket wall: tickets with a memory open their own window ── */
.tw-open {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left;
  cursor: pointer;
}
.tw-open:focus-visible { outline: 4px solid var(--lime); outline-offset: 6px; border-radius: 10px; }
.tw-badge {
  position: absolute; top: -10px; right: 14px; z-index: 3;
  padding: 4px 10px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--butter); color: var(--ink);
  font: 700 11px/1 var(--font-body); white-space: nowrap;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(4deg);
  animation: tw-bob 2.4s ease-in-out infinite;
}
@keyframes tw-bob { 50% { transform: rotate(4deg) translateY(-3px); } }

.tw-view {
  width: min(94vw, 1080px);
  max-width: none; max-height: 92vh;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #1c1426;
  color: #fffdf6;
  box-shadow: 10px 12px 0 var(--ink), 0 30px 80px rgba(0, 0, 0, .5);
  overflow-y: auto;
}
.tw-view[open] { animation: pop-in .4s var(--pop); }
.tw-view::backdrop { background: rgba(20, 10, 28, .7); backdrop-filter: blur(4px); }
.tw-view .pw-view-close { z-index: 2; }
.tw-mem-head {
  padding: clamp(20px, 3vw, 30px) clamp(20px, 4vw, 40px);
  border-bottom: 3px solid var(--ink);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .22) 1.2px, transparent 1.6px) 0 0 / 14px 14px,
    linear-gradient(120deg, var(--a), var(--b));
  color: #fff;
  text-shadow: 2px 2px 0 var(--ink);
}
.tw-mem-kicker { font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.tw-mem-title { margin: 6px 0 4px; font: 400 clamp(34px, 5vw, 56px)/1 var(--font-title); }
.tw-mem-dates { margin: 0; font-weight: 700; font-size: 15px; }
.tw-mem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(20px, 3vw, 34px) clamp(20px, 4vw, 40px) clamp(26px, 3vw, 40px);
  align-items: start;
}
.tw-mem-poster { display: block; transform: rotate(-1.5deg); transition: transform .3s var(--pop); }
.tw-mem-poster:hover { transform: rotate(0) scale(1.02); }
.tw-mem-poster img {
  display: block; width: 100%; height: auto;
  border: 3px solid var(--ink); border-radius: 6px;
  box-shadow: 6px 7px 0 var(--hot-pink);
}
.tw-mem-side { display: grid; gap: 26px; }
.tw-mem-side h4 { margin: 0 0 10px; font: 700 24px/1 var(--font-hand); color: var(--butter); }
.tw-mem-video { border-color: var(--ink); box-shadow: 5px 6px 0 var(--lime); }
.tw-mem-photos { display: flex; flex-wrap: wrap; gap: 20px; }
.tw-mem-photo {
  position: relative;
  margin: 0;
  width: min(100%, 330px);
  padding: 10px 10px 34px;
  background: var(--paper);
  box-shadow: 4px 8px 18px rgba(0, 0, 0, .5);
  transform: rotate(var(--tilt));
}
.tw-mem-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; }
.tw-mem-photo figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: 700 20px/1 var(--font-hand); color: var(--ink); }
.tw-mem-tape {
  position: absolute; top: -10px; left: 50%; z-index: 1;
  width: 70px; height: 22px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(198, 244, 50, .75);
}
@media (max-width: 760px) {
  .tw-mem-grid { grid-template-columns: 1fr; }
  .tw-mem-head { padding-right: 60px; }
}
.tw-mem-left { display: grid; gap: 30px; justify-items: start; }
.tw-mem-left .tw-mem-poster { width: 100%; }
.tw-mem-note {
  position: relative;
  margin: 0 0 0 8px;
  width: min(100%, 280px);
  padding: 26px 20px 22px;
  background: linear-gradient(180deg, #fff59a, var(--butter));
  color: var(--ink);
  font: 700 23px/1.2 var(--font-hand);
  box-shadow: 3px 8px 14px rgba(0, 0, 0, .45);
  transform: rotate(-3deg);
}
.tw-mem-note b { color: var(--hot-pink); }
.tw-mem-note::before { /* pink tape */
  content: "";
  position: absolute; top: -10px; left: 50%;
  width: 76px; height: 22px;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(255, 143, 199, .8);
}
.tw-mem-clip {
  display: block; width: 100%; max-height: 62vh;
  background: #000;
  border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 5px 6px 0 var(--lime);
}
.tw-mem-photos .tw-mem-photo { width: calc(50% - 10px); min-width: 180px; flex: 1 1 200px; }

/* "MY FAV SETS" note: lined paper, each name in its own font */
.tw-mem-sets {
  position: relative;
  margin-left: 8px;
  width: min(100%, 320px);
  padding: 22px 22px 18px 40px;
  background:
    linear-gradient(90deg, transparent 28px, rgba(255, 79, 163, .55) 28px 30px, transparent 30px),
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(143, 211, 255, .7) 33px 34px),
    #fffdf6;
  color: var(--ink);
  box-shadow: 3px 8px 14px rgba(0, 0, 0, .45);
  transform: rotate(2deg);
}
.tw-mem-sets::before {
  content: "";
  position: absolute; top: -10px; left: 50%;
  width: 80px; height: 22px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(198, 244, 50, .8);
}
.tw-mem-sets h4 {
  margin: 0 0 8px;
  font: 400 26px/1 var(--font-title);
  color: var(--hot-pink);
  letter-spacing: .02em;
  text-shadow: 2px 2px 0 var(--ink);
}
.tw-mem-sets ul { list-style: none; margin: 0; padding: 0; display: grid; }
.tw-mem-sets li { line-height: 34px; height: 34px; white-space: nowrap; }
.tw-set--goth   { font: 400 30px/34px "UnifrakturMaguntia", serif; color: #5b3b86; }
.tw-set--poster { font: 400 27px/34px "Anton", Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.tw-set--serif  { font: italic 600 25px/34px "Bodoni Moda", Didot, serif; color: #e23a8c; }
.tw-set--bubble { font: 400 28px/34px "Modak", "Bagel Fat One", sans-serif; color: #2aa7e8; -webkit-text-stroke: 1px var(--ink); }
.tw-set--retro  { font: 400 25px/34px "Righteous", sans-serif; color: #ff8a3d; }
.tw-set--hand   { font: 700 28px/34px var(--font-hand); color: var(--ink); }
.tw-mem-photos .tw-mem-photo:only-child { flex: 0 1 auto; width: min(100%, 360px); }
/* photos sit in an even row (2 or 3 across), a single photo stays Polaroid-sized */
.tw-mem-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.tw-mem-photos .tw-mem-photo { width: auto; min-width: 0; padding: 8px 8px 26px; }
.tw-mem-photos .tw-mem-photo:only-child { width: min(100%, 360px); padding: 10px 10px 34px; }

/* Board ticket: text sized to the ticket itself (not the screen), so desktop
   matches mobile, with breathing room above ADMIT ONE and below the date row */
.ticket .item__face { container-type: inline-size; }
.ticket .tk-main { padding: 7% 7% 7% 8%; gap: .9cqw; }
.ticket .tk-top { font-size: 3.4cqw; letter-spacing: .18em; }
.ticket .tk-name { font-size: 12.4cqw; }
.ticket .tk-sub { font-size: 3.5cqw; }
.ticket .tk-row b { font-size: 6.2cqw; }
.ticket .tk-row span { font-size: 3.2cqw; }
.ticket .tk-stub-text { font-size: 3.2cqw; }
