.page-products {
  --pp-gap: clamp(20px, 3vw, 44px);
  --pp-sheet-shadow: 6px 6px 0 rgba(6, 22, 15, .38);
  background:
    radial-gradient(120% 70% at 82% -8%, rgba(200, 255, 61, .13), transparent 62%),
    var(--pitch-900);
  color: var(--cream-100);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-products .pp-crumb {
  padding-top: clamp(16px, 3vw, 28px);
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
}

.page-products .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-dark);
}

.page-products .breadcrumb a {
  color: var(--mist-200);
  text-decoration: none;
}

.page-products .breadcrumb a:hover,
.page-products .breadcrumb a:focus-visible {
  color: var(--lime-400);
}

.page-products .breadcrumb [aria-current="page"] {
  color: var(--lime-400);
}

/* ---------- hero ---------- */
.page-products .pp-hero {
  padding: clamp(24px, 4vw, 44px) 0 clamp(38px, 6vw, 80px);
}

.page-products .pp-scorebar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-bottom: clamp(28px, 4vw, 52px);
}

.page-products .pp-score {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: var(--pitch-950);
  min-width: 0;
}

.page-products .pp-score-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--mist-200);
  text-transform: uppercase;
}

.page-products .pp-score-val {
  font-family: var(--font-mono);
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--lime-400);
  letter-spacing: -.01em;
}

.page-products .pp-kicker {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ember-500);
}

.page-products h1 {
  margin: 0 0 22px;
  max-width: 17ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 7.4vw, 84px);
  line-height: 1.03;
  letter-spacing: -.03em;
  color: var(--cream-100);
}

.page-products .pp-lead {
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--mist-200);
}

.page-products .pp-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .pp-jump a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--line-lime);
  color: var(--lime-300);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-decoration: none;
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.page-products .pp-jump a:hover,
.page-products .pp-jump a:focus-visible {
  background: var(--lime-400);
  color: var(--pitch-950);
}

/* ---------- section frame ---------- */
.page-products .pp-sec {
  padding: clamp(44px, 7vw, 96px) 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 96px;
}

.page-products .pp-sec-head {
  max-width: 54ch;
  margin-bottom: clamp(26px, 4vw, 50px);
}

.page-products .pp-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.page-products h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(25px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--cream-100);
}

.page-products h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  color: var(--cream-100);
}

.page-products .pp-text {
  margin: 0 0 14px;
  max-width: 64ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist-200);
}

.page-products .pp-note {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--mist-200);
  opacity: .8;
}

.page-products .pp-links {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.page-products .pp-links a {
  color: var(--lime-400);
  text-decoration: none;
  border-bottom: 1px solid var(--line-lime);
  padding-bottom: 2px;
}

.page-products .pp-links a:hover,
.page-products .pp-links a:focus-visible {
  color: var(--lime-300);
  border-bottom-color: var(--lime-300);
}

/* ---------- module sheets ---------- */
.page-products .pp-mods {
  display: grid;
  gap: 12px;
}

.page-products .pp-mod {
  background: var(--cream-100);
  color: var(--ink-900);
  border: 1px solid rgba(26, 20, 16, .18);
  box-shadow: var(--pp-sheet-shadow);
}

.page-products .pp-mod:nth-child(even) {
  transform: translateX(clamp(0px, 1.4vw, 16px));
}

.page-products .pp-mod summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.page-products .pp-mod summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-mod summary:focus-visible {
  outline: 2px solid var(--lime-400);
  outline-offset: 3px;
}

.page-products .pp-mod[open] summary {
  border-bottom: 1px solid rgba(26, 20, 16, .16);
}

.page-products .pp-mod-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ember-600);
}

.page-products .pp-mod-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: -.01em;
}

.page-products .pp-mod-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(26, 20, 16, .55);
  text-align: right;
}

.page-products .pp-mod-hint::after {
  content: " ▾";
}

.page-products .pp-mod[open] .pp-mod-hint::after {
  content: " ▴";
}

.page-products .pp-mod-body {
  padding: 14px 18px 20px;
  font-size: 14px;
  line-height: 1.75;
}

.page-products .pp-mod-body p {
  margin: 0 0 10px;
}

.page-products .pp-mod-body ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(26, 20, 16, .78);
}

.page-products .pp-mod-body li {
  margin-bottom: 6px;
}

