.page-products {
  --pp-line: rgba(232, 181, 74, 0.18);
  --pp-line-strong: rgba(232, 181, 74, 0.42);
  --pp-panel: rgba(36, 20, 54, 0.84);
  --pp-shadow: 0 18px 40px rgba(11, 7, 19, 0.38);
}

.page-products [id] {
  scroll-margin-top: calc(var(--bar-h) + 1rem);
}

.page-products .hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.page-products .hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.page-products .hero-copy h1 {
  margin: 0.75rem 0 1rem;
  max-width: 12em;
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.page-products .hero-copy .lede {
  max-width: 34em;
  color: var(--muted);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.page-products .hero-note {
  margin-top: 1.1rem;
  max-width: 30em;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-products .line-wall {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 0%, rgba(232, 181, 74, 0.14), transparent 46%),
    var(--ink-2);
}

.page-products .wall-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.8) contrast(1.08);
  pointer-events: none;
}

.page-products .line-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 198px;
  padding: 1.05rem;
  overflow: hidden;
  border: 1px solid var(--pp-line);
  border-radius: 28px 14px 22px 16px;
  background:
    linear-gradient(155deg, rgba(36, 20, 54, 0.94), rgba(21, 11, 36, 0.9));
  box-shadow: var(--pp-shadow);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.page-products .line-card::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(232, 181, 74, 0.12);
}

.page-products .line-card:nth-child(3n + 1) {
  border-radius: 18px 30px 16px 24px;
}

.page-products .line-card:nth-child(3n + 2) {
  border-radius: 30px 18px 26px 14px;
}

.page-products .line-card:nth-child(2),
.page-products .line-card:nth-child(5) {
  min-height: 230px;
}

.page-products .line-card:hover {
  transform: translateY(-2px);
  border-color: var(--pp-line-strong);
  box-shadow:
    0 0 0 1px rgba(232, 181, 74, 0.16),
    0 22px 48px rgba(11, 7, 19, 0.46);
}

.page-products .line-card h2 {
  margin: 0.1rem 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ivory);
}

.page-products .line-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .line-card .line-card__scene {
  color: var(--sand);
  font-size: 0.84rem;
}

.page-products .line-card__link {
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
}

.page-products .line-card__link:hover {
  color: var(--gold-hi);
}

.page-products .lines-section {
  border-top: 1px solid rgba(185, 174, 203, 0.12);
}

.page-products .lines-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.page-products .line-entry {
  display: grid;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--pp-line);
}

.page-products .line-entry:first-child {
  border-top: 0;
  padding-top: 0.5rem;
}

.page-products .line-entry h3 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.4;
  color: var(--ivory);
}

.page-products .line-entry p {
  margin: 0 0 0.7rem;
  max-width: 38em;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .line-entry .line-entry__path {
  margin-bottom: 0.7rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.page-products .line-entry__figure {
  margin: 0;
}

.page-products .line-entry__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px 10px 18px 14px;
}

.page-products .aside-links {
  align-self: start;
  padding: 1.2rem;
  border: 1px solid var(--pp-line);
  border-radius: 20px 12px 18px 10px;
  background: var(--ink-2);
}

.page-products .aside-links__title {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory);
}

.page-products .aside-links ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .aside-links a {
  display: block;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(232, 181, 74, 0.22);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  text-decoration: none;
}

.page-products .aside-links a:hover {
  color: var(--gold);
}

.page-products .level-tabs {
  margin-top: 1.5rem;
}

.page-products .level-tabs .tabs__list {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.page-products .tabs__tab {
  flex: 0 0 auto;
  padding: 0.62rem 1rem;
  border: 1px solid var(--pp-line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.86rem;
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.page-products .tabs__tab[aria-selected="true"] {
  border-color: transparent;
  background: var(--grad-gold);
  color: var(--ink-900);
}

.page-products .tabs__tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-products .level-tabs .tabs__panel {
  margin-top: 1.15rem;
  padding: 1.3rem;
  border: 1px solid var(--pp-line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 181, 74, 0.08), transparent 40%),
    var(--ink-2);
}

.page-products .level-meter {
  height: 6px;
  margin-bottom: 1.15rem;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(245, 239, 227, 0.1);
}

.page-products .level-meter__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.page-products .level-meter__fill--q1 {
  width: 25%;
}

.page-products .level-meter__fill--q2 {
  width: 50%;
}

.page-products .level-meter__fill--q3 {
  width: 75%;
}

.page-products .level-meter__fill--q4 {
  width: 100%;
}

.page-products .level-panel {
  display: grid;
  gap: 1.2rem;
}

.page-products .level-panel h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ivory);
}

