.reviews-page {
  padding: var(--space-8) 0 var(--space-10);
}

.reviews-page__section {
  margin-bottom: var(--space-9);
}

.reviews-page__section:last-child {
  margin-bottom: 0;
}

.reviews-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  color: var(--color-ink-muted);
  font-family: var(--font-mono);
  font-size: var(--text-meta);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.reviews-eyebrow > span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--color-arcade-coral);
}

.reviews-eyebrow--light {
  color: var(--color-surface-white);
}

.reviews-masthead__panel,
.reviews-framework__panel,
.reviews-close__panel {
  position: relative;
  padding: var(--space-8);
  border: var(--border-standard);
  background: var(--color-surface-white);
}

.reviews-masthead__panel::after,
.reviews-close__panel::after {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: var(--color-arcade-coral);
  content: "";
}

.reviews-masthead__copy {
  width: min(100%, 43.75rem);
}

.reviews-masthead__copy > :last-child,
.reviews-section-heading > :last-child,
.reviews-ledger__header > :last-child,
.reviews-framework__intro > :last-child,
.framework-lens > div > :last-child,
.review-card__body > :last-child,
.archive-card > div > :last-child,
.playstyle-card > :last-child,
.pathway-card > div > :last-child,
.reviews-alert__copy > :last-child,
.reviews-close__panel > div > :last-child {
  margin-bottom: 0;
}

.reviews-masthead h1 {
  margin-top: var(--space-3);
}

.reviews-masthead__lead {
  max-width: 62ch;
  margin-top: var(--space-4);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.reviews-masthead__markers {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.reviews-masthead__markers > * {
  min-width: 0;
  max-width: 100%;
}

.reviews-masthead__markers .tag {
  gap: var(--space-1);
}

.reviews-feature__frame {
  overflow: hidden;
  border: var(--border-featured);
  background: var(--color-ink-navy);
  box-shadow: var(--shadow-hard);
}

.reviews-feature__content {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 7fr) minmax(22.5rem, 5fr);
}

.reviews-feature__content > * {
  min-width: 0;
}

.reviews-feature__content::before {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: var(--color-arcade-coral);
  content: "";
}

.reviews-feature__intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-6) var(--space-4);
  color: var(--color-surface-white);
}

.reviews-feature__intro h2 {
  margin: 0;
  color: var(--color-surface-white);
  font-size: clamp(1.875rem, 1.35rem + 1.8vw, 2.5rem);
}

.reviews-feature__meta {
  margin: 0;
  color: rgb(255 255 255 / 78%);
}

.reviews-feature__standfirst {
  width: min(100%, 58ch);
  margin: 0;
  color: var(--color-surface-white);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.reviews-feature__media {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
}

.reviews-feature__media img {
  object-position: center left;
}

.reviews-feature__verdict {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: flex-start;
  grid-column: 2;
  grid-row: 2;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6) var(--space-6);
}

.reviews-feature__score {
  flex: 0 1 auto;
}

.reviews-feature__score .score__value {
  font-size: 1.125rem;
}

.reviews-feature__verdict-copy {
  flex: 1 1 14rem;
  min-width: 0;
}

.reviews-feature__verdict-copy p {
  margin: 0 0 var(--space-2);
  color: var(--color-surface-white);
  font-size: var(--text-compact);
  line-height: var(--leading-compact);
}

.reviews-feature__verdict-copy p:last-child {
  margin-bottom: 0;
}

.reviews-feature__action {
  flex: 0 0 auto;
}

.reviews-section-heading {
  width: min(100%, 58ch);
  margin-bottom: var(--space-6);
}

.reviews-section-heading h2 {
  margin-top: var(--space-2);
}

.reviews-section-heading p {
  color: var(--color-ink-muted);
}

.reviews-section-heading__signal {
  width: 42px;
  height: 4px;
  margin: 0;
  background: var(--color-arcade-coral);
}

.reviews-fresh__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.reviews-fresh__grid > * {
  min-width: 0;
}