.page-products .pp-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-products .pp-stage {
  padding: 6px 16px;
  border: 1px dashed var(--line-lime);
  color: var(--lime-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-products .pp-stage.is-current {
  background: var(--lime-400);
  border-color: transparent;
  border-style: solid;
  color: var(--pitch-950);
  font-weight: 700;
}

/* ---------- split layouts ---------- */
.page-products .pp-split {
  display: grid;
  gap: var(--pp-gap);
  align-items: start;
}

.page-products .pp-split-main {
  min-width: 0;
}

.page-products .pp-split-aside {
  min-width: 0;
}

.page-products .pp-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-products .pp-points li {
  padding-left: 18px;
  border-left: 2px solid var(--line-lime);
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist-200);
}

.page-products .pp-points strong {
  display: block;
  margin-bottom: 2px;
  color: var(--lime-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 600;
}

/* ---------- figures ---------- */
.page-products .pp-figure {
  margin: 0;
}

.page-products .pp-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-dark);
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
}

.page-products .pp-figure--tall img {
  aspect-ratio: 9 / 14;
}

.page-products .pp-figure--wide img {
  aspect-ratio: 16 / 9;
}

.page-products .pp-figure--four img {
  aspect-ratio: 4 / 3;
}

.page-products .pp-figure--slim {
  margin-top: clamp(26px, 4vw, 44px);
}

.page-products .pp-figure--slim img {
  aspect-ratio: 2 / 1;
}

.page-products .pp-figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mist-200);
}

/* ---------- match cards ---------- */
.page-products .pp-matches {
  position: relative;
  padding: clamp(20px, 3.4vw, 44px);
  background: var(--pitch-950);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}

.page-products .pp-matches-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
  z-index: 0;
}

.page-products .pp-match-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.page-products .pp-match {
  background: rgba(11, 36, 24, .88);
  border: 1px solid var(--line-lime);
}

.page-products .pp-match summary {
  display: grid;
  gap: 8px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.page-products .pp-match summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-match summary:focus-visible {
  outline: 2px solid var(--lime-400);
  outline-offset: -2px;
}

.page-products .pp-tag {
  justify-self: start;
  padding: 3px 12px;
  background: var(--ember-500);
  color: var(--pitch-950);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.page-products .pp-match-time {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--lime-400);
}

.page-products .pp-match-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.4;
  color: var(--cream-100);
}

.page-products .pp-match-body {
  padding: 0 18px 18px;
}

.page-products .pp-match-body dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-products .pp-match-body dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--lime-300);
  margin-bottom: 3px;
}

.page-products .pp-match-body dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist-200);
}

/* ---------- calendar filter preview ---------- */
.page-products .pp-filter-wrap {
  display: grid;
  gap: var(--pp-gap);
}

.page-products .pp-filter {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2.6vw, 26px);
  background: var(--pitch-950);
  border: 1px solid var(--line-dark);
}

.page-products .pp-filter-label {
  margin: 0 0 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mist-200);
}

.page-products .pp-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .pp-chip {
  padding: 6px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 13px;
  color: var(--mist-200);
}

.page-products .pp-chip.is-on {
  background: var(--lime-400);
  border-color: var(--lime-400);
  color: var(--pitch-950);
  font-weight: 700;
}

/* ---------- home / away bars ---------- */
.page-products .pp-bars {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.page-products .pp-bar-row {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--pitch-950);
  border: 1px solid var(--line-dark);
}

.page-products .pp-bar-row:focus-visible {
  outline: 2px solid var(--lime-400);
  outline-offset: 3px;
}

.page-products .pp-bar-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist-200);
}

.page-products .pp-bar-track {
  height: 12px;
  background: rgba(185, 200, 189, .12);
  overflow: hidden;
}

.page-products .pp-bar-fill {
  display: block;
  height: 100%;
  width: var(--pp-w, 50%);
  background: var(--lime-400);
  transition: width .5s var(--ease);
}

.page-products .pp-bar-fill--away {
  background: var(--ember-500);
}

.page-products .pp-bar-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-100);
  opacity: 0;
  transition: opacity .22s var(--ease);
}

.page-products .pp-bar-row:hover .pp-bar-val,
.page-products .pp-bar-row:focus-visible .pp-bar-val,
.page-products .pp-bar-row:focus-within .pp-bar-val {
  opacity: 1;
}

