/* ==========================================================================
   CALEM OG — public website
   International artist / music / fashion brand. White dominant, black
   structure and type, red as the one strategic accent — built to stay
   readable in daylight, not just on a dark screen at night.
   ========================================================================== */

:root {
  /* -- Foundation: white dominant, ink for type/structure -- */
  --white: #ffffff;
  --paper: #f6f5f1;      /* warm off-white for section rhythm + cards */
  --paper-2: #efeee7;    /* one step deeper — hover states, active fields */
  --ink: #0d0d0d;        /* primary text — reads as black, easier at scale than #000 */
  --black: #000000;      /* reserved for solid contrast bands (footer, CTA) */
  --line: #e2e0d8;       /* hairline borders on white/paper */
  --line-strong: #0d0d0d;/* borders that need to read as structure, not decoration */

  /* -- Text on white: both pass WCAG AA (4.5:1) for body copy -- */
  --muted: #55524b;
  --muted-2: #7a776d;

  /* -- Text on black (footer, CTA bands) -- */
  --muted-on-dark: #b3b0a6;
  --line-on-dark: #2a2a2a;

  /* -- Accent: tuned to clear 4.5:1 on white AND with white text on it -- */
  --red: #d0021b;
  --red-dark: #a30115;

  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

::selection { background: var(--red); color: var(--white); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Browser chrome carries the identity too. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #cfccc1; border: 3px solid var(--paper); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }
* { scrollbar-color: #cfccc1 var(--paper); scrollbar-width: thin; }

.shell { width: min(100% - 48px, var(--shell)); margin-inline: auto; }

/* --- Typography ------------------------------------------------------------
   Oswald carries the shout (hero, section titles, nav, labels); Inter carries
   the read (body copy, descriptions). Uppercase is a deliberate campaign/
   poster device on the display face, not a blanket default — body text and
   long-form copy stay in sentence case throughout.
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.94;
  margin: 0;
  color: var(--ink);
}
.display { font-size: clamp(3.2rem, 11vw, 9rem); font-weight: 700; letter-spacing: -0.02em; }
.page-title { font-size: clamp(2.6rem, 7vw, 5rem); }
.section-title { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.muted { color: var(--muted); }

/* A small uppercase label used inline or beside content — never stacked
   above a heading as its own introductory line (the heading carries that). */
.label {
  font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--red); font-weight: 500;
}

/* --- Header -----------------------------------------------------------------
   White, not permanently black — the brand shows up in the wordmark and the
   red active state, not in a heavy bar sitting over every page.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--ink); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; color: var(--ink);
}
.brand span { color: var(--red); }
.site-nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.site-nav a {
  font-family: var(--display); text-transform: uppercase; font-size: 0.82rem;
  letter-spacing: 0.14em; color: var(--ink); padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: var(--red); }
.site-nav a.is-active { color: var(--red); border-bottom-color: var(--red); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--ink);
  color: var(--ink); padding: 8px 14px; font-family: var(--display);
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; cursor: pointer;
}

/* --- Buttons ----------------------------------------------------------------
   Red = the one action color. Black outline is the secondary action on white;
   a `.section--dark` context flips the outline to white automatically.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.82rem; font-weight: 500; padding: 14px 28px; border: 1.5px solid var(--ink);
  color: var(--ink); background: transparent; cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.btn--primary { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--muted); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--sm { padding: 10px 18px; font-size: 0.72rem; }
.btn--lg { padding: 18px 36px; font-size: 0.88rem; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(88vh, 860px); align-items: stretch; overflow: hidden;
}
.hero__body {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: 64px 0 64px clamp(24px, 4vw, 64px);
}
.hero__media { position: relative; overflow: hidden; background: var(--paper); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tagline {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: clamp(.85rem, 1.4vw, 1.05rem); color: var(--ink); margin-top: 22px; max-width: 34ch;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--display); }
.hero__meta b { color: var(--ink); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__rule { width: 84px; height: 4px; background: var(--red); margin-bottom: 8px; }
/* Without a hero image the split collapses to one confident column. */
.hero--bare { display: block; min-height: 0; }
.hero--bare .hero__body { padding: 100px 0 72px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { aspect-ratio: 4 / 5; order: -1; }
  .hero__body { padding: 40px 0 48px; }
}

/* --- Sections -------------------------------------------------------------
   Rhythm comes from alternating white and paper, not from a wall of hairline
   borders on black — the grid dividers stay for the editorial-catalogue
   sections (music list, gallery, stats) where they carry real structure.
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section--flush { padding-top: 0; }
.section--tight { padding-top: 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .muted { color: var(--muted-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .btn { border-color: var(--white); color: var(--white); }
.section--dark .btn:hover { background: var(--white); color: var(--ink); }
.section--dark .btn--primary { background: var(--red); border-color: var(--red); color: var(--white); }
.section--dark .btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 48px; flex-wrap: wrap; }

/* --- Achievements ---------------------------------------------------------
   The signature reveal moment: numbers count up into view once, the first
   time they cross into the viewport. Respected: prefers-reduced-motion below
   disables it globally and the markup already shows the final value.
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { padding: 36px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat__value { font-family: var(--display); font-size: clamp(2.4rem, 4.2vw, 3.4rem); font-weight: 700; line-height: 1; color: var(--ink); }
.stat__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--red); margin-top: 14px; font-weight: 500; }
.stat__desc { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.stat__year { color: var(--muted-2); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 8px; font-family: var(--display); }

/* --- Grids / cards ------------------------------------------------------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: var(--white); display: flex; flex-direction: column; transition: background .18s var(--ease); }
.card:hover { background: var(--paper); }
.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper); }
.card__media--wide { aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 22px 24px 26px; }
.card__title { font-size: 1.18rem; margin-bottom: 6px; }
.card__meta { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted-2); }
.card__desc { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.tag {
  display: inline-block; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .14em; font-size: .66rem; padding: 5px 11px; border: 1px solid var(--ink); color: var(--ink);
}
.tag--red { background: var(--red); border-color: var(--red); color: var(--white); }
.badge-latest { position: absolute; top: 0; left: 0; background: var(--red); color: var(--white); font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; padding: 7px 14px; }

/* --- Filters --------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters a {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem;
  padding: 10px 20px; border: 1px solid var(--line); color: var(--muted);
  transition: border-color .15s, color .15s, background .15s;
}
.filters a:hover { color: var(--ink); border-color: var(--ink); }
.filters a.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ==========================================================================
   MUSIC & MEDIA
   ========================================================================== */

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

.listen-label {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .22em;
  font-size: .72rem; color: var(--ink); margin: 36px 0 16px; font-weight: 500;
}

/* --- Music index: lead release ------------------------------------------- */
.music-head { padding: 72px 0 0; }
.music-head .filters { margin: 36px 0 0; }

.lead-release { padding: 48px 0 0; }
.lead-release__inner { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 64px; align-items: center; }
.lead-release__cover { position: relative; display: block; aspect-ratio: 1/1; background: var(--paper); overflow: hidden; }
.lead-release__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.lead-release__cover:hover img { transform: scale(1.03); }
.lead-release__title { font-size: clamp(2.6rem, 5.5vw, 4.6rem); margin: 10px 0 0; }
.lead-release__title a:hover { color: var(--red); }
.lead-release__artist { margin-top: 16px; }
.lead-release__text { margin-top: 22px; }
.lead-release__more { margin-top: 28px; }

/* --- Release list (editorial, not a product grid) ------------------------- */
.release-list { border-top: 1px solid var(--line); }
.release-row {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) 110px 70px 130px;
  gap: 24px; align-items: center; padding: 18px 6px;
  border-bottom: 1px solid var(--line); transition: background .15s;
}
.release-row:hover { background: var(--paper); }
.release-row__cover { display: block; width: 84px; aspect-ratio: 1/1; background: var(--paper); overflow: hidden; }
.release-row__cover img { width: 100%; height: 100%; object-fit: cover; }
.release-row__main { display: block; min-width: 0; }
.release-row__title { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.28rem; letter-spacing: 0; }
.release-row__meta { display: block; color: var(--muted); font-size: .85rem; margin-top: 3px; }
.release-row__type, .release-row__year, .release-row__platforms {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted-2);
}
.release-row:hover .release-row__type { color: var(--red); }
.release-row__platforms { text-align: right; }

