/* ==========================================================================
   efantasy.gr — Halloween 2026 · Horror Video Club
   Plain CSS, no build step. Motion is gated behind .fx-on, which JS sets
   unless the visitor has prefers-reduced-motion; the ΕΦΕ button toggles it.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Ubuntu, self-hosted from assets/fonts (Ubuntu Font Licence 1.0, see UFL.txt).
   Greek + Latin subsets only. unicode-range lets the browser fetch just the
   files the text on screen needs.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ubuntu-400-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ubuntu-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ubuntu-700-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ubuntu-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500italic-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Ubuntu";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Palette: tape-black, oxblood, sun-faded sleeve beige, a bruise of purple */
  --ink: #0e0b0a;
  --wall: #161110;
  --oxblood: #5c0b10;
  --blood: #9e1b1f;
  --blood-lit: #c9403a;      /* red for large type on dark */
  --sleeve: #d6c7a1;
  --sleeve-hi: #ebdfc0;
  --sleeve-dim: #a39676;
  --bruise: #5a3d6e;
  --bruise-lit: #9a80ae;     /* purple that passes AA on --ink */
  --phosphor: #ece3cb;       /* CRT on-screen display */
  --led: #ec4536;            /* 4.5:1 on the LED panels */

  /* One family, by client request: Ubuntu (400, 500, 700, italic 500).
     Italic 500 stands in for the handwritten labels. */
  --font: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 112px;   /* the pinned header bar (96px) + air; see .site-header */
}
html.fx-on { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--sleeve);
  font: 400 1.0625rem/1.6 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  background: url("../img/grain.svg");
  opacity: .08;
}
.fx-on body::after { animation: grain 1s steps(5) infinite; }
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--bruise); color: var(--sleeve-hi); }
:focus-visible { outline: 2px solid var(--sleeve-hi); outline-offset: 4px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px;
  background: var(--sleeve-hi); color: var(--ink);
  font: 700 1rem/1 var(--font);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Transport icons, drawn in CSS so no glyph can fall back to an emoji */
.ico {
  display: inline-block;
  flex: none;
  width: .62em; height: .7em;
  background: currentColor;
  vertical-align: -.02em;
}
.ico--play  { clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ico--ff    { width: 1em; clip-path: polygon(0 0, 50% 50%, 50% 0, 100% 50%, 50% 100%, 50% 50%, 0 100%); }
.ico--rew   { width: 1em; clip-path: polygon(100% 0, 50% 50%, 50% 0, 0 50%, 50% 100%, 50% 50%, 100% 100%); }
.ico--stop  { width: .6em; height: .6em; }
.ico--pause { background: linear-gradient(90deg, currentColor 0 36%, transparent 36% 64%, currentColor 64%); }
.ico--rec   { width: .56em; height: .56em; border-radius: 50%; background: var(--led); }

/* --------------------------------------------------------------------------
   Shop header: eFantasy's own header, rebuilt from the client's design files.
   A white utility strip, then a white bar with rounded lower corners. Its
   colours are the shop's, not the campaign's, on purpose.
   -------------------------------------------------------------------------- */
.site-header {
  --hdr-navy: #31407c;
  --hdr-ink: #404040;
  --hdr-muted: #666;
  --hdr-line: #e8e8e8;
  --hdr-pad: clamp(16px, 3.4vw, 64px);
  --util-h: 38px;                       /* the strip, border included */
  /* Sticky, offset by the strip's height: the strip scrolls away with the page
     and the bar stays pinned to the top. */
  position: sticky;
  top: calc(-1 * var(--util-h));
  z-index: 95;                          /* above the film grain: the shop's header stays clean */
  color: var(--hdr-ink);
}
.site-header { pointer-events: none; }   /* taps go to the bars, not the box around them */
.site-header .util,
.site-header .mainbar { pointer-events: auto; }
.site-header a { text-decoration: none; }
.site-header svg { display: block; flex: none; }
.site-header :focus-visible { outline: 2px solid var(--hdr-navy); outline-offset: 3px; }

/* Utility strip */
.util { height: var(--util-h); background: #fff; border-bottom: 2px solid #f5f5f5; }
.util__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 var(--hdr-pad);
}
.util__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.util__list li { display: flex; }
.util__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: .9375rem;
  color: var(--hdr-ink);
}
.util__contact li + li { margin-left: 16px; padding-left: 17px; border-left: 1px solid var(--hdr-line); }
.util__contact svg { color: var(--hdr-navy); }
.util__right { display: flex; align-items: center; margin-left: auto; }
.util__social { gap: 10px; margin-right: 16px; }
.util__social a { display: grid; place-items: center; width: 34px; height: 36px; color: #1d1d1d; }
.util__social a:hover,
.util__contact a:hover { color: var(--hdr-navy); }
.util__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding-left: 20px;
  border-left: 1px solid var(--hdr-line);
  font-size: .9375rem;
  color: #777;
}

/* Main bar */
.mainbar {
  position: relative;
  background: #fff;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}
.mainbar__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 96px;
  padding: 0 max(16px, calc(var(--hdr-pad) - 8px)) 0 var(--hdr-pad);
}
.mainbar__menu {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 -6px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--hdr-navy);
  cursor: pointer;
}
.mainbar__logo { flex: none; border-radius: 50%; }
.mainbar__logo img { width: 76px; height: 76px; }

.search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 55px;
  padding: 0 20px 0 30px;
  border: 2px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #9d48f7, #31407c 42%, #31407c 60%, #4acfea) border-box;
  color: var(--hdr-navy);
}
.search:focus-within { box-shadow: 0 0 0 4px rgba(157, 72, 247, .18); }
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #222;
  font: 400 1.0625rem/1 var(--font);
}
.search input::placeholder { color: #6f6f6f; opacity: 1; }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.hnav { display: flex; align-items: center; margin-left: -8px; }
.hnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 96px;
  height: 64px;
  color: var(--hdr-navy);
}
.hnav__label { font-size: .8125rem; line-height: 1; color: var(--hdr-muted); white-space: nowrap; }
.hnav__item:hover .hnav__label { color: var(--hdr-navy); }
.hnav__divider { width: 1px; height: 62px; margin: 0 8px; background: var(--hdr-line); }

