.superfund-page-header {
  position: relative;
  overflow: hidden;
  padding-top: 95px;
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 84% 30%, rgba(213, 239, 103, .25) 0 90px, transparent 91px),
    linear-gradient(130deg, var(--hybrid-forest-dark) 0%, var(--hybrid-forest) 68%, #0b5c45 100%);
}

.superfund-page-header::after {
  content: "Q + A";
  position: absolute;
  right: max(5vw, 30px);
  bottom: -38px;
  color: rgba(255, 255, 255, .055);
  font-family: var(--hybrid-sans);
  font-size: clamp(110px, 17vw, 260px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.09em;
  pointer-events: none;
}

.superfund-page-header .container {
  position: relative;
  z-index: 1;
}

.superfund-page-header h1,
.superfund-page-header > .container > p {
  max-width: 800px;
}

.superfund-page-header .superfund-kicker {
  margin-bottom: 12px;
  color: var(--hybrid-lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.superfund-page-header .btn {
  margin-top: 14px;
  color: var(--hybrid-forest-dark);
  background: var(--hybrid-lime);
  border-color: var(--hybrid-lime);
}

.superfund-game {
  padding: 90px 0 100px;
  background: var(--hybrid-paper);
}

.superfund-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}

.superfund-eyebrow {
  margin-bottom: 8px;
  color: var(--hybrid-forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.superfund-intro h2,
.superfund-article-header h2,
.match-complete h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
}

.superfund-instructions {
  padding-left: 24px;
  border-left: 3px solid var(--hybrid-lime);
}

.superfund-instructions p {
  margin: 0;
}

.match-dashboard {
  display: grid;
  grid-template-columns: 140px 120px 120px minmax(240px, 1fr);
  border: 1px solid var(--hybrid-rule);
  background: rgba(255, 255, 255, .58);
}

.match-stat,
.match-progress-wrap {
  min-height: 88px;
  padding: 17px 22px;
  border-right: 1px solid var(--hybrid-rule);
}

.match-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.match-stat-label,
.match-progress-label {
  color: rgba(17, 21, 18, .68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.match-stat strong {
  color: var(--hybrid-forest);
  font-size: 24px;
  line-height: 1.2;
}

.match-progress-wrap {
  border-right: 0;
}

.match-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
}

.match-progress {
  height: 12px;
  overflow: hidden;
  background: var(--hybrid-paper-deep);
}

.match-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--hybrid-forest);
  transition: width .35s ease;
}

.match-status {
  min-height: 58px;
  margin: 22px 0;
  padding: 16px 20px;
  color: var(--hybrid-white);
  background: var(--hybrid-forest);
  font-weight: 600;
  text-align: center;
}

.matching-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.match-column {
  padding: 25px;
  background: rgba(255, 255, 255, .44);
  border: 1px solid var(--hybrid-rule);
}

.match-column-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--hybrid-rule);
}