/* --- Release page --------------------------------------------------------- */
.release-hero { padding: 64px 0 0; }
.release-hero__inner { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 64px; align-items: start; }
.release-hero__cover { aspect-ratio: 1/1; background: var(--paper); overflow: hidden; }
.release-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.release-hero__artist {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .26em;
  font-size: .8rem; color: var(--red); margin: 0 0 16px; font-weight: 500;
}
.release-hero__title { font-size: clamp(2.8rem, 6.5vw, 5.4rem); letter-spacing: -0.01em; }
.release-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; align-items: center; }
.release-hero__meta span {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .76rem; color: var(--muted);
}
.release-hero__lede { margin-top: 24px; }

/* --- Streaming player (one iframe, switchable source) --------------------- */
.player { border: 1px solid var(--line); background: var(--paper); }
.player__tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.player__tab {
  background: none; border: 0; border-right: 1px solid var(--line); cursor: pointer;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem;
  color: var(--muted); padding: 14px 22px; transition: color .15s, background .15s;
}
.player__tab:hover { color: var(--ink); }
.player__tab.is-active { color: var(--white); background: var(--red); }
.player__frame iframe { display: block; width: 100%; height: 352px; border: 0; }

/* --- Tracklist ------------------------------------------------------------ */
.tracklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.track:hover { background: var(--paper); }
.track__num { font-family: var(--display); color: var(--red); font-size: 1rem; font-weight: 500; }
.track__title { font-size: 1.04rem; }
.track__feat { color: var(--muted); font-size: .84rem; margin-left: 6px; }
.track__desc { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; max-width: 70ch; }
.track__dur { color: var(--muted-2); font-size: .82rem; font-variant-numeric: tabular-nums; }
.track .platforms { margin-top: 10px; gap: 6px; }

