:root {
  --orange: #e94e1b;
  --teal: #008b7a;
  --pink: #c41450;
  --yellow: #d4a000;
  --navy: #0a0f1a;
  --cream: #f8f6f3;
  --purple: #5925dc;
  --tan: #d4c8bc;
  --paper: #f8f6f3;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --ink: #0a0f1a;
  --muted: rgba(10, 15, 26, 0.62);
  --line: rgba(10, 15, 26, 0.14);
  --soft-line: rgba(10, 15, 26, 0.08);
  --accent: #e94e1b;
  --media: #0a0f1a;
  --good: #1e7a56;
  --warn: #9f6820;
  --missing: #9a3b2b;
  --reference: #2856dc;
  --umbrella: #5b6064;
}

* {
  box-sizing: border-box;
  border-radius: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(10, 15, 26, 0.018) 0, rgba(10, 15, 26, 0.018) 1px, transparent 1px, transparent 112px),
    linear-gradient(180deg, #fbfaf7, var(--paper));
  font-family: "Bricolage Grotesque", sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

body::after {
  z-index: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(233, 78, 27, 0.22) 0, rgba(233, 78, 27, 0.08) 18%, transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(196, 20, 80, 0.18) 0, rgba(196, 20, 80, 0.06) 18%, transparent 36%),
    radial-gradient(circle at 74% 72%, rgba(0, 139, 122, 0.18) 0, rgba(0, 139, 122, 0.06) 20%, transparent 36%),
    radial-gradient(circle at 18% 78%, rgba(89, 37, 220, 0.14) 0, rgba(89, 37, 220, 0.05) 16%, transparent 32%),
    radial-gradient(circle at 58% 52%, rgba(212, 160, 0, 0.12) 0, rgba(212, 160, 0, 0.04) 12%, transparent 28%);
  filter: blur(14px);
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.source-root {
  width: 100%;
}

.page-shell {
  width: min(1500px, calc(100% - 40px));
  margin: 0 auto;
}

.source-header {
  position: sticky;
  top: 10px;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(1500px, calc(100% - 28px));
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(10, 15, 26, 0.06);
}

.source-header__brand {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}

.source-menu {
  position: relative;
}

.source-menu[open] .source-menu__button {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.92);
}

.source-menu__button {
  display: inline-grid;
  gap: 4px;
  align-items: center;
  justify-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 4px 14px rgba(10, 15, 26, 0.04);
  cursor: pointer;
  list-style: none;
}

.source-menu__button::-webkit-details-marker {
  display: none;
}

.source-menu__button span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--navy);
}

.source-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(10, 15, 26, 0.1);
}

.source-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 14px 8px;
  border: 1px solid rgba(10, 15, 26, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.source-link:hover,
.source-link--active {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  transform: translateY(-1px);
}

.source-label {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Sans Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  font-weight: 600;
}

.source-label--light {
  color: rgba(255, 255, 255, 0.72);
}

.source-title {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.source-title--hero {
  font-size: clamp(3.6rem, 9vw, 8rem);
  line-height: 0.84;
  color: #fff;
  max-width: 12ch;
}

.source-title--audit {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.88;
  max-width: 12ch;
}

.source-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.source-copy--hero {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-button,
.source-button--ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px 10px;
  border: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 700;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.source-button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(233, 78, 27, 0.2);
}

.source-button--ghost,
.source-button--ghost-light {
  background: transparent;
}

.source-button--ghost {
  color: var(--ink);
}

.source-button--ghost-light {
  color: #fff;
}

.source-button:hover,
.source-button--ghost:hover,
.source-button--ghost-light:hover {
  transform: translateY(-1px);
}

.status-badge,
.micro-chip,
.micro-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: auto;
  padding: 0;
  border: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 600;
  border-radius: 0;
}

.micro-chip,
.micro-link {
  color: var(--ink);
}

.micro-link {
  text-decoration: none;
}

.status-badge--present {
  color: var(--good);
}

.status-badge--alias {
  color: var(--warn);
}

.status-badge--missing {
  color: var(--missing);
}

.status-badge--reference {
  color: var(--reference);
}

.status-badge--umbrella {
  color: var(--umbrella);
}

.source-paths {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.source-paths li {
  min-width: 0;
}

.source-paths a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--soft-line);
  word-break: break-word;
}

.source-paths a:hover {
  color: var(--ink);
  border-color: currentColor;
}

.source-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.poster-hero {
  position: relative;
  min-height: calc(100svh - 67px);
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-top: -52px;
  padding-top: 72px;
}

.poster-hero__visual,
.poster-hero__shade {
  position: absolute;
  inset: 0;
}

.poster-hero__visual img {
  transform: scale(1.03);
  filter: saturate(0.95) contrast(1.02);
}

.poster-hero__shade {
  background:
    radial-gradient(circle at 18% 22%, rgba(233, 78, 27, 0.28), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(196, 20, 80, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(10, 15, 26, 0.88), rgba(10, 15, 26, 0.34) 52%, rgba(10, 15, 26, 0.52)),
    linear-gradient(180deg, rgba(10, 15, 26, 0.08), rgba(10, 15, 26, 0.66));
}

.poster-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  align-items: end;
  padding-bottom: 34px;
}

.poster-hero__content {
  display: grid;
  gap: 18px;
}

.poster-hero__meta {
  display: grid;
  gap: 14px;
  align-content: end;
}

.hero-signal {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  color: #fff;
}

.hero-signal__value {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-signal__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.45;
}

.spotlight-strip {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0 18px;
}

