.catv2-brand-link {
  color: inherit !important;
  text-decoration: none;
}

.catv2-page {
  --catv2-display-title: clamp(2.4rem, 3.45vw, 3.7rem);
}

.catv2-page main.catv2-main {
  width: min(calc(100% - 7.5rem), var(--iv2-width));
  margin-inline: auto;
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem) 6rem;
}

.cixv2-main {
  padding-bottom: 6rem;
}

.cixv2-directory {
  padding-top: clamp(1.4rem, 2.5vw, 2.4rem);
}

.cixv2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.15vw, 1rem);
}

.cixv2-tile {
  display: flex;
  min-width: 0;
  min-height: 13.5rem;
  flex-direction: column;
  padding: 1.05rem;
  border: 1px solid var(--iv2-line-dark);
  background: var(--iv2-paper);
  color: inherit !important;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.cixv2-tile:hover {
  background: #fffdf7;
  transform: translate(-0.12rem, -0.12rem);
}

.cixv2-tile__number {
  color: var(--iv2-rust);
  font-family: var(--iv2-sans);
  font-size: 0.65rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.cixv2-tile h3 {
  margin: 1.2rem 0 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.cixv2-tile p {
  margin: 0.65rem 0 0;
  color: var(--iv2-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cixv2-tile__counts {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.65rem;
  letter-spacing: 0.035em;
}

.cixv2-tile__counts b {
  color: var(--iv2-ink-soft);
}

.cixv2-tile__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--iv2-line);
  color: var(--iv2-rust-dark);
  font-family: var(--iv2-sans);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.cixv2-tile__link span {
  font-size: 1rem;
  line-height: 0.8;
}

.catv2-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-block: 0.25rem 0.75rem;
  border-bottom: 1px solid var(--iv2-line);
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.68rem;
  font-weight: 730;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.catv2-breadcrumbs a {
  color: inherit;
}

.catv2-hero {
  display: block;
  padding-block: clamp(0.95rem, 1.75vw, 1.5rem) clamp(1rem, 1.5vw, 1.25rem);
}

.catv2-hero h1 {
  max-width: 62rem;
  margin: 0.55rem 0 0;
  font-size: var(--catv2-display-title);
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
}

.catv2-hero__copy > p:last-child {
  max-width: 66rem;
  margin: 1rem 0 0;
  color: var(--iv2-ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.45;
}

.catv2-complete,
.catv2-observatory {
  padding-top: clamp(3.5rem, 6vw, 6rem);
}

.catv2-latest {
  padding-top: clamp(1.25rem, 2vw, 1.75rem);
}

.catv2-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--iv2-ink);
}

.catv2-section-heading h1,
.catv2-section-heading h2 {
  max-width: 64rem;
  margin: 0.15rem 0 0;
  font-size: var(--iv2-display-section);
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.catv2-section-heading > a,
.catv2-section-heading > p {
  max-width: 31rem;
  margin: 0;
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.72rem;
  font-weight: 730;
  line-height: 1.45;
}

.catv2-section-heading > a {
  flex: 0 0 auto;
  color: var(--iv2-rust-dark);
}

.catv2-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.catv2-latest-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--iv2-line);
  background: var(--iv2-paper);
  color: inherit !important;
  text-decoration: none;
  box-shadow: 0.45rem 0.45rem 0 rgba(145, 63, 45, 0.05);
}

.catv2-shot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--iv2-line);
  background: var(--iv2-paper-deep);
}

.catv2-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 200ms ease;
}

.catv2-latest-card:hover .catv2-shot img {
  transform: scale(1.015);
}