.release-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; align-items: start; }
.release-about__text { color: var(--muted); }
.credits { font-size: .94rem; }

/* --- Video embeds (click to load) ----------------------------------------- */
.video-embed { position: relative; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .6s var(--ease); }
.video-embed:hover img { transform: scale(1.03); opacity: .82; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(0, 0, 0, .22); border: 0; cursor: pointer; color: var(--white);
}
.video-embed__icon {
  width: 68px; height: 68px; background: var(--red);
  clip-path: polygon(28% 20%, 28% 80%, 80% 50%);
  transition: transform .2s, background .2s;
}
.video-embed__play:hover .video-embed__icon { transform: scale(1.1); background: var(--red-dark); }
.video-embed__label { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; }

.video-stage { margin-top: 36px; }
.video-stage__caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.video-stage__title { font-size: 1.6rem; }
.video-stage__title a:hover { color: var(--red); }
.video-title { margin-bottom: 4px; }
.video-meta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; max-width: 72ch; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.video-card { margin: 0; background: var(--white); }
.video-card figcaption { padding: 18px 20px; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .94rem; }
.video-card figcaption a:hover { color: var(--red); }
.video-grid .video-embed { border: 0; }

.card__media { position: relative; }
.card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; background: var(--red);
  clip-path: polygon(30% 22%, 30% 78%, 78% 50%); transition: transform .2s;
}
.card:hover .card__play { transform: translate(-50%, -50%) scale(1.14); }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.platform-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  border: 1px solid var(--ink); font-family: var(--display); text-transform: uppercase;
  letter-spacing: .12em; font-size: .76rem; color: var(--ink);
  transition: border-color .15s, color .15s, background .15s;
}
.platform-link:hover { color: var(--white); border-color: var(--red); background: var(--red); }
.platform-link--sm { padding: 7px 14px; font-size: .66rem; letter-spacing: .1em; }
.section--dark .platform-link { border-color: var(--white); color: var(--white); }
.section--dark .platform-link:hover { border-color: var(--red); background: var(--red); }
.embed { border: 1px solid var(--line); background: var(--paper); margin-top: 28px; }
.embed iframe { display: block; width: 100%; border: 0; }
.embed--video { aspect-ratio: 16/9; }
.embed--video iframe { height: 100%; }