.shop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: var(--hdr-pad);
  z-index: 30;
  min-width: 260px;
  padding: 10px 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
}
.shop-menu[hidden] { display: none; }
.shop-menu ul { margin: 0; padding: 0; list-style: none; }
.shop-menu a {
  display: block;
  padding: 11px 24px;
  color: var(--hdr-navy);
  font-weight: 500;
}
.shop-menu a:hover { background: #f2f3f9; }
.shop-menu__sep { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hdr-line); }

@media (max-width: 1279px) {
  .mainbar__inner { gap: 24px; }
  .hnav__item { width: 84px; }
  .hnav__label { font-size: .75rem; }
}
/* Game arena, Εκδόσεις and V.I.P. step into the menu, where they are listed too */
@media (max-width: 1023px) {
  .hnav__item--extra { display: none; }
  .mainbar__logo img { width: 64px; height: 64px; }
}
@media (max-width: 719px) {
  html { scroll-padding-top: 152px; }   /* the bar is two rows here (136px) */
  .mainbar { border-radius: 0 0 24px 24px; }
  .mainbar__inner { flex-wrap: wrap; gap: 12px 14px; min-height: 0; padding-top: 10px; padding-bottom: 14px; }
  .mainbar__logo img { width: 52px; height: 52px; }
  .hnav { margin-left: auto; }
  .hnav__item { width: 44px; height: 44px; justify-content: center; }
  .hnav__item svg { height: 26px; width: auto; }
  .hnav__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .search { order: 3; flex-basis: 100%; height: 48px; padding-left: 18px; border-radius: 12px; }
  .shop-menu { left: 12px; right: 12px; }

  /* Folding search row (JS sets .is-compact while scrolling down). The row is
     clipped away, not removed: the header keeps its height in the flow, so the
     page doesn't jump. The clip would also cut the shadow, so the shadow moves
     to the header as a drop-shadow, which follows the clipped shape. */
  .site-header { filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .28)); }
  .mainbar {
    box-shadow: none;
    clip-path: inset(0 0 0 0 round 0 0 24px 24px);
    transition: clip-path .28s var(--ease-out);
  }
  .site-header.is-compact .mainbar { clip-path: inset(0 0 60px 0 round 0 0 24px 24px); }   /* search 48 + row gap 12 */
  .site-header.is-menu-open .mainbar { clip-path: none; }                                  /* the menu hangs below the bar */
  .search { transition: opacity .2s, visibility 0s; }
  .site-header.is-compact .search { opacity: 0; visibility: hidden; transition: opacity .15s, visibility 0s .28s; }
}
@media (max-width: 599px) {
  .util__contact li + li,
  .util__social { display: none; }
  .util__lang { border-left: 0; padding-left: 0; }
}

/* Effects switch: sits by the TV. Without JS it would do nothing, so it only
   shows once .js is set. */
.fx-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(214, 199, 161, .3);
  border-radius: 3px;
  background: rgba(14, 11, 10, .55);
  color: var(--sleeve);
  font: 700 .875rem/1 var(--font);
  letter-spacing: .08em;
  cursor: pointer;
}
.js .fx-toggle { display: inline-flex; }
.fx-toggle:hover { border-color: var(--sleeve); }
.fx-toggle[aria-pressed="false"] { color: var(--sleeve-dim); }
.fx-toggle[aria-pressed="false"] .ico--rec { background: #4a3f38; }
.fx-toggle__state { min-width: 3.2ch; text-align: left; font-weight: 500; letter-spacing: .06em; }
.hero__fx { position: absolute; top: 0; right: 0; z-index: 3; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(64px, 9vw, 120px);
}
/* The back wall of the video club: shelves of rental tapes, out of focus.
   Photo generated with Kling and graded to the palette; master in _source/kling/. */
.hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -2;
  /* On a tall phone hero, "cover" would blow the shelves up to giant shapes;
     keep them at shelf scale and let the rows stack instead. */
  background: #120d0b url("../img/hero-shelves-1200.jpg") 30% 0 / auto 560px repeat;
  filter: blur(2px) brightness(.62) saturate(.9);
}
@media (min-width: 900px) {
  .hero::before { background: #120d0b url("../img/hero-shelves-2400.jpg") center / cover no-repeat; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 65% at 70% 48%, rgba(14, 11, 10, .05), rgba(14, 11, 10, .78) 78%),
    linear-gradient(180deg, rgba(14, 11, 10, .85) 0, transparent 22%, transparent 72%, var(--ink) 100%);
}

.hero__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "tv" "body";
  gap: clamp(20px, 3vw, 36px) clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__head { grid-area: head; }
.hero__tv   { grid-area: tv; }
.hero__body { grid-area: body; }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "head tv" "body tv";
  }
  .hero__head { align-self: end; }
  .hero__body { align-self: start; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font: 700 .8125rem/1.3 var(--font);
  letter-spacing: .14em;
  color: var(--bruise-lit);
}
.eyebrow--rec::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 8px rgba(236, 69, 54, .6);
}
.fx-on .eyebrow--rec::before { animation: blink 1.6s steps(1) infinite; }

.hero__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 5.3rem);
  line-height: .96;
  letter-spacing: -.025em;
  color: var(--sleeve-hi);
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--blood-lit); }
.hero__title:focus { outline: none; }

.hero__lede {
  max-width: 36ch;
  margin-bottom: 28px;
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
  color: var(--sleeve);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }

