/* ============================================================
   TH-SKIN.CSS — "Lineup" identity (Nov 2026)

   Loaded last, on top of technohouse.css and th-join.css.
   Remove its <link> in header.php to return to the October look.

   The idea: a club night flyer. The site is black and white,
   set in one typeface (Archivo) pushed to its narrowest, heaviest
   width for names, the way a lineup poster sets its headliners.
   Colour never comes from the interface: it comes from the clubs,
   labels and people. Each one owns one of six flyer inks, and a
   club you have stamped floods its row with that ink.
   ============================================================ */

:root {
  /* Neutral black and paper white; no tinted greys */
  --th-void:    #000000;
  --th-floor:   #0f0f0f;
  --th-booth:   #1a1a1a;
  --th-haze:    #2a2a2a;
  --th-haze-2:  #4a4a4a;
  --th-strobe:  #f6f5ef;
  --th-fog:     #a3a29b;
  --th-dim:     #73726c;
  --text-primary: #dddcd5;

  /* The interface has no accent colour: "accent" is paper white */
  --th-uv:        #f6f5ef;
  --th-uv-deep:   #ff3399;
  --th-uv-a08:    rgba(246,245,239,.07);
  --th-uv-a16:    rgba(246,245,239,.14);
  --neon-purple:  #f6f5ef;
  --th-laser:     #ff3399;
  --th-laser-a12: rgba(255,51,153,.14);
  --th-amber:     #ffd23f;

  /* Printed matter has corners */
  --th-r-xs: 2px;
  --th-r-sm: 3px;
  --th-r-md: 4px;
  --th-r-lg: 6px;
  --th-r-pill: 4px;

  --th-font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --th-font-ui:      'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --th-font-mono:    'Archivo', system-ui, sans-serif;

  --ink: hsl(332 100% 62%);
}
/* One ink per thing: --h is set inline from th_hue() (six flyer inks). Declared here, on the element that
   carries --h, because a custom property is resolved where it is declared. */
[style*="--h"] { --ink: hsl(var(--h) 100% 62%); }