/* --- Gallery ------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.gallery-item { margin: 0; position: relative; background: var(--paper); aspect-ratio: 3/4; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
  font-size: .84rem; color: #ece9e0;
}
.gallery-item figcaption strong { display: block; color: var(--white); font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }

/* --- Performances ---------------------------------------------------------
   An artist tour manifest, not a database table: date in red, name huge,
   one hairline per row.
   -------------------------------------------------------------------------- */
.shows { border-top: 1px solid var(--line); }
.show {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: center;
  padding: 26px 6px; border-bottom: 1px solid var(--line); transition: background .15s;
}
.show:hover { background: var(--paper); }
.show__date { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-size: .92rem; font-weight: 500; }
.show__name { font-family: var(--display); text-transform: uppercase; font-size: 1.34rem; letter-spacing: 0; }
.show__where { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.show--past .show__date { color: var(--muted-2); }

/* --- Media list ---------------------------------------------------------- */
.media-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 26px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line); }
.media-row:first-child { border-top: 1px solid var(--line); }
.media-row__thumb { aspect-ratio: 16/9; background: var(--paper); overflow: hidden; }
.media-row__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* --- Footer -----------------------------------------------------------------
   The one place a heavy black field is not just acceptable but expected —
   the campaign's closing slide.
   -------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: var(--white); padding: 72px 0 40px; margin-top: 0; }
.site-footer .brand { color: var(--white); }
.site-footer .muted { color: var(--muted-on-dark); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; }
.site-footer h4 { font-family: var(--display); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 18px; font-weight: 500; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--white); font-size: .92rem; transition: color .15s; }
.footer-links a:hover { color: var(--red); }
.site-footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-on-dark); color: var(--muted-on-dark); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--display); }

/* --- Empty state / errors ------------------------------------------------ */
.empty { border: 1px dashed var(--line); padding: 56px 28px; text-align: center; color: var(--muted); background: var(--paper); }
.error-page { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.error-page__code { font-family: var(--display); font-size: clamp(5rem, 18vw, 12rem); line-height: 1; color: var(--red); }

/* --- Scroll reveal ----------------------------------------------------------
   One authored moment, applied selectively (hero media, stat numbers, big
   editorial imagery) — never a blanket entrance on every section.
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1000px) {
  .release-row { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; }
  .release-row__cover { width: 64px; }
  .release-row__year, .release-row__platforms { display: none; }
}

@media (max-width: 900px) {
  .lead-release__inner, .release-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .lead-release__cover, .release-hero__cover { max-width: 460px; }
  .release-about { gap: 20px; }
  .player__frame iframe { height: 232px; }
  .video-meta { margin-top: 26px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .media-row { grid-template-columns: 120px 1fr; }
  .media-row > .btn { grid-column: 2; justify-self: start; }
  .show { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  /* Stats forced one-per-row here otherwise — six achievements became a long,
     mostly-empty scroll of near-identical tiles. Two up reads as a proper
     stat grid and halves the scroll. */
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 16px; }
  .stat__desc { display: none; }
  .track { grid-template-columns: 32px minmax(0, 1fr); }
  .track__dur { grid-column: 2; margin-top: 4px; }
  .platform-link { padding: 12px 18px; }
  .player__tab { flex: 1 1 auto; text-align: center; }
  .video-embed__icon { width: 52px; height: 52px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .section { padding: 64px 0; }
  /* Same specificity as .section, declared later here, so it was winning
     back the top padding that --tight exists to remove — leaving a dead
     ~130px gap between the streaming buttons and the player on mobile. */
  .section--tight { padding-top: 0; }
  /* Same issue for every hero-style class that also carries the plain .section
     class: each sets its own asymmetric padding (usually bottom: 0, to sit
     flush against the section right after it), and the shorthand above was
     silently restoring a symmetric 64px and reopening that gap on mobile. */
  .release-hero, .lead-release, .music-head, .shop-head, .shop-lead { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   LIVE, BOOKING & PARTNERSHIP ENGINE
   ========================================================================== */

/* --- Events ---------------------------------------------------------------- */
.show__time { display: block; color: var(--muted-2); font-size: .78rem; letter-spacing: .1em; margin-top: 3px; }
.show__name { display: inline-block; }
.show__name:hover { color: var(--red); }
.show__type {
  display: inline-block; margin-top: 8px; font-family: var(--display);
  text-transform: uppercase; letter-spacing: .14em; font-size: .64rem;
  color: var(--muted); border: 1px solid var(--line); padding: 4px 10px;
}
.show__desc { font-size: .86rem; margin: 8px 0 0; max-width: 60ch; color: var(--muted); }

.empty--cta { padding: 64px 28px; }
.empty__title {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--ink); margin: 0 0 12px; letter-spacing: 0;
}
.empty--cta .btn { margin-top: 22px; }

.event-hero { padding-top: 72px; }
.event-hero__image { margin-top: 36px; background: var(--paper); }
.event-hero__image img { width: 100%; max-height: 620px; object-fit: cover; }
.event-hero .platforms { margin-top: 30px; }

/* The strong red/black conversion moment the brief asks for by name. */
.booking-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; padding: 64px clamp(28px, 5vw, 64px);
  background: var(--black); color: var(--white);
}
.booking-cta .lede { margin-top: 16px; color: var(--muted-on-dark); }
.booking-cta h2 { color: var(--white); }