/* A chunky deck button: the one call to action */
.btn-vcr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 24px 12px 20px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #e6dab9, #c7b78f);
  color: var(--ink);
  font: 700 1rem/1 var(--font);
  letter-spacing: .1em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    inset 0 -3px 0 rgba(0, 0, 0, .18),
    0 4px 0 #6d6146,
    0 12px 26px rgba(0, 0, 0, .55);
  transition: transform .1s, box-shadow .1s;
}
.btn-vcr .ico { font-size: 1.05em; }
.btn-vcr:hover { background: linear-gradient(180deg, #efe4c6, #d0c09a); }
.btn-vcr:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 0 #6d6146, 0 6px 14px rgba(0, 0, 0, .5);
}
.btn-vcr--dark {
  background: linear-gradient(180deg, #2a2421, #171312);
  color: var(--sleeve-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 0 #050404, 0 12px 26px rgba(0, 0, 0, .6);
}
.btn-vcr--dark:hover { background: linear-gradient(180deg, #342c28, #1d1817); }

.link-arrow {
  font: 500 1rem/1.2 var(--font);
  letter-spacing: .01em;
  color: var(--sleeve);
  text-decoration: underline;
  text-decoration-color: var(--bruise-lit);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  padding: 10px 0;
}
/* Drawn, not typed: Ubuntu has no → and a fallback font would show through */
.link-arrow::after {
  content: "";
  display: inline-block;
  width: .95em; height: .62em;
  margin-left: .42em;
  background: currentColor;
  clip-path: polygon(0 42%, 60% 42%, 60% 0, 100% 50%, 60% 100%, 60% 58%, 0 58%);
}
.link-arrow:hover { color: var(--sleeve-hi); }

/* --------------------------------------------------------------------------
   The TV
   -------------------------------------------------------------------------- */
/* Headroom for the rabbit ears, which rise ~22% of the set's width above it */
.hero__tv { position: relative; padding-top: 23%; }
@media (min-width: 900px) { .hero__tv { padding-top: 16%; } }

.tv {
  position: relative;
  width: min(100%, 640px);
  margin-inline: auto;
  container-type: inline-size;
}

/* Rabbit ears */
.tv__antenna {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 14cqi; height: 3.4cqi;
  margin-left: -7cqi;
  border-radius: 7cqi 7cqi 1cqi 1cqi;
  background: linear-gradient(180deg, #3a3330, #1a1615);
}
.tv__antenna::before,
.tv__antenna::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 60%;
  width: .6cqi; height: 24cqi;
  margin-left: -.3cqi;
  border-radius: 1cqi;
  background: linear-gradient(90deg, #6f685d, #b6ad9a 50%, #57514a);
  transform-origin: 50% 100%;
}
.tv__antenna::before { transform: rotate(-31deg); }
.tv__antenna::after  { transform: rotate(24deg); height: 20cqi; }

.tv__case {
  position: relative;
  padding: 4.2cqi 4.2cqi 13cqi;
  border-radius: 5cqi / 5.4cqi;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 12%),
    linear-gradient(90deg, #1d1917, #2a2421 48%, #1a1614);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    inset 0 -1.2cqi 2cqi rgba(0, 0, 0, .55),
    0 4cqi 8cqi -2cqi rgba(0, 0, 0, .9),
    0 0 18cqi 2cqi rgba(236, 227, 203, .07);   /* screen light on the wall */
}
.tv__bezel {
  padding: 2.4cqi;
  border-radius: 4cqi / 4.4cqi;
  background: #0c0a09;
  box-shadow:
    inset 0 0 0 .3cqi #2c2623,
    inset 0 1.2cqi 2.4cqi rgba(0, 0, 0, .85);
}

.tv__panel {
  position: absolute;
  left: 5cqi; right: 5cqi; bottom: 3cqi;
  height: 7.5cqi;
  display: flex;
  align-items: center;
  gap: 4cqi;
}
.tv__brand {
  font: 700 2cqi/1 var(--font);
  letter-spacing: .45em;
  color: #8c826f;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .7);
}
.tv__grille {
  flex: 1;
  height: 70%;
  border-radius: .6cqi;
  background: repeating-linear-gradient(90deg, #0b0908 0 .6cqi, transparent .6cqi 1.3cqi);
  opacity: .9;
}
.tv__controls { display: flex; align-items: center; gap: 2cqi; }
.tv__controls i {
  width: 4.6cqi; height: 4.6cqi;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #4a423d, #141110 70%);
  box-shadow: 0 .4cqi .6cqi rgba(0, 0, 0, .7), inset 0 0 0 .3cqi #0b0908;
}
.tv__led {
  width: 1.2cqi; height: 1.2cqi;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 1.2cqi rgba(236, 69, 54, .8);
}

/* --- The picture tube --------------------------------------------------- */
.crt {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  border-radius: 6.5% / 8.5%;
  background: radial-gradient(ellipse at 50% 45%, #1a1c19, #070807 78%);
  container-type: inline-size;
}
.crt__video,
.crt__dim,
.crt__noise,
.crt__picture,
.crt__tuning,
.crt__scan,
.crt__glass,
.crt__power {
  position: absolute;
  inset: 0;
}
/* The tape: low-res, a little washed out, the way a rental looked after 200 plays */
.crt__video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.08) brightness(.82) blur(.3px);
  transition: opacity .6s;
}
/* Pools shadow behind the countdown so the digits read over any shot */
.crt__dim {
  pointer-events: none;
  background: radial-gradient(ellipse 72% 56% at 50% 52%, rgba(6, 5, 5, .7), rgba(6, 5, 5, .32) 72%, rgba(6, 5, 5, .12));
  transition: opacity .6s;
}
.js .crt:not(.is-on) .crt__video,
.js .crt:not(.is-on) .crt__dim { opacity: 0; }
.crt__noise {
  width: 100%; height: 100%;
  opacity: .17;
  mix-blend-mode: screen;
  transition: opacity .6s;
}
.crt__picture {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7cqi 8cqi 6cqi;
  color: var(--phosphor);
  font-family: var(--font);
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 0 .5cqi rgba(236, 227, 203, .45), .35cqi .35cqi 0 rgba(0, 0, 0, .65);
  transition: opacity .35s;
}
.osd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4cqi;
  font-size: 4.2cqi;
  line-height: 1;
  letter-spacing: .1em;
}
.osd-mode { display: inline-flex; align-items: center; gap: 1.6cqi; }
.osd-mode .ico { font-size: .8em; }
.osd-tracking { display: inline-flex; align-items: center; gap: 1.6cqi; opacity: 0; }

.tracking-bar {
  display: inline-block;
  width: 22cqi; height: 3cqi;
  background:
    repeating-linear-gradient(90deg, currentColor 0 2cqi, transparent 2cqi 2.75cqi)
    left / 0% 100% no-repeat;
  box-shadow: inset 0 0 0 .3cqi currentColor;
}

.countdown { text-align: center; }
.countdown__state { display: none; }
.crt[data-state="countdown"] .countdown__state--countdown,
.crt[data-state="showtime"]  .countdown__state--showtime,
.crt[data-state="over"]      .countdown__state--over { display: block; }

.countdown__label {
  margin-bottom: 2.4cqi;
  font-size: 3.6cqi;
  letter-spacing: .2em;
}
.countdown__digits {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: .6cqi;
}
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-unit b {
  min-width: 1.2em;        /* two digits; keeps the row still as they change */
  font-weight: 700;
  font-size: 13.5cqi;
  line-height: .9;
  letter-spacing: -.02em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cd-unit small {
  margin-top: 1.8cqi;
  font-size: 2.8cqi;
  letter-spacing: .2em;
  opacity: .78;
}
.cd-sep { font-style: normal; font-size: 10cqi; line-height: 1.05; opacity: .9; }
.fx-on .cd-sep { animation: blink 1s steps(1) infinite; }

.countdown__big {
  margin-bottom: 2.4cqi;
  font-size: 10cqi;
  font-weight: 700;
  line-height: .92;
  letter-spacing: .02em;
}

.crt__tuning {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4cqi;
  color: var(--phosphor);
  font: 500 5cqi/1 var(--font);
  letter-spacing: .16em;
  text-shadow: .35cqi .35cqi 0 #000;
  opacity: 0;
}
.crt__tuning .tracking-bar { width: 40cqi; height: 4.4cqi; }

.crt__scan {
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .34) 0 1px, transparent 1px 3px);
}
.crt__glass {
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(125% 95% at 50% 50%, transparent 56%, rgba(0, 0, 0, .7) 100%),
    radial-gradient(55% 40% at 26% 16%, rgba(255, 255, 255, .09), transparent 70%),
    linear-gradient(165deg, rgba(255, 255, 255, .035), transparent 45%);
  box-shadow: inset 0 0 4cqi rgba(0, 0, 0, .85);
}
.crt__power {
  background: var(--phosphor);
  opacity: 0;
  transform: scale(0, .006);
  pointer-events: none;
}

/* Tracking band: a noisy strip rolling through the picture */
.vhs-band {
  position: absolute;
  left: 0; right: 0;
  top: -30%;
  height: 16%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    linear-gradient(180deg, transparent, rgba(236, 227, 203, .1) 25%, rgba(236, 227, 203, .32) 50%, rgba(236, 227, 203, .1) 75%, transparent),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 3px, transparent 3px 11px, rgba(255, 255, 255, .06) 11px 13px, transparent 13px 29px);
}

/* Boot sequence (JS): off → power line → tuning static → picture */
.js .crt:not(.is-on) .crt__picture { opacity: 0; }
.js .crt:not(.is-on):not(.is-tuning) .crt__noise { opacity: 0; }
.crt.is-booting .crt__power { animation: crt-on .55s var(--ease-out) forwards; }
.crt.is-tuning .crt__noise { opacity: .8; transition: opacity .12s; }
.crt.is-tuning .crt__tuning { opacity: 1; }
.crt.is-tuning .crt__tuning .tracking-bar { animation: track-fill .9s steps(8) forwards; }

@keyframes crt-on {
  0%   { opacity: .9; transform: scale(0, .006); }
  45%  { opacity: .9; transform: scale(1, .006); }
  100% { opacity: 0;  transform: scale(1, 1); }
}
@keyframes track-fill { to { background-size: 100% 100%; } }

/* Periodic glitch (JS): horizontal jitter, a tracking band, a vertical-hold slip */
.crt.is-glitching .crt__picture { animation: jitter .45s steps(1, end); }
.crt.is-glitching .vhs-band { animation: band-roll .5s linear; }
.crt.is-glitching .crt__noise { opacity: .38; transition: none; }
.crt.is-glitching .osd-tracking { opacity: 1; }
.crt.is-glitching .osd-tracking .tracking-bar { animation: track-fill .45s steps(6) forwards; }
.crt.is-rolling .crt__picture { animation: vroll .65s linear; }
.crt.is-rolling .crt__noise { opacity: .3; transition: none; }

@keyframes jitter {
  0%   { transform: translate3d(0, 0, 0); }
  12%  { transform: translate3d(-2.6%, 0, 0) skewX(-7deg); }
  28%  { transform: translate3d(2%, 0, 0); }
  44%  { transform: translate3d(-.8%, .6%, 0) skewX(4deg); }
  60%  { transform: translate3d(1.3%, 0, 0); }
  76%  { transform: translate3d(-.4%, 0, 0); }
  100% { transform: none; }
}
@keyframes band-roll {
  0%   { top: 110%; opacity: 1; }
  100% { top: -30%; opacity: 1; }
}
@keyframes vroll {
  0%   { transform: translateY(0); }
  45%  { transform: translateY(-26%); }
  46%  { transform: translateY(74%); }
  100% { transform: translateY(0); }
}
@keyframes blink { 50% { opacity: 0; } }

/* --- The deck under the TV --------------------------------------------- */
.vcr {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3cqi;
  width: 92%;
  margin: 0 auto;
  padding: 2.4cqi 3.4cqi;
  border-radius: 0 0 1cqi 1cqi;
  background: linear-gradient(180deg, #282320 0, #191514 30%, #110e0d);
  box-shadow:
    inset 0 .3cqi 0 rgba(255, 255, 255, .06),
    0 3cqi 5cqi -1cqi rgba(0, 0, 0, .9);
}
.vcr__slot {
  flex: 1 1 34cqi;
  min-width: 6cqi;
  height: 3.2cqi;
  border-radius: .4cqi;
  background: linear-gradient(180deg, #050404, #151211);
  box-shadow: inset 0 .3cqi .5cqi #000, 0 .2cqi 0 rgba(255, 255, 255, .06);
}
.vcr__display {
  display: flex;
  align-items: center;
  gap: 1.8cqi;
  padding: .9cqi 1.8cqi .6cqi;
  border-radius: .4cqi;
  background: #0a0605;
  box-shadow: inset 0 0 0 .2cqi #2a1d18;
  color: var(--led);
  font: 500 2.7cqi/1 var(--font);
  letter-spacing: .1em;
  text-shadow: 0 0 .8cqi rgba(236, 69, 54, .55);
  white-space: nowrap;
}
.vcr__rec { display: inline-flex; align-items: center; gap: .8cqi; }
.vcr__clock { display: none; }
.vcr[data-state="showtime"] .vcr__timer { display: none; }
.vcr[data-state="over"] .vcr__rec,
.vcr[data-state="over"] .vcr__timer { display: none; }
.vcr[data-state="over"] .vcr__clock { display: inline; }
/* Timer armed: steady dot. Recording tonight: the dot blinks. Afterwards: the eternal 12:00. */
.fx-on .vcr[data-state="showtime"] .vcr__rec .ico,
.fx-on .vcr[data-state="over"] .vcr__clock { animation: blink 1.2s steps(1) infinite; }

.vcr__buttons {
  display: flex;
  gap: 1cqi;
  margin-left: auto;
  color: #7c7364;
  font-size: 1.7cqi;
}
.vcr__buttons .ico {
  width: 4.4cqi; height: 2.6cqi;
  clip-path: none;
  border-radius: .3cqi;
  background: linear-gradient(180deg, #2f2926, #1a1615);
  box-shadow: inset 0 .2cqi 0 rgba(255, 255, 255, .08), 0 .2cqi .3cqi #000;
}
.vcr__buttons .ico--rec { background: linear-gradient(180deg, #5a1a18, #3a100f); border-radius: .3cqi; }

.tv__floor {
  display: block;
  width: 110%;
  height: 6cqi;
  margin: -2cqi 0 0 -5%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .7), transparent 70%);
}

/* --------------------------------------------------------------------------
   Section heads
   -------------------------------------------------------------------------- */
.section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--sleeve-hi);
  text-wrap: balance;
}
.section-lede {
  max-width: 46ch;
  color: var(--sleeve-dim);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   The horror aisle — face-out covers
   -------------------------------------------------------------------------- */
.aisle {
  position: relative;
  padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(72px, 9vw, 120px);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 180px),
    linear-gradient(180deg, var(--ink), var(--wall) 14%, var(--wall) 86%, var(--ink));
}
.aisle__inner { max-width: var(--maxw); margin-inline: auto; }

.section-head {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
/* A genre divider sign, the kind every club hung over its horror shelf */
.genre-sign {
  padding: 10px 14px 8px 20px;
  background: var(--sleeve);
  color: var(--oxblood);
  font: 700 clamp(1rem, 1.6vw, 1.25rem)/1 var(--font);
  letter-spacing: .35em;
  border-top: 4px solid var(--blood);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .55);
  transform: rotate(-1.6deg);
}

.shelf {
  --gap: clamp(14px, 2.4vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 48px) var(--gap);
}
@media (min-width: 560px) {
  .shelf { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .shelf__slot { grid-column: span 2; }
  .shelf__slot:nth-child(4) { grid-column: 2 / span 2; }
}
@media (min-width: 960px) {
  .shelf { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shelf__slot,
  .shelf__slot:nth-child(4) { grid-column: auto; }
}
/* Two across: the odd tape out stands centred on its own shelf */
@media (max-width: 559px) {
  .shelf__slot:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .shelf__slot:last-child:nth-child(odd) .tape { width: calc(50% - var(--gap) / 2); margin-inline: auto; }
}

.shelf__slot { position: relative; padding-bottom: 50px; }
/* The plank: top surface, then the front lip where the labels go */
.shelf__slot::before {
  content: "";
  position: absolute;
  left: calc(var(--gap) / -2 - 1px);
  right: calc(var(--gap) / -2 - 1px);
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, #3b2a1f 0, #2a1c14 15px, #0f0906 16px, #2a1b12 18px, #1d130d 100%);
  box-shadow: 0 20px 24px -12px rgba(0, 0, 0, .9);
}

.tape {
  position: relative;
  z-index: 1;
  display: block;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.tape:focus-visible { outline: none; }
.tape:focus-visible .tape__box { outline: 2px solid var(--sleeve-hi); outline-offset: 6px; }

.tape__box {
  position: relative;
  display: block;
  aspect-ratio: 104 / 188;       /* a real VHS slipcase */
  overflow: hidden;              /* keeps the glitch's tracking band on the sleeve */
  container-type: inline-size;
  transform-origin: 50% 100%;
  transform: rotate(var(--tilt, 0deg));
  box-shadow: 0 2px 0 rgba(0, 0, 0, .6), 1.4cqi 3cqi 5cqi -1cqi rgba(0, 0, 0, .9);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.shelf__slot:nth-child(1) { --tilt: -1.2deg; --label-tilt: -2deg; }
.shelf__slot:nth-child(2) { --tilt: .9deg;   --label-tilt: 1.5deg; }
.shelf__slot:nth-child(3) { --tilt: -.4deg;  --label-tilt: -1deg; }
.shelf__slot:nth-child(4) { --tilt: 1.4deg;  --label-tilt: 2deg; }
.shelf__slot:nth-child(5) { --tilt: -.8deg;  --label-tilt: -1.5deg; }

.tape.is-playing .tape__box,
.tape:focus-visible .tape__box {
  transform: translateY(-12px) rotate(0deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .6), 2cqi 8cqi 9cqi -2cqi rgba(0, 0, 0, .95);
}
@media (hover: hover) {
  .tape:hover .tape__box {
    transform: translateY(-12px) rotate(0deg);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .6), 2cqi 8cqi 9cqi -2cqi rgba(0, 0, 0, .95);
  }
}

/* Handwritten shelf label on the front lip */
.tape__label {
  position: absolute;
  top: calc(100% + 17px);
  left: 50%;
  max-width: 100%;
  padding: 3px 10px 4px;
  background: #e9dcb8;
  color: #1f1713;
  font: italic 500 clamp(.75rem, 1.1vw, .875rem)/1.15 var(--font);
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  transform: translateX(-50%) rotate(var(--label-tilt, -1deg));
}
@media (max-width: 380px) {
  .tape__label { white-space: normal; width: max-content; }
}

/* --- Cover --------------------------------------------------------------- */
/* A product shot fills the sleeve (README → "The category covers");
   the studio band, title and credits are typeset over it. */
.cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 5cqi 6cqi 4.5cqi;
  background: #0b0807;
  color: var(--sleeve-hi);
}
.cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
}
/* Darkens the top for the studio band and the foot for the title */
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 6, 5, .82) 0, rgba(8, 6, 5, 0) 15%),
    linear-gradient(0deg, rgba(8, 6, 5, .96) 0, rgba(8, 6, 5, .86) 27%, rgba(8, 6, 5, 0) 50%);
}
.cover__top,
.cover__title,
.cover__tagline,
.cover__billing,
.cover__foot { position: relative; z-index: 1; }

.cover__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font: 700 3.1cqi/1.05 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cover__badge {
  padding: .8cqi 1.4cqi .6cqi;
  border: .45cqi solid currentColor;
  border-radius: .8cqi;
}
.cover__title {
  display: flex;
  flex-direction: column;
  margin-top: auto;              /* the title block stands at the foot of the sleeve */
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-shadow: 0 .5cqi 1.5cqi rgba(0, 0, 0, .7);
}
.cover__title > span { display: block; }
.cover__tagline {
  display: block;
  margin-top: 2.6cqi;
  font: 500 max(11px, 5.4cqi)/1.15 var(--font);
}
.cover__billing {
  display: block;
  margin-top: 3cqi;
  font: 500 2.5cqi/1.12 var(--font);
  letter-spacing: .02em;
  text-align: center;
  opacity: .72;
}
.cover__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 2.2cqi;
  padding-top: 1.4cqi;
  border-top: .35cqi solid currentColor;
  font: 700 2.6cqi/1 var(--font);
  letter-spacing: .12em;
  opacity: .8;
}
/* On a small sleeve the billing block is unreadable; give the photo the room */
@container (max-width: 190px) {
  .cover__billing { display: none; }
}

/* Individual sleeves: one studio, five title treatments */
.cover--icons .cover__title {
  transform: rotate(-3deg);
  transform-origin: left bottom;
  text-shadow:
    .4cqi .4cqi 0 var(--blood), .8cqi .8cqi 0 var(--blood),
    1.2cqi 1.2cqi 0 #3b0609, 1.6cqi 1.6cqi 0 #3b0609, 2cqi 2cqi 0 #230405;
}
.cover--icons .cover__title > span:first-child { font-size: 19cqi; }
.cover--icons .cover__title > span:last-child  { font-size: 25cqi; }

.cover--creature .cover__title > span:first-child { font-size: 16.5cqi; }
.cover--creature .cover__title > span:last-child  { font-size: 16.5cqi; color: var(--blood-lit); }

.cover--strange .cover__title > span:first-child { font-size: 21cqi; }
.cover--strange .cover__title > span:last-child  { font-size: 18cqi; color: var(--bruise-lit); }
.cover__amp { color: var(--blood-lit); }

.cover--kpop .cover__title > span:first-child  { font-size: 10cqi; letter-spacing: .34em; color: var(--blood-lit); }
.cover--kpop .cover__title > span:nth-child(2) { font-size: 21cqi; }
.cover--kpop .cover__title > span:last-child   { font-size: 17.5cqi; }

.cover--season .cover__title > span:first-child { font-size: 20cqi; }
.cover--season .cover__title > span:last-child  { font-size: 20cqi; color: var(--bruise-lit); }

/* --- Stickers ------------------------------------------------------------ */
/* All sit in the dark band above the products, clear of the title block */
.sticker {
  position: absolute;
  z-index: 3;
  font-family: var(--font);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  box-shadow: 0 .3cqi .5cqi rgba(0, 0, 0, .4);
}
.sticker--price {
  top: 15cqi; left: 5cqi;
  display: grid;
  place-content: center;
  width: 24cqi; height: 24cqi;
  border-radius: 50%;
  background: #efe6cf;
  color: var(--blood);
  font-size: 4cqi;
  letter-spacing: .08em;
  transform: rotate(-14deg);
}
.sticker--price b { display: block; font-size: 8.4cqi; letter-spacing: -.02em; }
.sticker--club {
  top: 15cqi; right: 5cqi;
  padding: 1.4cqi 2.2cqi 1.2cqi 2.6cqi;
  background: var(--sleeve-hi);
  color: var(--ink);
  border-left: 2cqi solid var(--blood);
  font-size: 3.4cqi;
  letter-spacing: .08em;
  text-align: left;
  transform: rotate(4deg);
}
.sticker--warning {
  top: 13.5cqi; left: 3cqi; right: 3cqi;
  padding: 1.6cqi 2cqi 1.3cqi;
  background: var(--blood);
  color: var(--sleeve-hi);
  font-size: 3.9cqi;
  letter-spacing: .05em;
  transform: rotate(-4deg);
}
.sticker--rewind {
  top: 14cqi; right: 5cqi;
  display: grid;
  place-content: center;
  width: 29cqi; height: 29cqi;
  border-radius: 50%;
  background: var(--sleeve-hi);
  border: 1.2cqi double var(--blood);
  color: var(--blood);
  font-size: 3cqi;
  font-weight: 500;
  letter-spacing: .1em;
  transform: rotate(10deg);
}
.sticker--rewind b { display: block; font-size: 4.4cqi; font-weight: 700; letter-spacing: .02em; }
.sticker--tape {
  top: 15cqi; left: 4cqi;
  padding: 1.8cqi 4cqi 1.6cqi;
  background: rgba(234, 221, 186, .93);
  color: #1f1713;
  font: italic 500 5.4cqi/1 var(--font);
  clip-path: polygon(0 10%, 3% 0, 97% 5%, 100% 14%, 98% 88%, 100% 100%, 2% 95%, 0 86%);
  transform: rotate(-6deg);
}
.sticker--family {
  top: 15cqi; left: 5cqi;
  padding: 1.4cqi 2cqi 1.2cqi;
  background: var(--sleeve-hi);
  color: var(--bruise);
  border: .6cqi solid var(--bruise);
  font-size: 3cqi;
  letter-spacing: .05em;
  transform: rotate(-5deg);
}
.sticker--dot {
  top: 17cqi; right: 7cqi;
  width: 7cqi; height: 7cqi;
  border-radius: 50%;
  background: var(--bruise-lit);
}

/* --- Wear, glitch and NOW PLAYING layers -------------------------------- */
.tape__wear {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, .06) 46%, transparent 55%),
    linear-gradient(180deg, rgba(235, 223, 192, .16), transparent 35%),
    url("../img/wear.svg") center / 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(235, 223, 192, .18), inset 0 0 4cqi rgba(0, 0, 0, .55);
}
.shelf__slot:nth-child(2n) .tape__wear { transform: scaleX(-1); }
.shelf__slot:nth-child(3n) .tape__wear { transform: scaleY(-1); }