.review-card,
.playstyle-card,
.archive-card,
.pathway-card {
  position: relative;
  border: var(--border-standard);
  background: var(--color-surface-white);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card::before,
.playstyle-card::before,
.archive-card::before,
.pathway-card::before {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: -2px;
  width: 5px;
  height: 22px;
  background: var(--color-arcade-coral);
  content: "";
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.review-card:hover,
.review-card:focus-within,
.playstyle-card:hover,
.playstyle-card:focus-within,
.archive-card:hover,
.archive-card:focus-within,
.pathway-card:hover,
.pathway-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hard);
}

.review-card:hover::before,
.review-card:focus-within::before,
.playstyle-card:hover::before,
.playstyle-card:focus-within::before,
.archive-card:hover::before,
.archive-card:focus-within::before,
.pathway-card:hover::before,
.pathway-card:focus-within::before {
  opacity: 1;
}

.review-card--lead {
  display: grid;
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.review-card__media {
  width: 100%;
  margin: 0;
}

.review-card--lead .review-card__media {
  height: 100%;
  aspect-ratio: auto;
  border: 0;
}

.review-card--lead .review-card__media img {
  object-position: center;
}

.review-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
}

.review-card__body h3,
.archive-card h3,
.playstyle-card h3,
.pathway-card h3 {
  margin: 0;
}

.review-card__body p {
  margin: 0;
}

.review-card__body > p:not(.meta) {
  color: var(--color-ink-muted);
}

.review-card__footer {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
}

.review-card__footer > * {
  min-width: 0;
}

.review-card__footer .score {
  padding: var(--space-2);
}

.review-card__footer .score__value {
  font-size: 1rem;
}

.review-card__placeholder,
.archive-card__media {
  display: grid;
  width: 100%;
  place-items: center;
  border-bottom: var(--border-standard);
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-ink-navy) 0 52%, var(--color-line-soft) 52% 54%, var(--color-ink-muted) 54% 100%);
  color: var(--color-surface-white);
  font-family: var(--font-heading);
  font-size: 2rem;
}

.review-card__placeholder--blue,
.archive-card__media--blue {
  background: linear-gradient(135deg, var(--color-pixel-blue) 0 52%, var(--color-line-soft) 52% 54%, var(--color-ink-navy) 54% 100%);
}

.archive-card__media--coral {
  background: linear-gradient(135deg, var(--color-arcade-coral) 0 52%, var(--color-line-soft) 52% 54%, var(--color-ink-navy) 54% 100%);
}

.reviews-ledger__header {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-6);
  align-items: end;
  margin-bottom: var(--space-5);
}

.reviews-ledger__header > * {
  min-width: 0;
}

.reviews-ledger__header h2,
.reviews-ledger__header p {
  margin: 0;
}

.reviews-ledger__header p {
  width: min(100%, 58ch);
  color: var(--color-ink-muted);
}

.reviews-ledger__table-wrap {
  border: var(--border-standard);
  background: var(--color-surface-white);
}

.reviews-ledger__table thead {
  background: var(--color-ink-navy);
  color: var(--color-surface-white);
}

.reviews-ledger__table th,
.reviews-ledger__table td {
  padding: var(--space-4);
}

.reviews-ledger__table th {
  font-family: var(--font-mono);
  font-size: var(--text-meta);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reviews-ledger__table th:nth-child(1) { width: 40%; }
.reviews-ledger__table th:nth-child(2) { width: 31%; }
.reviews-ledger__table th:nth-child(3) { width: 92px; text-align: center; }
.reviews-ledger__table th:nth-child(4) { width: 13%; }

.reviews-ledger__table tbody tr {
  border-bottom: var(--border-soft);
  transition: box-shadow var(--transition-fast);
}

.reviews-ledger__table tbody tr:last-child {
  border-bottom: 0;
}

.reviews-ledger__table tbody tr:hover,
.reviews-ledger__table tbody tr:focus-within {
  box-shadow: inset 4px 0 0 var(--color-arcade-coral);
}

.reviews-ledger__table td > a:first-child {
  display: block;
  font-weight: 800;
}

.reviews-ledger__table td > span:not(.tag):not(.score) {
  display: block;
  margin-top: var(--space-1);
  color: var(--color-ink-muted);
  font-size: var(--text-compact);
}

.reviews-ledger__table td p {
  margin: var(--space-2) 0 0;
  color: var(--color-ink-muted);
  font-size: var(--text-compact);
  line-height: var(--leading-compact);
}

.reviews-ledger__table td:nth-child(3) {
  text-align: center;
}

.reviews-ledger__table td:nth-child(3) .score {
  align-items: center;
  padding: var(--space-2);
}

.reviews-ledger__table .score__value {
  font-size: 1rem;
}

.reviews-playstyles__heading {
  width: min(100%, 54ch);
}

.reviews-playstyles__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.reviews-playstyles__grid > * {
  min-width: 0;
}

.playstyle-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
}