.proof-marquee,
.client-chapters,
.client-chapter,
.client-chapter__body,
.client-chapter__heading,
.client-chapter__events,
.client-chapters__intro {
  display: grid;
  gap: 12px;
}

.proof-marquee {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
}

.proof-marquee__card {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 24px rgba(10, 15, 26, 0.05);
}

.proof-marquee__value {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.proof-marquee__detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.client-chapters {
  padding: 24px 0 10px;
}

.client-chapters__grid {
  display: grid;
  gap: 18px;
}

.client-chapter {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.client-chapter__media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: var(--media);
  box-shadow: 0 14px 32px rgba(10, 15, 26, 0.08);
}

.client-chapter__media--missing {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 700;
}

.client-chapter__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 15, 16, 0.06), rgba(12, 15, 16, 0.36));
  pointer-events: none;
}

.client-chapter__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.client-chapter__title {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(2.2rem, 3vw, 4rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.client-chapter__proof-list {
  display: grid;
  gap: 8px;
  padding: 0 0 0 18px;
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.55;
}

.client-chapter__events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.client-chapter__event {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.25s ease;
}

.client-chapter__event:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.client-chapter__event-title {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
}

.proof-chips,
.entry-band__proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}

.proof-chip::before,
.micro-chip::before,
.micro-link::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(10, 15, 26, 0.18);
  flex: 0 0 auto;
}

.spotlight-strip__intro {
  display: grid;
  gap: 8px;
}

.spotlight-strip__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.spotlight-strip__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.spotlight-tile {
  display: grid;
  gap: 10px;
  text-decoration: none;
}

.spotlight-tile__media {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  background: var(--media);
}

.spotlight-tile__media::after,
.track-section__lead::after,
.entry-band__media::after,
.audit-table__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 15, 16, 0.05), rgba(12, 15, 16, 0.44));
  pointer-events: none;
}

.spotlight-tile__meta {
  display: grid;
  gap: 4px;
}

.spotlight-tile__title {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.category-rail {
  position: sticky;
  top: 67px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 24px rgba(10, 15, 26, 0.05);
}

.category-rail__link {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: all 0.25s ease;
}

.category-rail__link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.category-rail__index {
  color: var(--accent);
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 0.9;
}

.category-rail__label {
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.track-sections,
.audit-sections {
  display: grid;
  gap: 28px;
  padding: 28px 0 52px;
}

.track-section,
.audit-section {
  display: grid;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.track-section {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

.track-section__intro {
  position: sticky;
  top: 134px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.track-section__title,
.audit-section__title {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.track-section__stats,
.audit-hero__meta,
.audit-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-section__body {
  display: grid;
  gap: 14px;
}

.track-section__lead {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: var(--media);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(10, 15, 26, 0.08);
}

.track-section__lead--missing,
.entry-band__media--missing,
.audit-table__media--missing {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 700;
}

.track-section__lead-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 4px;
  color: #fff;
}

.track-section__lead-title {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.track-section__entries,
.audit-table {
  display: grid;
}

.entry-band,
.audit-table__row {
  display: grid;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--soft-line);
}

.entry-band:first-child,
.audit-table__row:first-child {
  border-top: 0;
}

.entry-band {
  grid-template-columns: 230px minmax(0, 1fr);
}

.entry-band__media,
.audit-table__media {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: var(--media);
  border-radius: 18px;
}

.entry-band__body,
.entry-band__heading,
.entry-band__summary,
.entry-band__sources,
.audit-table__event,
.audit-table__status,
.audit-table__note,
.audit-table__sources,
.audit-hero,
.audit-hero__copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.entry-band__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.entry-band__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.entry-band__title,
.audit-table__title {
  margin: 0;
  font-family: "IBM Plex Sans Condensed", sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.entry-band__subtitle,
.audit-table__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.entry-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
}

.entry-band__note {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
}

.entry-band__sources {
  padding-left: 14px;
  border-left: 1px solid var(--soft-line);
}

.audit-hero {
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--line);
}

.audit-section__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.audit-table__row {
  grid-template-columns: 150px minmax(0, 1fr) 180px minmax(0, 1fr) 260px;
}

@media (max-width: 1240px) {
  .poster-hero__layout,
  .track-section,
  .spotlight-strip,
  .client-chapter,
  .audit-table__row {
    grid-template-columns: 1fr;
  }

  .proof-marquee {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .poster-hero__meta,
  .track-section__intro {
    position: static;
  }

  .spotlight-strip__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-chapter__events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-band__grid {
    grid-template-columns: 1fr;
  }

  .entry-band__sources {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100%, calc(100% - 24px));
  }

  .source-header {
    padding: 12px;
    width: min(100%, calc(100% - 24px));
  }

  .poster-hero {
    min-height: auto;
  }

  .poster-hero__layout {
    padding: 98px 0 24px;
  }

  .category-rail {
    top: 113px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-marquee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-band {
    grid-template-columns: 1fr;
  }

  .client-chapter__header {
    display: grid;
  }

  .entry-band__header {
    display: grid;
  }

  .entry-band__signals {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .source-title--hero,
  .source-title--audit,
  .track-section__title,
  .audit-section__title,
  .entry-band__title,
  .audit-table__title {
    word-break: break-word;
  }

  .source-link,
  .source-button,
  .source-button--ghost,
  .source-button--ghost-light {
    width: 100%;
    justify-content: center;
  }

  .spotlight-strip__tiles,
  .category-rail,
  .proof-marquee,
  .client-chapter__events-grid {
    grid-template-columns: 1fr;
  }

  .track-sections,
  .audit-sections {
    gap: 24px;
  }
}