/* --- Booking page -------------------------------------------------------- */
.booking-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(72vh, 680px); align-items: stretch; overflow: hidden;
}
.booking-hero--bare { display: block; min-height: 0; }
.booking-hero--bare .booking-hero__body { padding: 100px 0 64px; }
.booking-hero__body { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 56px 0 56px clamp(24px, 4vw, 64px); }
.booking-hero__media { position: relative; overflow: hidden; background: var(--paper); }
.booking-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.booking-hero__title { font-size: clamp(2.8rem, 8vw, 6.8rem); }
.booking-hero__lede { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 52ch; margin-top: 22px; }

@media (max-width: 900px) {
  .booking-hero { grid-template-columns: 1fr; min-height: 0; }
  .booking-hero__media { aspect-ratio: 16/10; order: -1; }
  .booking-hero__body { padding: 36px 0 44px; }
}

.booking-types { display: flex; flex-wrap: wrap; gap: 10px; }
.booking-type {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em;
  font-size: .76rem; padding: 12px 22px; border: 1px solid var(--ink); color: var(--ink);
}

.booking-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: start; }
.booking-aside .lede { margin-top: 18px; }
.booking-contact { margin: 28px 0 0; border-top: 1px solid var(--line); }
.booking-contact div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.booking-contact dt {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; color: var(--muted-2);
}
.booking-contact dd { margin: 0; text-align: right; font-size: .92rem; }
.booking-contact a:hover { color: var(--red); }

/* --- Form -------------------------------------------------------------------
   Black-on-white throughout — no dark input fields to fight daylight glare.
   -------------------------------------------------------------------------- */
.booking-form fieldset { border: 1px solid var(--line); padding: 30px 30px 14px; margin: 0 0 26px; }
.booking-form legend {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .22em;
  font-size: .72rem; color: var(--red); padding: 0 10px; font-weight: 500;
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 22px; }
.form-field { margin: 0 0 20px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  display: block; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .12em; font-size: .7rem; color: var(--muted); margin-bottom: 9px; font-weight: 500;
}
.form-field label span[aria-hidden] { color: var(--red); }