/* ── Type ──────────────────────────────────────────────────── */
body { font-family: var(--th-font-ui); font-stretch: 100%; font-size: 15.5px; }
::selection { background: var(--th-strobe); color: #000; }
:focus-visible { outline: 2px solid var(--th-strobe); outline-offset: 2px; border-radius: 2px; }

/* Names and headlines: narrowest width, heaviest weight, like a billed act */
h1, h2, .th-h2, .th-wordmark, .th-gen, .rk-num, .ps-stat b, .th-tape a, .th-event-date b,
.th-panel-title, .cl-h, .th-footer-h, .rk-how h2, .rk-countries h2, .hp-pass h2, .jm h2, .ps-sec h2 {
  font-family: var(--th-font-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: .005em;
}
h1 { font-weight: 900; line-height: .9; letter-spacing: -.005em; }
h3 { font-family: var(--th-font-ui); font-stretch: 100%; font-weight: 700; letter-spacing: 0; }
.th-h2 { font-size: 1.7rem; line-height: 1; }
.th-panel-title, .cl-h { font-size: 1.15rem; letter-spacing: .02em; }
.th-footer-h { font-size: 1.05rem; letter-spacing: .03em; color: var(--th-strobe); }
.rk-how h2, .rk-countries h2, .ps-sec h2 { font-size: 1.6rem; line-height: 1; }
.th-faq h2 { font-size: 1.8rem !important; letter-spacing: .005em !important; }

/* Small print: the same face at its widest */
.rk-kicker, .jn-kicker, .th-hero-kicker, .rk-keywords, .th-tape a small, .pp-ink small, .th-breadcrumbs {
  font-family: var(--th-font-ui); font-stretch: 118%; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.rk-kicker, .jn-kicker, .th-hero-kicker { color: var(--th-fog); font-size: .8rem; margin-bottom: 14px; }

/* Links in running text: white, underlined (there is no link colour) */
main p a:not(.th-btn):not(.th-chip), .rk-how a, .th-faq a, .th-about p a, .ij-note a {
  color: var(--th-strobe); text-decoration: underline; text-decoration-color: var(--th-haze-2); text-underline-offset: 3px;
}
main p a:not(.th-btn):not(.th-chip):hover, .rk-how a:hover, .th-faq a:hover { text-decoration-color: var(--th-strobe); }

/* ── Chrome ────────────────────────────────────────────────── */
.th-topbar, .th-mtop { background: #000; border-bottom: 1px solid var(--th-haze); backdrop-filter: none; -webkit-backdrop-filter: none; }
.th-wordmark { font-size: 1.55rem; font-weight: 900; letter-spacing: .01em; gap: 9px; }
/* The mark: a T standing on an H, drawn as five bars that fill a square (also /logo.svg and the favicons).
   Painted with a mask, so it takes whatever colour the text around it has. The old four <i> bars are hidden. */
.th-wordmark-mark {
  width: 26px; height: 26px; border-radius: 0; background: currentColor; flex-shrink: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='0' y='0' width='100' height='20'/%3E%3Crect x='40' y='20' width='20' height='26'/%3E%3Crect x='0' y='54' width='20' height='46'/%3E%3Crect x='80' y='54' width='20' height='46'/%3E%3Crect x='20' y='67' width='60' height='20'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='0' y='0' width='100' height='20'/%3E%3Crect x='40' y='20' width='20' height='26'/%3E%3Crect x='0' y='54' width='20' height='46'/%3E%3Crect x='80' y='54' width='20' height='46'/%3E%3Crect x='20' y='67' width='60' height='20'/%3E%3C/svg%3E") center / contain no-repeat;
}
.th-wordmark-mark i { display: none; }
.th-wordmark { color: var(--th-strobe); }
.au-mark { width: 64px; height: 64px; border-radius: 0; color: var(--th-strobe); }
.th-mainnav a { border-radius: 0; font-weight: 600; background: none !important; border-bottom: 2px solid transparent; }
.th-mainnav a:hover { color: var(--th-strobe); }
.th-mainnav a[aria-current="page"] { border-bottom-color: var(--th-strobe); }
.th-search { border-radius: var(--th-r-pill); }
.th-tabbar { background: #000; border-top: 1px solid var(--th-haze); }
.th-tab-plus { border-radius: 4px; }
.th-breadcrumbs { font-size: .78rem; }

.th-btn { font-weight: 700; letter-spacing: 0; }
.th-btn-solid { background: var(--th-strobe); color: #000; border-color: var(--th-strobe); }
.th-btn-solid:hover { background: #fff; color: #000; }
.th-btn-uv { background: var(--th-strobe); color: #000; border-color: var(--th-strobe); }
.th-btn-uv:hover { background: #fff; color: #000; }
.th-chip { font-weight: 600; }
.th-tag { border-radius: 2px; background: none; border: 1px solid var(--th-haze-2); color: var(--th-fog); font-stretch: 112%; font-size: .7rem; padding: 2px 7px; }
.th-panel, .th-tile, .dc-card, .jm, .au-card, .cl-join { background: var(--th-floor); }
.th-tabs [aria-selected="true"]::after, .th-tabs [aria-current="page"]::after { background: var(--th-strobe); border-radius: 0; }
.th-count { border-radius: 2px; }
.th-toast { border-radius: 3px; }

/* ── Posters: every placeholder is a flyer in its owner's ink ── */
.th-gen {
  background: var(--ink) !important; color: #000 !important;
  font-size: 7.5rem !important; font-weight: 900; line-height: .8; overflow: hidden;
  display: grid; place-items: center; text-shadow: none;
}
.th-gen-name {
  place-items: end start; text-align: left; padding: 12px 14px 10px;
  font-size: clamp(1.9rem, 17cqw, 4.2rem) !important; line-height: .86; letter-spacing: -.005em; overflow-wrap: anywhere;
}
.dc-media { container-type: inline-size; aspect-ratio: 16/9; }
/* A card whose poster already prints the name does not repeat it underneath (the heading stays for screen readers) */
.dc-card:has(.th-gen-name) .dc-body h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 575.98px) { .dc-media { aspect-ratio: 16/7; } }
.th-tile, .dc-card { border-radius: var(--th-r-md); }
.th-tile:hover, .dc-card:hover { border-color: var(--th-strobe); }
.th-tile-title, .dc-body h2 { font-weight: 700; }
.dc-body h2 { font-family: var(--th-font-ui); font-stretch: 100%; text-transform: none; }

/* ── Heroes ────────────────────────────────────────────────── */
.rk-hero, .cl-hero, .ps-head { background: #000; }
.rk-hero { padding: 30px 0 26px; border-bottom: 0; }
.rk-hero h1, .dc-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: none !important; margin-bottom: 14px; }
.rk-lede { color: var(--th-strobe); }
.rk-challenge { border: 0; border-left: 6px solid var(--th-strobe); border-radius: 0; background: none; padding: 4px 0 4px 16px; }
.rk-challenge > i { display: none; }
.rk-challenge p { font-weight: 700; font-size: 1.1rem; }
.rk-challenge p span { font-weight: 400; font-size: .95rem; }

.th-hero { padding: 40px 0 44px; }
.th-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
.th-hero h1 { font-size: clamp(3.2rem, 11.2vw, 10.5rem); line-height: .86; max-width: none; margin-bottom: 26px; letter-spacing: -.01em; }
.th-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); }
.th-hero-lede { font-size: 1.2rem; color: var(--th-strobe); max-width: 46ch; }
.th-hero-live { border-radius: 0; border: 0; border-top: 6px solid var(--th-strobe); background: none; padding: 6px 0 0; }
.th-live-head { font-family: var(--th-font-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; border-bottom: 0; padding-bottom: 4px; }
.th-live-dot { display: none; }
@media (min-width: 992px) {
  .th-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto auto auto auto 1fr; align-items: start; row-gap: 0; }
  .th-hero-grid > .th-hero-copy { display: contents; }
  .th-hero h1 { grid-column: 1 / -1; }
  .th-hero-kicker { grid-column: 1 / -1; }
  .th-hero-lede, .th-hero .ij, .th-hero .ij-note { grid-column: 1; }
  .th-hero-live { grid-column: 2; grid-row: 3 / span 3; }
  .th-hero-lede { margin-bottom: 22px; }
}

.th-tape { background: var(--th-strobe); border: 0; }
.th-tape a { color: #000; font-size: 1.9rem; padding-top: 8px; padding-bottom: 6px; border-color: rgba(0,0,0,.2); }
.th-tape a small { color: #000; opacity: .65; font-size: .72rem; }
.th-tape a:hover { background: #000; color: var(--th-strobe); }
.th-tape a:hover small { color: var(--th-strobe); }

.cl-hero h1 { font-size: clamp(3.4rem, 11vw, 9rem); margin-bottom: 14px; }
.cl-hero-grid { grid-template-columns: minmax(0, 1fr); }
.cl-logo { display: none; }
.cl-hero { border-bottom: 0; padding-bottom: 0; }
.cl-hero .container { border-bottom: 6px solid var(--ink); padding-bottom: 30px; }
.cl-rate b { font-size: 1.15rem; }

/* ── The lineup: every club and label list is billed like a poster ── */
.rk-wrap { max-width: 1040px; }
.rk-list { border-top: 6px solid var(--th-strobe); }
.rk-item {
  grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 14px; padding: 20px 14px 22px; margin: 0 -14px;
  border-bottom: 1px solid var(--th-haze); transition: background-color .18s var(--th-ease), color .18s var(--th-ease);
}
.rk-thumb { display: none; }
.rk-num { font-size: 1.5rem; font-weight: 800; color: var(--th-dim) !important; padding-top: .55em; }
.rk-body h2 { font-family: var(--th-font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 6.2vw, 4.2rem); line-height: .88; letter-spacing: -.005em; margin: 0 0 10px; }
.rk-body h2 a, .rk-body h2 a:hover { color: inherit; }
.rk-item:nth-child(-n+3) .rk-body h2 { font-size: clamp(3rem, 10.5vw, 7.6rem); }
.rk-item:nth-child(1) .rk-body h2   { font-size: clamp(3.6rem, 14vw, 10.5rem); }
.rk-item:nth-child(n+12) .rk-body h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
.rk-meta { font-size: .9rem; gap: 2px 16px; }
.rk-desc { max-width: 60ch; }
.rk-item:nth-child(n+4) .rk-desc { display: none; }
.rk-item:nth-child(n+4) .rk-genres { display: none; }
.rk-item .pp-ink { top: 14px; right: 14px; }
.rk-item.is-been .rk-body { padding-right: 0; }
.rk-item.is-been .rk-foot { margin-right: 0; }
.rk-item.is-been .rk-body h2 { padding-right: 112px; }

/* Stamped (and, with a mouse, hovered) rows flood with the club's ink */
.rk-item.is-been, .rk-break + .rk-item.is-been {
  background: var(--ink); border-bottom-color: #000;
  --th-strobe: #000; --th-fog: rgba(0,0,0,.78); --th-dim: rgba(0,0,0,.62); --text-primary: #000;
  --th-booth: rgba(0,0,0,.08); --th-haze-2: #000; --th-haze: rgba(0,0,0,.35); --th-amber: #000; --th-uv: #000;
  color: #000;
}
.rk-item.is-been .rk-num { color: #000 !important; }
.rk-item.is-been .th-tag { border-color: rgba(0,0,0,.5); color: #000; }
.rk-item.is-been .pp-btn[aria-pressed="true"].pp-btn-been { background: #000; border-color: #000; color: var(--ink); }
.rk-item.is-been .pp-btn[aria-pressed="true"].pp-btn-been i { color: var(--ink); }
.rk-item.is-been .rk-norate a { color: #000; }
@media (hover: hover) {
  .rk-item:not(.is-been):hover .rk-body h2 { color: var(--ink); }
}
.rk-break { border-bottom: 1px solid var(--th-haze); }
.rk-break-in { background: none; border: 0; border-left: 6px solid var(--th-strobe); border-radius: 0; padding: 6px 0 6px 18px; }
.rk-countries { background: none; border: 0; border-top: 6px solid var(--th-strobe); border-radius: 0; padding: 22px 0 0; }
.rk-how { max-width: 64ch; }
@media (max-width: 575.98px) {
  .rk-item { grid-template-columns: 2rem minmax(0, 1fr); gap: 0 8px; padding: 16px 12px 18px; margin: 0 -12px; }
  .rk-num { font-size: 1.1rem; }
  .rk-item.is-been .rk-body h2 { padding-right: 84px; }
  .rk-item.is-been .rk-meta { padding-right: 0; }
  .rk-item .pp-ink { top: 8px; right: 8px; }
}

/* ── Stamps ────────────────────────────────────────────────── */
.pp-ink { color: var(--ink); text-shadow: none; font-stretch: 62%; font-weight: 900; font-size: .95rem; line-height: .9; letter-spacing: .01em; }
.pp-ink small { font-size: .5rem; margin-top: 5px; letter-spacing: .02em; }
.rk-item.is-been .pp-ink, .cl-hero-ink .pp-ink { color: #000; }
.cl-hero-ink .pp-ink { color: var(--ink); }
.pp-btn { border-radius: 4px; background: none; border-color: var(--th-haze-2); font-weight: 700; }
.pp-btn:hover { border-color: var(--th-strobe); }
.pp-btn:hover i { color: var(--th-strobe); }
.pp-btn[aria-pressed="true"].pp-btn-been { background: var(--ink); border-color: var(--ink); color: #000; }
.pp-btn[aria-pressed="true"].pp-btn-been i { color: #000; }
.pp-btn[aria-pressed="true"].pp-btn-want { background: var(--th-strobe); border-color: var(--th-strobe); color: #000; }
.pp-btn[aria-pressed="true"].pp-btn-want i { color: #000; }
.pp-dock { border-radius: 4px; border: 0; background: var(--th-strobe); box-shadow: 0 14px 40px rgba(0,0,0,.7); --th-strobe-on: #000; }
.pp-dock .pp-dock-ico, .pp-dock .pp-dock-txt { color: #000; }
.pp-dock .pp-dock-txt small { color: rgba(0,0,0,.65); }
.pp-dock .pp-dock-x { color: rgba(0,0,0,.6); }
.pp-dock .th-btn { background: #000; color: #f6f5ef; border-color: #000; }
.jm-stampline { border-radius: 2px; background: var(--th-strobe); color: #000; }
.ps-stat b { font-size: 3.4rem; font-weight: 900; line-height: .85; }
.ps-head h1 { font-size: clamp(3rem, 10vw, 8rem); }
.ps-bar { border-radius: 0; height: 6px; } .ps-bar i { border-radius: 0; background: var(--th-strobe); }
.ps-save, .jn-saved { border: 0; border-left: 6px solid var(--th-strobe); border-radius: 0; background: none; padding: 4px 0 4px 16px; }
.ps-stamp { background: none; border-color: var(--th-haze); }
.ps-stamp .pp-ink { color: var(--ink) !important; text-shadow: none !important; font-size: 1.25rem; }
.ps-stamp .pp-ink small { font-size: .6rem; }
.hp-pass { background: none; border: 0; border-top: 6px solid var(--th-strobe); border-radius: 0; padding: 26px 0 0; }
.hp-pass h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: .92; max-width: 18ch; }
.hp-pass-stamps .pp-ink { background: #000; color: var(--ink) !important; text-shadow: none !important; }

/* ── Forms ─────────────────────────────────────────────────── */
.ij .form-control, .dc-filters .form-control, .dc-filters .form-select { border-radius: 4px !important; }
.jn-pitch h1 { font-size: clamp(3rem, 8vw, 6rem); }
.jn-list li i { color: var(--th-strobe); }
.au-mark { border-radius: 3px; }

/* ── Footer + FAQ ──────────────────────────────────────────── */
.th-footer { border-top: 6px solid var(--th-strobe); background: #000; }
.th-about { background: #000; }
.th-faq details { border-radius: 0 !important; border-width: 0 0 1px !important; background: none !important; }
.cl-related { border-top: 0; }

@media (prefers-reduced-motion: reduce) { .rk-item { transition: none; } }

/* Long words stay whole at poster sizes */
main h1, main h2 { hyphens: manual; }
.jn-pitch h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); overflow-wrap: normal; }
.jn-grid { max-width: 1000px; }
