/* =========================================================
Website made by IQD 

/ Today is the first day of the rest of \
\ the mess.                             /
 ---------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     || 
========================================================= */

:root {
  --bg: #090909;
  --bg-soft: #0d0d0d;
  --panel: #111111;
  --panel-2: #151515;
  --panel-3: #1a1a1a;
  --text: #f2f0ea;
  --muted: #9e9b93;
  --muted-2: #77746d;
  --line: rgba(255,255,255,.095);
  --line-strong: rgba(255,255,255,.17);
  --accent: #b7a477;
  --accent-soft: rgba(183,164,119,.13);
  --page-width: 1540px;
  --content-width: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 28px 80px rgba(0,0,0,.32);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -8%, rgba(183,164,119,.065), transparent 25rem),
    radial-gradient(circle at 8% 24%, rgba(255,255,255,.025), transparent 22rem),
    var(--bg);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.search-open,
body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { color: inherit; }

[hidden] { display: none !important; }

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

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

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,9,.82);
  border-bottom: 1px solid rgba(255,255,255,.055);
  backdrop-filter: blur(20px) saturate(125%);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  transition: border-color .2s ease, background .2s ease;
}

.brand:hover .brand-mark { border-color: var(--accent); background: var(--accent-soft); }

.brand-copy { min-width: 0; }
.brand-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-copy span {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
}
.primary-nav a { transition: color .2s ease; }
.primary-nav a:hover { color: var(--text); }

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links { display: flex; gap: 7px; }

.social-link,
.icon-button,
.view-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.015);
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.social-link:hover,
.icon-button:hover,
.view-button:hover,
.social-link:focus-visible,
.icon-button:focus-visible,
.view-button:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--panel-2);
}
.social-link:hover,
.icon-button:hover { transform: translateY(-1px); }

.social-link svg,
.icon-button svg,
.view-button svg,
.archive-search svg,
.control-button svg,
.quick-search-input-wrap svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-link svg { fill: currentColor; stroke: none; }
.view-button svg { fill: currentColor; stroke: none; }

/* =========================================================
   LANDING HERO
   ========================================================= */

.archive-hero {
  min-height: 410px;
  padding-block: 88px 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 80px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.hero-copy h1 {
  max-width: 850px;
  margin: 13px 0 20px;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 540;
}
.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}
.text-link span { color: var(--accent); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  min-height: 115px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat strong {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 480;
  letter-spacing: -.04em;
}
.stat span {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* =========================================================
   SECTIONS / LATEST
   ========================================================= */

.section { padding-block: 82px; }
.section-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 520;
}
.section-heading .text-link { margin: 0; color: var(--muted); }
.section-heading .text-link:hover { color: var(--text); }

.latest-section { border-bottom: 1px solid var(--line); }

.latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.latest-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}
.latest-card.feature { grid-row: 1 / span 2; }
.latest-grid.count-1 { grid-template-columns: 1fr; grid-template-rows: auto; }
.latest-grid.count-1 .latest-card.feature { grid-row: auto; }
.latest-grid.count-2 { grid-template-columns: minmax(0,2fr) minmax(280px,1fr); grid-template-rows: auto; }
.latest-grid.count-2 .latest-card.feature { grid-row: auto; }
.latest-card-link { display: block; height: 100%; min-height: 235px; position: relative; }
.latest-card.feature .latest-card-link { min-height: 490px; }
.latest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.latest-card:hover img { transform: scale(1.018); filter: brightness(.74); }
.latest-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,.15) 48%, transparent 70%);
}
.latest-overlay h3 {
  margin: 8px 0 5px;
  font-size: clamp(21px, 2vw, 32px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 590;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.latest-card:not(.feature) .latest-overlay h3 { font-size: clamp(18px, 1.35vw, 23px); }
.latest-overlay p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  text-shadow: 0 2px 7px rgba(0,0,0,.8);
}
.release-label {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(244,241,232,.95);
  color: #111;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.latest-empty {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 40px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

/* =========================================================
   ARCHIVE CONTROLS
   ========================================================= */

.archive-section { padding-block: 86px 100px; }
.archive-heading { margin-bottom: 34px; }
.archive-count { color: var(--muted); font-size: 13px; }
.archive-count strong { color: var(--text); font-weight: 650; }

.archive-toolbar {
  position: sticky;
  top: 72px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(190px, auto) auto;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(13,13,13,.91);
  backdrop-filter: blur(18px);
}

.archive-search {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-radius: 11px;
  background: var(--panel);
  border: 1px solid transparent;
}
.archive-search:focus-within { border-color: var(--line-strong); }
.archive-search svg { flex: 0 0 18px; color: var(--muted-2); }
.archive-search input {
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}
.archive-search input::placeholder { color: #67645e; }

.control-button,
.sort-control select {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
}
.control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
}
.control-button:hover { color: var(--text); border-color: var(--line-strong); }
.control-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
}

.sort-control select {
  width: 100%;
  padding: 0 36px 0 13px;
  outline: 0;
}
.sort-control select:focus { border-color: var(--line-strong); }

.view-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
}
.view-button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 0;
  background: transparent;
}
.view-button.active { color: var(--text); background: var(--panel-3); }

