.page-products {
  --pp-gap: clamp(18px, 3vw, 36px);
  --pp-arena-line: rgba(244, 235, 221, .18);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
}

.page-products .mono {
  font-family: var(--font-mono);
}

.page-products .hero {
  padding: calc(var(--header-clear) + 4px) 0 clamp(40px, 6vw, 84px);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 74%, var(--cream-2) 100%);
}

.page-products .hero__grid {
  display: grid;
  gap: var(--pp-gap);
  align-items: end;
}

.page-products .hero .breadcrumb {
  margin-bottom: 18px;
}

.page-products .hero h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -.01em;
}

.page-products .hero__lead {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--steel);
}

.page-products .hero__facts {
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--mist);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
}

.page-products .hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 88px;
}

.page-products .hero__num {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--fox);
  line-height: 1.1;
}

.page-products .hero__fact-label {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel);
}

.page-products .hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .hero__actions .btn {
  min-height: 44px;
}

.page-products .hero__visual {
  position: relative;
  margin: 0;
  min-width: 0;
}

.page-products .hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--arena);
  clip-path: polygon(0 0, 100% 0, 100% 91%, 4% 100%);
}

.page-products .hero__matrix {
  position: absolute;
  left: 0;
  bottom: 6%;
  max-width: 84%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  background: rgba(14, 26, 36, .94);
  border: 1px solid var(--pp-arena-line);
}

.page-products .pill {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  padding: 6px 9px;
  color: var(--cream);
  border: 1px solid var(--pp-arena-line);
  white-space: nowrap;
}

.page-products .pill.is-on {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--arena);
}

.page-products .band {
  padding: clamp(46px, 7vw, 92px) 0;
}

.page-products .band--paper {
  background: var(--cream-2);
}

.page-products .band--arena {
  background: var(--arena);
  color: var(--cream);
}

.page-products .band__head {
  max-width: 780px;
}

.page-products .band__note {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--steel);
}

.page-products .band--arena .band__note {
  color: rgba(244, 235, 221, .78);
}

.page-products .band--arena .section-title {
  color: var(--cream);
}

.page-products .band__tail {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--steel);
}

.page-products .text-link {
  color: var(--fox);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.page-products .text-link:hover {
  color: var(--brown);
}

.page-products .taxonomy {
  margin-top: 34px;
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.page-products .taxonomy__tree {
  min-width: 0;
  padding: 18px 14px 12px;
  background: var(--cream);
  border: 1px solid var(--mist);
}

.page-products .tree-svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .tree-svg .node {
  fill: var(--arena);
}

.page-products .tree-svg .node-label {
  fill: var(--cream);
  font-family: var(--font-mono);
  font-size: 14px;
}

.page-products .tree-svg .leaf {
  fill: none;
  stroke: var(--steel);
  stroke-width: 1.2;
}

.page-products .tree-svg .leaf-label {
  fill: var(--ink);
  font-family: var(--font-body);
  font-size: 12.5px;
}

.page-products .tree-svg .stem {
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.5;
}

.page-products .taxonomy__cap {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--steel);
}

.page-products .taxonomy__list {
  margin: 0;
}

.page-products .taxonomy__list dt {
  padding-left: 12px;
  border-left: 3px solid var(--fox);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.page-products .taxonomy__list dd {
  margin: 8px 0 22px;
  padding-left: 15px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--steel);
}

.page-products .taxonomy__list dd:last-child {
  margin-bottom: 0;
}

.page-products .find-grid {
  margin-top: 34px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .find-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px 20px;
  background: var(--cream);
  border: 1px solid var(--mist);
  min-width: 0;
}

.page-products .find-card__num {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--fox);
}

.page-products .find-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .01em;
}

.page-products .find-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--steel);
}

.page-products .figure {
  margin: 0;
  min-width: 0;
}

.page-products .figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .find-figure,
.page-products .process-figure,
.page-products .scenes-figure {
  margin-top: 34px;
}

.page-products .library {
  margin-top: 30px;
  display: grid;
  gap: 24px;
}

.page-products .library .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .library .filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(244, 235, 221, .32);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.page-products .library .filter-btn:hover {
  border-color: var(--neon);
  transform: translateY(-2px);
}

.page-products .library .filter-btn[aria-pressed="true"] {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--arena);
}

.page-products .filter-count {
  font-size: 11px;
  opacity: .72;
}

.page-products .library__list {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .clip {
  position: relative;
  min-width: 0;
  padding: 16px 16px 18px;
  background: rgba(244, 235, 221, .05);
  border: 1px solid var(--pp-arena-line);
}

.page-products .clip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--fox);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.page-products .clip:hover::before {
  transform: scaleX(1);
}

.page-products .clip.is-filtered-out {
  display: none;
}

.page-products .clip__meta {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--sand);
}

.page-products .clip h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--cream);
}

.page-products .clip__desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(244, 235, 221, .66);
}

.page-products .adapt {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
}

.page-products .adapt__body {
  min-width: 0;
}

.page-products .adapt__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .adapt__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--steel);
}

.page-products .adapt__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--fox);
}

.page-products .adapt__tail {
  margin-top: 20px;
  padding-left: 20px;
  border-left: 2px solid var(--sand);
  font-size: 15px;
}

.page-products .adapt__figure {
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--mist);
}

.page-products .timeline {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-products .timeline__item {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--mist);
  min-width: 0;
}

.page-products .timeline__item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--fox);
}

.page-products .timeline__key {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--fox);
}

.page-products .timeline__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.page-products .timeline__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--steel);
}

.page-products .process {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .process__step {
  padding: 16px 14px 18px;
  background: var(--cream);
  border: 1px solid var(--mist);
  border-top: 3px solid var(--ink);
  min-width: 0;
}

.page-products .process__num {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--fox);
}

.page-products .process__step h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.page-products .process__step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-products .scenes {
  margin-top: 32px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .scene {
  padding: 18px 16px 20px;
  background: var(--cream);
  border-top: 3px solid var(--fox);
  min-width: 0;
}

.page-products .scene h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
}

.page-products .scene p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--steel);
}

.page-products .start {
  padding: clamp(46px, 7vw, 88px) 0;
  background: linear-gradient(112deg, var(--brown) 0%, var(--arena) 62%, #14283a 100%);
  color: var(--cream);
}

.page-products .start__inner {
  display: grid;
  gap: 22px;
}

.page-products .start__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -.01em;
}

.page-products .start__lead {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 235, 221, .78);
}

.page-products .start__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .start__actions .btn {
  min-height: 44px;
}

@media (min-width: 640px) {
  .page-products .library__list {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .scenes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .page-products .find-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 860px) {
  .page-products .adapt {
    grid-template-columns: 1.08fr .92fr;
  }
}

@media (min-width: 900px) {
  .page-products .taxonomy {
    grid-template-columns: 1.05fr .95fr;
  }

  .page-products .library {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 34px;
  }

  .page-products .library .filter-bar {
    position: sticky;
    top: calc(var(--header-clear) + 10px);
    align-self: start;
    flex-direction: column;
    align-items: stretch;
  }

  .page-products .library .filter-btn {
    justify-content: space-between;
  }
}

@media (min-width: 940px) {
  .page-products .hero__grid {
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(28px, 4vw, 56px);
  }
}

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

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

  .page-products .start__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