.booking-form input[type=text],
.booking-form input[type=email],
.booking-form input[type=tel],
.booking-form input[type=date],
.booking-form input[type=number],
.booking-form select,
.booking-form textarea {
  width: 100%; background: var(--white); border: 1.5px solid var(--line); color: var(--ink);
  font-family: var(--body); font-size: 1rem; padding: 14px 15px;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.booking-form textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  border-color: var(--red); outline: none;
}
.booking-form input::placeholder, .booking-form textarea::placeholder { color: var(--muted-2); }
.booking-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 24px, calc(100% - 15px) 24px;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.booking-form .is-invalid { border-color: var(--red); background: #fdf1f0; }
.form-error { display: block; color: var(--red-dark); font-size: .84rem; margin-top: 7px; }
.form-error-summary {
  border: 1px solid var(--red); background: #fdf1f0;
  padding: 15px 18px; margin-bottom: 26px; font-size: .92rem; color: var(--ink);
}
.form-error-summary strong { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--red-dark); }

.budget-group { display: grid; grid-template-columns: 1fr 118px; gap: 10px; }
.booking-submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.booking-submit__note { font-size: .84rem; color: var(--muted); }
.booking-submit button[disabled] { opacity: .6; cursor: progress; }

/* --- Confirmation ---------------------------------------------------------- */
.confirm { padding: 108px 0 92px; }
.confirm__inner { max-width: 68ch; }
.confirm__title { font-size: clamp(2.2rem, 6vw, 4rem); margin-top: 10px; }
.confirm .lede { margin-top: 22px; }
.reference { border: 1px solid var(--line); padding: 28px 30px; margin: 36px 0 0; background: var(--paper); }
.reference__rule { width: 48px; height: 3px; background: var(--red); margin-bottom: 16px; }
.reference__label {
  display: block; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .22em; font-size: .7rem; color: var(--muted); font-weight: 500;
}
.reference__value {
  display: block; font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: 0; margin: 10px 0 8px; color: var(--ink);
}
.reference__hint { color: var(--muted); font-size: .86rem; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; gap: 40px; }
  .booking-cta { padding: 40px 28px; }
}

@media (max-width: 720px) {
  .booking-form fieldset { padding: 22px 18px 6px; }
  .form-grid { grid-template-columns: 1fr; }
  .booking-submit .btn { width: 100%; justify-content: center; }
  .booking-submit__note { width: 100%; }
}

/* ==========================================================================
   SHOP — a fashion label's storefront, not an ecommerce grid
   ========================================================================== */

.price { font-family: var(--display); font-size: 1.08rem; letter-spacing: .02em; color: var(--ink); margin: 0; font-weight: 500; }
.price--lg { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 20px; }
.price__was { color: var(--muted-2); margin-left: 12px; font-size: .74em; text-decoration-color: var(--muted-2); }

.coming-soon { padding: 128px 0 108px; }
.coming-soon__inner { max-width: 62ch; }
.coming-soon__title { font-size: clamp(3rem, 12vw, 8rem); margin-top: 10px; }
.coming-soon__text { margin-top: 26px; }

/* --- Shop index ---------------------------------------------------------- */
.shop-head { padding: 72px 0 0; }