.playstyle-card p {
  margin: 0;
  color: var(--color-ink-muted);
}

.playstyle-card a {
  margin-top: auto;
  font-weight: 800;
}

.playstyle-card__icon,
.pathway-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  background: var(--color-ink-navy);
  color: var(--color-surface-white);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
}

.reviews-framework__panel {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: var(--space-7);
}

.reviews-framework__panel > * {
  min-width: 0;
}

.reviews-framework__intro p:last-child {
  width: min(100%, 62ch);
  color: var(--color-ink-muted);
}

.reviews-framework__lenses {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.framework-lens {
  display: grid;
  min-width: 0;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: var(--border-soft);
}

.framework-lens > * {
  min-width: 0;
}

.framework-lens:first-child {
  padding-top: 0;
  border-top: 0;
}

.framework-lens:last-child {
  padding-bottom: 0;
}

.framework-lens__number {
  color: var(--color-arcade-coral);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.framework-lens__number--blue {
  color: var(--color-pixel-blue);
}

.framework-lens p {
  width: min(100%, 64ch);
  margin: 0;
  color: var(--color-ink-muted);
}

.reviews-archive__heading {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.reviews-archive__heading > * {
  min-width: 0;
}

.reviews-archive__heading > div {
  flex: 1 1 32rem;
}

.reviews-archive__heading p {
  width: min(100%, 56ch);
  margin-bottom: 0;
  color: var(--color-ink-muted);
}

.reviews-archive__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.reviews-archive__grid > * {
  min-width: 0;
}

.archive-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.archive-card > div:last-child {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
}

.archive-card p {
  margin: 0;
}

.archive-card > div:last-child > p:not(.meta) {
  color: var(--color-ink-muted);
}

.archive-card > div:last-child > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
}

.archive-card > div:last-child > div > * {
  min-width: 0;
}

.archive-card .score {
  padding: var(--space-2);
}

.archive-card .score__value {
  font-size: 1rem;
}

.reviews-archive__action {
  margin-top: var(--space-6);
}

.reviews-pathways__heading {
  width: min(100%, 56ch);
}

.reviews-pathways__list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
}

.pathway-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 56px minmax(0, 1fr) minmax(9.375rem, auto);
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
}

.pathway-card > * {
  min-width: 0;
}

.pathway-card__icon {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.pathway-card p {
  width: min(100%, 48ch);
  margin: 0;
  color: var(--color-ink-muted);
}

.pathway-card .button {
  width: 100%;
}

.reviews-alert__panel {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-7);
  border: var(--border-featured);
  background: var(--color-ink-navy);
  box-shadow: var(--shadow-hard);
}

.reviews-alert__panel > * {
  min-width: 0;
}

.reviews-alert__copy h2,
.reviews-alert__copy p {
  color: var(--color-surface-white);
}

.reviews-alert__copy p {
  width: min(100%, 54ch);
}

.reviews-alert__form {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: end;
}

.reviews-alert__form > * {
  min-width: 0;
}

.reviews-alert__field {
  min-width: 0;
}

.reviews-alert__field label {
  color: var(--color-surface-white);
}

.reviews-alert__form button {
  min-width: 10.5rem;
}

.reviews-alert__feedback,
.reviews-alert__note {
  grid-column: 1 / -1;
}

.reviews-alert__feedback {
  min-height: 1.5rem;
  color: var(--color-surface-white);
  font-size: var(--text-compact);
  line-height: var(--leading-compact);
}