.filter-panel {
  margin-top: 12px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.filter-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.filter-panel-head strong { display: block; font-size: 14px; }
.filter-panel-head span { display: block; margin-top: 3px; color: var(--muted-2); font-size: 12px; }
.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}
.text-button:hover { color: var(--text); }

.filter-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px 38px;
}
.filter-group strong {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip,
.active-filter {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.active { color: #111; background: var(--text); border-color: var(--text); }

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 0;
  margin-top: 12px;
}
.active-filters:empty { display: none; }
.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  background: var(--accent-soft);
  border-color: rgba(183,164,119,.25);
}
.active-filter span { color: var(--accent); }

.collection-status {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0 13px;
  color: var(--muted-2);
  font-size: 12px;
}

/* =========================================================
   ARCHIVE CARDS — GRID + MOSAIC
   ========================================================= */

.collection { width: 100%; }
.collection.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 26px 14px;
}
.collection.mosaic { display: grid; gap: 14px; }

.mosaic-block {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1fr);
  gap: 14px;
  min-height: 470px;
}
.mosaic-block.reverse { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.mosaic-feature,
.mosaic-stack { min-width: 0; }
.mosaic-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.mosaic-feature .archive-card,
.mosaic-stack .archive-card { height: 100%; }
.mosaic-feature .archive-card-media,
.mosaic-stack .archive-card-media { height: 100%; aspect-ratio: auto; }
.mosaic-feature .archive-card-body,
.mosaic-stack .archive-card-body { position: absolute; inset: auto 0 0; z-index: 3; padding: 55px 18px 16px; background: linear-gradient(to top, rgba(0,0,0,.87), rgba(0,0,0,.1), transparent); }
.mosaic-feature .archive-card-body h3,
.mosaic-stack .archive-card-body h3 { color: white; text-shadow: 0 2px 9px rgba(0,0,0,.8); }
.mosaic-feature .archive-card-body p,
.mosaic-stack .archive-card-body p { color: rgba(255,255,255,.67); }
.mosaic-remainder {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.mosaic-remainder.one { grid-template-columns: minmax(0,1fr); max-width: 66%; }

.archive-card {
  position: relative;
  min-width: 0;
}
.archive-card-link { display: block; position: relative; height: 100%; }
.archive-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}
.archive-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .42s ease, filter .35s ease;
}
.archive-card:hover .archive-card-media img { transform: scale(1.018); filter: brightness(.88); }

.archive-card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  opacity: 0;
  background: linear-gradient(to top, rgba(0,0,0,.73), transparent 58%);
  transition: opacity .25s ease;
}
.archive-card:hover .archive-card-hover { opacity: 1; }
.archive-card-hover span {
  color: rgba(255,255,255,.88);
  font-size: 11px;
  text-shadow: 0 2px 7px rgba(0,0,0,.9);
}

.archive-card-body { padding: 11px 2px 0; }
.archive-card-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 620;
  letter-spacing: -.012em;
}
.archive-card-body p {
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .04em;
}

.new-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(244,241,232,.95);
  color: #111;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  box-shadow: 0 4px 16px rgba(0,0,0,.26);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 70px 25px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}