/* Clones of the cover (added by JS) sliced into jittering bands */
.tape__glitch {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}
.tape__glitch .cover { will-change: transform, clip-path; }
.tape.is-glitching .tape__glitch { opacity: 1; }
.tape.is-glitching .cover--slice-a { animation: slice-a .42s steps(1, end) both; filter: drop-shadow(.8cqi 0 0 rgba(158, 27, 31, .9)); }
.tape.is-glitching .cover--slice-b { animation: slice-b .42s steps(1, end) both; filter: drop-shadow(-.8cqi 0 0 rgba(154, 128, 174, .85)); }
.tape.is-glitching .tape__box > .cover { animation: jitter .42s steps(1, end); }
.tape.is-glitching .tape__box > .vhs-band { animation: band-roll .42s linear; }

@keyframes slice-a {
  0%   { clip-path: inset(8% 0 80% 0);  transform: translateX(-6%); }
  20%  { clip-path: inset(52% 0 34% 0); transform: translateX(8%); }
  40%  { clip-path: inset(30% 0 62% 0); transform: translateX(-3%); }
  60%  { clip-path: inset(76% 0 12% 0); transform: translateX(5%); }
  80%  { clip-path: inset(18% 0 74% 0); transform: translateX(-2%); }
  100% { clip-path: inset(50% 0 50% 0); transform: none; }
}
@keyframes slice-b {
  0%   { clip-path: inset(64% 0 22% 0); transform: translateX(7%); }
  20%  { clip-path: inset(14% 0 76% 0); transform: translateX(-5%); }
  40%  { clip-path: inset(82% 0 6% 0);  transform: translateX(4%); }
  60%  { clip-path: inset(40% 0 48% 0); transform: translateX(-7%); }
  80%  { clip-path: inset(60% 0 30% 0); transform: translateX(3%); }
  100% { clip-path: inset(50% 0 50% 0); transform: none; }
}