.catv2-shot > small {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  padding: 0.28rem 0.4rem;
  background: rgba(29, 24, 20, 0.88);
  color: var(--iv2-paper);
  font-family: var(--iv2-sans);
  font-size: 0.47rem;
  font-weight: 810;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catv2-shot--missing {
  display: grid;
  place-items: center;
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.catv2-latest-card__body {
  display: block;
  padding: 0.9rem;
}

.catv2-latest-card__body > strong,
.catv2-latest-card__body > span,
.catv2-latest-card__body > p {
  display: block;
}

.catv2-latest-card__body > strong {
  font-size: 1.12rem;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.catv2-latest-card__body > span {
  overflow: hidden;
  margin-top: 0.38rem;
  color: var(--iv2-rust-dark);
  font-family: var(--iv2-sans);
  font-size: 0.68rem;
  font-weight: 770;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catv2-latest-card__body > p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.8em;
  margin: 0.65rem 0 0;
  color: var(--iv2-muted);
  font-size: 0.79rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.catv2-signal-rail {
  gap: 0.1rem;
  margin-top: 0.75rem;
}

.catv2-signal-rail b {
  font-size: 1rem;
}

.catv2-signal-rail small {
  font-size: 0.36rem;
}

.catv2-complete-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.catv2-compact-card {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  min-width: 0;
  min-height: 9.2rem;
  overflow: hidden;
  border: 1px solid var(--iv2-line);
  background: var(--iv2-paper);
  color: inherit !important;
  text-decoration: none;
}

.catv2-compact-card__shot {
  display: block;
  overflow: hidden;
  border-right: 1px solid var(--iv2-line);
  background: var(--iv2-paper-deep);
}

.catv2-compact-card__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.catv2-compact-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0.75rem;
}

.catv2-compact-card__body > strong,
.catv2-compact-card__body > span,
.catv2-compact-card__body > p {
  display: block;
}

.catv2-compact-card__body > strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.catv2-compact-card__body > span {
  overflow: hidden;
  margin-top: 0.3rem;
  color: var(--iv2-rust-dark);
  font-family: var(--iv2-sans);
  font-size: 0.61rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catv2-compact-card__body > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.5rem 0 0;
  color: var(--iv2-muted);
  font-size: 0.72rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catv2-compact-card .catv2-signal-rail {
  margin-top: auto;
  padding-top: 0.45rem;
}

.catv2-compact-card .catv2-signal-rail b {
  font-size: 0.82rem;
}

.catv2-compact-card .catv2-signal-rail small {
  font-size: 0.3rem;
}

.catv2-observatory__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.catv2-pulse,
.catv2-lift {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--iv2-line-dark);
  background: rgba(255, 250, 240, 0.68);
}

.catv2-panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--iv2-line);
}

.catv2-panel-heading h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.catv2-panel-heading span {
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.56rem;
  font-weight: 790;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catv2-score-chart {
  margin-top: 0.8rem;
}

.catv2-score-chart__axis-title {
  margin: 0 0 0.45rem;
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.58rem;
  font-weight: 790;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.catv2-score-chart__scroll {
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.catv2-score-chart__svg {
  display: block;
  width: 100%;
  min-width: 46rem;
  height: auto;
  overflow: visible;
}

.catv2-score-grid line {
  stroke: var(--iv2-line);
  stroke-width: 1;
}

.catv2-score-axis text,
.catv2-score-band__label,
.catv2-score-band__value {
  fill: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.catv2-score-axis text {
  text-anchor: end;
}

.catv2-score-band__label {
  font-size: 9px;
  text-anchor: middle;
}

.catv2-score-band__category {
  fill: var(--iv2-rust);
}

.catv2-score-band__archive {
  fill: var(--iv2-rust-wash);
  stroke: #b96f57;
  stroke-width: 1;
}

.catv2-score-band__value {
  fill: var(--iv2-rust-dark);
  font-size: 8.5px;
  font-weight: 800;
  text-anchor: middle;
}

.catv2-score-chart__legend {
  display: flex;
  gap: 1rem;
  margin: 0.45rem 0 0 2.2rem;
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.58rem;
}

.catv2-score-chart__legend span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.catv2-score-chart__legend i {
  width: 0.7rem;
  height: 0.7rem;
}

.catv2-score-chart__legend i.category {
  background: var(--iv2-rust);
}

.catv2-score-chart__legend i.archive {
  border: 1px solid #b96f57;
  background: var(--iv2-rust-wash);
}

.catv2-score-history > p,
.catv2-profile > p {
  margin: 0.8rem 0 0;
  color: var(--iv2-muted);
  font-size: 0.75rem;
}

.catv2-score-history > p strong {
  color: var(--iv2-ink-soft);
}

.catv2-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1rem;
  background: var(--iv2-line);
}

.catv2-profile__grid > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  padding: 0.8rem;
  background: var(--iv2-paper);
}

.catv2-profile__grid > div > span {
  color: var(--iv2-rust-dark);
  font-family: var(--iv2-sans);
  font-size: 1.5rem;
}

.catv2-profile__grid p,
.catv2-profile__grid strong,
.catv2-profile__grid small {
  display: block;
  margin: 0;
}

.catv2-profile__grid strong {
  font-family: var(--iv2-sans);
  font-size: 1.15rem;
}

.catv2-profile__grid small {
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.55rem;
  text-transform: uppercase;
}

.catv2-pulse__scroll,
.catv2-lift__scroll {
  max-width: 100%;
  overflow-x: auto;
  padding-top: 0.8rem;
}

.catv2-pulse__svg,
.catv2-lift__svg {
  display: block;
  width: 100%;
  min-width: 68rem;
  height: auto;
}

.catv2-pulse__guides line {
  stroke: var(--iv2-line);
  stroke-width: 1;
}

.catv2-pulse__guides line.date {
  stroke: rgba(159, 137, 114, 0.2);
}

.catv2-pulse__score-axis text,
.catv2-pulse__signal-label,
.catv2-pulse__signal-glyph,
.catv2-pulse__dates text {
  fill: var(--iv2-muted);
  font-family: var(--iv2-sans);
}

.catv2-pulse__score-axis text {
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  text-anchor: end;
}

.catv2-pulse__score-axis .catv2-pulse__score-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-anchor: start;
}

.catv2-score-thread polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catv2-score-thread--other {
  opacity: 0.6;
}

.catv2-score-thread--other polyline {
  stroke: #bfa996;
  stroke-width: 1.15;
}

.catv2-score-thread--other:hover {
  opacity: 1;
}

.catv2-score-thread--other:hover polyline {
  stroke: var(--iv2-ink-soft);
  stroke-width: 2;
}

.catv2-score-thread--average polyline {
  stroke: var(--iv2-sage);
  stroke-dasharray: 5 4;
  stroke-width: 2.2;
}

.catv2-score-thread--current polyline {
  stroke: var(--iv2-rust-dark);
  stroke-width: 3.4;
}

.catv2-score-thread--current circle {
  fill: var(--iv2-paper);
  stroke: var(--iv2-rust-dark);
  stroke-width: 2;
}

.catv2-pulse__divider {
  stroke: var(--iv2-line-dark);
  stroke-width: 1;
}

.catv2-pulse__signal-glyph {
  fill: var(--iv2-rust-dark);
  font-size: 12px;
}

.catv2-pulse__signal-label {
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.catv2-pulse-cell rect {
  stroke: rgba(102, 40, 28, 0.2);
  stroke-width: 0.7;
}

.catv2-pulse-cell--0 rect { fill: #f7efe4; }
.catv2-pulse-cell--1 rect { fill: #edd9cd; }
.catv2-pulse-cell--2 rect { fill: #dfb6a6; }
.catv2-pulse-cell--3 rect { fill: #c98871; }
.catv2-pulse-cell--4 rect { fill: #9d4c37; }
.catv2-pulse-cell--5 rect { fill: var(--iv2-rust-dark); }

.catv2-pulse__dates text {
  font-size: 7.5px;
  font-variant-numeric: tabular-nums;
  text-anchor: middle;
}

.catv2-pulse__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  align-items: center;
  margin-top: 0.3rem;
  color: var(--iv2-muted);
  font-family: var(--iv2-sans);
  font-size: 0.62rem;
}

.catv2-pulse__legend > span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.catv2-pulse__legend i {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  border: 1px solid rgba(102, 40, 28, 0.2);
}

.catv2-pulse__legend i.current,
.catv2-pulse__legend i.other,
.catv2-pulse__legend i.average {
  width: 1.1rem;
  height: 0;
  border: 0;
}

.catv2-pulse__legend i.current {
  border-top: 3px solid var(--iv2-rust-dark);
}

.catv2-pulse__legend i.other {
  border-top: 1px solid #bfa996;
}

.catv2-pulse__legend i.average {
  border-top: 2px dashed var(--iv2-sage);
}

.catv2-pulse__legend .axis {
  font-size: 0.56rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catv2-pulse__legend .heat {
  gap: 0.12rem;
}

.catv2-pulse__legend .heat small:first-child {
  margin-right: 0.25rem;
}

.catv2-pulse__legend .heat small:last-child {
  margin-left: 0.25rem;
}

.catv2-pulse__legend .l0 { background: #f7efe4; }
.catv2-pulse__legend .l1 { background: #edd9cd; }
.catv2-pulse__legend .l2 { background: #dfb6a6; }
.catv2-pulse__legend .l3 { background: #c98871; }
.catv2-pulse__legend .l4 { background: #9d4c37; }
.catv2-pulse__legend .l5 { background: var(--iv2-rust-dark); }

.catv2-pulse > p,
.catv2-lift > p {
  margin: 0.75rem 0 0;
  color: var(--iv2-muted);
  font-size: 0.75rem;
}

.catv2-lift__head text,
.catv2-lift__rows text,
.catv2-lift__axis text {
  fill: var(--iv2-muted);
  font-family: var(--iv2-sans);
}

.catv2-lift__head text {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-anchor: middle;
}

.catv2-lift__head text:first-child,
.catv2-lift__head text:nth-child(2) {
  text-anchor: start;
}

.catv2-lift__guides line {
  stroke: var(--iv2-line);
  stroke-width: 1;
}

.catv2-lift__guides line.zero {
  stroke: var(--iv2-line-dark);
  stroke-width: 1.5;
}

.catv2-lift-row .glyph {
  fill: var(--iv2-rust-dark);
  font-size: 13px;
}

.catv2-lift-row .label {
  fill: var(--iv2-ink-soft);
  font-size: 9px;
  font-weight: 760;
}

.catv2-lift-row .values {
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.catv2-lift-row .mobile-delta {
  display: none;
  fill: var(--iv2-rust-dark);
  font-size: 8px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.catv2-lift-row rect {
  fill: var(--iv2-rust);
}

.catv2-lift-row--negative rect {
  fill: var(--iv2-sage);
}

.catv2-lift-row--flat rect {
  fill: var(--iv2-line-dark);
}

.catv2-lift-row .delta {
  fill: var(--iv2-rust-dark);
  font-size: 8px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-anchor: start;
}

.catv2-lift-row--negative .delta {
  fill: var(--iv2-sage);
  text-anchor: end;
}

.catv2-lift__axis text {
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  text-anchor: middle;
}

.catv2-category-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(4rem, 8vw, 8rem);
  border-block: 1px solid var(--iv2-line-dark);
  background: var(--iv2-line);
}

.catv2-category-nav > a,
.catv2-category-nav > span {
  min-height: 7rem;
  padding: 1.2rem;
  background: var(--iv2-bg);
}

.catv2-category-nav > a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.catv2-category-nav__next {
  align-items: end;
  text-align: right;
}

.catv2-category-nav small,
.catv2-category-nav strong {
  display: block;
}

.catv2-category-nav small {
  color: var(--iv2-rust-dark);
  font-family: var(--iv2-sans);
  font-size: 0.59rem;
  font-weight: 810;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catv2-category-nav strong {
  margin-top: auto;
  font-size: 1.35rem;
}

@media (max-width: 72rem) {
  .catv2-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 52rem) {
  .catv2-observatory__grid {
    grid-template-columns: 1fr;
  }

  .catv2-hero {
    gap: 2.5rem;
  }

}

@media (max-width: 38rem) {
  .catv2-page main.catv2-main,
  .catv2-footer {
    width: min(calc(100% - 1.1rem), var(--iv2-width));
  }

  .catv2-hero {
    gap: 2rem;
    padding-block: 2.2rem;
  }

  .catv2-hero h1 {
    font-size: var(--catv2-display-title);
  }

  .catv2-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .catv2-latest-grid,
  .catv2-complete-grid,
  .catv2-profile__grid,
  .catv2-category-nav {
    grid-template-columns: 1fr;
  }

  .cixv2-grid {
    grid-template-columns: 1fr;
  }

  .catv2-compact-card {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  .catv2-lift-row .mobile-delta {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catv2-shot img {
    transition: none;
  }
}