.page-products .level-panel p {
  margin: 0;
  max-width: 38em;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .level-panel ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .level-panel li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--sand);
}

.page-products .level-panel li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green);
}

.page-products .timeline-section {
  position: relative;
  overflow: hidden;
}

.page-products .timeline-banner {
  margin: 1.5rem 0;
  border-radius: var(--radius);
}

.page-products .timeline-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 3;
  object-fit: cover;
}

.page-products .timeline-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.35rem 0.2rem 1.4rem;
  scroll-snap-type: x mandatory;
}

.page-products .phase {
  flex: 0 0 86%;
  max-width: 370px;
  scroll-snap-align: start;
  padding: 1.1rem;
  border: 1px solid var(--pp-line);
  border-radius: 20px 12px 18px 10px;
  background: var(--pp-panel);
}

.page-products .phase summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.65rem;
  align-items: baseline;
  cursor: pointer;
  list-style: none;
}

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

.page-products .phase__stage {
  grid-column: 1;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--clay);
}

.page-products .phase__ver {
  grid-column: 1;
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-products .phase__title {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 1.03rem;
  line-height: 1.5;
  color: var(--ivory);
}

.page-products .phase__changes {
  display: grid;
  gap: 0.55rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .phase__changes li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .phase__changes li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--clay);
}

.page-products .timeline-foot {
  max-width: 42em;
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .handoff-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: center;
}

.page-products .handoff-copy h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.24rem;
  color: var(--ivory);
}

.page-products .handoff-copy p {
  margin: 0 0 0.9rem;
  max-width: 38em;
  font-size: 0.96rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .handoff-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.page-products .device-chip {
  padding: 0.55rem 0.8rem;
  border: 1px dashed var(--pp-line-strong);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-products .handoff-line {
  flex: 1 1 38px;
  min-width: 38px;
  border-top: 1px dashed var(--gold);
}

.page-products .handoff-figure {
  margin: 0;
}

.page-products .handoff-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.page-products .paths-section {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.page-products .path-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-products .path-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.35rem;
  border: 1px solid var(--pp-line);
  border-radius: 18px 28px 14px 22px;
  background:
    linear-gradient(160deg, rgba(36, 20, 54, 0.9), rgba(21, 11, 36, 0.86));
}

.page-products .path-card:nth-child(2) {
  border-radius: 28px 16px 24px 12px;
}

.page-products .path-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ivory);
}

.page-products .path-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .path-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.page-products .figure img {
  max-width: 100%;
  height: auto;
}

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

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

@media (min-width: 820px) {
  .page-products .line-entry {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    align-items: center;
    gap: 1.6rem;
  }

  .page-products .line-entry:nth-child(even) .line-entry__figure {
    order: -1;
  }

  .page-products .level-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-products .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 2.5rem;
  }

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

  .page-products .line-card:nth-child(2) {
    margin-top: 26px;
  }

  .page-products .line-card:nth-child(5) {
    margin-top: 18px;
  }

  .page-products .handoff-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.4rem;
  }

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

@media (min-width: 1024px) {
  .page-products .lines-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: start;
  }

  .page-products .aside-links {
    position: sticky;
    top: calc(var(--bar-h) + 1.5rem);
  }
}

@media (min-width: 1180px) {
  .page-products .hero-copy h1 {
    font-size: clamp(3rem, 4.2vw, 3.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .line-card,
  .page-products .tabs__tab {
    transition: none;
  }

  .page-products .line-card:hover {
    transform: none;
  }
}
<<<END>>>
