/* ============================================================
   COMEDY HOUSE OF TRAGEDY
   Layout idea: saw.movie's skeleton (full-bleed hero, fixed corner
   chrome, statement, poster + synopsis + credits, video row) inside
   a comedy club with a dungeon under it. Two lighting moods: the
   TRAGEDY mood is the dungeon (cold steel, one bare bulb, blood);
   the COMEDY mood turns the house lights on (velvet, marquee gold).
   ============================================================ */

@font-face { font-family: "Anton"; src: url("../assets/fonts/anton.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("../assets/fonts/marker.woff2") format("woff2"); font-display: swap; }

:root {
  color-scheme: dark;
  /* TRAGEDY (default): the dungeon */
  --stage: #06080c;      /* stage black, pulled toward the film's steel blue */
  --panel: #0e131b;      /* raised surfaces */
  --bone: #ece5d5;       /* text, from the stone lettering in the logo */
  --ash: #93a0b1;        /* secondary text */
  --blood: #c8141e;      /* the one red */
  --steel: #6f93bd;      /* cold key light */
  --bulb: #f3b23e;       /* the one bare bulb */
  --accent: var(--blood);
  --accent-ink: #fff5ea;
  --line: rgba(236, 229, 213, .14);

  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --hand: "Permanent Marker", "Comic Sans MS", cursive;

  --gutter: clamp(18px, 4vw, 56px);
  --max: 1180px;
}

/* COMEDY: house lights up */
body[data-mood="comedy"] {
  --stage: #2a0609;
  --panel: #3c0b10;
  --bone: #fff1d0;
  --ash: #e9b99c;
  --steel: #ff8fc0;      /* cotton candy */
  --accent: #ffc23a;     /* marquee gold */
  --accent-ink: #2a0609;
  --line: rgba(255, 241, 208, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--bone);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s ease, color .6s ease;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; border-radius: 2px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--bone); color: #111; padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.band { padding-block: clamp(72px, 11vw, 150px); position: relative; }

h2 {
  font: 400 clamp(2.6rem, 6.4vw, 5rem)/.95 var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
  text-wrap: balance;
}
h3 { font: 400 1.9rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ash); max-width: 56ch; margin-top: 18px; }
.marker { font-family: var(--hand); color: var(--bulb); font-size: 1.15rem; line-height: 1.25; transform: rotate(-1.5deg); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.head-note { max-width: 24ch; }
.text-link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--ash); font-size: .95rem; }
.text-link:hover { color: var(--bone); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: 400 1.15rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(2px) scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--bone); color: #14090a; }
.btn-ghost { background: rgba(0, 0, 0, .35); border-color: var(--bone); color: var(--bone); }
.btn-ghost:hover { background: var(--bone); color: #14090a; }
.pill {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font: 400 1rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
}
.pill:hover { background: var(--bone); color: #14090a; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 8px;
  background: none; border: 0; color: var(--bone);
  font: 600 .95rem/1 var(--body);
}

/* ---------- fixed chrome ---------- */
.chrome { position: fixed; z-index: 30; }
.chrome-top {
  inset: 0 0 auto 0; height: 68px; padding: 0 clamp(10px, 2vw, 24px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.chrome-top > * { pointer-events: auto; }
.chrome-top.scrolled { background: color-mix(in srgb, var(--stage) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

/* the row of marquee bulbs along the very top: one flickering bulb in the dungeon, all lit in comedy */
.bulbs {
  position: fixed; z-index: 31; inset: 0 0 auto 0; height: 10px; pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, #3a332a 0 3px, transparent 3.5px);
  background-size: 30px 10px; background-position: 50% 0;
}
.bulbs::after {
  content: ""; position: absolute; left: calc(50% - 15px); top: 0; width: 30px; height: 10px;
  background: radial-gradient(circle at 50% 50%, #fff3cf 0 3px, rgba(243, 178, 62, .9) 3.5px, rgba(243, 178, 62, 0) 12px);
  animation: flicker 5.5s infinite steps(1);
}
@keyframes flicker { 0%, 100% { opacity: 1; } 41% { opacity: .2; } 43% { opacity: 1; } 47% { opacity: .35; } 49% { opacity: 1; } 78% { opacity: .1; } 80% { opacity: 1; } }
body[data-mood="comedy"] .bulbs {
  background-image:
    radial-gradient(circle at 50% 50%, #fff6d8 0 3px, rgba(255, 194, 58, .95) 3.5px, rgba(255, 194, 58, 0) 9px),
    radial-gradient(circle at 50% 50%, #fff6d8 0 3px, rgba(255, 143, 192, .9) 3.5px, rgba(255, 143, 192, 0) 9px);
  background-size: 60px 10px, 60px 10px; background-position: 0 0, 30px 0;
  animation: chase 1s infinite steps(1);
}
body[data-mood="comedy"] .bulbs::after { display: none; }
@keyframes chase { 0% { background-position: 0 0, 30px 0; } 50% { background-position: 30px 0, 0 0; } }

/* mood switch */
.mood { display: flex; align-items: center; gap: 4px; }
.mood-side {
  background: none; border: 0; padding: 10px 8px; min-height: 44px;
  font: 400 1.05rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--bone); opacity: .45; transition: opacity .2s, color .2s;
}
.mood-side[aria-pressed="true"] { opacity: 1; color: var(--accent); text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 70%, transparent); }
.mood-side:hover { opacity: 1; }
.mood-masks { background: none; border: 0; padding: 0; width: 86px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.mood-masks img { width: 100%; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .7)); }
.mood-masks:hover { transform: rotate(-6deg) scale(1.08); }
body[data-mood="comedy"] .mood-masks { transform: rotate(5deg); }
body[data-mood="comedy"] .mood-masks:hover { transform: rotate(10deg) scale(1.08); }

/* the two-minute clock */
.clock {
  left: clamp(10px, 2vw, 24px); bottom: clamp(10px, 2vw, 22px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 8px 10px 9px; border: 1px solid #2a0b0d; border-radius: 6px;
  background: #0b0304; box-shadow: 0 8px 30px rgba(0, 0, 0, .6), inset 0 0 0 2px #160607;
}
.clock-label { font: 600 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #b58d86; }
.led { display: flex; gap: 4px; align-items: center; }
.led svg { width: 17px; height: 30px; display: block; }
.led .seg { fill: #2b0709; }
.led .seg.on { fill: #ff2b2b; filter: drop-shadow(0 0 3px rgba(255, 40, 40, .9)); }
.led .colon { width: 5px; height: 30px; display: grid; align-content: center; gap: 8px; }
.led .colon i { width: 5px; height: 5px; background: #ff2b2b; box-shadow: 0 0 5px rgba(255, 40, 40, .9); }
.clock.low .led .colon i { animation: blink .5s infinite steps(1); }
@keyframes blink { 50% { opacity: .15; } }

.social { right: clamp(10px, 2vw, 24px); bottom: clamp(10px, 2vw, 22px); display: flex; gap: 6px; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: var(--bone);
}
.social a:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(620px, 100svh); display: grid; place-items: center; overflow: hidden; isolation: isolate; background: #000; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .7) 62%, rgba(0, 0, 0, .92) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 62%, var(--stage) 100%);
  transition: background .6s;
}
body[data-mood="comedy"] .hero-shade {
  background:
    radial-gradient(ellipse at 50% 46%, rgba(120, 10, 16, .25) 0%, rgba(74, 8, 12, .72) 62%, rgba(42, 6, 9, .95) 100%),
    linear-gradient(to bottom, rgba(42, 6, 9, .6), rgba(42, 6, 9, 0) 30%, rgba(42, 6, 9, 0) 62%, var(--stage) 100%);
}
.hero-inner { display: grid; justify-items: center; gap: 12px; padding: 92px var(--gutter) 110px; text-align: center; }
.hero-credit { font: 600 .9rem/1 var(--body); letter-spacing: .34em; text-transform: uppercase; color: var(--bone); opacity: .85; }
.hero-logo { width: min(74vw, 46svh, 430px); filter: drop-shadow(0 18px 50px rgba(0, 0, 0, .85)); animation: drop-in 1.1s cubic-bezier(.2, .9, .25, 1.15) both; }
@keyframes drop-in { from { transform: translateY(-40px) rotate(-3deg) scale(1.06); opacity: 0; } }
.hero-release { font: 400 clamp(1.6rem, 3.2vw, 2.3rem)/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.hero-tag { color: var(--ash); font-size: 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.hero-pause {
  position: absolute; left: 50%; bottom: 20px; translate: -50% 0;
  background: rgba(0, 0, 0, .5); border: 0; border-radius: 999px; padding: 8px 14px; min-height: 36px; color: var(--ash); font-size: .8rem;
}
.hero-pause:hover { color: var(--bone); }

/* ---------- rules ---------- */
.rules { padding-top: clamp(56px, 8vw, 110px); }
.statement { font-size: clamp(2.9rem, 8.6vw, 7.2rem); line-height: .93; max-width: 12.5em; }
.statement .die { color: var(--blood); display: inline-block; transform-origin: 0 100%; animation: thud 6s infinite; }
body[data-mood="comedy"] .statement .die { color: var(--accent); }
@keyframes thud { 0%, 88%, 100% { transform: none; } 90% { transform: rotate(-2.5deg) translateY(3px); } 93% { transform: rotate(1deg); } }
.teaser { margin-top: clamp(40px, 6vw, 72px); max-width: 880px; }
.teaser-btn, .video-card .thumb { position: relative; display: block; overflow: hidden; border-radius: 4px; background: #000; }
.teaser-btn { width: 100%; padding: 0; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.teaser-btn img { width: 100%; transition: transform .5s ease, opacity .3s; opacity: .88; }
.teaser-btn:hover img, .video-card:hover img { transform: scale(1.03); opacity: 1; }
.play-badge {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); padding-left: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .6); transition: transform .2s;
}
.play-badge.sm { width: 54px; height: 54px; margin: -27px 0 0 -27px; padding-left: 4px; }
.teaser-btn:hover .play-badge, .video-card:hover .play-badge { transform: scale(1.1); }
.teaser figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; }
.teaser figcaption strong { font: 400 1.4rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.teaser figcaption span { color: var(--ash); font-size: .95rem; }

/* ---------- story ---------- */
.story { background: linear-gradient(to bottom, transparent, var(--panel) 18%, var(--panel) 82%, transparent); }
.story-grid { display: grid; grid-template-columns: minmax(220px, 330px) minmax(0, 1fr) minmax(170px, 220px); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.poster-main { padding: 0; border: 0; background: none; display: block; width: 100%; box-shadow: 0 30px 70px rgba(0, 0, 0, .7); transform: rotate(-1.2deg); transition: transform .3s; }
.poster-main:hover { transform: rotate(0) scale(1.015); }
.poster-main img { width: 100%; }
.poster-picks { display: flex; gap: 8px; margin: 18px 0 12px; }
.poster-pick { width: 54px; padding: 0; border: 2px solid transparent; background: none; opacity: .55; transition: opacity .2s; }
.poster-pick.is-on { border-color: var(--accent); opacity: 1; }
.poster-pick:hover { opacity: 1; }
.synopsis h2 { margin-bottom: 22px; }
.synopsis p { max-width: 58ch; }
.synopsis p + p { margin-top: 16px; }
.synopsis .pull { font-family: var(--hand); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--bulb); margin-top: 30px; transform: rotate(-1.2deg); }
.credits { display: grid; gap: 18px; font-size: .95rem; padding-top: 8px; }
.credits dt { font-weight: 800; }
.credits dd { color: var(--ash); line-height: 1.45; }

/* ---------- open mic ---------- */
.openmic { overflow: hidden; isolation: isolate; }
.openmic-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--stage), rgba(6, 8, 12, .55) 22%, rgba(6, 8, 12, .7) 70%, var(--stage)),
    url("../assets/img/still-judges.webp") 50% 30% / cover no-repeat;
}
body[data-mood="comedy"] .openmic-bg {
  background:
    linear-gradient(to bottom, var(--stage), rgba(60, 8, 12, .7) 22%, rgba(60, 8, 12, .78) 70%, var(--stage)),
    url("../assets/img/still-judges.webp") 50% 30% / cover no-repeat;
}
.openmic-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.joke-form { margin-top: 28px; display: grid; gap: 10px; }
.joke-form label { font-weight: 800; }
.joke-form textarea {
  width: 100%; min-height: 132px; resize: vertical; padding: 16px 18px;
  background: #f4eedf; color: #17120f; border: 0; border-radius: 3px;
  font: 400 1.25rem/1.4 var(--hand);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, .45);
  transform: rotate(-.6deg);
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(70, 110, 170, .28) 33px 34px);
}
.joke-form textarea::placeholder { color: #8b8274; }
.joke-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.tally { margin-top: 18px; color: var(--ash); font-size: .95rem; }
.verdict {
  min-height: 300px; display: grid; align-content: center; padding: clamp(22px, 3vw, 40px);
  background: rgba(0, 0, 0, .62); border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(3px);
}
.verdict p + p { margin-top: 12px; }
.verdict-think .marker { font-size: 1.6rem; animation: wobble .5s infinite alternate ease-in-out; }
@keyframes wobble { from { transform: rotate(-2.5deg); } to { transform: rotate(1.5deg); } }
.stamp {
  display: inline-block; font: 400 clamp(3rem, 7vw, 5.4rem)/.9 var(--display); text-transform: uppercase; letter-spacing: .02em;
  color: var(--bulb); border: 5px solid currentColor; padding: 10px 18px 6px; transform: rotate(-5deg);
  animation: stamp-in .35s cubic-bezier(.2, 1.7, .4, 1) both;
}
.stamp.bomb { color: var(--blood); }
body[data-mood="comedy"] .stamp.bomb { color: #ff5d5d; }
@keyframes stamp-in { from { transform: rotate(-14deg) scale(2.4); opacity: 0; } }
.verdict-line { font-size: 1.2rem; margin-top: 22px !important; }
.copied { color: var(--bulb); font-size: .95rem; margin-top: 12px; }
.crack { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 2; }
.crack.show { animation: crack 1.6s ease-out; }
.crack svg { width: 100%; height: 100%; }
@keyframes crack { 0% { opacity: 1; background: rgba(200, 20, 30, .4); } 12% { background: rgba(200, 20, 30, 0); } 70% { opacity: 1; } 100% { opacity: 0; } }
.shake { animation: shake .45s; }
@keyframes shake { 20% { transform: translate(-7px, 3px); } 40% { transform: translate(6px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }

/* ---------- lineup ---------- */
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.card { position: relative; aspect-ratio: 4 / 5.6; perspective: 1200px; }
.card-btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; text-align: left; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.card.flipped .card-btn { transform: rotateY(180deg); }
.card-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 4px; overflow: hidden; }
.card-front { background: #000; }
.card-front img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-front img { transform: scale(1.04); }
.card-front::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .92)); }
.card-name { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.card-name b { display: block; font: 400 clamp(1.7rem, 2.6vw, 2.2rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.card-name span { display: block; margin-top: 5px; color: #d7cfc0; font-size: .92rem; }
.card-back {
  transform: rotateY(180deg); background: #f4eedf; color: #17120f; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(70, 110, 170, .25) 31px 32px);
}
.card-back h3 { font: 400 1.05rem/1 var(--hand); text-transform: none; text-decoration: underline; color: #9c1017; }
.card-back ol { margin: 0; padding-left: 1.3em; font: 400 1.05rem/1.25 var(--hand); display: grid; gap: 7px; }
.card-back p { font: 500 .86rem/1.4 var(--body); margin-top: auto; }
.with { grid-column: span 3; align-self: center; padding-left: clamp(8px, 2vw, 28px); font: 400 clamp(1.3rem, 2.2vw, 1.9rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--ash); display: grid; gap: 4px; }
.with strong { font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: .95; color: var(--bone); }

/* ---------- stills ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; min-height: 42px; font-weight: 600; font-size: .95rem; color: var(--ash); }
.tab.is-on { background: var(--bone); color: #14090a; border-color: var(--bone); }
.strip { display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--gutter) 22px; scroll-snap-type: x proximity; scrollbar-color: var(--accent) transparent; }
.strip button { flex: none; height: clamp(210px, 34vw, 400px); padding: 0; border: 0; background: #000; border-radius: 3px; overflow: hidden; scroll-snap-align: center; }
.strip img { height: 100%; width: auto; max-width: none; transition: opacity .25s, transform .5s; opacity: .86; }
.strip button:hover img { opacity: 1; transform: scale(1.03); }

/* ---------- videos ---------- */
.videos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(14px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.video-card { display: grid; grid-template-columns: 1fr auto; gap: 12px 10px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.video-card .thumb { grid-column: 1 / -1; }
.video-card.wide .thumb { aspect-ratio: 16 / 9; }
.video-card.tall .thumb { aspect-ratio: 9 / 13; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .85; }
.video-title { font-weight: 800; }
.video-meta { color: var(--ash); font-variant-numeric: tabular-nums; }

/* ---------- merch ---------- */
.merch { background: radial-gradient(ellipse 70% 50% at 50% 0, color-mix(in srgb, var(--bulb) 16%, transparent), transparent 70%); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 44px); }
.product { display: grid; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.product-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 4px; background: radial-gradient(circle at 50% 40%, #6a7180 0%, #343943 52%, #14161b 100%); }
body[data-mood="comedy"] .product-art { background: radial-gradient(circle at 50% 40%, #d98a5a 0%, #8a2b25 52%, #3c0b10 100%); }
.product-art svg, .product-art img { width: 84%; height: auto; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); }
.product:hover .product-art svg, .product:hover .product-art img { transform: rotate(-3deg) scale(1.05); }
.product-art .poster-art { width: 56%; }
.tag { position: absolute; left: 10px; top: 10px; background: var(--bone); color: #14090a; font: 400 .85rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px 5px; transform: rotate(-3deg); }
.product-name { font-weight: 800; }
.product-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.price { color: var(--ash); font-variant-numeric: tabular-nums; }

/* ---------- follow ---------- */
.follow-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.follow .btn { margin-top: 26px; }
.rimshot {
  justify-self: end; width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%; border: 10px solid #b9b2a4;
  background: radial-gradient(circle at 40% 35%, #fbf7ec, #d9d2c2 70%, #b9b2a4);
  color: #17120f; display: grid; place-content: center; gap: 6px; text-align: center;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55), inset 0 0 0 3px rgba(0, 0, 0, .12);
  transition: transform .08s;
}
.rimshot:active { transform: scale(.95); }
.rimshot .marker { color: #9c1017; }
.rimshot-big { font: 400 1.9rem/1 var(--display); text-transform: uppercase; }

/* ---------- footer ---------- */
.footer { padding: 56px 0 130px; border-top: 1px solid var(--line); text-align: center; }
.footer-logo { width: 150px; margin: 0 auto 26px; }
.billing { max-width: 880px; margin: 0 auto; line-height: 1.5; color: var(--ash); }
.b-name { font: 400 1.02rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--bone); margin-inline: 2px; }
.b-small { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-contact { margin-top: 22px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 26px; color: var(--ash); font-size: .88rem; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--bone); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(0, 0, 0, .86); }
.dialog-close, .menu-close { position: absolute; right: 12px; top: 12px; z-index: 3; }
.menu { width: 100vw; height: 100dvh; background: #e6e1d6; color: #100c0b; }
.menu[open] { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 70px 20px 40px; overflow: auto; }
.menu .menu-close { left: clamp(10px, 2vw, 24px); right: auto; top: 12px; color: #100c0b; }
.menu-logo { width: min(40vw, 150px); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.menu-release { font: 400 1rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #a3121a; margin-bottom: 10px; }
.menu nav { display: grid; justify-items: center; gap: 2px; }
.menu nav a { font: 400 clamp(2rem, 6.5vh, 3.4rem)/1.08 var(--display); text-transform: uppercase; text-decoration: none; color: #100c0b; padding: 2px 12px; transition: color .15s, transform .15s; }
.menu nav a:hover, .menu nav a:focus-visible { color: #c8141e; transform: skewX(-6deg) scale(1.04); }

.player, .lightbox { background: transparent; width: 100vw; height: 100dvh; }
.player[open], .lightbox[open] { display: grid; place-items: center; padding: 56px 14px 20px; }
.player-frame { width: min(100%, 1100px); max-height: 100%; display: grid; place-items: center; }
.player-frame video, .player-frame iframe { width: 100%; max-height: calc(100dvh - 90px); background: #000; border: 0; }
.player-frame.tall { width: auto; height: 100%; }
.player-frame.tall video { width: auto; height: 100%; max-width: 100%; }
.player-frame iframe { aspect-ratio: 16 / 9; }
.lightbox figure { max-width: min(100%, 1300px); max-height: 100%; display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-height: calc(100dvh - 130px); width: auto; }
.lightbox figcaption { color: var(--ash); font-size: .95rem; text-align: center; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 72px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 2.4rem; line-height: 1; z-index: 2; }
.lb-prev { left: 6px; } .lb-next { right: 6px; }
.lb-nav[hidden] { display: none; }

.sheet { width: min(940px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: auto; }
.sheet.small { width: min(520px, calc(100vw - 24px)); padding: 40px 28px 30px; }
.sheet.small p { margin-top: 16px; }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; }
.sheet-art { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #6a7180 0%, #343943 52%, #14161b 100%); padding: 26px; min-height: 320px; }
.sheet-art svg, .sheet-art img { width: 88%; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); }
.sheet-art .poster-art { width: 62%; }
.sheet-info { padding: 48px 28px 30px; display: grid; gap: 14px; align-content: start; }
.sizes { border: 0; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; }
.sizes span { display: grid; place-items: center; min-width: 48px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; font-weight: 600; font-size: .92rem; }
.sizes input:checked + span { background: var(--bone); color: #14090a; border-color: var(--bone); }
.sizes input:focus-visible + span { outline: 3px solid var(--bulb); outline-offset: 2px; }
.fine { color: var(--ash); font-size: .88rem; }
.share-links { display: grid; gap: 10px; margin-top: 20px; }

.toast {
  position: fixed; left: 50%; bottom: 88px; z-index: 40; translate: -50% 0; max-width: min(90vw, 420px);
  background: #f4eedf; color: #17120f; padding: 12px 18px; border-radius: 3px; box-shadow: 5px 6px 0 rgba(0, 0, 0, .5);
  font-size: 1.15rem; text-align: center; opacity: 0; pointer-events: none; transform: rotate(-2deg) translateY(16px); transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: rotate(-2deg); }

/* ---------- small screens ---------- */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .with { grid-column: span 1; padding-left: 0; }
  .with strong { font-size: clamp(1.5rem, 3vw, 2.2rem); }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .with { grid-column: span 2; }
  .with strong { font-size: clamp(2rem, 6vw, 3rem); }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .poster-col { max-width: 340px; }
  .credits { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .openmic-grid, .follow-grid { grid-template-columns: minmax(0, 1fr); }
  .rimshot { justify-self: start; width: 220px; }
  .videos { grid-template-columns: 1fr 1fr; }
  .videos li:first-child { grid-column: 1 / -1; }
  .sheet-grid { grid-template-columns: 1fr; }
  .sheet-art { min-height: 0; padding: 18px; }
  .sheet-art svg, .sheet-art img { width: 60%; }
}
@media (max-width: 620px) {
  .icon-btn span, .clock-label { display: none; }
  .mood-side { font-size: .9rem; padding: 10px 4px; letter-spacing: .04em; }
  .mood-masks { width: 62px; }
  .pill { padding: 8px 13px; font-size: .9rem; }
  #shareBtn { display: none; }
  .hero-inner { padding-bottom: 96px; }
  .hero-pause { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .with { grid-column: span 1; }
  .with strong { font-size: 1.7rem; }
  .card-back ol { font-size: .92rem; }
  .card-back p { font-size: .78rem; }
  .btn { font-size: 1.05rem; padding: 12px 20px; }
  .footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