.reviews-alert__feedback[data-state="error"] {
  color: var(--color-focus-yellow);
}

.reviews-alert__feedback[data-state="success"] {
  color: var(--color-surface-white);
}

.reviews-alert__note {
  width: min(100%, 46ch);
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.reviews-close__panel > div {
  width: min(100%, 43.75rem);
}

.reviews-close__panel p:not(.reviews-eyebrow) {
  width: min(100%, 52ch);
  color: var(--color-ink-muted);
}

@media (max-width: 68.75rem) {
  .reviews-fresh__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .review-card--lead {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 63.75rem) {
  .reviews-feature__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-feature__intro,
  .reviews-feature__media,
  .reviews-feature__verdict {
    grid-column: 1;
    grid-row: auto;
  }

  .reviews-feature__intro {
    padding-bottom: var(--space-5);
  }

  .reviews-feature__media {
    aspect-ratio: 4 / 3;
  }

  .reviews-feature__verdict {
    padding-top: var(--space-5);
  }

  .reviews-framework__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 61.25rem) {
  .reviews-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 56.25rem) {
  .reviews-ledger__header {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
  }

  .reviews-ledger__table,
  .reviews-ledger__table tbody,
  .reviews-ledger__table tr,
  .reviews-ledger__table td {
    display: block;
    width: 100%;
  }

  .reviews-ledger__table thead {
    display: none;
  }

  .reviews-ledger__table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .reviews-ledger__table td {
    padding: 0;
  }

  .reviews-ledger__table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .reviews-ledger__table td:nth-child(3) {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .reviews-ledger__table td:nth-child(2),
  .reviews-ledger__table td:nth-child(4) {
    grid-column: 1 / -1;
  }

  .reviews-ledger__table td:nth-child(4) a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    font-weight: 800;
  }

  .pathway-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .pathway-card .button {
    grid-column: 2;
    width: fit-content;
  }

  .reviews-alert__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 38.75rem) {
  .reviews-page {
    padding-top: var(--space-6);
  }

  .reviews-page__section {
    margin-bottom: var(--space-8);
  }

  .reviews-masthead__panel,
  .reviews-framework__panel,
  .reviews-close__panel {
    padding: var(--space-5);
  }

  .reviews-masthead__lead {
    font-size: var(--text-lead);
  }

  .reviews-feature__intro,
  .reviews-feature__verdict {
    padding-right: var(--space-5);
    padding-left: var(--space-5);
  }

  .reviews-feature__intro h2 {
    font-size: clamp(1.875rem, 8vw, 2rem);
  }

  .reviews-feature__verdict {
    flex-direction: column;
  }

  .reviews-feature__score,
  .reviews-feature__action {
    width: 100%;
  }

  .reviews-feature__score {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .reviews-fresh__grid,
  .reviews-playstyles__grid,
  .reviews-archive__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .review-card--lead {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .review-card--lead .review-card__media {
    aspect-ratio: 4 / 3;
  }

  .review-card__body,
  .playstyle-card,
  .archive-card > div:last-child {
    padding: var(--space-4);
  }

  .reviews-section-heading,
  .reviews-playstyles__heading,
  .reviews-pathways__heading {
    margin-bottom: var(--space-5);
  }

  .framework-lens {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .reviews-archive__heading {
    margin-bottom: var(--space-5);
  }

  .pathway-card {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

  .pathway-card .button {
    grid-column: auto;
    width: 100%;
  }

  .reviews-alert__panel {
    padding: var(--space-5);
  }

  .reviews-alert__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-alert__form button {
    width: 100%;
  }
}

@media (max-width: 26.25rem) {
  .reviews-close__panel .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card,
  .playstyle-card,
  .archive-card,
  .pathway-card {
    transition: none;
  }

  .review-card:hover,
  .review-card:focus-within,
  .playstyle-card:hover,
  .playstyle-card:focus-within,
  .archive-card:hover,
  .archive-card:focus-within,
  .pathway-card:hover,
  .pathway-card:focus-within {
    transform: none;
  }
}