/* Scanlines over the sleeve while it "plays" */
.tape__box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px);
  opacity: 0;
  transition: opacity .2s;
}
.tape.is-playing .tape__box::after,
.tape:focus-visible .tape__box::after { opacity: 1; }

.tape__osd {
  position: absolute;
  top: 30%;
  left: 50%;
  z-index: 6;
  padding: 1.6cqi 3cqi 1.2cqi;
  background: rgba(8, 6, 6, .78);
  color: var(--phosphor);
  font: 700 max(12px, 6.2cqi)/1 var(--font);
  letter-spacing: .06em;
  white-space: nowrap;
  text-shadow: 0 0 .8cqi rgba(236, 227, 203, .45);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}
.tape__osd .ico { margin-right: .35em; font-size: .78em; }
.tape.is-playing .tape__osd,
.tape:focus-visible .tape__osd { opacity: 1; }
.tape__osd .osd-tracking { display: none; opacity: 1; }
.tape.is-glitching .tape__osd .osd-tracking { display: inline; }
.tape.is-glitching .tape__osd .osd-playing { display: none; }

@media (hover: hover) {
  .tape:hover .tape__box::after,
  .tape:hover .tape__osd { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Series rack — tapes spine-out
   -------------------------------------------------------------------------- */
.series {
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 9vw, 120px);
}
.series__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}
@media (min-width: 1000px) {
  .series__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: end; }
}
.series__head { display: grid; justify-items: start; gap: 16px; }
.series__head .eyebrow { margin-bottom: 0; }

