/* Products overview: the range in the hero, four product panels, the step-up ladder. */

/* hero: all four on one ground line */
.pr-range { margin: 0; padding: clamp(18px, 2.4vw, 36px) clamp(10px, 1.6vw, 24px); border: 1px solid var(--line); border-radius: 8px;
  background: radial-gradient(rgba(244, 247, 213, 0.07) 1px, transparent 1.3px) 0 0 / 22px 22px, var(--deep); }
.pr-range svg { max-height: none; }
.pgh--wide .pgh__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

/* the proof strip is words, not figures: a smaller line so each phrase stays whole */
.figwords .figband .figures dt { font-size: clamp(22px, 1.9vw, 32px); line-height: 1.1; letter-spacing: -0.025em; }
.figwords .figband .figures dd:empty { display: none; }
.figwords .figband .figures dt { white-space: normal; }

/* four panels: three across, the lead product across the full width under them */
.pr-lineup { margin-top: clamp(40px, 5vw, 72px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pr-lineup .pp { grid-template-rows: auto 1fr; color: var(--cream); --muted: rgba(244, 247, 213, 0.7); }
.pr-lineup .pp--feature { color: var(--green); --muted: rgba(2, 39, 31, 0.74); grid-template-rows: none; }
.pr-lineup .pp__art { display: grid; place-items: end center; min-height: 190px; }
.pr-lineup .pp__art svg { max-height: 200px; }
.pr-lineup .pp--feature .pp__art { min-height: 0; }
.pr-lineup .pp--feature .pp__art svg { max-height: 380px; }
.pr-lineup .pp__text { align-content: start; }
.pr-lineup .pp__text .link { margin-top: auto; }
.pr-lineup .pp__text { grid-template-rows: auto auto 1fr auto; }
.pr-lineup .pp h3 { font-size: clamp(28px, 2.6vw, 40px); }
.pr-lineup .pp__spec { line-height: 1.5; }
.pr-lineup .pp--feature .rich strong { color: var(--green); }
.pr-lineup .pp--feature h3 { font-size: clamp(36px, 4vw, 64px); }

/* step up: four sentences, each a step higher on the bar */
.stepup { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.stepup li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) 44px; gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); }
.stepup__bar { position: relative; height: 10px; border-radius: 2px; background: rgba(2, 39, 31, 0.07); overflow: hidden; }
.stepup__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--k) * 25%); background: var(--green); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease) calc(var(--delay, 0) * 1ms + 0.15s); }
.stepup li:last-child .stepup__bar::after { background: #8f9c12; }
.stepup li.is-in .stepup__bar::after, html:not(.js) .stepup__bar::after { transform: none; }
.stepup p { font-size: clamp(20px, 1.9vw, 28px); font-weight: 300; line-height: 1.25; letter-spacing: -0.02em; max-width: 46ch; }
.stepup strong { font-weight: 500; }
.stepup__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; background: rgba(2, 39, 31, 0.06); color: var(--green); transition: background-color 0.3s var(--ease); }
.stepup__go:hover { background: var(--lime); }
.stepup__go svg { width: 16px; height: auto; aspect-ratio: 20 / 13; }

@media (max-width: 1100px) {
  .pr-lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-lineup .pp:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .pgh--wide .pgh__grid { grid-template-columns: 1fr; }
  .pr-lineup { grid-template-columns: 1fr; }
  .pr-lineup .pp:nth-child(3) { grid-column: auto; }
  .pr-lineup .pp__art { min-height: 0; }
  .stepup li { grid-template-columns: minmax(0, 1fr) 44px; row-gap: 16px; }
  .stepup__bar { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .stepup__bar::after { transform: none; transition: none; } }

/* hero line-up labels: name, load, cooling under each drawing */
.pr-range__keys { position: relative; height: 66px; margin-top: 14px; }
.pr-range__keys p { position: absolute; top: 0; left: var(--x, 50%); transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; white-space: nowrap; text-align: center; opacity: 0; transition: opacity 0.6s var(--ease); }
.pr-range.is-placed .pr-range__keys p { opacity: 1; }
.pr-range__keys .mono { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pr-range__keys .mono:first-child { color: var(--cream); }
.pr-range__load { font-size: clamp(15px, 1.3vw, 20px); font-weight: 300; letter-spacing: -0.02em; color: var(--lime); }
#start .tbl td:nth-child(2) { white-space: nowrap; }
@media (max-width: 600px) {
  .pr-range__keys { height: 58px; }
  .pr-range__keys .mono { font-size: 8.5px; letter-spacing: 0.02em; }
  .pr-range__keys .mono:first-child { display: none; }
  .pr-range__load { font-size: 13px; }
  #start .tbl td:nth-child(2) { white-space: normal; }
}

/* MDC4000: coming soon, across the full width under MDC2000, drawn as an outline */
.pr-lineup .pp--soon { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: none; align-items: center; background: transparent; border: 1px dashed rgba(244, 247, 213, 0.32); }
.pr-lineup .pp--soon .pp__art { order: 2; min-height: 0; }
.pr-lineup .pp--soon .pp__art svg { max-height: 300px; }
@media (max-width: 900px) { .pr-lineup .pp--soon { grid-template-columns: 1fr; } .pr-lineup .pp--soon .pp__art { order: 0; } }

/* Five products: each drawing carries its own short name (schemes.js, staggered when two stand close); the keys below
   are a legend in line-up order, one column each (placing them under the drawings made them overlap) */
.pr-range__keys { height: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pr-range__keys p { position: static; transform: none; justify-items: start; text-align: left; white-space: normal; opacity: 1; padding-left: 10px; border-left: 1px solid var(--line); }
@media (max-width: 900px) {
  .pr-range svg { --lineup-labels: off; }   /* too small to read here; the legend below names the five */
  .pr-range__keys { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-range__keys .mono:first-child { display: block; }
}