.page-products .pp-readcard {
  padding: clamp(16px, 2.6vw, 26px);
  background: var(--pitch-800);
  border: 1px solid var(--line-lime);
}

.page-products .pp-readcard-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime-400);
}

.page-products .pp-steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist-200);
}

.page-products .pp-steps strong {
  color: var(--cream-100);
}

/* ---------- paper section ---------- */
.page-products .pp-sec--paper {
  background: var(--cream-100);
  color: var(--ink-900);
  border-top-color: rgba(26, 20, 16, .2);
}

.page-products .pp-sec--paper h2 {
  color: var(--ink-900);
}

.page-products .pp-sec--paper .pp-eyebrow {
  color: var(--ember-600);
}

.page-products .pp-sec--paper .pp-text {
  color: rgba(26, 20, 16, .78);
}

.page-products .pp-updates {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-products .pp-flow {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 2px solid rgba(26, 20, 16, .22);
}

.page-products .pp-flow li {
  position: relative;
  padding: 0 0 26px;
}

.page-products .pp-flow li:last-child {
  padding-bottom: 0;
}

.page-products .pp-flow li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ember-500);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, .18);
}

.page-products .pp-flow-time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--ember-600);
}

.page-products .pp-flow-title {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-900);
}

.page-products .pp-flow-text {
  margin: 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(26, 20, 16, .75);
}

.page-products .pp-proof {
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(26, 20, 16, .2);
  box-shadow: var(--pp-sheet-shadow);
}

.page-products .pp-proof-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink-900);
}

.page-products .pp-proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pp-proof-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(26, 20, 16, .82);
}

.page-products .pp-proof-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream-100);
  background: var(--pitch-900);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.page-products .pp-proof-foot {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 20, 16, .18);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(26, 20, 16, .68);
}

.page-products .pp-sec--paper .pp-figure figcaption {
  color: rgba(26, 20, 16, .6);
}

.page-products .pp-sec--paper .pp-figure img {
  border-color: rgba(26, 20, 16, .22);
}

/* ---------- scenes ---------- */
.page-products .pp-scenes {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.page-products .pp-scene {
  padding: 18px;
  background: var(--pitch-950);
  border: 1px solid var(--line-dark);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 0 100%);
}

.page-products .pp-scene ol {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist-200);
}

.page-products .pp-scene li {
  margin-bottom: 4px;
}

.page-products .pp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .pp-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--lime-400);
  color: var(--pitch-950);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.page-products .pp-btn:hover,
.page-products .pp-btn:focus-visible {
  background: var(--lime-300);
}

.page-products .pp-btn--ghost {
  background: transparent;
  color: var(--lime-300);
  border: 1px solid var(--line-lime);
}

.page-products .pp-btn--ghost:hover,
.page-products .pp-btn--ghost:focus-visible {
  background: var(--lime-400);
  color: var(--pitch-950);
  border-color: var(--lime-400);
}

/* ---------- responsive ---------- */
@media (min-width: 560px) {
  .page-products .pp-mod summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: baseline;
  }

  .page-products .pp-mod-hint {
    display: block;
  }

  .page-products .pp-scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .page-products .pp-scorebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .pp-filter-wrap {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: stretch;
  }

  .page-products .pp-filter {
    align-content: center;
  }

  .page-products .pp-updates {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
  }

  .page-products .pp-mods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-products .pp-mod:nth-child(even) {
    transform: translateX(0);
  }
}

@media (min-width: 900px) {
  .page-products .pp-split {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(30px, 4.4vw, 68px);
  }

  .page-products .pp-split--reverse {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }

  .page-products .pp-match-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .pp-match:nth-child(2) {
    margin-top: 44px;
  }

  .page-products .pp-match:nth-child(3) {
    margin-top: 88px;
  }

  .page-products .pp-scenes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .page-products .pp-mods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .pp-mod:nth-child(4n + 2) {
    transform: translateX(26px);
  }

  .page-products .pp-mod:nth-child(4n + 3) {
    transform: translateX(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-jump a,
  .page-products .pp-bar-fill,
  .page-products .pp-bar-val,
  .page-products .pp-btn {
    transition: none;
  }
}

.page-products {
  --pp-w: var(--pp-gap);
}