.shop-lead { padding: 48px 0 0; }
.shop-lead__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.shop-lead__media { display: block; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.shop-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.shop-lead__media:hover img { transform: scale(1.03); }
.shop-lead__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: .98; margin: 8px 0 0; }
.shop-lead__title a:hover { color: var(--red); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { display: flex; flex-direction: column; background: var(--white); transition: background .18s; }
.product-card:hover { background: var(--paper); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card.is-sold-out .product-card__media img { opacity: .4; }
.product-card__flag {
  position: absolute; top: 0; left: 0; background: var(--red); color: var(--white);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .16em;
  font-size: .64rem; padding: 7px 14px;
}
.product-card__flag--out { background: var(--ink); color: var(--white); }
.product-card__flag--low { background: #8f5c08; }
.product-card__body { display: block; padding: 20px 22px 24px; }
.product-card__name { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.08rem; letter-spacing: 0; }
.product-card__meta { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; color: var(--muted-2); margin-top: 6px; }
.product-card .price { margin-top: 14px; }

/* --- Product page ---------------------------------------------------------- */
.product-page { padding-top: 56px; }
.product-page__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.product-gallery__main { aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.product-thumb {
  width: 84px; aspect-ratio: 1/1; padding: 0; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.is-active { border-color: var(--red); border-width: 2px; }

.product-info__brand { font-family: var(--display); text-transform: uppercase; letter-spacing: .3em; font-size: .74rem; color: var(--red); margin: 0; font-weight: 500; }
.product-info__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: .98; margin: 16px 0 0; }
.product-info__lede { margin-top: 24px; color: var(--muted); }

.stock-flag { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; margin: 14px 0 0; font-weight: 500; }
.stock-flag--in { color: #16743c; }
.stock-flag--low { color: #8f5c08; }
.stock-flag--out { color: var(--red); }

.product-form { margin-top: 34px; }
.variant-picker { border: 0; padding: 0; margin: 0 0 26px; }
.variant-picker legend {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .2em;
  font-size: .72rem; color: var(--muted); padding: 0; margin-bottom: 14px; font-weight: 500;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { position: relative; cursor: pointer; }
.variant input { position: absolute; opacity: 0; width: 0; height: 0; }
.variant span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; min-height: 48px; padding: 12px 16px;
  border: 1.5px solid var(--line); font-family: var(--display);
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
  color: var(--ink); transition: border-color .15s, color .15s, background .15s;
}
.variant:hover span { border-color: var(--ink); }
.variant input:checked + span { background: var(--red); border-color: var(--red); color: var(--white); }
.variant input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.variant.is-out span { color: var(--muted-2); border-style: dashed; cursor: not-allowed; text-decoration: line-through; }

.product-actions { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.quantity { display: block; }
.quantity span {
  display: block; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .16em; font-size: .7rem; color: var(--muted); margin-bottom: 9px; font-weight: 500;
}
.quantity input {
  width: 92px; background: var(--white); border: 1.5px solid var(--line); color: var(--ink);
  font-family: var(--body); font-size: 1rem; padding: 15px 14px; border-radius: 0;
}
.quantity input:focus { border-color: var(--red); outline: none; }
.product-actions .btn[disabled] { opacity: .5; cursor: not-allowed; }

.accordion { margin-top: 46px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  cursor: pointer; list-style: none; padding: 19px 2px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; float: right; color: var(--red); font-weight: 700; }
.accordion details[open] summary::after { content: "\2013"; }
.accordion__body { padding: 0 2px 22px; color: var(--muted); font-size: .95rem; }

/* --- Cart -------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 48px; align-items: start; margin-top: 36px; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) 92px 110px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line__media { display: block; width: 96px; aspect-ratio: 4/5; background: var(--paper); overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.04rem; }
.cart-line__name:hover { color: var(--red); }
.cart-line__variant, .cart-line__unit { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.cart-line__stock { display: block; color: var(--red-dark); font-size: .78rem; margin-top: 4px; font-weight: 500; }
.cart-line__qty input {
  width: 100%; background: var(--white); border: 1.5px solid var(--line); color: var(--ink);
  padding: 12px 10px; font-size: 1rem; text-align: center; border-radius: 0;
}
.cart-line__qty input:focus { border-color: var(--red); outline: none; }
.cart-line__total { font-family: var(--display); font-size: 1.06rem; text-align: right; }
.cart-lines__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.cart-summary, .checkout-summary { border: 1px solid var(--line); background: var(--paper); padding: 30px 28px; position: sticky; top: 96px; }
.cart-summary__title { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .84rem; margin: 0 0 22px; }
.promo-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 24px; }
.promo-form input {
  background: var(--white); border: 1.5px solid var(--line); color: var(--ink);
  padding: 12px 14px; font-size: 1rem; border-radius: 0; text-transform: uppercase; letter-spacing: .06em;
}
.promo-form input:focus { border-color: var(--red); outline: none; }

.totals { margin: 0; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.totals dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: var(--muted); }
.totals dd { margin: 0; font-size: .95rem; }
.totals__discount dd { color: var(--red-dark); }
.totals__grand { border-bottom: 0; padding-top: 18px; }
.totals__grand dt { color: var(--ink); font-size: .8rem; }
.totals__grand dd { font-family: var(--display); font-size: 1.55rem; }
.cart-summary__checkout { width: 100%; justify-content: center; margin-top: 22px; }

.cart-remove-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }

/* --- Checkout ---------------------------------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px; align-items: start; margin-top: 36px; }
.checkout-items { list-style: none; margin: 0 0 22px; padding: 0; }
.checkout-items li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.checkout-items__qty { color: var(--red); font-family: var(--display); font-weight: 500; }
.checkout-items__total { font-variant-numeric: tabular-nums; }
.checkout-items .muted { display: block; font-size: .8rem; }
.checkout-note { font-size: .82rem; margin: 14px 0 0; color: var(--muted); }
.checkout-submit { width: 100%; justify-content: center; margin: 22px 0 10px; }
.checkout-summary .btn--ghost { width: 100%; justify-content: center; }

.order-recap { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 30px; }
.order-recap .detail-subhead {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; color: var(--muted); margin: 26px 0 12px; font-weight: 500;
}

@media (max-width: 960px) {
  .shop-lead__inner, .product-page__inner { grid-template-columns: 1fr; gap: 32px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 32px; }
  .cart-summary, .checkout-summary { position: static; }
}

@media (max-width: 720px) {
  .cart-line { grid-template-columns: 76px minmax(0, 1fr) 84px; row-gap: 12px; }
  .cart-line__media { width: 76px; }
  .cart-line__total { grid-column: 2 / -1; text-align: left; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .product-actions .btn { width: 100%; justify-content: center; }
  .quantity input { width: 100%; }
  .coming-soon { padding: 88px 0 68px; }
}

/* ==========================================================================
   EVENT TICKETING (optional, per event)
   ========================================================================== */

.ticket-types { border-top: 1px solid var(--line); }
.ticket-type {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 96px; gap: 20px;
  align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.ticket-type.is-unavailable { opacity: .55; }
.ticket-type__info { display: flex; flex-direction: column; gap: 4px; }
.ticket-type__name { font-family: var(--display); text-transform: uppercase; font-size: 1.12rem; letter-spacing: 0; }
.ticket-type__desc { color: var(--muted); font-size: .88rem; }
.ticket-type__price { font-family: var(--display); font-size: 1.12rem; color: var(--red); white-space: nowrap; font-weight: 500; }
.ticket-type__qty select {
  width: 100%; background: var(--white); border: 1.5px solid var(--line); color: var(--ink);
  padding: 12px 10px; font-size: 1rem; border-radius: 0;
}
.ticket-type__qty--none { display: block; text-align: center; color: var(--muted-2); }
.ticket-availability {
  display: inline-block; width: fit-content; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .1em; font-size: .68rem; padding: 4px 10px; border: 1px solid var(--line); color: var(--muted);
}
.ticket-availability--sold_out { border-color: var(--red); color: var(--red-dark); }
.ticket-select__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }

.ticket-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 34px; }
.ticket-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px; background: var(--white); flex-wrap: wrap; }
.ticket-card__body { display: flex; flex-direction: column; gap: 8px; }
.ticket-card__type { font-family: var(--display); text-transform: uppercase; font-size: 1.32rem; }
.ticket-card__ref { color: var(--muted); font-size: .82rem; letter-spacing: .02em; }
.ticket-card__qr { width: 132px; height: 132px; background: var(--white); padding: 8px; border: 1px solid var(--line); }

.ticket-status {
  display: inline-block; width: fit-content; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .12em; font-size: .7rem; padding: 5px 11px; border: 1px solid var(--line); color: var(--muted);
}
.ticket-status--valid { border-color: #16743c; color: #16743c; }
.ticket-status--used { border-color: var(--muted-2); color: var(--muted-2); }
.ticket-status--cancelled { border-color: var(--red); color: var(--red-dark); }

@media (max-width: 640px) {
  .ticket-type { grid-template-columns: 1fr; gap: 10px; }
  .ticket-type__qty, .ticket-type__price { justify-self: start; }
  .ticket-card { flex-direction: column; align-items: flex-start; }
  .ticket-card__qr { align-self: center; }
}