.empty-state strong { display: block; margin-bottom: 7px; color: var(--text); }

.load-more-wrap { display: flex; justify-content: center; margin-top: 42px; }
.load-more {
  min-width: 170px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.load-more:hover { background: var(--panel-2); border-color: rgba(255,255,255,.28); }

/* =========================================================
   QUICK SEARCH
   ========================================================= */

.quick-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: start center;
  padding: 90px 22px 22px;
}
.quick-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(10px);
}
.quick-search-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 130px);
  overflow: auto;
  padding: 25px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #101010;
  box-shadow: var(--shadow);
}
.quick-search-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 20px;
}
.quick-search-head h2 { margin: 5px 0 0; font-size: 29px; letter-spacing: -.035em; font-weight: 550; }
.quick-search-head .icon-button { font-size: 24px; line-height: 1; }

.quick-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
}
.quick-search-input-wrap svg { flex: 0 0 19px; color: var(--muted); }
.quick-search-input-wrap input {
  width: 100%;
  height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.quick-search-results { margin-top: 12px; display: grid; }
.quick-result {
  display: grid;
  grid-template-columns: 96px minmax(0,1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  transition: background .15s ease;
}
.quick-result:hover { background: var(--panel-2); }
.quick-result img {
  width: 96px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--panel-3);
}
.quick-result strong { display: block; font-size: 13px; }
.quick-result span { display: block; margin-top: 3px; color: var(--muted-2); font-size: 11px; }
.quick-result-arrow { color: var(--accent); font-size: 18px; }
.quick-search-empty { padding: 28px 10px; color: var(--muted); text-align: center; font-size: 13px; }

/* =========================================================
   DETAIL PAGE - COLLECTOR RECORD
   ========================================================= */

.breadcrumbs {
  padding-top: 28px;
  color: var(--muted-2);
  font-size: 11px;
}
.breadcrumbs a:hover { color: var(--text); }

.detail-record { padding: 38px 0 88px; }
.record-hero {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(340px,.65fr);
  gap: 50px;
  align-items: start;
}
.detail-visuals { min-width: 0; }

.detail-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.record-summary {
  position: sticky;
  top: 104px;
  padding: 8px 0 0;
}
.record-summary h1 {
  margin: 12px 0 8px;
  font-size: clamp(38px, 4vw, 63px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 530;
}
.record-model {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
}
.record-facts {
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
}
.record-fact {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.record-fact dt { color: var(--muted-2); }
.record-fact dd { margin: 0; color: #d8d5ce; }
.record-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.primary-link,
.secondary-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.primary-link { background: var(--text); color: #101010; }
.secondary-link { border: 1px solid var(--line-strong); color: var(--text); }

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 10px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .3s ease;
}
.gallery-item:hover img { transform: scale(1.015); filter: brightness(.88); }

.record-content {
  width: min(100%, var(--content-width));
  margin: 82px auto 0;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr);
  gap: 75px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.record-content h2,
.related-section h2 {
  margin: 8px 0 20px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 530;
}
.record-copy {
  color: #c1beb6;
  font-size: 16px;
  line-height: 1.85;
}
.record-copy p { margin: 0; white-space: pre-line; }

.detail-table { margin: 0; border-top: 1px solid var(--line); }
.detail-table-row {
  display: grid;
  grid-template-columns: 110px minmax(0,1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.detail-table-row dt { color: var(--muted-2); }
.detail-table-row dd { margin: 0; }

.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
}

.related-section {
  margin-top: 84px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.related-card .archive-card-body h3 { font-size: 13px; }

/* Scheduled-release page */
.release-pending { padding: 110px 0; }
.release-pending-card {
  width: min(720px,100%);
  margin-inline: auto;
  padding: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  text-align: center;
}
.release-pending-card h1 { margin: 10px 0 14px; font-size: clamp(34px,5vw,58px); line-height: 1; letter-spacing: -.045em; font-weight: 530; }
.release-pending-card p { color: var(--muted); }

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  grid-template-columns: 70px minmax(0,1fr) 70px;
  align-items: center;
  padding: 40px;
  background: rgba(0,0,0,.93);
}
.lightbox-close,
.lightbox-nav {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(15,15,15,.65);
  color: white;
  cursor: pointer;
  font-size: 29px;
}
.lightbox-close { position: absolute; top: 24px; right: 24px; }
.lightbox-prev { justify-self: start; }
.lightbox-next { justify-self: end; }
.lightbox-figure { min-width: 0; margin: 0; text-align: center; }
.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  margin-inline: auto;
  object-fit: contain;
}
.lightbox-caption { margin-top: 11px; color: rgba(255,255,255,.62); font-size: 12px; }

/* =========================================================
   CATEGORY PAGES
   ========================================================= */

.category-hero {
  padding: 74px 0 44px;
  border-bottom: 1px solid var(--line);
}
.category-hero h1 {
  margin: 10px 0 10px;
  font-size: clamp(44px,6vw,80px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 530;
}
.category-hero p { margin: 0; color: var(--muted); }
.category-content { padding: 42px 0 90px; }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  min-height: 145px;
  padding-block: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: var(--muted-2);
  font-size: 11px;
}
.footer-inner strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.footer-inner > div:first-child span { display: block; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }
.footer-note { justify-self: end; text-align: right; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .archive-hero { grid-template-columns: 1fr; gap: 45px; }
  .hero-stats { max-width: 680px; }
  .archive-toolbar { grid-template-columns: minmax(220px,1fr) auto minmax(180px,auto) auto; }
  .collection.grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .record-hero { grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: 32px; }
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .shell { width: min(calc(100% - 28px), var(--page-width)); }
  .archive-hero { min-height: auto; padding-block: 62px 54px; }
  .latest-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .latest-card.feature { grid-column: 1 / -1; grid-row: auto; }
  .latest-card.feature .latest-card-link { min-height: 420px; }
  .latest-card:not(.feature) .latest-card-link { min-height: 230px; }
  .archive-toolbar { position: relative; top: auto; grid-template-columns: 1fr 1fr; }
  .archive-search { grid-column: 1 / -1; }
  .filter-groups { grid-template-columns: 1fr; }
  .record-hero { grid-template-columns: 1fr; }
  .record-summary { position: static; }
  .record-content { grid-template-columns: 1fr; gap: 48px; }
  .mosaic-block,
  .mosaic-block.reverse { grid-template-columns: 1fr 1fr; min-height: auto; }
  .mosaic-feature { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .mosaic-stack { grid-column: 1 / -1 !important; grid-row: auto !important; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; }
  .mosaic-feature .archive-card-media,
  .mosaic-stack .archive-card-media { aspect-ratio: 16/9; height: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-note { justify-self: start; text-align: left; }
}

@media (max-width: 620px) {
  .site-header { position: sticky; }
  .header-inner { min-height: 64px; gap: 10px; }
  .brand-copy span { display: none; }
  .brand-copy strong { font-size: 11px; letter-spacing: .12em; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .social-links .social-link { display: none; }
  .social-links .social-link:last-child { display: inline-grid; }
  .archive-hero { padding-top: 48px; }
  .hero-copy h1 { font-size: clamp(43px,13vw,62px); }
  .hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat { min-height: 100px; padding: 17px; }
  .section { padding-block: 62px; }
  .desktop-link { display: none; }
  .latest-grid { display: grid; grid-template-columns: 1fr; }
  .latest-card.feature { grid-column: auto; }
  .latest-card.feature .latest-card-link,
  .latest-card:not(.feature) .latest-card-link { min-height: 240px; }
  .archive-section { padding-block: 64px 76px; }
  .archive-heading { align-items: start; flex-direction: column; }
  .archive-toolbar { grid-template-columns: 1fr auto; padding: 8px; }
  .archive-search { grid-column: 1 / -1; }
  .sort-control { min-width: 0; }
  .sort-control select { max-width: 100%; }
  .view-switch { align-self: stretch; }
  .collection.grid { grid-template-columns: 1fr; gap: 24px; }
  .mosaic-block,
  .mosaic-block.reverse,
  .mosaic-stack,
  .mosaic-remainder,
  .mosaic-remainder.one { display: grid; grid-template-columns: 1fr; max-width: none; gap: 22px; }
  .mosaic-feature,
  .mosaic-stack { display: contents; }
  .mosaic-feature .archive-card-body,
  .mosaic-stack .archive-card-body { position: static; padding: 11px 2px 0; background: none; }
  .mosaic-feature .archive-card-body h3,
  .mosaic-stack .archive-card-body h3 { color: var(--text); text-shadow: none; }
  .mosaic-feature .archive-card-body p,
  .mosaic-stack .archive-card-body p { color: var(--muted-2); }
  .archive-card-hover { display: none; }
  .detail-record { padding-top: 28px; }
  .record-summary h1 { font-size: 42px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .record-content { margin-top: 58px; padding-top: 34px; }
  .related-grid { grid-template-columns: 1fr; }
  .release-pending { padding: 60px 0; }
  .release-pending-card { padding: 38px 22px; }
  .quick-search-overlay { padding: 72px 12px 12px; }
  .quick-search-dialog { padding: 18px; }
  .quick-result { grid-template-columns: 80px minmax(0,1fr); }
  .quick-result img { width: 80px; }
  .quick-result-arrow { display: none; }
  .lightbox { grid-template-columns: 44px minmax(0,1fr) 44px; padding: 18px 8px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .footer-links { flex-wrap: wrap; }
}

@media (hover: none) {
  .archive-card-hover { display: none; }
}


/* IQD LOGO */

.site-header .header-inner {
  min-height: 82px;
  grid-template-columns: minmax(330px, 1fr) auto minmax(230px, 1fr);
}

.brand {
  gap: 14px;
}

.brand-logo-wrap {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transition:
    transform .25s ease,
    filter .25s ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.035);
  filter: drop-shadow(0 0 10px rgba(223, 173, 79, .18));
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: .17em;
}

.brand-copy .brand-tagline {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.25;
  letter-spacing: .045em;
  text-transform: none;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 620px) {
  .site-header .header-inner {
    min-height: 68px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo-wrap {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-copy strong {
    font-size: 11px;
    letter-spacing: .13em;
  }

  .brand-copy .brand-tagline {
    display: none;
  }
}


/* FULL COLLECTION + YOUTUBE STATUS */

.youtube-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 34px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ff0000;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}

.youtube-card-badge svg {
  width: 19px;
  height: 19px;
  fill: #fff;
}

.archive-card-hover {
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.archive-card-hover .archive-video-state {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.archive-card-hover .archive-video-state.on-youtube {
  color: #fff;
}

.archive-card-hover .archive-video-state.not-yet {
  color: rgba(255,255,255,.66);
}

.youtube-release-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #ff0000;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stat-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.stat-link:hover,
.stat-link:focus-visible {
  background: rgba(255,255,255,.035);
  border-color: var(--line-strong);
}

.youtube-stat strong {
  color: #fff;
}

.video-chip.active {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

.youtube-status-card {
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}

.youtube-status-card .youtube-status-kicker {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.youtube-status-card strong {
  font-size: 13px;
  font-weight: 650;
}

.youtube-status-card > span:last-child {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.youtube-button {
  gap: 9px;
  background: #ff0000;
  color: #fff;
  border-color: #ff0000;
}

.youtube-button:hover,
.youtube-button:focus-visible {
  background: #cc0000;
  border-color: #cc0000;
}

.youtube-button-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.quick-video-state {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.quick-video-state.on-youtube {
  color: #ff4b4b;
}

@media (max-width: 720px) {
  .youtube-card-badge {
    top: 9px;
    right: 9px;
    width: 31px;
    height: 23px;
  }
}


/* NOT YET ON YOUTUBE — CHANNEL CTA */

.youtube-status-card .youtube-channel-link {
  width: fit-content;
  margin-top: 8px;
  gap: 8px;
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.youtube-status-card .youtube-channel-link:hover,
.youtube-status-card .youtube-channel-link:focus-visible {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.26);
}

.youtube-status-card .youtube-channel-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: #ff0000;
}

@media (max-width: 520px) {
  .youtube-status-card .youtube-channel-link {
    width: 100%;
    justify-content: center;
  }
}