.match-column-heading span {
  color: var(--hybrid-forest);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.match-column-heading h3 {
  margin: 0;
  font-size: 30px;
}

.match-card-grid {
  display: grid;
  gap: 12px;
}

.match-scroll-hint {
  display: none;
}

.match-card {
  position: relative;
  width: 100%;
  min-height: 134px;
  overflow: hidden;
  padding: 18px 18px 20px;
  color: var(--hybrid-ink);
  background: var(--hybrid-white);
  border: 2px solid transparent;
  border-radius: 0;
  box-shadow: 0 6px 14px rgba(17, 21, 18, .07);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .25s ease;
}

.match-card:not(:disabled):hover {
  transform: translateY(-2px);
  border-color: var(--hybrid-forest);
  box-shadow: 0 10px 20px rgba(17, 21, 18, .12);
}

.match-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(17, 21, 18, .14);
  color: var(--hybrid-forest);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.match-card-meta strong {
  font-size: 13px;
}

.match-card-copy {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.match-card--answer {
  background: #eef4ed;
}

.match-card.is-selected {
  border-color: var(--hybrid-forest);
  box-shadow: inset 7px 0 0 var(--hybrid-lime), 0 10px 20px rgba(17, 21, 18, .14);
}

.match-card.is-matched {
  color: var(--hybrid-forest-dark);
  background: var(--hybrid-lime);
  border-color: var(--hybrid-forest);
  box-shadow: none;
  opacity: .64;
}

.match-card.is-matched::after {
  content: "Matched ✓";
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.match-card.is-incorrect {
  border-color: #a73425;
  background: #fff0ed;
  animation: match-shake .36s ease;
}

@keyframes match-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.match-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.match-actions .btn {
  min-width: 180px;
}

.match-actions .btn:disabled {
  cursor: not-allowed;
  opacity: .46;
}

.match-reset {
  padding: 10px 0;
  color: var(--hybrid-forest);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hybrid-forest);
  font-weight: 700;
  cursor: pointer;
}

.match-reset i {
  margin-right: 8px;
}

.match-complete {
  margin-top: 44px;
  padding: 50px;
  color: var(--hybrid-white);
  background: var(--hybrid-forest-dark);
  text-align: center;
}

.match-complete .superfund-eyebrow {
  color: var(--hybrid-lime);
}

.match-complete h2 {
  max-width: 820px;
  margin: 0 auto 18px;
  color: var(--hybrid-white);
}

.match-complete-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 24px;
}

.match-complete-actions a {
  color: var(--hybrid-lime);
  font-weight: 700;
}

.superfund-article {
  padding: 100px 0;
  background: var(--hybrid-white);
}

.superfund-article-header {
  margin-bottom: 42px;
}

.superfund-article-header .superfund-standfirst {
  margin-top: 24px;
  font-family: var(--hybrid-serif);
  font-size: 25px;
  line-height: 1.4;
}

.superfund-feature-image {
  margin: 0 0 46px;
}

.superfund-feature-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.superfund-feature-image figcaption {
  padding: 10px 0;
  color: rgba(17, 21, 18, .7);
  border-bottom: 1px solid var(--hybrid-rule);
  font-size: 13px;
}

.superfund-article h2:not(.superfund-article-header h2):not(.match-complete h2) {
  margin-top: 46px;
  font-size: 38px;
}

.superfund-fact-panel {
  margin: 50px 0;
  padding: 34px;
  background: var(--hybrid-paper);
  border-top: 6px solid var(--hybrid-forest);
}

.superfund-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.superfund-facts div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.superfund-facts strong {
  color: var(--hybrid-forest);
  font-family: var(--hybrid-serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
}

.superfund-facts span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.superfund-debrief {
  margin-top: 55px;
  padding: 38px 40px;
  color: var(--hybrid-white);
  background: var(--hybrid-forest);
}

.superfund-debrief .superfund-eyebrow {
  color: var(--hybrid-lime);
}

.superfund-debrief h2 {
  margin: 0 0 24px !important;
  color: var(--hybrid-white);
}

.superfund-debrief ol {
  margin: 0;
  padding-left: 24px;
}

.superfund-debrief li {
  margin-bottom: 14px;
  padding-left: 8px;
}

.superfund-debrief li:last-child {
  margin-bottom: 0;
}

.superfund-source-note {
  margin-top: 28px;
  color: rgba(17, 21, 18, .68);
  font-size: 13px;
}

.superfund-back-link {
  display: inline-block;
  margin-left: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .superfund-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .match-dashboard {
    grid-template-columns: repeat(3, 1fr);
  }

  .match-progress-wrap {
    grid-column: 1 / -1;
    border-top: 1px solid var(--hybrid-rule);
  }

  .matching-board {
    grid-template-columns: 1fr;
  }

  .superfund-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .superfund-page-header {
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .superfund-game,
  .superfund-article {
    padding: 65px 0;
  }

  .match-stat,
  .match-progress-wrap {
    padding: 13px;
  }

  .match-column {
    padding: 14px;
  }

  .match-card-grid {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 3px;
    overscroll-behavior: contain;
  }

  .match-scroll-hint {
    display: block;
    margin: -4px 0 10px;
    color: rgba(17, 21, 18, .66);
    font-size: 12px;
    font-weight: 600;
  }

  .match-card {
    min-height: 0;
  }

  .match-actions,
  .match-complete-actions {
    flex-direction: column;
  }

  .match-actions {
    position: sticky;
    z-index: 4;
    bottom: 0;
    gap: 8px;
    margin-top: 18px;
    padding: 14px;
    background: rgba(243, 240, 233, .96);
    border-top: 1px solid var(--hybrid-rule);
    box-shadow: 0 -8px 18px rgba(17, 21, 18, .08);
  }

  .match-actions .btn {
    width: 100%;
  }

  .match-complete {
    padding: 36px 20px;
  }

  .superfund-fact-panel,
  .superfund-debrief {
    padding: 28px 22px;
  }

  .superfund-facts {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
  }

  .superfund-back-link {
    display: block;
    width: max-content;
    margin: 24px auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-card,
  .match-progress span {
    transition: none;
  }

  .match-card.is-incorrect {
    animation: none;
  }
}