/* The deck's LED readout names whatever tape you're pointing at */
.deck-display {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  min-height: 50px;
  margin-top: 8px;
  padding: 12px 16px 10px;
  border-radius: 4px;
  background: #0a0605;
  box-shadow: inset 0 0 0 1px #2a1d18, inset 0 2px 10px #000;
  color: var(--led);
  font: 500 1.05rem/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(236, 69, 54, .5);
  white-space: nowrap;
  overflow: hidden;
}
.deck-display .ico { font-size: .8em; background: var(--led); }
.deck-display span { overflow: hidden; text-overflow: ellipsis; }
.deck-display.is-glitching { animation: jitter .3s steps(1, end); }

.rack {
  --gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 36px var(--gap);
}
@media (min-width: 700px) {
  .rack { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}
.rack li { position: relative; padding-bottom: 30px; }
.rack li::before {
  content: "";
  position: absolute;
  left: calc(var(--gap) / -2 - 1px);
  right: calc(var(--gap) / -2 - 1px);
  bottom: 0;
  height: 36px;
  background: linear-gradient(180deg, #3b2a1f 0, #2a1c14 11px, #0f0906 12px, #2a1b12 14px, #1d130d 100%);
  box-shadow: 0 18px 22px -12px rgba(0, 0, 0, .9);
}

.spine {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 1 / 4.4;
  max-height: 340px;
  margin-inline: auto;
  border-radius: 3px 3px 2px 2px;
  background: var(--case, #141111);
  color: #1f1713;
  text-decoration: none;
  container-type: inline-size;
  transform-origin: 50% 100%;
  box-shadow:
    inset 2px 0 0 rgba(255, 255, 255, .06),
    inset -3px 0 0 rgba(0, 0, 0, .4),
    3px 10px 14px -6px rgba(0, 0, 0, .8);
  transition: transform .3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
/* Moulded ridges at both ends of the clamshell */
.spine::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 4px) top / 100% 8% no-repeat,
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 4px) bottom / 100% 8% no-repeat;
}
/* Club sticker strip at the top */
.spine::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 18%; right: 18%;
  height: 3%;
  background: var(--blood);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3);
}
.spine--blood { --case: #3f0c11; }
.spine--plum  { --case: #2a1d33; }
.spine--bone  { --case: #9f927a; }
.spine--bone::after { background: var(--ink); }

.spine__label {
  position: absolute;
  top: 16%; bottom: 17%;
  left: 15%; right: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  background: #e9dcb8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  /* European spines read bottom-to-top */
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: italic 500 min(24cqi, 16px)/1 var(--font);
  letter-spacing: .02em;
  text-align: center;
  overflow: hidden;
}
.rack li:nth-child(3n + 1) .spine__label { transform: rotate(180.8deg); }
.rack li:nth-child(4n + 2) .spine__label { transform: rotate(179deg); top: 17%; }
.rack li:nth-child(5n) .spine__label { transform: rotate(180deg) translateX(1px); bottom: 19%; }
.spine--dot::before {
  background:
    radial-gradient(circle, var(--bruise-lit) 0 20%, transparent 22%) 50% 91.3% / 100% 8% no-repeat,
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 4px) top / 100% 8% no-repeat,
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 4px) bottom / 100% 8% no-repeat;
}
.spine--lean { transform: translateX(3px) rotate(-4deg); transform-origin: 0 100%; }

.spine.is-playing,
.spine:focus-visible { transform: translateY(-16px); }
@media (hover: hover) {
  .spine:hover { transform: translateY(-16px); }
}
.spine:focus-visible { outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Footer — be kind, rewind
   -------------------------------------------------------------------------- */
.rewind {
  position: relative;
  padding: clamp(72px, 10vw, 140px) var(--gutter) 40px;
  border-top: 1px solid rgba(214, 199, 161, .1);
  background: radial-gradient(70% 60% at 50% 0%, rgba(92, 11, 16, .35), transparent 70%);
  text-align: center;
}
.rewind__inner {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 22px;
}
.rewind__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--sleeve-hi);
}
.rewind__lede { color: var(--sleeve-dim); font-size: 1.1rem; }
.fineprint {
  max-width: 64ch;
  margin-top: clamp(40px, 6vw, 72px);
  color: var(--sleeve-dim);
  font-size: .85rem;
  line-height: 1.5;
}
.fineprint a { color: var(--sleeve); text-underline-offset: 3px; text-decoration-color: var(--bruise-lit); }

/* --------------------------------------------------------------------------
   Floating tape-transport readout
   -------------------------------------------------------------------------- */
.vcr-osd {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px 6px;
  border-radius: 3px;
  background: rgba(8, 6, 6, .66);
  color: var(--phosphor);
  font: 500 1.05rem/1 var(--font);
  letter-spacing: .08em;
  text-shadow: 2px 2px 0 #000, 0 0 6px rgba(236, 227, 203, .3);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.vcr-osd.is-visible { opacity: 1; transform: none; }
.vcr-osd__mode { display: inline-flex; align-items: center; gap: 8px; min-width: 5.2ch; }
.vcr-osd__mode .ico { font-size: .8em; }
.vcr-osd__counter { font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
  .vcr-osd { gap: 10px; padding: 6px 9px 4px; font-size: .9rem; }
}

/* --------------------------------------------------------------------------
   Motion safety net: the fx toggle covers animation; this covers transitions
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .tape__box, .spine, .vcr-osd, .btn-vcr, .mainbar,
  .site-header .search, .site-header.is-compact .search { transition: none; }
}
